<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Haah :) Honestly, I don’t like it. “invoke” doesn’t seem to be carrying any useful information here. And “invoke_mistral” looks completely confusing since it’s not clear it’s related with HTTP.<div><br><div>
<div>Renat Akhmerov</div><div>@ Mirantis Inc.</div><div><br></div><br class="Apple-interchange-newline">

</div>
<br><div><div>On 27 Feb 2014, at 23:42, Manas Kelshikar <<a href="mailto:manas@stackstorm.com">manas@stackstorm.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">How about ...<div><br></div><div>invoke_http & invoke_mistral to fit the verb_noun pattern. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 6:04 AM, Renat Akhmerov <span dir="ltr"><<a href="mailto:rakhmerov@mirantis.com" target="_blank">rakhmerov@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ooh, I was wrong. Sorry. We use dash naming. We have “on-success”, “on-error” and so forth.<br>
<br>
Please let us know if you see other inconsistencies.<br>
<br>
Thanks<br>
<div class="im HOEnZb"><br>
Renat Akhmerov<br>
@ Mirantis Inc.<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On 26 Feb 2014, at 21:00, Renat Akhmerov <<a href="mailto:rakhmerov@mirantis.com">rakhmerov@mirantis.com</a>> wrote:<br>
<br>
> Thanks Jay.<br>
><br>
> Regarding underscore naming. If you meant using underscore naming for “createVM” and “novaURL” then yes, “createVM” is just a task name and it’s a user preference. The same about “novaURL” which will be defined by users. As for keywords, seemingly we follow underscore naming.<br>

><br>
> Renat Akhmerov<br>
> @ Mirantis Inc.<br>
><br>
><br>
><br>
> On 26 Feb 2014, at 17:58, Jay Pipes <<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>> wrote:<br>
><br>
>> On Wed, 2014-02-26 at 14:38 +0700, Renat Akhmerov wrote:<br>
>>> Folks,<br>
>>><br>
>>> I’m proposing to rename these two action types REST_API and<br>
>>> MISTRAL_REST_API to HTTP and MISTRAL_HTTP. Words “REST” and “API”<br>
>>> don’t look correct to me, if you look at<br>
>>><br>
>>><br>
>>> Services:<br>
>>> Nova:<br>
>>>   type: REST_API<br>
>>>   parameters:<br>
>>>     baseUrl: {$.novaURL}<br>
>>>   actions:<br>
>>>     createVM:<br>
>>>       parameters:<br>
>>>         url: /servers/{$.vm_id}<br>
>>>         method: POST<br>
>>><br>
>>> There’s no information about “REST” or “API” here. It’s just a spec<br>
>>> how to form an HTTP request.<br>
>><br>
>> +1 on HTTP and MISTRAL_HTTP.<br>
>><br>
>> On an unrelated note, would it be possible to use under_score_naming<br>
>> instead of camelCase naming?<br>
>><br>
>> Best,<br>
>> -jay<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> OpenStack-dev mailing list<br>
>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></div></body></html>