Add extra line about src files are part of RIC platform project
[ric-plt/sdl.git] / include / private / databaseconfigurationimpl.hpp
index 6349ea3..8ae4f9a 100644 (file)
    limitations under the License.
 */
 
+/*
+ * This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ * platform project (RICP).
+*/
+
 #ifndef SHAREDDATALAYER_DATABASECONFIGURATIONIMPL_HPP_
 #define SHAREDDATALAYER_DATABASECONFIGURATIONIMPL_HPP_
 
@@ -32,17 +37,27 @@ namespace shareddatalayer
 
         void checkAndApplyServerAddress(const std::string& address) override;
 
+        void checkAndApplySentinelAddress(const std::string& address) override;
+
+        void checkAndApplySentinelMasterName(const std::string& name) override;
+
         DatabaseConfiguration::DbType getDbType() const override;
 
         DatabaseConfigurationImpl::Addresses getServerAddresses() const override;
 
         DatabaseConfiguration::Addresses getDefaultServerAddresses() const override;
 
+        boost::optional<HostAndPort> getSentinelAddress() const override;
+
+        std::string getSentinelMasterName() const override;
+
         bool isEmpty() const override;
 
     private:
         DbType dbType;
         Addresses serverAddresses;
+        boost::optional<HostAndPort> sentinelAddress;
+        std::string sentinelMasterName;
     };
 }