mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
Add integration tests for dispatcher
This commit is contained in:
committed by
Dan Christian Bogos
parent
909f97cfb6
commit
77d01b02e3
@@ -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",
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user