22.2.0
BREAKING CHANGES
Webhooks non-HMAC Authorization (#1425)
- Due to inconsistencies in Constant definitions between flow-repository and iam-utils, authentication of users via token or basic authorisation was failing.
- A fix has been provided for the current specific use case reported in #1422. A future update will help to unify constant definition across services.
- In order to complete this fix, one of the following actions must be taken:
- Stop and start all Webhooks flows
- Update all flows in the "webhooks.flows" collection in MongoDB to save the owner IDs as strings instead of BSON Object IDs
Improve Flow State Tracking and Fix Snapshots Service(#1461)
- Due to some updates made in early 2022, the Snapshots Service was broken, resulting either in Snapshots being deleted after a flow which should be persisted, or execution-scoped Snapshots not being cleaned up at the end of an execution. In order to preserve some of the changes made for Logic Flows, the following changes were made:
- Adjust Flow State tracking in the Component Orchestrator to support multi-emit Component Functions
- Add "end" event emission to the Ferryman to track completion of functions
- Revert "snapshot" events to exclude storing the
flowExecId
, so that persistent Snapshots will not be deleted
In order to make use of these fixes, Components need to be re-built using the new Ferryman version, 3.0.0.
Features
New Prototypical Features
Analytics Service
- The Analytics Service serves as the central repository for all data analytics-related data and functions inside the OIH. It offers both a database for long-term storage of relevant data as well as an API for data retrieval and validation.
Enhancements
Flow Repository
- The Flow Repository API now supports bulk operations to save on API calls. Creating, updating, and deleting several flows at once can now be done in a single API call by passing array of objects. Doing so requires a separate user permission. (#1460 )
Component Repository
- The Component Repository API now offers an endpoint to restart all currently active global components, to allow for easier troubleshooting in case of loss of queue connection or similar issues. (#1459 )
Secret Service preprocessor for OIDC (#1415 #1416)
- Added secret service auth client preprocessor for mapping an Open ID Connect (OIDC) id_token into the secret value created from the auth client.