Commit Graph

12801 Commits

Author SHA1 Message Date
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
nickolasdaniel
5beac404ed Unit testing in config 2021-10-13 20:34:01 +03:00
porosnicuadrian
44f9cc8f78 Fixed tests with increment/units field 2021-10-13 20:33:19 +03:00
porosnicuadrian
58f9965019 Make increment and Units string instead of float64 2021-10-13 20:33:19 +03:00
porosnicuadrian
04889e855f Fixed V1ProcessEventWithGet method 2021-10-13 20:33:19 +03:00
porosnicuadrian
277d8b388a Finished account test with rates in debit abstract with no effect on increment 2021-10-13 20:33:19 +03:00
ionutboangiu
e8de2a57f3 Fix integration tests after chaning opts structure (incomplete) 2021-10-13 20:32:43 +03:00
ionutboangiu
ad6ee01bd3 Fix unit tests after changing opts structure 2021-10-13 20:32:43 +03:00
ionutboangiu
8a107fe386 Fix libdynamics conversion functions that were causing panics 2021-10-13 20:32:43 +03:00