Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
Whether you want to build the software, run it, grow the community or just learn more about it, there will be content, workshops and design sessions for you to attend at the OpenStack Summit, Oct 15-18 in San Diego. Stick around Friday for the first OpenStack service day, a 1/2 day beach cleanup.

Register now! openstacksummitfall2012.eventbrite.com
View analytic
Thursday, October 18 • 11:00am - 11:40am
Refactoring API Input Validation

Sign up or log in to save this to your schedule and see who's attending!

There has been a lot of development and improvements in the nova-api service with many improvements around processing query and data parameters. At the same time the bug rate in this area continues. Maybe it is time to step back, review and potential re-factor some of this code. For example, the process of validating parameters and request bodies could be more consistent and concise. Inputs are still not being completely validated and error messages/responses are still not always supplied. Additionally, it is not easy to understand the list of valid parameters.

There seems like there is an opportunity for the nova-api service to be thorough reviewed for correctness as well as identify patterns and opportunities for re-factoring and improve the overall quality. One possibility is to leverage or create an API input validation framework for the nova-api that significantly reduces the number of lines of code required to process the input parameters, validate that they are valid types/values, as well as make it more consistent and robust. The existing nova-api service could be reviewed and in the process converted to using the new framework.

This session will explore some of the issues and ideas and hopefully define a potential plan and working group to make progress in this area for the Grizzly release.


Thursday October 18, 2012 11:00am - 11:40am
Emma AB

Attendees (31)