nova/nova/db
melanie witt 1722e9f94a Replace usage of get_legacy_facade() with get_engine()
We've been seeing warnings emitted to the python 3 unit tests:

  OsloDBDeprecationWarning: EngineFacade is deprecated; please use
  oslo_db.sqlalchemy.enginefacade

which stem from our use of the get_legacy_facade() oslo.db method.

This replaces the get_legacy_facade() usage with the get_engine()
method from the transaction context manager.

Closes-Bug: #1795078

Change-Id: If1e355d6174f15a1880e97115a2cf3f9f4be837e
(cherry picked from commit 020651ad3d)
2018-10-10 13:54:07 +01:00
..
sqlalchemy Replace usage of get_legacy_facade() with get_engine() 2018-10-10 13:54:07 +01:00
__init__.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
api.py Remove remaining legacy DB API instance_group* methods 2018-06-27 13:24:42 -04:00
base.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
constants.py Move db MAX constants to own file 2018-03-01 11:09:29 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00