-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of alterationTypes
in subscriptions
#198
Comments
Branch 198-Support-of-alterationTypes-in-subscriptions created! |
|
I added the code which checks whether Orion is So for example right now, after closing #190, using When working on the described issue here, one could also add the specific lack of functionality to the cb_version_checker, so that after closing this issue, using |
Descriptions
alterationTypes
is added as new feature ofSubscriptions
sinceOrion 3.8Orion 3.7, see here.That allows the activation of subscriptions based on the following settings:
entityUpdate
: notification is sent whenever a entity covered by the subscription is updated (no matter if the entity actually changed or not)entityChange
: notification is sent whenever a entity covered by the subscription is updated and it actually changes (or if it is not an actual update, but forcedUpdate option is used in the update request)entityCreate
: notification is sent whenever a entity covered by the subscription is createdentityDelete
: notification is sent whenever a entity covered by the subscription is deletedUse case
There can be many use cases. One potential use case is, using
entityCreate
to trigger some workflows (e.g. generating Grafana dashboard) every time a new entity is created.Implementation
The data model of
subscriptions
need to be extended, i.e.subscriptions.subject.condition.alterationTypes
The text was updated successfully, but these errors were encountered: