Commit Graph

961 Commits

Author SHA1 Message Date
DanB
e0cdcba030 *voice balance format change into nanoseconds from seconds, some test fixes 2017-11-12 19:26:07 +01:00
DanB
0cb9dca9a2 Redesigned core to support nanoseconds/data units, cgr-engine memory profiling in commandline options, tests updates 2017-11-09 18:27:09 +01:00
DanB
86fd8444db Using SMGenericV2 methods returning time.Duration as maxDuration instead of float, updated smg_it tests 2017-11-06 18:20:17 +01:00
DanB
48ad63baa3 SMG event using CastFieldIfToString instead of deprecated ConvertIfaceToString, SMGClientV1.DisconnectSession with nanosecond units, more test fixes 2017-11-06 12:52:46 +01:00
TeoV
fda5210a49 Update CDRsFilter , RPCCDRsFilter , AttrExpFileCdrs structure 2017-11-03 13:38:40 +02:00
TeoV
642f5b8ab0 Update CDRsFilter , 2017-11-03 13:13:08 +02:00
DanB
d789cac0b7 Responder MaxComputedUsage implementation 2017-11-02 15:33:31 +01:00
DanB
6bf57b827d Replacing ParseDurationWithSecs with ParseDurationWithNanosecs in most of the places to allow data units parsing without conversion; tests updated 2017-10-31 17:08:50 +01:00
DanB
0da9a10de7 Removing Direction, PDD, DisconnectCause, Supplier from main fields of CDR; MySQL/Postgres storing nanoseconds instead of seconds for usage, tests update 2017-10-30 18:18:37 +01:00
DanB
86804c5c28 Config option thresholds_conns in cdrs 2017-10-27 18:40:17 +02:00
DanB
c66269898f Sample Thresholds.csv to be used with CDR events 2017-10-27 18:32:39 +02:00
TeoV
87dbc1b8fc Add FilterIDs in Resource 2017-10-27 14:33:56 +02:00
TeoV
c16ce4ba29 Add FilterIDs in StatQueue and FilterS in StatS 2017-10-27 12:52:55 +02:00
DanB
881310f01c ThresholdS running with common filters, Thresholds.MinHits implementation, integration tests 2017-10-26 17:51:22 +02:00
edwardro22
30906b128e updated the interaction between kamevapi and cgrates 2017-10-26 15:09:10 +02:00
TeoV
97dbad4769 Add Filter in Cache ( + add them in config/config_defaults.go for tests) 2017-10-25 19:38:22 +02:00
TeoV
ff92d3f5a4 Add Filter in Cache 2017-10-25 19:38:22 +02:00
DanB
9d695d517c Index for threshold filters 2017-10-24 18:45:21 +02:00
DanB
6c8a5d5839 ThresholdsIndex -> ThresholdStringIndex 2017-10-24 15:26:07 +02:00
TeoV
7a78d074c4 Add StatQueue , StatQueueProfile , Threshold,ThresholdProfile in Cache 2017-10-24 15:25:56 +02:00
TeoV
ab7b060c64 Replace Filter with FilterIDs in Thresholds 2017-10-23 18:13:54 +02:00
TeoV
70fbd6d71d Add MinHits in Threshold 2017-10-23 18:13:54 +02:00
DanB
c135290fc3 CastFieldIfToString with time.Duration support for acd/tcd 2017-10-22 17:21:50 +02:00
DanB
6980e177d1 StatS with ThresholdS, ThresholdEvent.Fields -> ThresholdEvent.Event 2017-10-22 13:31:17 +02:00
DanB
3c6b016a77 ThresholdS support in balance updates 2017-10-21 21:23:59 +02:00
DanB
29f8ae8fca Adding sample AccountUpdate event sent to ThresholdS 2017-10-21 13:29:11 +02:00
DanB
d6bb574e65 Adding time comparison in GreaterThan 2017-10-20 21:04:50 +02:00
DanB
ad3eb76102 Threshold FilterableEvent, integration tests for thresholds 2017-10-13 21:02:25 +02:00
DanB
c425722bce New filter types: *lt, *lte, *gt, *gte 2017-10-13 18:18:14 +02:00
DanB
b7a46619a7 Reflect StringToInterface 2017-10-13 17:03:00 +02:00
DanB
d8ad002f3f ReflectFieldInterface 2017-10-13 15:49:01 +02:00
DanB
eaf502e55a Merge fixes 2017-10-13 14:20:29 +02:00
TeoV
073a353049 Add ActivationInterval to filter and updated test 2017-10-13 14:19:01 +02:00
TeoV
12262fb11f Refactoring filters 2017-10-13 14:19:01 +02:00
TeoV
4f4ba6ed73 Add Async option for Thresholds 2017-10-13 14:19:01 +02:00
DanB
34d823d0f5 More theshold events in integration tests, adding samples in Threshold.csv 2017-10-13 14:10:09 +02:00
DanB
2d6d968076 Reflect GreaterThan comparison 2017-10-13 14:10:09 +02:00
DanB
b0cb868ca2 TPReader creating Threshold for ThresholdProfile, integration tests 2017-10-10 19:38:52 +02:00
TeoV
6871fe5515 RequestFilter -> Filter and delete FilterProfile 2017-10-10 12:48:41 +02:00
Dan Christian Bogos
f0178800f6 Merge branch 'master' into master 2017-10-09 13:43:12 +02:00
DanB
8bdb5b78bc Adding some constants 2017-10-09 13:35:29 +02:00
TeoV
a93522d8a1 Add FilterProfile + test for it 2017-10-02 16:12:12 +03:00
DanB
3181c0c535 Config options for thresholds 2017-10-01 15:01:19 +02:00
DanB
573a8b3d34 ThresholdSV1 APIer instance with initial methods, centralized APIerRPCCall for stats, resources and thresholds 2017-10-01 11:33:26 +02:00
DanB
b54ac6e3b5 Threshold.ProcessEvent 2017-09-29 18:47:15 +02:00
DanB
7eb6d9600b ThresholdsPrefix -> ThresholdPrefix 2017-09-29 18:47:15 +02:00
TeoV
05a009c5e1 Add MinItems in Stat and update stats_it_test.go 2017-09-29 15:15:38 +03:00
TeoV
7b0f535d65 Remove MinItems from ThresholdProfiles and add/remote time.Sleep from resourcesv1_it_test.go and tp_it_test.go 2017-09-29 09:32:27 +03:00
TeoV
67911e21d8 Fix ThresholdsProfile in TPReader 2017-09-28 12:43:44 +03:00
DanB
b81914629e ThresholdCfg -> ThresholdProfile 2017-09-27 17:40:54 +02:00