X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=include%2Fprivate%2Fconfigurationreader.hpp;h=9454ba8c2d12ed07e5541445862e040ca9b9064c;hb=faf9fc79e58fa4ace9b0ef317b741afb2c1a8abe;hp=7cb6f1a83feb59557c5165386901ea71de9d815d;hpb=2dcf940b7a815456af601cdc6fd8ebbc57bda161;p=ric-plt%2Fsdl.git diff --git a/include/private/configurationreader.hpp b/include/private/configurationreader.hpp index 7cb6f1a..9454ba8 100644 --- a/include/private/configurationreader.hpp +++ b/include/private/configurationreader.hpp @@ -14,6 +14,11 @@ limitations under the License. */ +/* + * This source code is part of the near-RT RIC (RAN Intelligent Controller) + * platform project (RICP). +*/ + #ifndef SHAREDDATALAYER_CONFIGURATIONREADER_HPP_ #define SHAREDDATALAYER_CONFIGURATIONREADER_HPP_ @@ -21,6 +26,7 @@ #define DB_PORT_ENV_VAR_NAME "DBAAS_SERVICE_PORT" #define SENTINEL_PORT_ENV_VAR_NAME "DBAAS_SERVICE_SENTINEL_PORT" #define SENTINEL_MASTER_NAME_ENV_VAR_NAME "DBAAS_MASTER_NAME" +#define DB_CLUSTER_ADDR_LIST_ENV_VAR_NAME "DBAAS_CLUSTER_ADDR_LIST" #include #include @@ -67,6 +73,8 @@ namespace shareddatalayer std::string sentinelPortEnvVariableValue; const std::string sentinelMasterNameEnvVariableName; std::string sentinelMasterNameEnvVariableValue; + const std::string dbClusterAddrListEnvVariableName; + std::string dbClusterAddrListEnvVariableValue; boost::optional jsonDatabaseConfiguration; std::string sourceForDatabaseConfiguration; std::unordered_map> jsonNamespaceConfigurations;