From: Rolf Badorek Date: Tue, 1 Oct 2019 15:33:58 +0000 (+0300) Subject: Add Sentinel configuration reading X-Git-Tag: 1.2.1~23 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=2dcf940b7a815456af601cdc6fd8ebbc57bda161;hp=2dcf940b7a815456af601cdc6fd8ebbc57bda161;p=ric-plt%2Fsdl.git Add Sentinel configuration reading Added reading Sentinel configuration from environment variables. Sentinel address is configured via 'DBAAS_SERVICE_HOST' and 'DBAAS_SERVICE_SENTINEL_PORT' environment variables. Sentinel master name is configured via 'DBAAS_MASTER_NAME' environment variable. Sentinel support is now activated. Using Sentinel is optional. If Sentinel related environment variables are not set, then static address for Redis server is used as before (i.e. this change is backward compatible). Signed-off-by: Rolf Badorek Change-Id: I34031ac56268673996c6fecb00eeed6e5dda8b9a ---