Commit Graph

1069 Commits

Author SHA1 Message Date
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
cb4b73cb44 Add get/set/rem for thresholdProfile in apier/v1/thresholds.go 2017-10-10 12:48:41 +02:00
TeoV
53cbdd50ba add filters.go in apier and updated some test 2017-10-09 17:40:08 +03:00
TeoV
6487065427 Updated tests in apier/v1 2017-10-09 15:28:58 +03:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
Dan Christian Bogos
f0178800f6 Merge branch 'master' into master 2017-10-09 13:43:12 +02:00
TeoV
e4af389bad Add TPFilter in apier/v1 and test for it 2017-10-03 18:13:21 +03:00
TeoV
a93522d8a1 Add FilterProfile + test for it 2017-10-02 16:12:12 +03:00
TeoV
d9984e68c3 Modify some comments 2017-10-02 11:24:26 +03:00
TeoV
d3ea0e1bf8 Add tpthreshold.go in apier/v1 and test for it 2017-10-02 11:17:42 +03: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
8b4ba2f4aa Control dirty flag in StatQueue needing to be stored 2017-09-30 19:08:47 +02: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
a117db8c7b Update stats_it_test.go 2017-09-29 15:19:49 +03: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
TeoV
b27e5038be Update GetStatsAfterReset in stats_it_test.go 2017-09-27 14:06:12 +03:00
TeoV
9a36cb5bb5 Add *pdd metric in stats_it_test.go and add a new test(GetStatsAfterRestart) 2017-09-27 13:37:52 +03:00
DanB
a1241639fc Benchmarks for stats tests 2017-09-26 19:02:27 +02:00
DanB
e9df2ea7c1 Merge fixes 2017-09-26 17:54:13 +02:00
TeoV
d71942404f Fix stats_it_test.go and modify Metrics 2017-09-26 17:49:01 +02:00
DanB
e2cbea598a ApierV1.Get/Set/RemoveStatQueueProfile integration tests, fix mongo StatSV1.GetQueueIDs 2017-09-26 17:47:22 +02:00
TeoV
7802f1cc9e Add time.Sleep in tp_it_test.go(import and export methond need more time for reading from disk and writing to disk) 2017-09-26 11:28:43 +03:00
TeoV
1e379641ea Add ACC and TCC metrics 2017-09-26 11:15:08 +03:00
DanB
b44b439dcd StatS matching only fields in filters, integration tests for StatSV1.ProcessEvent 2017-09-26 11:15:08 +03:00
DanB
52063c8899 StatsV1.GetQueueIDs API, add integration tests for StatS 2017-09-26 11:15:08 +03:00
TeoV
c1fd8bcdb6 Small fix 2017-09-21 16:24:20 +03:00
TeoV
69c49dcc61 Fix resourcesv1_it_test.go 2017-09-21 16:21:36 +03:00
TeoV
37ffa00a00 Small fix 2017-09-21 12:27:50 +03:00
TeoV
3158a7cf4b Merge branch 'master' of https://github.com/cgrates/cgrates 2017-09-21 11:05:28 +03:00
DanB
71302e0706 ApierV1 and StatSV1 APIs for StatS 2017-09-20 17:53:20 +02:00
TeoV
6787bf17a1 Small Fix 2017-09-20 17:51:28 +03:00
TeoV
1ffa018498 Add test for tpactiontriggers and fix Server Error : Not found for all TPs 2017-09-20 17:50:30 +03:00
TeoV
13923da01f Add test for TPCdrStats and update test on TPAccountActions 2017-09-20 16:15:14 +03:00
TeoV
426a2dbdca Small Fix 2017-09-20 14:38:42 +03:00
TeoV
8e6fd8982b Small fix 2017-09-20 11:54:07 +03:00
TeoV
1312932ce2 Moved ExportTPToFolder to ApierV1 and add test for it 2017-09-20 11:52:31 +03:00
DanB
ee79c5bd6b StatS matchingStatQueuesForEvent, added tenant to statqueuestringindex, get/rem StatQueue using cache 2017-09-19 20:18:15 +02:00
DanB
c80a9f2852 Enabling Set/Get/RemResourceProfile testing in ApierV1 2017-09-17 19:51:50 +02:00
DanB
3706639483 Proper handling of ttl=0 in resources 2017-09-17 19:22:49 +02:00
DanB
ea77fdb004 ResourceS automatic storage mechanism with tests 2017-09-17 16:17:23 +02:00
DanB
0bc847de39 Load TTL from profile on Resource init 2017-09-16 09:35:03 +02:00
DanB
26efe5456e Resource indexing usage on ID instead of TenantID 2017-09-16 08:33:11 +02:00
DanB
f16ef66443 Merge branch 'master' of github.com:cgrates/cgrates 2017-09-15 20:40:22 +02:00
DanB
ba0b68f0b8 Indexing resources with tenant in ID, resources integration tests for mysql 2017-09-15 20:40:15 +02:00
TeoV
43c713f3a5 Fix on apier/v2/tp.go ExportTPToFolder 2017-09-15 18:29:24 +03:00
TeoV
da0746b9aa New check for TPid in apier/v2/tp.go 2017-09-15 18:16:28 +03:00