Add integration tests for dispatcher

This commit is contained in:
TeoV
2018-06-11 11:15:53 -04:00
committed by Dan Christian Bogos
parent 909f97cfb6
commit 77d01b02e3
10 changed files with 1524 additions and 63 deletions

View File

@@ -10,9 +10,9 @@
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080",
"rpc_json": ":2112",
"rpc_gob": ":2113",
"http": ":2180",
},
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
@@ -32,32 +32,27 @@
},
"resources": { // Resource service (*new)
"enabled": false, // starts ResourceLimiter service: <true|false>.
},
"dispatcher":{
"enabled": true, // starts DispatcherS service: <true|false>.
"rals_conns": [
{"address": "*internal"},
],
"resources_conns": [
{"address": "192.168.56.204:2012", "transport": "*json"},
{"address": "192.168.56.203:2012", "transport": "*json"},
],
"thresholds_conns": [
{"address": "192.168.56.204:2012", "transport": "*json"},
{"address": "192.168.56.203:2012", "transport": "*json"},
],
"stats_conns": [
{"address": "192.168.56.204:2012", "transport": "*json"},
{"address": "192.168.56.203:2012", "transport": "*json"},
],
"suppliers_conns": [
{"address": "192.168.56.204:2012", "transport": "*json"},
{"address": "192.168.56.203:2012", "transport": "*json"},
],
"attributes_conns": [
{"address": "192.168.56.204:2012", "transport": "*json"},
{"address": "192.168.56.203:2012", "transport": "*json"},
],
"dispatching_strategy":"*random",
"dispatching_strategy":"*first",
},