nfv/nfv/nfv-vim/nfv_vim/database
Al Bailey b8ff450f58 Add support for SQLAlchemy 1.4 to NFV
An internal variable was dropped in SQLALchemy 1.4.

This update attempts to use the newer syntax from 1.4
and falls back to the older syntax if the newer mechanism
cannot be used.

This will allow StarlingX to migrate to a newer version of
SQLALchemy without breaking the NFV database code.

Test Plan:
  PASS: verify coverage using SQLAlchemy 1.2 that the
 exception code is executed and unit tests pass.
  PASS: verify coverage using SQLAlchemy 1.4 that the
 exception code is not executed and unit tests pass.
  PASS: Build/Install/Bootstrap/Unlock AIO-SX to verify
 existing runtime behaviour is not impacted.

Story: 2010531
Task: 47237

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I4063dac0b3229b4c1fdb6c5121154665ffc32903
2023-01-30 21:08:56 +00:00
..
model Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
__init__.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database.py py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
_database_block_storage_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_compute_module.py Remove use of storage extra spec from VIM 2019-01-16 12:55:50 -06:00
_database_identity_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_image_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_infrastructure_module.py Fix patch orchestration controller host unlock failure 2020-06-16 15:26:31 +00:00
_database_migrate.py Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
_database_module.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_database_network_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_sw_update.py Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
_database_upgrades.py Update VIM to use nova API version 2.53 2018-06-14 13:27:26 -05:00