Add basic support for creating a subunit stream from db

This adds a new command, sql2subunit, to take a run_id and create a
subunit stream from all the data in the db around that run_id.

Change-Id: Id1f95da71f3d4ca8469e985ee904e91fb4acb247
This commit is contained in:
Matthew Treinish
2014-08-02 09:07:01 -04:00
parent 57722c6ef5
commit d43c12d1e1
6 changed files with 138 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ Short Term
* Add more unit tests
* Migration tests
* DB API unit tests
* Write subunit module
* Flesh out query side of DB API to make it useful for building additional
tooling.
* Investigate dropping oslo.db from requirements to enable using other
@@ -15,6 +16,5 @@ Short Term
Longer Term
-----------
* Add a method of taking a test_run from the DB and create a subunit file
* Add tooling to pull the data and visualize it in fun ways
* Add some statistics functions on top of the DB api to perform analysis