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

W Chan m4d.coder at gmail.com
Thu Aug 28 18:22:51 UTC 2014


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 <rakhmerov at mirantis.com>
wrote:

> 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 Akhmerov <rakhmerov at mirantis.com> wrote:
>
> 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 DSL.
>    - The mechanism of listeners would is more generic and would your
>    requirement as a special case.
>    - At this point, I see that we may want to implement a generic
>    transport-agnostic listener mechanism internally (not that hard task) and
>    then implement required transport specific plugins to it.
>
>
> Inviting everyone to discussion.
>
> Thanks
>
> Renat Akhmerov
> @ Mirantis Inc.
>
>
>
> On 28 Aug 2014, at 06:17, W Chan <m4d.coder at gmail.com> wrote:
>
> Renat,
>
> It will be helpful to perform a callback on completion of the async
> workflow.  Can we add on-finish to the workflow spec and when workflow
> completes, runs task(s) defined in the on-finish section of the spec?  This
> will allow the workflow author to define how the callback is to be done.
>
> Here's the bp link.
> https://blueprints.launchpad.net/mistral/+spec/mistral-workflow-on-finish
>
> Thanks.
> Winson
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140828/3428319a/attachment.html>


More information about the OpenStack-dev mailing list