Files
cgrates/data/conf/samples/cdrsv2mongo/cgrates.json
2019-10-28 12:17:15 +01:00

78 lines
1.3 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"},
],
},
"apier": {
"scheduler_conns": [ // connections to SchedulerS for reloads
{"address": "*internal"},
],
},
}