mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
Add blocker for exporters + tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
75b38e24e0
commit
fb354a04a4
48
data/conf/samples/ees_blocker_mysql/cgrates.json
Normal file
48
data/conf/samples/ees_blocker_mysql/cgrates.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
|
||||
"general": {
|
||||
"log_level": 7
|
||||
},
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080"
|
||||
},
|
||||
|
||||
"data_db": {
|
||||
"db_type": "redis",
|
||||
"db_port": 6379,
|
||||
"db_name": "10"
|
||||
},
|
||||
|
||||
"ees": {
|
||||
"enabled": true,
|
||||
"cache": {
|
||||
"*fileCSV": {"limit": -1, "ttl": "500ms", "static_ttl": false}
|
||||
},
|
||||
"exporters": [
|
||||
{
|
||||
"id": "CSVExporter1",
|
||||
"type": "*fileCSV",
|
||||
"export_path": "/tmp/CSVFile1",
|
||||
"attempts": 1,
|
||||
"blocker": true,
|
||||
"field_separator": ","
|
||||
},
|
||||
{
|
||||
"id": "CSVExporter2",
|
||||
"type": "*fileCSV",
|
||||
"export_path": "/tmp/CSVFile2",
|
||||
"attempts": 1,
|
||||
"field_separator": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user