subunit2sql/subunit2sql
Matthew Treinish 1394000b39 Add subunit2sql-db-manage utility
This commit adds a new cli utility for managing the subunit2sql db.
Previously alembic could just be used directly however since access
to the db models were needed for future migration scripts the db api
was needed. This required invoking the config object to be able to
use the db api calls. Alembic isn't aware of oslo.db or the config
object, so by creating a seperate cli interface we initialize all of
that at the same time. This also saves the need to configure
connection info to the db in 2 places, since just the oslo.db option
will be used.

This utility borrows heavily from the neutron utility to do the same
thing.

Change-Id: I110baa532d08de4ca70b7ea2d1dcdc845d595693
2014-09-26 14:13:18 -04:00
..
db Add get_failing_from_run db api method 2014-09-12 19:38:15 +00:00
migrations Add subunit2sql-db-manage utility 2014-09-26 14:13:18 -04:00
tests Add unit tests for ReadSubunit helper methods 2014-06-25 11:56:23 -04:00
__init__.py Initial commit 2014-06-12 23:59:00 -04:00
exceptions.py Store counts for runs and tests 2014-06-16 11:02:21 -04:00
read_subunit.py Make get_duration return the proper type 2014-06-25 00:31:20 -04:00
shell.py Add basic support for creating a subunit stream from db 2014-08-12 23:18:18 -04:00
write_subunit.py Add basic support for creating a subunit stream from db 2014-08-12 23:18:18 -04:00