[openstack-dev] XML Support for Nova v3 API

John Garbutt john at johngarbutt.com
Thu Jun 20 17:08:28 UTC 2013


We spoke about some nice validation frameworks at the summit, and here
and there.

Could we get away with XML->JSON then validate the JSON request (and
assume XML parse error also means bad request)?

John

On 20 June 2013 17:44, Russell Bryant <rbryant at redhat.com> wrote:
> On 06/20/2013 12:00 PM, Thierry Carrez wrote:
>> Christopher Yeoh wrote:
>>> Just wondering what people thought about how necessary it is to keep XML
>>> support for the Nova v3 API, given that if we want to drop it doing so
>>> during the v2->v3 transition is pretty much the ideal time to do so.
>>
>> Although I hate XML as much as anyone else, I think it would be
>> interesting to raise that question on the general user mailing-list.
>>
>> We have been discussing that in the past, and while there was mostly
>> consensus against XML (in OpenStack API) on the development list, when
>> the issue was raised with users, in the end they made up a
>> sufficiently-good rationale for us to keep it in past versions of the API :)
>>
>
> Yes, and I suspect we'd arrive the same result again.
>
> I'd rather hear ideas for things that would make it easier to support
> both.  The window is open for changes to make that easier.
>
> --
> Russell Bryant
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list