Commit Graph

5 Commits

Author SHA1 Message Date
wu.shiming 0d3509e28c Import HTTPStatus instead of http_client
We don't need an HTTP client for this, we only
need status codes.  Just load that instead.

https://docs.python.org/3/library/http.html

Change-Id: Iaccc059aad4d31a413844bfc252d544a591dfc95
2020-11-11 15:44:33 +08:00
Q.hongtao da5ac25415 Remove six.moves
Remove six.moves Replace the following items with Python 3 style code.
- six.moves.urllib
- six.moves.queue
- six.moves.range
- six.moves.http_client

Subsequent patches will replace other six usages.

Change-Id: I80c713546fcc97391c64e95ef708830632e1ef32
2020-09-22 08:34:20 +08:00
Winson Chan 1df722d90d Pass auth context to the event publishers
Pass the auth context to the event publishers for integration with other OpenStack services.

Change-Id: Id0ee6780386f28e44e354ca36e4bacab87e96beb
Implements: blueprint mistral-execution-event-subscription
2019-05-03 17:38:10 +00:00
Dougal Matthews 9f03835d0b Add a debug log for the webhook publisher
Without this, it is hard to tell from the logging if the notifier was
ever called.

Change-Id: I76c0259aee3ad65c1009730636da6d06e719548c
2018-07-30 10:05:47 +01:00
Winson Chan 3f48e24dc4 Implement notification of execution events
Introduce execution events and notification server and plugins for
publishing these events for consumers. Event notification is defined per
workflow execution and can be configured to notify on all the events or
only for specific events.

Change-Id: I9820bdc4792a374dad9ad5310f84cd7aaddab8ca
Implements: blueprint mistral-execution-event-subscription
2018-02-24 07:25:55 +00:00