51a06bb7e3
This commit adds a test class based on the glance test_migrations code and using some of the code from the WIP oslo.db alembic migration test mixin.[1] This framework will run the migrations against a real db and using _pre_upgrade*, _post_upgrade*, and _check* methods data can be injected and validated during migrations. [1] https://review.openstack.org/99965 Change-Id: Idb8f203e9e0c721cc3459af2aa75d3c0b20b48fa
644 B
644 B
Work Items for Subunit2SQL
Short Term
- Add a migration that adds an ordering to the runs table
- Add more unit 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 config/cli tooling
- Maybe use raw SQL queries instead of the ORM where it makes sense
- Improve documentation
Longer Term
- 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