nova/nova/db/sqlalchemy
melanie witt 020651ad3d 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
2018-09-28 22:10:06 +00:00
..
api_migrations Merge "Add queued for delete to instance_mappings table." 2018-07-11 21:32:30 +00:00
migrate_repo Add trusted_certs to instance_extra 2018-03-29 23:00:42 -04:00
__init__.py Remove SQLite BigInteger/Integer translation logic 2015-12-07 12:49:22 -05:00
api.py Replace usage of get_legacy_facade() with get_engine() 2018-09-28 22:10:06 +00:00
api_models.py Online data migration for queued_for_delete flag 2018-07-23 14:48:18 -07:00
migration.py Isolate placement database config 2018-06-19 13:22:04 +01:00
models.py Add trusted_certs to instance_extra 2018-03-29 23:00:42 -04:00
types.py Use is_valid_cidr and is_valid_ipv6_cidr from oslo_utils 2017-01-31 11:45:00 +00:00
utils.py Remove translation of log messages 2017-07-18 09:03:39 +00:00