Re: [openstack-dev] [mistral] mistral actions plugin architecture

2015-02-18 Thread Renat Akhmerov
Hi Filip, Well, it’s not necessary to keep custom action sources as part of Mistral sources. You can keep them anywhere else but the only requirement is that they must be registered globally in python packages so that when Mistral parses entry points in setup.cfg it could find needed classes

Re: [openstack-dev] [mistral] mistral actions plugin architecture

2015-02-18 Thread Filip Blaha
Thanks for answer! A custom action inherits from base.Action. So if I need to write custom action in different project and register it via entry points then I need dependency on mistral sources. Is that correct? Or is there way how to create custom action without that dependency? Regards

[openstack-dev] [mistral] mistral actions plugin architecture

2015-02-09 Thread Filip Blaha
Hi all, regarding to [1] there should be some plugin mechanism for custom actions in Mistral. I went through code and I found some introspection mechanism [2] generating mistral actions from methods on client classes for openstack core projects. E.g. it takes nova client class

Re: [openstack-dev] [mistral] mistral actions plugin architecture

2015-02-09 Thread Renat Akhmerov
Hi, It’s pretty simple and described in http://mistral.readthedocs.org/en/master/developer/writing_a_plugin_action.html http://mistral.readthedocs.org/en/master/developer/writing_a_plugin_action.html. Renat Akhmerov @ Mirantis Inc. On 09 Feb 2015, at 21:43, Filip Blaha filip.bl...@hp.com