Read list type of environment variables 45/7945/1
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 14 Mar 2022 05:27:30 +0000 (07:27 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 14 Mar 2022 05:31:41 +0000 (07:31 +0200)
commite67b9abd75c6ebeda849e5e718a507de4027f65d
treeb870d53fb3869fff2f97fb20c07c732f1806bdd9
parent77c5b120496bdcb798d0e02b719c177e8f48d4e9
Read list type of environment variables

DBAAS Helm Charts appconfig has been changed to have individual ports
and master names for each SDL cluster due to problems seen with DBAAS
upgrade and rollback caused by re-allocation of the same address/port
of Redis to some other SDL cluster. Implement support for new list type
environment variables reading in SDL:
 * DBAAS_SERVICE_PORT
 * DBAAS_SERVICE_SENTINEL_PORT
 * DBAAS_MASTER_NAME

Issue-Id: RIC-698

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Id75e53c3542f2c2b24a2fd815a5583b1394d8d79
docs/release-notes.rst
ricsdl-package/examples/notify.py
ricsdl-package/examples/sync.py
ricsdl-package/ricsdl/__init__.py
ricsdl-package/ricsdl/backend/redis.py
ricsdl-package/ricsdl/configuration.py
ricsdl-package/ricsdl/syncstorage.py
ricsdl-package/tests/backend/test_fake_dict_db.py
ricsdl-package/tests/backend/test_redis.py
ricsdl-package/tests/test_configuration.py