[openstack-dev] [Mistral] Renaming action types
Renat Akhmerov
rakhmerov at mirantis.com
Wed Feb 26 10:04:40 UTC 2014
Hm.. I see your point. Generally, I like short names but expressive enough to understand what it is. VERB_NOUN would be good but nothing decent comes to my mind regarding HTTP :)
If you guys have any suggestions you’re welcome.
Renat Akhmerov
@ Mirantis Inc.
On 26 Feb 2014, at 16:33, Dmitri Zimine <dz at stackstorm.com> wrote:
> +1
>
> Should we use VERB_NOUN pattern? Or relax it for some obvious? I can't figure a good VERB_NOUN for HTTP. REQUEST_HTTP is dull.
>
> BTW it's interesting that we assume that a service can contain only actions of the same type.
>
> DZ>
>
> On Feb 26, 2014, at 1:10 AM, Nikolay Makhotkin <nmakhotkin at mirantis.com> wrote:
>
>> Agree, I don't see any thing that makes sense with words 'REST' and 'API' too.
>>
>>
>> On Wed, Feb 26, 2014 at 11:38 AM, Renat Akhmerov <rakhmerov at mirantis.com> wrote:
>> Folks,
>>
>> I’m proposing to rename these two action types REST_API and MISTRAL_REST_API to HTTP and MISTRAL_HTTP. Words “REST” and “API” don’t look correct to me, if you look at
>>
>> Services:
>> Nova:
>> type: REST_API
>> parameters:
>> baseUrl: {$.novaURL}
>> actions:
>> createVM:
>> parameters:
>> url: /servers/{$.vm_id}
>> method: POST
>>
>> There’s no information about “REST” or “API” here. It’s just a spec how to form an HTTP request.
>>
>> Thoughts?
>>
>> Renat Akhmerov
>> @ Mirantis Inc.
>>
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>>
>>
>> --
>> Best Regards,
>> Nikolay
>> _______________________________________________
>> 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/20140226/87f6ce7d/attachment.html>
More information about the OpenStack-dev
mailing list