Event notifications filtering feature

Registered by Oleg Ovcharuk on 2019-07-11

As a Mistral user, I want to be able to filter event notifications by their type.
It is not always necessary to get notifications about all state changes, sometimes it would be enough to get notifications about the transition to a terminal state.
Example:

POST /v2/executions

{
  "workflow_name": "wf",
  "params": {
    "notify": [{
      "type": "webhook",
      "url": "http://someurl.org",
      "events": ["WORKFLOW_FAILED", "WORKFLOW_SUCCEEDED"]
    }]
  }
}

If this field does not filled, all notifications should be delivered.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Oleg Ovcharuk
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/mistral-filter-event-notifications

Addressed by: https://review.opendev.org/670417
    Allow to filter event notifications by their type

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.