Commit Graph

5041 Commits

Author SHA1 Message Date
ionutboangiu
0c367f1ac7 Rename Attribute opts field from IDs to profileIDs 2021-10-18 18:09:44 +03:00
ionutboangiu
288b0b9613 Implement function to retrieve *time.Duration opts from multiple opt maps 2021-10-18 18:09:44 +03:00
andronache
4068eec821 Cover test for error case in stats 2021-10-18 18:03:13 +03:00
andronache
c714444c14 2021-10-18 18:03:13 +03:00
andronache
08b061f9cd Moved unncessary test 2021-10-18 18:03:13 +03:00
andronache
6dbdc01c90 Removed unnecessary test file 2021-10-18 18:03:13 +03:00
andronache
92365f05e9 Fixed test and added cover tests for process event 2021-10-18 18:03:13 +03:00
andronache
5c9f5fb39d Fixed wrong field type in test 2021-10-18 18:03:13 +03:00
ionutboangiu
ed64f5f7a0 Fix errors caused by merge 2021-10-18 11:18:27 +03:00
andronache
28e769cdb8 Added test for attributes for event ignore filter 2021-10-18 10:38:22 +03:00
andronache
d1ef08cff1 Test for the Profile Ignore Filters opt for attributes in engine, also changed some values in stats test 2021-10-18 10:38:22 +03:00
andronache
48590cd99b Test for the Profile Ignore Filters opt for attributes in engine 2021-10-18 10:38:22 +03:00
andronache
66bd5bfebe Test for the Profile Ignore Filters opt in stats 2021-10-18 10:38:22 +03:00
porosnicuadrian
b5b7934f9b Fixed error when ignoringErrors would continue in the iteration 2021-10-18 10:36:49 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
ionutboangiu
39a239cefc Update GetOpts functions to consider the values of opts with no tenant specified 2021-10-15 10:59:19 +03:00
ionutboangiu
6a8b16fd0c Fix tests after adding sessions opts struct 2021-10-15 10:59:19 +03:00
ionutboangiu
75335ba553 Add opts struct with some of the options for sessions 2021-10-15 10:59:19 +03:00
porosnicuadrian
8f6d7ff5ab FIxed tests for units/increment type 2021-10-14 18:16:18 +03:00
porosnicuadrian
a2110f8525 Make units/increment accept strinjg of time 2021-10-14 18:16:18 +03:00
andronache
fcec0a0f67 Cover tests in engine 2021-10-14 17:15:36 +03:00
andronache
4df0cf37cd Removed useless case for threshold cdrs process event 2021-10-14 17:15:36 +03:00
andronache
5c4fc75c6c Tests for attributes in engine/cdrs.go 2021-10-14 17:15:36 +03:00
porosnicuadrian
04889e855f Fixed V1ProcessEventWithGet method 2021-10-13 20:33:19 +03:00
ionutboangiu
ad6ee01bd3 Fix unit tests after changing opts structure 2021-10-13 20:32:43 +03:00
ionutboangiu
2ae22d4483 Make Limit and Offset DynamicOpts of type IntPointer instead of Int 2021-10-13 20:32:43 +03:00
ionutboangiu
0a0daa87bf Add new GetOpts function for *int type values 2021-10-13 20:32:43 +03:00
ionutboangiu
77e805bee9 Fix tests after changing opts structure (incomplete) 2021-10-13 20:32:43 +03:00
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
ionutboangiu
dc610bd146 Update GetOpts functions to take into consideration *any tenant 2021-10-13 20:32:43 +03:00
ionutboangiu
065a605a40 Add the newly created dftOpts constants as parameters in the getOpts functions for routes 2021-10-13 20:32:43 +03:00
ionutboangiu
a9ea1146f0 Update GetOpts functions 2021-10-13 20:32:43 +03:00
andronache
453a85fe28 Tests in engine for attributes 2021-10-13 20:31:14 +03:00
andronache
b917736f36 Completing attributes tests in engine 2021-10-13 20:31:14 +03:00
andronache
3c82973ecd Cover test for cdrs.go 2021-10-13 20:31:14 +03:00
andronache
60d9627a3e Cover test for V1ProcessEvent engine/in cdrs.go 2021-10-13 13:12:00 +03:00
andronache
ece4913840 More tests for error cases in cdrs process event 2021-10-13 13:12:00 +03:00
andronache
0dfc28e7fb Cover test for error cases in cdr process event 2021-10-13 13:12:00 +03:00
andronache
1a088cbf70 Finished test for cdrs process event with account tag and fixed cover test failling for cdrs in engine 2021-10-13 13:12:00 +03:00
Trial97
5c062e7ea7 Added protection for Redis limit when setting indexes 2021-10-12 16:48:04 +03:00
andronache
d97b02c7f2 Fixed typo in cover tests and in engine/model_helpers.go 2021-10-11 20:04:01 +03:00
nickolasdaniel
13a27308cb Solved failing unit test in engine 2021-10-11 17:42:31 +03:00
porosnicuadrian
3ee187c5a9 No more external in accounts apis 2021-10-11 17:41:34 +03:00
Trial97
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 2021-10-11 12:06:57 +03:00
Trial97
e1701b314e Added *profileIgnoreFilters for rates 2021-10-11 12:06:57 +03:00
andronache
9ed3888fd2 Test for cdrs Processevent 2021-10-08 19:02:38 +03:00
andronache
4236ace70d Cover tests for stats and thresholds in engine 2021-10-08 19:02:38 +03:00
andronache
d6022f7842 Cover tests in engine for cdrs.go 2021-10-08 19:02:38 +03:00
ionutboangiu
e340c43ccd Fix compilation errors (incomplete) 2021-10-08 18:24:16 +03:00
ionutboangiu
c48aa5d4ad Change datadb cfg opts constant names 2021-10-08 18:24:16 +03:00