Files
cgrates/data/conf/samples/cdrsv1processeventmongo/cgrates.json
2019-12-19 10:37:14 +02:00

81 lines
1.2 KiB
JSON

{
// CGRateS Configuration file
//
// Used in general_tests
"general": {
"log_level": 7,
"poster_attempts": 1,
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
"db_port": 27017,
},
"stor_db": {
"db_type": "mongo",
"db_name": "cgrates",
"db_port": 27017,
},
"attributes": {
"enabled": true,
},
"chargers":{
"enabled": true,
"attributes_conns": ["*internal"],
},
"cdre":{
"aws_test_file": {
"export_format": "*amqp_json_map",
"export_path": "amqps://guest:guest@localhost:256733/",
"attempts": 1, // export attempts
"synchronous": true, // block processing until export has a result
"content_fields": [
{"tag": "CGRID", "type": "*composed", "value": "~CGRID", "field_id": "CGRID"},
],
},
},
"stats": {
"enabled": true,
"store_interval": "-1",
},
"thresholds": {
"enabled": true,
"store_interval": "-1",
},
"rals": {
"enabled": true
},
"schedulers": {
"enabled": true
},
"cdrs": {
"enabled": true,
"rals_conns": ["*internal"],
"attributes_conns": ["*internal"],
"chargers_conns": ["*internal"],
"stats_conns": ["*internal"],
"thresholds_conns": ["*internal"],
"online_cdr_exports": ["aws_test_file"],
},
"apier": {
"scheduler_conns": ["*internal"],
},
}