OpenStack Database As A Service (Trove)
57a10aac00
The problem came down to the `_dispatch` method of the openstack common wsgi router object. When a match was not found it returned a webob 404 exception directly rather than allowing it to be wrapped in a serializer. The fix involved extending the `Router` object and reimplementing the `_dispatch()` method to use the `Fault` object that serializes exceptions. Change-Id: I24a590f65ff655b25cfd7d84786df3055af701f1 Fixes: bug #1174960 |
||
---|---|---|
bin | ||
contrib/dbaas-mycnf | ||
development | ||
etc | ||
reddwarf | ||
rsdns | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
LICENSE | ||
MANIFEST.in | ||
next_steps.txt | ||
openstack-common.conf | ||
README | ||
requirements.txt | ||
run_tests.py | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Trove -------- Trove is Database as a Service for Open Stack. To run all tests and PEP8, run tox, like so: $ tox To quickly run the tests for Python 2.7, run: $ tox -epy27 To generate a coverage report,run: $ tox -ecover (note: on some boxes, the results may not be accurate unless you run it twice) If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run: $ ./bin/start_server Stop the server with: $ ./bin/stop_server