Re: [openstack-dev] [Mistral] Workflow on-finish

2014-08-28 Thread W Chan
Is there an example somewhere that I can reference on how to define this special task? Thanks! On Wed, Aug 27, 2014 at 10:02 PM, Renat Akhmerov rakhme...@mirantis.com wrote: Right now, you can just include a special task into a workflow that, for example, sends an HTTP request to whatever

Re: [openstack-dev] [Mistral] Workflow on-finish

2014-08-28 Thread Renat Akhmerov
Yes, it’s just a regular task that sends a request. Something like: notify_about_completion: action: std.http parameters: url: whatever_we_need.org method: GET You can also take a look at webhooks examples in mistral-extra. Renat Akhmerov @ Mirantis Inc. On 29 Aug 2014, at 01:22,

Re: [openstack-dev] [Mistral] Workflow on-finish

2014-08-27 Thread Renat Akhmerov
There are two blueprints that I supposed to use for this purpose: https://blueprints.launchpad.net/mistral/+spec/mistral-event-listeners-http https://blueprints.launchpad.net/mistral/+spec/mistral-event-listeners-amqp So my opinion: This functionality should be orthogonal to what we configure in

Re: [openstack-dev] [Mistral] Workflow on-finish

2014-08-27 Thread Renat Akhmerov
Right now, you can just include a special task into a workflow that, for example, sends an HTTP request to whatever you need to notify about workflow completion. Although, I see it rather as a hack (not so horrible though). Renat Akhmerov @ Mirantis Inc. On 28 Aug 2014, at 12:01, Renat