afa410bcf6
This patch adds jsonschema validation for below metadata API's * POST /v3/{project_id}/volumes/{volume_id}/metadata * PUT /v3/{project_id}/volumes/{volume_id}/metadata * PUT /v3/{project_id}/volumes/{volume_id}/metadata/{key} The reason behind applying schema for v2(update and update_all) is that in "/cinder/tests/unit/api/v2/test_volume_metadata.py" module from this patch, V2's unit test cases are inherited for V3 and now we are applying schema validation for V3 because of that V2's unit test cases responses are modified. If we remove schema validation from V2 then we will need to add separate unit test cases for V3. Made changes to unit tests to pass body as keyword argument as wsgi calls action method [1] and passes body as keyword argument. [1] https://github.com/openstack/cinder/blob/master/cinder/api/openstack/wsgi.py#L997 Partial-Implements: bp json-schema-validation Change-Id: I2226c8533cbd1ddd274d8dd0b2d77708463896f4 |
||
---|---|---|
api-ref/source | ||
cinder | ||
contrib/block-box | ||
doc | ||
etc/cinder | ||
playbooks/legacy/cinder-tempest-dsvm-lvm-lio | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
driver-requirements.txt | ||
pylintrc | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: https://wiki.openstack.org/Cinder
- Developer docs: https://docs.openstack.org/cinder/latest/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient