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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> >> 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 >> [email protected] >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> >> >> >> -- >> Best Regards, >> Nikolay >> _______________________________________________ >> OpenStack-dev mailing list >> [email protected] >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
