DispatcherS integrationt test config sample structure

This commit is contained in:
DanB
2019-02-05 09:22:59 +01:00
parent 336560b8ab
commit c361c10640
2 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
// CGRateS Configuration file
//
"general": {
"node_id": "AttributeS1",
"log_level": 7
},
"listen": {
"rpc_json": "127.0.0.2:2012"
},
"attributes": {
"enabled": true
},
}

View File

@@ -0,0 +1,45 @@
{
// 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"
},
"listen": {
"rpc_json": "127.0.0.1:2012"
},
"cache":{
"dispatcher_routes": {"limit": -1, "ttl": "2s"}
},
"attributes": {
"enabled": true
},
"dispatchers":{
"enabled": false, // starts DispatcherS service: <true|false>.
"attributes_conns": [
{"address": "*internal"}
],
"conns": {
"AttributeS1": [
{"address": "127.0.0.2:2012", "transport": "*json"},
],
"ALL": [
{"address": "127.0.0.100:2012", "transport": "*json"},
],
},
},
}