mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
98 lines
1.9 KiB
JSON
98 lines
1.9 KiB
JSON
{
|
|
"general": {
|
|
"log_level": 7,
|
|
"node_id": "InternalEngine",
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
|
|
"rpc_conns": {
|
|
"conn1": {
|
|
"strategy": "*first",
|
|
"conns": [{"address": "127.0.0.1:2033", "transport":"*gob"}],
|
|
},
|
|
"conn2": {
|
|
"strategy": "*broadcast_sync",
|
|
"conns": [
|
|
{"address": "127.0.0.1:2023", "transport":"*gob"},
|
|
{"address": "127.0.0.1:2033", "transport":"*gob"}
|
|
],
|
|
},
|
|
"connCache": {
|
|
"strategy": "*broadcast",
|
|
"conns": [
|
|
{"address": "127.0.0.1:2022", "transport":"*json"},
|
|
{"address": "127.0.0.1:2032", "transport":"*json"}
|
|
],
|
|
}
|
|
|
|
},
|
|
|
|
|
|
"data_db": {
|
|
"db_type": "*internal",
|
|
"remote_conns": ["conn1"],
|
|
"replication_conns": ["conn2"],
|
|
"items":{
|
|
"*accounts":{"remote":true,"replicate":true},
|
|
"*resource_profiles":{"remote":true,"replicate":true},
|
|
"*resources":{"remote":true,"replicate":true},
|
|
"*statqueue_profiles": {"remote":true,"replicate":true},
|
|
"*statqueues": {"remote":true,"replicate":true},
|
|
"*threshold_profiles": {"remote":true,"replicate":true},
|
|
"*thresholds": {"remote":true,"replicate":true},
|
|
"*filters": {"remote":true,"replicate":true},
|
|
"*route_profiles":{"remote":true,"replicate":true},
|
|
"*attribute_profiles":{"remote":true,"replicate":true},
|
|
"*charger_profiles": {"remote":true,"replicate":true},
|
|
"*dispatcher_profiles":{"remote":true,"replicate":true},
|
|
"*dispatcher_hosts":{"remote":true,"replicate":true},
|
|
"*rate_profiles":{"remote":true,"replicate":true},
|
|
"*load_ids":{"remote":true,"replicate":true},
|
|
"*indexes":{"remote":true, "replicate":true},
|
|
},
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_type": "*internal",
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
},
|
|
|
|
|
|
"resources": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"thresholds_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
"caches_conns":["connCache"],
|
|
},
|
|
|
|
}
|