[openstack-dev] [marconi] API design questions/concerns
George Reese
george.reese at imaginary.com
Sat Feb 16 03:50:08 UTC 2013
No one uses Glance.
On Feb 15, 2013, at 7:23 AM, Jay Pipes <jaypipes at gmail.com> wrote:
> I continue to point out that Glance has done just fine with JSON-only
> support in its API (both v1 and v2).
>
> All the best, love and cuddles,
> -jay
>
> On 02/14/2013 03:41 PM, Doug Hellmann wrote:
>> I tried to make the meeting today, but was a few minutes late and
>> apparently it was very short. :-/
>>
>> I have a few concerns/questions about the current API design for Marconi
>> (http://wiki.openstack.org/marconi/specs/api/v1) that I wanted to bring up.
>>
>> First, using PATCH to claim messages caught my eye. It seems like the
>> resources being changed are the messages, rather than the queue where
>> the message is sent, so PATCH seems like the wrong verb. Isn't it more
>> semantically correct to POST a claim request, and get a claim ID and
>> list of messages back? Updating a claim with PATCH makes sense.
>>
>> Second, it looks like the plan is to just support JSON in v1. We've had
>> good luck building the v2 API for ceilometer using WSME, and getting
>> JSON and XML support without having to write custom (really any)
>> serialization code. If you're interested, take a look
>> at https://github.com/openstack/ceilometer/blob/master/ceilometer/api/controllers/v2.py
>> for an example and hit me up here or on IRC (dhellmann in
>> openstack-metering) with any questions.
>>
>> Doug
>>
>>
>>
>> _______________________________________________
>> 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
--
George Reese (george.reese at imaginary.com)
t: @GeorgeReese m: +1(207)956-0217 Skype: nspollution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130215/27f6db13/attachment.html>
More information about the OpenStack-dev
mailing list