trove/trove/db
Matt Van Dijk 27a4e2c650 Move to oslo_db
Replace the sqlalchemy engine and session management with an oslo.db
facade. This does the work transparently and fixes connection
mismanagement.

The changes involve:
- modifying the sqlalchemy session script to use oslo_db functions
- adding the oslo_db engine configuration parameters
- tweaking the faked tests to pass*

* the faked tests are sensitive to sleep calls and oslo_db uses a
  sleep(0) hack which was causing issues. The coverage of the tests was
  not affected.

Implements: blueprint move-to-oslo-db
Change-Id: I59f1fc0fe1551b9a815a51e6a620fabf060b013f
2015-12-14 02:18:06 +00:00
..
sqlalchemy Move to oslo_db 2015-12-14 02:18:06 +00:00
__init__.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
models.py Switch to the oslo_log library 2015-07-23 19:31:58 +03:00