28291f4e5a5c5893e965398949cc6527bee0d952
apischema.py defind some schema to validate the request. Current code under cluster schema has some item like "create","add_shard", "grow" etc. Call "create" method pass the action "create", but call method like "add_shard" atcually pass the action "action". https://github.com/openstack/trove/blob/master/trove/common/api.py#L157 And this will lead to method get_schema will return "{}". https://github.com/openstack/trove/blob/master/trove/cluster/service.py#L54 And then lead to method vallidate_request actually do nothing. https://github.com/openstack/trove/blob/master/trove/common/wsgi.py#L402 Change-Id: I5dc9a6639445ce37c8b2213717cf17c3a64d1716
Trove
Trove is Database as a Service for OpenStack.
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://github.com/openstack/trove
- Wiki: https://wiki.openstack.org/wiki/Trove
- Developer Docs: http://docs.openstack.org/developer/trove
You can raise bugs here: https://bugs.launchpad.net/trove
Python client
https://git.openstack.org/cgit/openstack/python-troveclient
References
- Installation docs: http://docs.openstack.org/developer/trove/dev/install.html
- Manual installation docs: http://docs.openstack.org/developer/trove/dev/manual_install.html
- Build guest image: http://docs.openstack.org/developer/trove/dev/building_guest_images.html
Description
Languages
Python
95%
Shell
4.9%