mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
60 lines
953 B
JSON
60 lines
953 B
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": "*internal", // stor database type to use: <mysql|postgres>
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
"thresholds_conns": ["*localhost"],
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"attributes_conns":["*internal"],
|
|
"chargers_conns":["*localhost"],
|
|
"rals_conns": ["*localhost"],
|
|
"stats_conns": ["*localhost"],
|
|
"thresholds_conns": ["*localhost"],
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
"thresholds_conns": ["*internal"],
|
|
},
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
}
|