Files
cgrates/data/conf/samples/attributes_mysql/cgrates.json
2022-02-14 17:23:35 +02:00

30 lines
692 B
JSON

{
// CGRateS Configuration file
// will be used in apis/attributes_it_test.go
"general": {
"log_level": 7,
},
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"stor_db": {
"db_password": "CGRateS.org",
},
"attributes": {
"enabled": true,
"prefix_indexed_fields": ["*req.Destination"],
"exists_indexed_fields": ["*opts.*usage"],
"notexists_indexed_fields": ["*req.ToR"],
},
"admins": {
"enabled": true,
}
}