Started adding dispatcher internal connections

This commit is contained in:
Tripon Alexandru-Ionut
2019-04-05 20:30:15 +03:00
committed by Dan Christian Bogos
parent edb2f6ab97
commit 6b487537b8
26 changed files with 147 additions and 143 deletions

View File

@@ -1,40 +0,0 @@
{
// CGRateS Configuration file
//
"general": {
"node_id": "AttributeS1",
"log_level": 7
},
"listen": {
"rpc_json": ":5012",
"rpc_gob": ":5013",
"http": ":5080",
},
"stor_db": {
"db_type":"*internal",
},
"attributes": {
"enabled": true
},
"rals": {
"enabled": true,
},
"scheduler": {
"enabled": true,
},
"apier": {
"caches_conns":[ // connections to CacheS for reloads
{"address": "127.0.0.1:5012", "transport": "*json"},
],
},
}

View File

@@ -1,49 +0,0 @@
{
// CGRateS Configuration file
//
"general": {
"node_id": "AttributeS1",
"log_level": 7
},
"listen": {
"rpc_json": ":5012",
"rpc_gob": ":5013",
"http": ":5080",
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"scheduler": {
"enabled": true,
},
"attributes": {
"enabled": true
},
"rals": {
"enabled": true,
},
"apier": {
"caches_conns":[ // connections to CacheS for reloads
{"address": "127.0.0.1:5012", "transport": "*json"},
],
},
}

View File

@@ -29,24 +29,22 @@
"attributes": {
"enabled": false
"enabled": true
},
"scheduler": {
"enabled": true,
},
"rals": {
"enabled": true,
},
"dispatchers":{
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:5012", "transport": "*json"},
{"address": "*internal"},
],
},
"apier": {
"caches_conns":[ // connections to CacheS for reloads
{"address": "127.0.0.1:2012", "transport": "*json"},
],
},
}

View File

@@ -41,16 +41,18 @@
},
"attributes": {
"enabled": false
"enabled": true
},
"rals": {
"enabled": true,
},
"dispatchers":{
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:5012", "transport": "*json"},
{"address": "*internal"},
],
},
}