mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
Added more tests for empty fields in ees
This commit is contained in:
committed by
Dan Christian Bogos
parent
45204cec17
commit
4e80f5e703
@@ -72,22 +72,7 @@
|
||||
"attempts": 1,
|
||||
"field_separator": ",",
|
||||
"filters": ["*string:~*req.ExporterUsed:CSVExporter"],
|
||||
"fields":[
|
||||
{"tag": "CGRID", "path": "*exp.CGRID", "type": "*variable", "value": "~*req.CGRID"},
|
||||
{"tag": "RunID", "path": "*exp.RunID", "type": "*variable", "value": "~*req.RunID"},
|
||||
{"tag": "ToR", "path": "*exp.ToR", "type": "*variable", "value": "~*req.ToR"},
|
||||
{"tag": "OriginID", "path": "*exp.OriginID", "type": "*variable", "value": "~*req.OriginID"},
|
||||
{"tag": "RequestType", "path": "*exp.RequestType", "type": "*variable", "value": "~*req.RequestType"},
|
||||
{"tag": "Tenant", "path": "*exp.Tenant", "type": "*variable", "value": "~*req.Tenant"},
|
||||
{"tag": "Category", "path": "*exp.Category", "type": "*variable", "value": "~*req.Category"},
|
||||
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
||||
{"tag": "Subject", "path": "*exp.Subject", "type": "*variable", "value": "~*req.Subject"},
|
||||
{"tag": "Destination", "path": "*exp.Destination", "type": "*variable", "value": "~*req.Destination"},
|
||||
{"tag": "SetupTime", "path": "*exp.SetupTime", "type": "*variable", "value": "~*req.SetupTime", "layout": "2006-01-02T15:04:05Z07:00"},
|
||||
{"tag": "AnswerTime", "path": "*exp.AnswerTime", "type": "*variable", "value": "~*req.AnswerTime", "layout": "2006-01-02T15:04:05Z07:00"},
|
||||
{"tag": "Usage", "path": "*exp.Usage", "type": "*variable", "value": "~*req.Usage"},
|
||||
{"tag": "Cost", "path": "*exp.Cost", "type": "*variable", "value": "~*req.Cost{*round:4}"},
|
||||
],
|
||||
"fields":[],
|
||||
},
|
||||
{
|
||||
"id": "CSVExporterComposed",
|
||||
@@ -386,6 +371,26 @@
|
||||
"attempts": 1,
|
||||
"filters": ["*string:~*req.ExporterUsed:HTTPJsonMapExporterWithNoFields"],
|
||||
"fields":[]
|
||||
},
|
||||
{
|
||||
"id": "ElasticExporterWithNoFields",
|
||||
"type": "*elastic",
|
||||
"export_path": "http://localhost:9200",
|
||||
"tenant": "cgrates.org",
|
||||
"attempts": 1,
|
||||
"filters": ["*string:~*req.ExporterUsed:ElasticExporterWithNoFields"],
|
||||
"fields":[],
|
||||
},
|
||||
{
|
||||
"id": "HTTPPostExporterWithNoFields",
|
||||
"type": "*http_post",
|
||||
"export_path": "http://127.0.0.1:12080/event_http",
|
||||
"tenant": "cgrates.org",
|
||||
"flags": ["*attributes"],
|
||||
"attribute_context": "customContext",
|
||||
"attempts": 1,
|
||||
"filters": ["*string:~*req.ExporterUsed:HTTPPostExporterWithNoFields"],
|
||||
"fields":[]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user