Fixes for DispatcherS tests

This commit is contained in:
Trial97
2019-02-14 12:05:29 +02:00
committed by Dan Christian Bogos
parent cf72c0aac3
commit bb2d874319
11 changed files with 279 additions and 218 deletions

View File

@@ -0,0 +1,39 @@
{
// 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,
},
"attributes": {
"enabled": true
},
"rals": {
"enabled": true,
},
}

View File

@@ -0,0 +1,63 @@
{
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
// Copyright (C) ITsysCOM GmbH
//
// This file contains the default configuration hardcoded into CGRateS.
// This is what you get when you load CGRateS with an empty configuration file.
"general": {
"node_id": "DispatcherS1",
"reconnects": 1,
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080",
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"cache":{
"dispatcher_routes": {"limit": -1, "ttl": "2s"}
},
"attributes": {
"enabled": false
},
"dispatchers":{
"enabled": true,
"attributes_conns": [
{"address": "127.0.0.1:5012", "transport": "*json"},
],
"conns": {
"AttributeS1": [
{"address": "127.0.0.1:5012", "transport": "*json"},
],
"ALL": [
{"address": "127.0.0.1:6012", "transport": "*json"},
],
"ALL2": [
{"address": "127.0.0.1:7012", "transport": "*json"},
],
},
},
}