mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 23:28:44 +05:00
DispatcherS integrationt test config sample structure
This commit is contained in:
23
data/conf/samples/dispatchers/attributes/cgrates.json
Normal file
23
data/conf/samples/dispatchers/attributes/cgrates.json
Normal 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
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
45
data/conf/samples/dispatchers/dispatchers/cgrates.json
Executable file
45
data/conf/samples/dispatchers/dispatchers/cgrates.json
Executable 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"},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user