nova/tools
Chris Dent 8c59991363 Structure for simply managing placement-api-ref
This consists of a duplicate of the [nova-]api-ref setup and
conf.py along with tooling to fail the tox -edocs target when
a route that is defined in
nova.api.openstack.placement.handler.ROUTE_DECLARATIONS is not
present in placement-api-ref/source/index.rst.
tools/placement_api_docs.py will report which routes are missing.

Though completely gameable (as demonstrated in the current lame
index.rst) it's better than nothing and provides some useful
structuring on what to do next. It's also the case that the 'docs'
target in tox is not part of gating.

The response for GET / is in place with the necessary
parameters.yaml for it to be correctly described. The 'get-root.json'
file provides the JSON of the expected response. The expectation is
that later commits will add information for other urls and their
JSON files will be named method-path-separated-by-dash.json with a
request/response qualifier as necessary.

Followup patches will add other routes.

A new parameters.yaml is used instead of reusing the one from
api-ref as there isn't a lot of expected overlap and having a
separate file will ease eventual extraction.

Running tox -eplacement-api-ref will generate the docs for review,
with output in placement-api-ref/build/html/index.html.

This will be hooked up with CI to deploy the generated docs,
eventually.

Change-Id: Ifb4d91d39db0e49b55952e37cdfc9f63dcd37aa3
2017-03-24 15:15:53 +03:00
..
db remove db2 support from tree 2016-05-23 07:33:20 -04:00
hooks Make db archival return a meaningful result code 2016-09-29 15:38:18 -07:00
xenserver Add Apache 2.0 license to source file 2016-09-29 11:15:32 +07:00
abandon_old_reviews.sh include python-novaclient in abandon policy 2014-12-08 16:11:08 -05:00
build_latex_pdf.sh Add tool to build a doc latex pdf 2015-07-14 16:13:47 -04:00
clean-vlans Remove vi modelines 2014-02-03 14:19:44 +00:00
colorizer.py Don't use dict.iterkeys() 2015-05-21 14:52:53 -07:00
ebtables.workaround ebtables/libvirt workaround 2016-02-04 09:38:34 -05:00
enable-pre-commit-hook.sh Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
flake8wrap.sh tox: make it possible to run pep8 on current patch only 2015-07-24 16:15:38 +01:00
install_venv.py Remove vi modelines 2014-02-03 14:19:44 +00:00
install_venv_common.py Sync with latest oslo-incubator 2014-10-11 21:25:52 -04:00
nova-manage.bash_completion add nova-manage bash completion script 2012-06-20 17:02:49 +02:00
placement_api_docs.py Structure for simply managing placement-api-ref 2017-03-24 15:15:53 +03:00
pretty_tox.sh work around for until-failure 2015-01-16 14:24:29 -05:00
pretty_tox3.sh Add Python 3.5 functional tests in tox.ini 2016-12-14 13:33:07 +08:00
regression_tester.py Remove white space between print and () 2016-08-02 07:31:35 +00:00
releasenotes_tox.sh Make releasenotes reminder detect added and untracked notes 2016-09-28 21:52:28 +00:00
reserve-migrations.py Add a tool for reserving migration placeholders during release time 2016-02-09 10:54:08 -08:00
with_venv.sh support reloctable venv roots in testing framework 2013-02-07 12:38:45 -08:00