Read list type of environment variables 44/7944/2 v0.10.0
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 14 Mar 2022 05:19:47 +0000 (07:19 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 14 Mar 2022 05:32:54 +0000 (07:32 +0200)
commit6ffe956f918e3fac2e939847268b2ae94684a738
tree6dc58246a6183cbcbe7ee2524fcac1f63bfd82ba
parent40508c8e2b5154083afffffdfbc9ffcf2c7f868c
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: I9a9d94e536e0e4e2a174ef0b6fb2beb4c73ef4f5
docs/release-notes.rst
example/example.go
internal/sdlgoredis/sdlgoredis.go
internal/sdlgoredis/sdlgoredis_test.go
internal/sdlgoredis/sdlgosentinel.go