Files
cgrates/data/conf/samples/cdrsv2mongo/cgrates.json
2019-03-29 20:25:20 +01:00

72 lines
1.2 KiB
JSON

{
// CGRateS Configuration file
//
// Used in apier_local_tests
// Starts rater, cdrs and mediator connecting over internal channel
"general": {
"log_level": 7,
},
"stor_db": {
"db_type": "mongo", // stor database type to use: <mysql|postgres>
"db_port": 27017, // the port to reach the stordb
},
"rals": {
"enabled": true, // enable Rater service: <true|false>
"thresholds_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"},
],
},
"scheduler": {
"enabled": true,
},
"cdrs": {
"enabled": true,
"attributes_conns":[
{"address": "*internal"},
],
"chargers_conns":[
{"address": "127.0.0.1:2012", "transport":"*json"},
],
"rals_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"},
],
"stats_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"},
],
"thresholds_conns": [
{"address": "127.0.0.1:2012", "transport":"*json"},
],
},
"attributes": {
"enabled": true,
},
"stats": {
"enabled": true,
"store_interval": "1s",
"thresholds_conns": [
{"address": "*internal"}
],
},
"thresholds": {
"enabled": true,
"store_interval": "1s",
},
"chargers": {
"enabled": true,
"attributes_conns": [
{"address": "*internal"},
],
},
}