Commit Graph

5023 Commits

Author SHA1 Message Date
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
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
andronache
381070c8f6 Coverage test in engine for cdrs regarding AttributeProcessEvent with mock 2021-10-08 11:17:19 +03:00
andronache
7d80197c62 Cover test for AttributesProcessEvent and repaired tests for ChargersProcessEvent 2021-10-08 11:17:19 +03:00
andronache
f882512ca7 Cover test for cdrs.go 2021-10-08 11:17:19 +03:00
andronache
06db6ba301 Cover tests in engine 2021-10-08 11:17:19 +03:00
andronache
eb92e984a3 Some cover test in cdrs.go 2021-10-08 11:17:19 +03:00
Trial97
4e4ca41cd5 Updated cdrs 2021-10-08 11:12:50 +03:00
Trial97
6bff7dfb9b Updated Redis storage 2021-10-08 11:12:50 +03:00
porosnicuadrian
dcdfabb5f6 Tested cdrs ProcessEvent with rates 2021-10-08 11:07:45 +03:00
porosnicuadrian
fc5421d633 Modified cfg and load args for session volume discount test 2021-10-06 13:27:59 +02:00
ionutboangiu
37e8f358b7 Delete unused opt retrieval functions 2021-10-06 12:18:40 +02:00
ionutboangiu
1e7ff42468 Implement GetTimeOpts function in libfilters.go 2021-10-06 12:18:40 +02:00
andronache
3de360d5f5 Some cover tests for engine/cdrs.go 2021-10-05 21:06:09 +02:00
ionutboangiu
f4708c6131 Change opts default filterID to *default 2021-10-05 21:04:38 +02:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
ionutboangiu
4863bd949f Further optimize the GetOpts functions in libfilters.go 2021-10-05 21:04:38 +02:00
ionutboangiu
44eb32b84d Implement functions that look for options both in APIOpts and config 2021-10-05 21:04:38 +02:00
Trial97
9eaf945375 Updated DNSAgent Option handling 2021-10-05 21:01:26 +02:00