Commit Graph

4998 Commits

Author SHA1 Message Date
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
porosnicuadrian
25ed4f63ea Fixed session volume test 2021-10-05 08:31:39 +02:00
porosnicuadrian
287730b6cc Finished session volume discount test 2021-10-04 17:38:49 +02:00
ionutboangiu
06961f22f6 Add opts struct for CDRS subsystem 2021-10-04 13:37:36 +02:00
porosnicuadrian
b311fede51 Updated accoutns code for cost increment + tests 2021-10-04 11:30:36 +02:00
ionutboangiu
5c8857c48a Change types of remaining routes opts to DynamicOpts and fix logic in newOptsGetRoutes() 2021-10-04 11:29:37 +02:00
ionutboangiu
02315c7ad0 Add functions for getting interface type values from config/APIOpts 2021-10-04 11:29:37 +02:00
ionutboangiu
a3290f519e Add FilterS and context parameters for newOptsGetRoutes function and fix the remaining compilation errors 2021-10-04 11:29:37 +02:00
ionutboangiu
1a4e73a8c6 Fix the compilation errors in non test files (incomplete) 2021-10-04 11:29:37 +02:00
ionutboangiu
b549582851 Take into account the case where FilterIDs field in DynamicOpt is empty and add function for bool types 2021-10-04 11:29:37 +02:00
ionutboangiu
71730ba813 Change all the subsystem opts types to DynamicOpts structs in the cfg files 2021-10-04 11:29:37 +02:00
ionutboangiu
7d05b01c68 Change types of cfg opts to dynamic structs (incomplete) 2021-10-04 11:29:37 +02:00
Trial97
f801d747e2 Updated sessions and cdrs flag handling 2021-10-01 13:32:42 +02:00
porosnicuadrian
954d363a1a Fixes over decimal verification and errors 2021-10-01 11:56:31 +02:00
ionutboangiu
2e6ab1b874 Change type of actions opts to map 2021-09-28 20:44:55 +02:00
ionutboangiu
958996f364 Change type of stats opts to map 2021-09-28 20:44:55 +02:00
DanB
1f4191d89d Adding AccountS support for cost calculation of routes 2021-09-27 20:01:44 +02:00
ionutboangiu
32c5d5e587 Change type of thresholds opts to map 2021-09-27 17:27:18 +02:00
ionutboangiu
48d078fb49 Fix the AsMapInterface function for resources and the failing tests 2021-09-27 13:18:42 +02:00
ionutboangiu
7d01526866 Change types of resources opts to map 2021-09-27 13:18:42 +02:00
andronache
323fa2389c Changed opts for Sessions and CDRs 2021-09-26 11:15:57 +02:00
ionutboangiu
68e27f0dd3 Add opts for resources 2021-09-24 10:23:45 +02:00
Trial97
886e280e3b Updated filter CSV loading 2021-09-24 10:14:01 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
andronache
ffcfc0bd3b Resolved conflict 2021-09-23 08:58:09 +02:00
ionutboangiu
1c2c5800e5 Add ActionProfileIDs as opt for actions subsystem and fix tests 2021-09-22 18:08:17 +02:00