Commit Graph

2597 Commits

Author SHA1 Message Date
ionutboangiu
0c367f1ac7 Rename Attribute opts field from IDs to profileIDs 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
7305885d84 Add opts to sessions (cont.) 2021-10-18 18:09:44 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 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
9ab534d7a9 Add omitempty for all filterIDs fields from dynamicOpts 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
porosnicuadrian
768fcde9f9 Rermoved case in NewDecimalFromUsage 2021-10-14 18:16:18 +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
ionutboangiu
8a107fe386 Fix libdynamics conversion functions that were causing panics 2021-10-13 20:32:43 +03:00
ionutboangiu
92bb9ef87a Fix compilation errors and remove tests for deleted libdynamics functions 2021-10-13 20:32:43 +03:00
ionutboangiu
e3f413ffb4 Remove unused functions and update Clone and Equal functions to consider the tenant field 2021-10-13 20:32:43 +03:00
ionutboangiu
0c4831af95 Add new DynamicOpt type for *int type values as well as implement relevant functions 2021-10-13 20:32:43 +03:00
ionutboangiu
4ba6c563c3 Update config_defaults following the recent changes to opts 2021-10-13 20:32:43 +03:00
ionutboangiu
528bc38c16 Add conversion functions for DynDurationOpts and DynDecimalOpts 2021-10-13 20:32:43 +03:00
porosnicuadrian
b6b39b0e7d Removed external structs for event charges 2021-10-12 18:10:49 +03:00
porosnicuadrian
ee4a0ad36e FIxed tests without External structs 2021-10-12 18:10:49 +03:00
nickolasdaniel
2aad952489 Unit tests for uttils 2021-10-11 17:42:31 +03:00
nickolasdaniel
8e76fc237e Fixed random failure in libdynamics_test.go 2021-10-11 17:42:31 +03:00
DanB
cc48e6d4eb NewTPBalanceCostIncrement initializing FilterIDs only when string not empty 2021-10-11 11:07:10 +02:00
nickolasdaniel
06c61eb170 Unit testing in utils 2021-10-08 18:45:15 +03:00
ionutboangiu
9f053c04e8 Add stordb opts to struct and adjust word order in SQLConnMaxLifetime constant 2021-10-08 18:24:16 +03:00
ionutboangiu
c48aa5d4ad Change datadb cfg opts constant names 2021-10-08 18:24:16 +03:00
porosnicuadrian
8c3b0343d6 Removed CostForIntervals func 2021-10-08 17:52:56 +03:00
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
Trial97
adc8a9eb71 Added constants for dns agent 2021-10-08 11:12:50 +03:00
Trial97
6bff7dfb9b Updated Redis storage 2021-10-08 11:12:50 +03:00
ionutboangiu
f8063c99d2 Add usage opt in config for routes subsystem 2021-10-08 11:10:24 +03:00
nickolasdaniel
e104c2d297 Unit testing for utils 2021-10-08 11:09:55 +03:00
nickolasdaniel
63f7f5f126 Unit tests in utils 2021-10-08 11:09:55 +03:00
porosnicuadrian
05e7900aea Tested the resolved panic with evChargers in account 2021-10-08 11:07:45 +03:00
porosnicuadrian
dcdfabb5f6 Tested cdrs ProcessEvent with rates 2021-10-08 11:07:45 +03:00
Trial97
06a8e18ba7 Added test for DNSAgent 2021-10-06 12:20:20 +02:00
ionutboangiu
37e8f358b7 Delete unused opt retrieval functions 2021-10-06 12:18:40 +02:00
ionutboangiu
6e20c1aeff Add Cfg consts for cdrs opts 2021-10-06 12:18:40 +02:00
Trial97
9eaf945375 Updated DNSAgent Option handling 2021-10-05 21:01:26 +02:00
ionutboangiu
24a25917a6 Fix unit tests after changing type of opts 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
d43fc7a27a Fix DynamicInterfaceOpts functions 2021-10-04 11:29:37 +02:00
ionutboangiu
9cf65cde89 Add Clone function for *decimal.Big types and fix load function in attributescfg file 2021-10-04 11:29:37 +02:00
ionutboangiu
e90e01abd0 Simplify filterIDs assignment and specify length of slice in MapToDynamicOpts funcs 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
06764a3926 Add the possibility to add the opts keys as parameters in the startTime function 2021-10-04 11:29:37 +02:00
ionutboangiu
33a661b5e5 Implement MapToDynamicOpts functions and define DynamicOpts for interface and bool types 2021-10-04 11:29:37 +02:00
ionutboangiu
ea420c489e Define DynamicOpts types and implement helper functions 2021-10-04 11:29:37 +02:00
Trial97
f801d747e2 Updated sessions and cdrs flag handling 2021-10-01 13:32:42 +02:00
Trial97
fe6ef76f80 Updated DNSAgent 2021-10-01 13:32:42 +02:00