PageRenderTime 26ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/include/mongoConfiguration.h

https://github.com/deltaforge/nebu-app-mongo
C Header | 22 lines | 17 code | 5 blank | 0 comment | 0 complexity | a6dadb3dac860b6f1585c4ab760a9fa9 MD5 | raw file
 1
 2#ifndef NEBUAPPMONGO_MONGOCONFIGURATION_H_
 3#define NEBUAPPMONGO_MONGOCONFIGURATION_H_
 4
 5#define CONFIG_APP_POLICY                               "app.policy"
 6#define CONFIG_APP_POLICY_REPLICATED_MINDATACENTERS     "app.policy.replicated.mindatacenters"
 7#define CONFIG_APP_POLICY_REPLICATED_MINRACKS           "app.policy.replicated.minracks"
 8#define CONFIG_APP_POLICY_REPLICATED_TIMEOUTDATACENTERS "app.policy.replicated.timeoutdatacenters"
 9#define CONFIG_APP_POLICY_REPLICATED_TIMEOUTRACKS       "app.policy.replicated.timeoutracks"
10
11#define CONFIG_MONGO_CONFIG_HOSTPREFIX                  "mongo.config.hostprefix"
12#define CONFIG_MONGO_CONFIG_PORT                        "mongo.config.port"
13#define CONFIG_MONGO_CONFIG_REQUIREDNUMBER              "mongo.config.requirednumber"
14#define CONFIG_MONGO_DATA_HOSTPREFIX                    "mongo.data.hostprefix"
15#define CONFIG_MONGO_DATA_PORT                          "mongo.data.port"
16#define CONFIG_MONGO_ROUTER_HOSTPREFIX                  "mongo.router.hostprefix"
17#define CONFIG_MONGO_ROUTER_PORT                        "mongo.router.port"
18#define CONFIG_MONGO_REPLICATION_FACTOR                 "mongo.replication.factor"
19
20#include "nebu-app-framework/configuration.h"
21
22#endif