Files
cgrates/data/conf/samples/attributes_redis/cgrates.json
2025-11-05 17:52:03 +01:00

43 lines
900 B
JSON

{
// CGRateS Configuration file
// will be used in apis/attributes_it_test.go
"logger": {
"level": 7
},
"db": {
"db_conns": {
"*default": {
"db_type": "redis",
"db_host": "127.0.0.1",
"db_port": 6379,
"db_name": "10",
"db_user": "cgrates"
},
"StorDB": {
"db_type": "mysql",
"db_host": "127.0.0.1",
"db_port": 3306,
"db_name": "cgrates",
"db_user": "cgrates",
"db_password": "CGRateS.org"
}
},
"items": {
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
}
},
"attributes": {
"enabled": true,
"prefix_indexed_fields": ["*req.Destination"],
"exists_indexed_fields": ["*opts.*usage"],
"notexists_indexed_fields": ["*req.ToR"],
},
"admins": {
"enabled": true,
}
}