added thresholdCfg stordb|datadb methods and csv read

This commit is contained in:
Edwardro22
2017-08-03 01:45:48 +03:00
parent 6de1f132d8
commit ca43ea4b9c
36 changed files with 767 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
#Id,FilterType,FilterFieldName,FilterFieldValues,ActivationInterval,TTL,Limit,AllocationReply,Blocker,Stored,Weight,ActionTriggers
#Id[0],FilterType[1],FilterFieldName[2],FilterFieldValues[3],ActivationInterval[4],TTL[5],Limit[6],AllocationMessage[7],Weight[8],Thresholds[9]
ResGroup1,*string,Account,1001;1002,2014-07-29T15:00:00Z,1s,7,,true,true,20,
ResGroup1,*string_prefix,Destination,10;20,,,,,,,,
ResGroup1,*rsr_fields,,Subject(~^1.*1$);Destination(1002),,,,,,,,
1 #Id #Id[0],FilterType[1],FilterFieldName[2],FilterFieldValues[3],ActivationInterval[4],TTL[5],Limit[6],AllocationMessage[7],Weight[8],Thresholds[9] FilterType FilterFieldName FilterFieldValues ActivationInterval TTL Limit AllocationReply Blocker Stored Weight ActionTriggers
2 ResGroup1 ResGroup1,*string,Account,1001;1002,2014-07-29T15:00:00Z,1s,7,,true,true,20, *string Account 1001;1002 2014-07-29T15:00:00Z 1s 7 true true 20
3 ResGroup1 ResGroup1,*string_prefix,Destination,10;20,,,,,,,, *string_prefix Destination 10;20
4 ResGroup1 ResGroup1,*rsr_fields,,Subject(~^1.*1$);Destination(1002),,,,,,,, *rsr_fields Subject(~^1.*1$);Destination(1002)

View File

@@ -1,2 +1,2 @@
#Id,FilterType,FilterFieldName,FilterFieldValues,ActivationInterval,QueueLength,TTL,Metrics,Blocker,Stored,Weight,Thresholds
#Id[0],FilterType[1],FilterFieldName[2],FilterFieldValues[3],ActivationInterval[4],QueueLength[5],TTL[6],Metrics[7],Blocker[8],Stored[9],Weight[10],Thresholds[11]
Stats1,*string,Account,1001;1002,2014-07-29T15:00:00Z,100,1s,*asr;*acd;*acc,true,true,20,THRESH1;THRESH2
1 #Id #Id[0] FilterType FilterType[1] FilterFieldName FilterFieldName[2] FilterFieldValues FilterFieldValues[3] ActivationInterval ActivationInterval[4] QueueLength QueueLength[5] TTL TTL[6] Metrics Metrics[7] Blocker Blocker[8] Stored Stored[9] Weight Weight[10] Thresholds Thresholds[11]
2 Stats1 Stats1 *string *string Account Account 1001;1002 1001;1002 2014-07-29T15:00:00Z 2014-07-29T15:00:00Z 100 100 1s 1s *asr;*acd;*acc *asr;*acd;*acc true true true true 20 20 THRESH1;THRESH2 THRESH1;THRESH2

View File

@@ -0,0 +1,2 @@
#Id[0],FilterType[1],FilterFieldName[2],FilterFieldValues[3],ActivationInterval[4],ThresholdType[5],ThresholdValue[6],MinItems[7],Recurrent[8],MinSleep[9],Blocker[10],Stored[11],Weight[12],ActionIDs[13]
Threshold1,*string,Account,1001;1002,2014-07-29T15:00:00Z,,1.2,10,true,1s,true,true,10,THRESH1;THRESH2
1 #Id[0] FilterType[1] FilterFieldName[2] FilterFieldValues[3] ActivationInterval[4] ThresholdType[5] ThresholdValue[6] MinItems[7] Recurrent[8] MinSleep[9] Blocker[10] Stored[11] Weight[12] ActionIDs[13]
2 Threshold1 *string Account 1001;1002 2014-07-29T15:00:00Z 1.2 10 true 1s true true 10 THRESH1;THRESH2