[openstack-dev] [Mistral] Renaming action types
Dmitri Zimine
dz at stackstorm.com
Wed Feb 26 09:33:52 UTC 2014
+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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140226/04fd6b7d/attachment.html>
More information about the OpenStack-dev
mailing list