Onify Hub API 2.11.0 released
almost 2 years ago by Robert Lundsten
Changelog for 2.11.0
2.11.0
- feature: new admin endpoint to clean process data
- DELETE /admin/process/data - asynchronous remove process data by query, check log for details
- DELETE /admin/process/{id}/data - remove process data by id
- feature: support flow activity script execution listeners if Camunda Modeler exporter version of flow is >=5.5.1
- improve: support for nonpersistent processes (and workflows)
- Process flow will run to end without possibility to be resumed or return any output
- Process state and status is still possible to update and retrieve
- If the flow stalls for some reason, e.g. by a long running timer or waiting for user input, the process will be stopped
- Nonpersistence will save space and make the flow run faster
- Why? Because some flows may be designed to just do some work without requiring any input
- improve: support flow activity script execution listeners if Camunda Modeler exporter version of flow is >=5.5.1
- improve: remove default behaviour of saving flow activity output even if output is not declared. Output was saved to
environment.output._<Activity ID>
if no result variable or output was declared. Only if Camunda Modeler exporter version of flow is >=5.5.1. The same functionality can be solved with activity execution listeners. - improve: reindex as asynchronous task to handle large indices
- improve: ability to order bulletins
- improve: add Onify Api-version to process schema, requires re-indexing of process
- fix: add running flows gauge metric
running_flows
- fix: reduce size of metrics by removing path label from http request metrics
- fix: only restart flows that were running when instance was stopped
- fix: include activity if flow script resource fails
- fix: ignore scheduled flows if a setup / maintenance is in progress
Breaking
Flow activites no longer returns environment.output._<Activity ID>
environment.output._<Activity ID>
Remove default behaviour of saving flow activity output even if output is not declared. Output was saved to environment.output._<Activity ID>
if no result variable or output was declared. Only if Camunda Modeler exporter version of flow is >=5.5.1.
Reindex bulletins index
In order for bulletins to work after update, reindex is required. If you do not reindex, workspaces does not work and you will the error all shards failed
.
Reindex is done via API endpoint POST /api/v2/setup/database/reindex?indexes=<prefix>-bulletin
.