mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 22:58:44 +05:00
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
// will be used in apis/actions_it_test.go
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "mongo",
|
|
"db_name": "10",
|
|
"db_port": 27017,
|
|
},
|
|
"StorDB": { // The id of the DB connection
|
|
"db_type": "mongo", // db type: <internal|redis|mysql|mongo|postgres>
|
|
"db_host": "127.0.0.1",
|
|
"db_port": 27017, // db port to reach the database
|
|
"db_name": "cgrates", // the host to connect to
|
|
"db_user": "cgrates",
|
|
},
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
|
|
}
|
|
},
|
|
|
|
"actions": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*internal"],
|
|
"stats_conns": ["*internal"],
|
|
},
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"thresholds_conns": ["*internal"],
|
|
},
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"actions_conns": ["*internal"],
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
}
|
|
} |