From 7d848069ef2443d28f22ff5968e997195a609251 Mon Sep 17 00:00:00 2001 From: adragusin Date: Thu, 30 Jan 2020 18:07:08 +0200 Subject: [PATCH] Fixed tests --- .../samples/cdrewithattributes/cgrates.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/data/conf/samples/cdrewithattributes/cgrates.json b/data/conf/samples/cdrewithattributes/cgrates.json index 2b83d94b9..486884a2f 100755 --- a/data/conf/samples/cdrewithattributes/cgrates.json +++ b/data/conf/samples/cdrewithattributes/cgrates.json @@ -48,17 +48,17 @@ "attributes_context":"*cdre", "filters" :["*string:~*req.Source:test2"], "fields": [ - {"path": "*exp.CGRID", "type": "*variable", "value": "~*req.CGRID"}, - {"path": "*exp.RunID", "type": "*variable", "value": "~*req.RunID"}, - {"path": "*exp.Source", "type": "*variable", "value": "~*req.Source"}, - {"path": "*exp.OriginID", "type": "*variable", "value": "~*req.OriginID"}, - {"path": "*exp.Tenant", "type": "*variable", "value": "~*req.Tenant"}, - {"path": "*exp.Category", "type": "*variable", "value": "~*req.Category"}, - {"path": "*exp.Account", "type": "*variable", "value": "~*req.Account"}, - {"path": "*exp.Subject", "type": "*variable", "value": "~*req.Subject"}, - {"path": "*exp.Destination", "type": "*variable", "value": "~*req.Destination"}, - {"path": "*exp.Usage", "type": "*variable", "value": "~*req.Usage"}, - {"path": "*exp.Cost", "type": "*variable", "value": "~*req.Cost", "rounding_decimals": 4}, + {"path": "*exp.CGRID", "type": "*composed", "value": "~*req.CGRID"}, + {"path": "*exp.RunID", "type": "*composed", "value": "~*req.RunID"}, + {"path": "*exp.Source", "type": "*composed", "value": "~*req.Source"}, + {"path": "*exp.OriginID", "type": "*composed", "value": "~*req.OriginID"}, + {"path": "*exp.Tenant", "type": "*composed", "value": "~*req.Tenant"}, + {"path": "*exp.Category", "type": "*composed", "value": "~*req.Category"}, + {"path": "*exp.Account", "type": "*composed", "value": "~*req.Account"}, + {"path": "*exp.Subject", "type": "*composed", "value": "~*req.Subject"}, + {"path": "*exp.Destination", "type": "*composed", "value": "~*req.Destination"}, + {"path": "*exp.Usage", "type": "*composed", "value": "~*req.Usage"}, + {"path": "*exp.Cost", "type": "*composed", "value": "~*req.Cost", "rounding_decimals": 4}, ], }, },