LinuxCon Japan is the premiere Linux conference in Asia that brings together a unique blend of core developers, administrators, users, community managers and industry experts.
CloudOpen Japan is a conference celebrating and exploring the open source projects, technologies and companies who make up the cloud. It’s built on a belief that open works: for users, for industry and for technology.
OpenStack is the open source cloud platform. The OpenStack community releases a new version every six months, and the OpenStack APIs are increasing version by version. Now OpenStack has hundreds of its API.
In each API, it should be checked out all parameters of API in terms of acceptable types, minimum and maximum length and ranges. However, not all the parameters are completely checked out. By such situation, many API operations run without parameter check.
For this problem, I'd like to propose the API validation framework. The framework requires the definition of all API parameters, and it checks parameters by the definition before each API operation runs. If parameters are invalid, the framework will return errors on unified manner.
The purpose of this talk is to introduce the API validation framework. This talk is targeted for people who is interested in developing OpenStack.