mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
Added tests for dataconverters on attributes
This commit is contained in:
committed by
Dan Christian Bogos
parent
947fc13e01
commit
055578b642
5
data/tariffplans/dataconverters/Attributes.csv
Normal file
5
data/tariffplans/dataconverters/Attributes.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
#Tenant,ID,Context,FilterIDs,ActivationInterval,AttributeFilterIDs,Path,Type,Value,Blocker,Weight
|
||||
cgrates.org,ATTR_VARIABLE,*any,*string:~*req.EventName:CallTest,,,*req.Category,*variable,~*req.EventName{*strip:*suffix:*char:Test},false,20
|
||||
cgrates.org,ATTR_VARIABLE,,,,,*req.AnswerTime,*variable,~*req.AnswerTime{*time_string:2006-01-02 15:04:05.999999999 -0700 MST},,
|
||||
cgrates.org,ATTR_SEC,*any,,,,*req.Cost,*variable,~*req.Cost{*round:2:*up},false,10
|
||||
cgrates.org,ATTR_STAT,*any,*string:~*req.EventName:StatsTest,,,*req.AcdMetric,*variable,~*stats.Stat_1.*acd{*duration_seconds&*round:0:*up},false,20
|
||||
|
2
data/tariffplans/dataconverters/Filters.csv
Normal file
2
data/tariffplans/dataconverters/Filters.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
#Tenant[0],ID[1],Type[2],Path[3],Values[4],ActivationInterval[5]
|
||||
cgrates.org,FLTR_STAT_1,*string,~*req.Account,1001,2014-07-29T15:00:00Z
|
||||
|
2
data/tariffplans/dataconverters/Stats.csv
Normal file
2
data/tariffplans/dataconverters/Stats.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],QueueLength[4],TTL[5],MinItems[6],Metrics[7],MetricFilterIDs[8],Stored[9],Blocker[10],Weight[11],ThresholdIDs[12]
|
||||
cgrates.org,Stat_1,FLTR_STAT_1,2014-07-29T15:00:00Z,100,10s,0,*acd;*tcd;*asr,,false,true,30,*none
|
||||
|
Reference in New Issue
Block a user