OpenStack Database As A Service (Trove)
Go to file
OpenStack Jenkins d220b06a47 Updated from global requirements
Change-Id: Ie9d3fc8dd87474814c4684998f8003e7a216e9d9
2014-04-01 11:57:52 +00:00
contrib Migrating trove to entry points 2014-02-01 01:19:58 +00:00
doc Merge "rename and fix the db_wipe command" 2014-03-11 08:37:56 +00:00
etc Root_on_create per datastore 2014-03-09 17:56:27 -07:00
rsdns Remove extraneous vim configuration comments 2014-02-27 15:05:21 +08:00
tools rename and fix the db_wipe command 2014-03-10 10:16:03 +01:00
trove Remove mockito, and replace with mock 2014-03-31 16:25:07 -07:00
.coveragerc Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
.gitignore Removing IDE specific ignores 2013-12-07 14:45:45 +00:00
.gitreview Renamed repos to trove. 2013-06-14 18:25:42 -04:00
.testr.conf Rename from reddwarf to trove. 2013-06-24 14:11:15 -07:00
babel.cfg Setup trove for translation 2014-03-19 15:06:23 +01:00
LICENSE Add Apache 2.0 LICENSE file. 2013-04-29 18:01:12 -04:00
MANIFEST.in Package AUTHORS and ChangeLog file 2013-06-25 10:41:57 +02:00
openstack-common.conf Mask database user's password in trove logs 2014-01-21 12:18:27 -08:00
README.rst Improve readme.rst 2014-03-05 20:48:31 +01:00
requirements.txt Updated from global requirements 2014-04-01 11:57:52 +00:00
run_tests.py Hide Datastores In List With No Active Versions 2014-03-14 13:22:02 -07:00
run_tests.sh Remove extraneous vim configuration comments 2014-02-27 15:05:21 +08:00
setup.cfg Setup trove for translation 2014-03-19 15:06:23 +01:00
setup.py Update from global requirements 2013-09-30 11:43:42 -04:00
test-requirements.txt Updated from global requirements 2014-04-01 11:57:52 +00:00
tox.ini Removes XML api from trove 2014-03-10 00:16:49 +00:00

Trove

Trove is Database as a Service for Open Stack.

Usage for integration testing

If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:

$ ./tools/start-fake-mode.sh

Stop the server with:

$ ./tools/stop-fake-mode.sh

Tests

To run all tests and PEP8, run tox, like so:

$ tox

To run just the tests for Python 2.7, run:

$ tox -epy27

To run just PEP8, run:

$ tox -epep8

To generate a coverage report,run:

$ tox -ecover

(note: on some boxes, the results may not be accurate unless you run it twice)