rad  5.1.0
config.hpp
Go to the documentation of this file.
1 
9 #ifndef EXCIISERVER_CONFIG_HPP
10 #define EXCIISERVER_CONFIG_HPP
11 
12 #include <rad/config.hpp>
13 
14 namespace exciiserver {
15 
24 const std::string CONFIG_DEFAULT_VERSION = std::string(VERSION);
25 const std::string CONFIG_DEFAULT_MODNAME = "exciiserver";
26 const std::string CONFIG_DEFAULT_PROCNAME = "exCiiServer";
27 //const std::string CONFIG_DEFAULT_FILENAME = ""; // by default use hard-coded values
28 const std::string CONFIG_DEFAULT_FILENAME = "config/exciiserver/config.yaml"; // by default use config file values
29 const std::string CONFIG_DEFAULT_SCXML_FILENAME = "config/exciiserver/sm.xml";
30 const std::string CONFIG_DEFAULT_SCXML_APPEND = "";
31 const std::string CONFIG_DEFAULT_LOG_LEVEL = "INFO";
32 const std::string CONFIG_DEFAULT_LOG_PROPERTIES = "config/exciiserver/log.properties";
33 const std::string CONFIG_DEFAULT_REQ_ENDPOINT = "zpb.rr://127.0.0.1:12081/";
34 const std::string CONFIG_DEFAULT_OLDB_URI_PREFIX = "cii.oldb:/elt/";
35 const int CONFIG_DEFAULT_OLDB_CONN_TIMEOUT = 2; // sec
37 
38 
43 class Config : public rad::Config {
44  public:
52  Config();
53 
57  virtual ~Config();
58 
59  Config(const Config&) = delete;
60  Config& operator=(const Config&) = delete;
61 };
62 
63 } // namespace exciiserver
64 
65 #endif // EXCIISERVER_CONFIG_HPP
Config class header file.
Definition: config.hpp:43
Config(const Config &)=delete
virtual ~Config()
Definition: config.cpp:56
Config & operator=(const Config &)=delete
Disable copy constructor.
Config()
Definition: config.cpp:16
Definition: config.hpp:67
Definition: actionMgr.cpp:25
const std::string CONFIG_DEFAULT_LOG_PROPERTIES
Definition: config.hpp:32
const std::string CONFIG_DEFAULT_OLDB_URI_PREFIX
Definition: config.hpp:34
const int CONFIG_DEFAULT_OLDB_CONN_TIMEOUT
Definition: config.hpp:35
const std::string CONFIG_DEFAULT_REQ_ENDPOINT
Definition: config.hpp:33
const bool CONFIG_DEFAULT_TRS_HEALTH_ENABLED
Definition: config.hpp:36
const std::string CONFIG_DEFAULT_LOG_LEVEL
Definition: config.hpp:31
const std::string CONFIG_DEFAULT_PROCNAME
Definition: config.hpp:26
const std::string CONFIG_DEFAULT_FILENAME
Definition: config.hpp:28
const std::string CONFIG_DEFAULT_SCXML_APPEND
Definition: config.hpp:30
const std::string CONFIG_DEFAULT_SCXML_FILENAME
Definition: config.hpp:29
const std::string CONFIG_DEFAULT_MODNAME
Definition: config.hpp:25
const std::string CONFIG_DEFAULT_VERSION
Definition: config.hpp:24