mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Fixes for DispatcherS tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
cf72c0aac3
commit
bb2d874319
39
data/conf/samples/dispatchers/attributes_mongo/cgrates.json
Normal file
39
data/conf/samples/dispatchers/attributes_mongo/cgrates.json
Normal 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,
|
||||
},
|
||||
}
|
||||
|
||||
63
data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json
Normal file
63
data/conf/samples/dispatchers/dispatchers_mongo/cgrates.json
Normal 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"},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user