Commit Graph

12809 Commits

Author SHA1 Message Date
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
nickolasdaniel
37dfdf6e58 Config and utils unit testing 2021-10-20 16:53:46 +03:00
ionutboangiu
8e2fa41705 Fix failing tests after merge 2021-10-19 09:18:36 +03:00
porosnicuadrian
13d6195f8e New rpc exporter 2021-10-19 09:05:16 +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
1670b1b0c9 Fix tests after adding opts to sessions 2021-10-18 18:09:44 +03:00
ionutboangiu
5f66ae754f Add new DynamicOpt type alongside clone and comparison and conversion functions 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
ionutboangiu
7305885d84 Add opts to sessions (cont.) 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
nickolasdaniel
be173e1e07 Fixed and added tests in config 2021-10-18 17:14:33 +03:00
ionutboangiu
83711d727c Fix some failing it tests 2021-10-18 11:18:27 +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
nickolasdaniel
13be353971 Fixed and added unit tests in config 2021-10-18 10:37:28 +03:00
porosnicuadrian
be3702f93e Added ity tests for routes sorting cases + cfg/tp 2021-10-18 10:36:49 +03:00
porosnicuadrian
b5b7934f9b Fixed error when ignoringErrors would continue in the iteration 2021-10-18 10:36:49 +03:00
ionutboangiu
ee8b95e7dd Fix load function in stordbcfg 2021-10-18 10:36:16 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
ionutboangiu
cbc314e059 Fix tests after adding opts for sessions subsystem 2021-10-18 10:36:16 +03:00
ionutboangiu
428a63eb5b Add opts for sessions subsystem (cont.) 2021-10-18 10:36:16 +03:00
ionutboangiu
a4caeb1e38 Fix typo (alocate -> allocate) 2021-10-18 10:36:16 +03:00
ionutboangiu
548dd79742 Add opts for sessions (continued) 2021-10-15 10:59:19 +03:00
ionutboangiu
ec69679d63 Fix failing test 2021-10-15 10:59:19 +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
ionutboangiu
43ec38957d Fix remaining failing tests after changing opts structure 2021-10-15 10:59:19 +03:00
ionutboangiu
9ab534d7a9 Add omitempty for all filterIDs fields from dynamicOpts 2021-10-15 10:59:19 +03:00
porosnicuadrian
a90628a0c8 Added missing tenant in opts config 2021-10-14 18:16:18 +03:00
porosnicuadrian
8f6d7ff5ab FIxed tests for units/increment type 2021-10-14 18:16:18 +03:00
porosnicuadrian
0081ccf277 Make increments/units of duration 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
porosnicuadrian
768fcde9f9 Rermoved case in NewDecimalFromUsage 2021-10-14 18:16:18 +03:00
nickolasdaniel
c1df5d3767 Unit testing in config 2021-10-14 18:06:50 +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