<div dir="ltr">Hi, int32bit,<div><br></div><div>First, thanks very much for your work and share with us for what you did.</div><div><br></div><div>You are right about the lack of flexibility of current mistral action registration process, in addition to your work, here are some of my suggestions:</div><div><br></div><div>- I recommend you work with mistral team to figure out a way to improve current tools/sync_db.py script, add the capability to manipulate actions without reinstall mistral. I believe there are other people who are also very interested in the enhancement.</div><div>- We (mistral team) are working on mistral-lib, a new library that will define a base action class that all 3-rd party customized actions could inherit, which aims to make action developer's life easier.</div><div><br></div><div>Thanks again for the email, feel free to jump in #openstack-mistral irc channel for any further discussion.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="arial, helvetica, sans-serif"><br>Cheers,<br>Lingxian Kong (Larry)</font></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, May 2, 2017 at 8:54 PM, int32bit <span dir="ltr"><<a href="mailto:krystism@gmail.com" target="_blank">krystism@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, All,<div><br></div><div><div>As we know, Mistral allow developer  write a new custom action, but must reinstall Mistral service if it was installed in our system[1]. I think it's hardly acceptable for production environment.</div><div><br></div><div>So I write a CLI tool used for <span id="m_-3384347266360982890gmail-w_95" class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)">automatically </span><span id="m_-3384347266360982890gmail-w_96" class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)">discovering & registering custom actions and no need modify any configuration and reinstall any service. In fact, it's completely independent with Mistral project. </span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)">In addition, this project provide a CLI to manage custom actions, we can list all registered actions, and unregister any action if it doesn't need any more. </span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)">For more detail, please see <a href="https://github.com/int32bit/mistral-actions" target="_blank">mistral-actions</a>.</span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span class="m_-3384347266360982890gmail-" style="color:rgb(51,51,51);font-family:arial,stheiti,宋体,"wenquanyi micro hei",sans-serif;font-size:14px;background-color:rgb(249,249,249)">It work well on our environment but not sure if there is any potential risk. </span><span style="font-size:12.8px">Thanks for any suggest and comment.</span></div><div><br></div></div><div><br></div><div>[1] <a href="https://docs.openstack.org/developer/mistral/developer/creating_custom_action.html" target="_blank">https://docs.openstack.org/<wbr>developer/mistral/developer/<wbr>creating_custom_action.html</a></div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>