Currently only HTTP 404 can be raised. This enables other HTTP status
to be raised if microversion does not match with the minimum required.
This is useful for new methods created to raise other http status code
for older placement microversions, like 405 HTTPMethodNotAllowed.
Change-Id: I2b684fcfd93fc70fe385a93346ee255279909489
webob.dec.wsgify was replaced with wsgi_wrapper.PlacementWsgify in
change I3b81c5bd00a013f1659b9e6e80c71b373d965862 .
Here the placement_dev is updated to reflect that the new decorator
should be used.
Change-Id: I049c0d50b3af0d829cb7a041668d8ec4d6e0c590
While we've not made any immediate plans to do the extraction we
should avoid adding complexity that would make it harder later, so
this new section discusses the plan to eventually extract, and the
structures that either help or hinder this.
Change-Id: Ia3e95e4b85aa768b8f94d4a99963c7ec719b8a13
The section gives an overview of the steps required to add a new
handler to the placement API and the usual expectations of those
steps.
Change-Id: I41e8e413c30c44f3b6f6b1a8b559f0d39d793f68
Add a section to placement_dev.rst explaining how testing of the
placement API works, mostly gabbi. The idea here is not to duplicate
the gabbi docs, but to provide some context on how the use of gabbi
fits in to the existing tests and how to add more, with links off to
the docs for a bit more info.
Change-Id: If99521881a017543acdbbf7e8f1b7f170f5d633d
A section for placement_dev.rst describing how to manage
microversions, including available utility methods.
Change-Id: I8ace96ed7fd721c547cedf5285833a8baa52a70a
placement_dev.rst provides a nova-developer oriented perspective on
the placement API including some explanation of its structure, some
gotchas to be aware of, and some instruction on how to add to it.
Subsequent patches will fill in the missing sections.
Change-Id: Ia571800774aa14beab121c85a693d75fc30ed517