Commit Graph

2520 Commits

Author SHA1 Message Date
DanB
8af75e98db ApierV1.SetThreshods recaching, SetResourceProfile recaching with integration tests 2017-10-14 17:21:05 +02:00
DanB
be9539836b Thresholds automatic backup 2017-10-14 16:28:31 +02:00
DanB
6caa7225a2 Merge branch 'master' of github.com:cgrates/cgrates 2017-10-13 21:03:29 +02:00
DanB
ad3eb76102 Threshold FilterableEvent, integration tests for thresholds 2017-10-13 21:02:25 +02:00
TeoV
ff2f7fad66 Add RemoveThreshold in DataManager 2017-10-13 21:01:07 +02:00
TeoV
47f3f09af9 Add SetThreshold in DataManager 2017-10-13 21:01:07 +02:00
TeoV
9ea6bf488d Add GetThreshold to DataManager 2017-10-13 21:01:07 +02:00
DanB
c425722bce New filter types: *lt, *lte, *gt, *gte 2017-10-13 18:18:14 +02:00
TeoV
c37c14d265 Add RemoveFilter in DataManager 2017-10-13 14:19:01 +02:00
TeoV
ae9db3f8a5 Add SetFilter in DataManager 2017-10-13 14:19:01 +02:00
TeoV
7304b80fb9 Add GetFilter in Datamanager 2017-10-13 14:19:01 +02:00
TeoV
073a353049 Add ActivationInterval to filter and updated test 2017-10-13 14:19:01 +02:00
TeoV
e83f26fe02 Updated Loader_csv_test.go 2017-10-13 14:19:01 +02:00
TeoV
12262fb11f Refactoring filters 2017-10-13 14:19:01 +02:00
TeoV
68ca42c4c0 Add Async to Thresholds 2017-10-13 14:19:01 +02:00
TeoV
4f4ba6ed73 Add Async option for Thresholds 2017-10-13 14:19:01 +02:00
TeoV
ec5adbe93f Updated test in loader_csv-test.go 2017-10-13 14:19:01 +02:00
Victor Seva
771f5fd2cf fix typos detected by lintian tool 2017-10-12 18:54:41 +02:00
DanB
4b41e0c6ea Thresholds.ProcessEvent returning also number of threshold hits, integration tests 2017-10-11 20:13:58 +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
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
DanB
6b000a2f87 Add missing bracket in storage mongo 2017-10-09 13:51:25 +02:00
Dan Christian Bogos
f0178800f6 Merge branch 'master' into master 2017-10-09 13:43:12 +02:00
TeoV
a93522d8a1 Add FilterProfile + test for it 2017-10-02 16:12:12 +03:00
TeoV
d3ea0e1bf8 Add tpthreshold.go in apier/v1 and test for it 2017-10-02 11:17:42 +03:00
DanB
56b4f11033 Engine starting ThresholdS 2017-10-01 15:42:54 +02:00
DanB
3181c0c535 Config options for thresholds 2017-10-01 15:01:19 +02:00
DanB
5427f395c3 ThresholdS V1GetThresholdIDs 2017-10-01 10:29:49 +02:00
DanB
6a67e93385 ThresholdS V1ProcessEvent and V1GetThresholdsForEvent 2017-10-01 09:25:10 +02:00
DanB
5bb258ff00 Disable marking events to be stored if storeInterval is 0 for resources and stats 2017-09-30 19:28:32 +02:00
DanB
8b4ba2f4aa Control dirty flag in StatQueue needing to be stored 2017-09-30 19:08:47 +02:00
DanB
3ed3cde528 ResourceS avoid double locking when scheduling for backup 2017-09-30 09:41:16 +02:00
Dan Christian Bogos
e7485ec52f Merge pull request #767 from Edwardro22/master
Recovered failing integration tests and repaired bad bugfix #750
2017-09-29 19:14:05 +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
DanB
fa02de9bba Activating code relaying on GetThreshold 2017-09-29 18:47:15 +02:00
edwardro22
8544dc3223 Fixed failing mongo tests 2017-09-29 16:37:13 +00:00
TeoV
3a2269f1e7 Rename Tag with ID for TPStats and TPThresholds and set pk new primary key 2017-09-29 17:38:04 +03:00
TeoV
05a009c5e1 Add MinItems in Stat and update stats_it_test.go 2017-09-29 15:15:38 +03:00
edwardro22
da8b0dc1de Uncommented engine-dependent test that was failing 2017-09-29 12:09:55 +00:00
edwardro22
c17efb9447 Fixed merge fails 2017-09-29 12:02:32 +00:00
edwardro22
939fca39d5 Recovered failing tests and repaired bad bugfix 2017-09-29 11:45:50 +00:00
TeoV
44fb51839b Remove MinItems from ThresholdProfiles and add/remote time.Sleep from resourcesv1_it_test.go and tp_it_test.go 2017-09-29 08:48:39 +02:00
TeoV
2951286563 Add methods for Threshold (get/set/remove) in Mongo Redis and StorageMap (DataDB) + test for them (onstor_it_test.go) 2017-09-29 08:48:39 +02: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
7330926263 Add methods for Threshold (get/set/remove) in Mongo Redis and StorageMap (DataDB) + test for them (onstor_it_test.go) 2017-09-29 08:46:20 +03:00
DanB
03c665d299 ThresholdS matchingThresholdsForEvent 2017-09-28 18:56:26 +02:00
DanB
42eae1ac46 ThresholdS backup mechanism implementation 2017-09-28 16:56:11 +02:00
Dan Christian Bogos
17beee3551 Merge pull request #764 from TeoV/master
Improve DDC metric
2017-09-28 13:53:56 +02:00