<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Raanan,<div class=""><br class=""></div><div class="">In addition I would say that what you described after “Secondly” is one of the most important reasons why Mistral exists. This is probably its strongest side (not sure what else can fit so well).</div><div class=""><br class=""></div><div class="">Just in case, here are the screencasts that can highlight Mistral capabilities (although not all of them):</div><div class="">* <a href="http://www.youtube.com/watch?v=9kaac_AfNow" class="">http://www.youtube.com/watch?v=9kaac_AfNow</a></div><div class="">* <a href="http://www.youtube.com/watch?v=u6ki_DIpsg0" class="">http://www.youtube.com/watch?v=u6ki_DIpsg0</a></div><div class=""><br class=""></div><div class="">Soon there’ll be more.</div><div class=""><br class=""></div><div class="">And full specification of current Mistral DSL: <a href="https://wiki.openstack.org/wiki/Mistral/DSLv2" class="">https://wiki.openstack.org/wiki/Mistral/DSLv2</a></div><div class=""><br class=""></div><div class="">Would be nice to talk to you personally if you’re going to the summit or using any other channel and discuss the details )</div><div class=""><br class=""><div class="">
<div class="">Renat Akhmerov</div><div class="">@ Mirantis Inc.</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 31 Oct 2014, at 02:22, Raanan Jossefi (RJ) Benikar <<a href="mailto:rbenikar@gmail.com" class="">rbenikar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class=""><blockquote type="cite" class=""><br class="">Hi,<br class=""><br class="">I see that Mistral can perform workflow automation and task execution per scheduling but wanted to confirm if workflows can be executed in real-time on-demand via REST API?   Can a REST API call into Mistral execute the workflow upon request, is what I am confirming, as it seems it is the case. Besides on-demand, is the purpose of Triggers currently being developed to automatically detect changes or notifications and execute in response to these triggers?  If so I would highly recommend triggers based on database change log, on file changes , on message arrival inside an AMQP queue, and on polling a REST API in which you expect a certain result, or status message.<br class=""><br class="">Secondly, if one has a very tailored and mature cloud orchestration and operations process in place and wants to migrate to OpenStack and offer similar automation integrating with external change management systems, performing secondary LDAP searches, performing multiple SOR / DB queries, and thus interacting with other external non-cloud related technologies as part of the process of creating new tenants, adding users, creating new images, and creating and deploying machine instances would mistral be the best mechanism for this, in terms of driving automation, and invoking 3rd party APIs during and as part of the process?   <br class=""><br class="">My current use case looks like this:<br class=""><br class="">1) Tenant requests VM with specific properties (image, etc etc) --> Service Now<br class="">2) Service Now ---> API ( based on properties/inputs ) query a DB to automatically generate a server name )<br class="">3) API ---> OpenStack API to provision new VM.<br class=""><br class=""><br class="">This is just an example, during this exchange, the API will interact with several external systems besides a DB, and do more than just autogenerate custom and unique machine names. In this case, the API could be Mistral that I am calling via REST.  I would create API wrappers to the other components ( which for the most part, I already have) and Mistral would now call both wrapper APIs and OpenStack APIs to provision a machine via Nova with all of the dependencies met.<br class=""><br class="">Your advice is kindly appreciated,<br class="">Raanan <br class=""><br class=""><br class=""><br class=""></blockquote><br class="">_______________________________________________<br class="">OpenStack-dev mailing list<br class=""><a href="mailto:OpenStack-dev@lists.openstack.org" class="">OpenStack-dev@lists.openstack.org</a><br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br class=""></div></blockquote></div><br class=""></div></body></html>