[openstack-dev] [Nova] Review request: Blurprint of API validation

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Fri Jul 5 07:27:39 UTC 2013


Hi,

I have submitted a blueprint[1] and a patch[2] for Nova API validation.
I request someone to review the blueprint and hopefully approve it.

This blueprint was approved once, but the Definition has been changed to
Discussion because we discussed what is better validation mechanism "WSME
original validation or JSON Schema". IIUC, we have found the advantages
of JSON Schema through the discussion. [3]

Also we have found the way to overlap JSON Schema with WSME, so we will
be able to use JSON Schema also when the web framework of Nova is changed
to WSME. [4]

My latest patch has been implemented with JSON Schema[2], and I think API
validation with JSON Schema is useful for Nova v3 API, because the API has
complex API parameters and JSON Schema can check complex parameters naturally. 


Any comments are welcome :-)

[1]: https://blueprints.launchpad.net/openstack/?searchtext=nova-api-validation-fw
[2]: https://review.openstack.org/#/c/25358/
[3]: http://lists.openstack.org/pipermail/openstack-dev/2013-June/009824.html
 - http://lists.openstack.org/pipermail/openstack-dev/2013-June/009926.html
 - http://lists.openstack.org/pipermail/openstack-dev/2013-June/009937.html
 - http://lists.openstack.org/pipermail/openstack-dev/2013-June/009970.html
 - http://lists.openstack.org/pipermail/openstack-dev/2013-June/010057.html
[4]: http://lists.openstack.org/pipermail/openstack-dev/2013-June/010814.html


Thanks
Ken'ichi Ohmichi



More information about the OpenStack-dev mailing list