Commit Graph

5354 Commits

Author SHA1 Message Date
ionutboangiu
9ba6df7fc0 Make ClientOpts of type struct in httpcfg 2021-10-22 12:05:22 +03:00
andronache
1b7108eb7a Finished tests for ProfileIgnoreFilters option 2021-10-22 12:04:12 +03:00
andronache
2af41dd937 Tests for ProfileIgnoreFilters in actions and engine for stats 2021-10-22 12:04:12 +03:00
Trial97
58b3e7a79a Updated engine tests 2021-10-22 11:58:12 +03:00
Trial97
6b6d831eda Updated libphonenumber implementation 2021-10-22 11:58:12 +03:00
Trial97
cffeb44ade Added test for posible deadlock 2021-10-22 11:58:12 +03:00
ionutboangiu
adaa664712 Revise GetOptsFromMultipleMaps functions 2021-10-20 16:54:58 +03:00
andronache
27ea25a838 Fixed test for attributes with opt MetaProfileIgnoreFilters 2021-10-20 16:54:20 +03:00
andronache
03f9c0f4b5 Fixed cover tests, now 100% coverage for cdrs.go 2021-10-20 16:54:20 +03:00
andronache
1e080a7123 RunID is not longer added to event but to APIOpts 2021-10-20 16:54:20 +03:00
ionutboangiu
8e2fa41705 Fix failing tests after merge 2021-10-19 09:18:36 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
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