Commit Graph

12756 Commits

Author SHA1 Message Date
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
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
2ae22d4483 Make Limit and Offset DynamicOpts of type IntPointer instead of Int 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
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
4ba6c563c3 Update config_defaults following the recent changes to opts 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
82c491ad46 Change JsonOpts struct's fields from maps to slices of dynamicOpts and add default values as consts for the remaining subsystems 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
ff455a28bf Change RatesJsonOpts struct's fields from maps to slices of dynamicopts and add default values as consts 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
e7ae177910 Change RoutesJsonOpts struct's fields from maps to slices of dynamicopts and update the functions as well as add default values as consts 2021-10-13 20:32:43 +03:00
ionutboangiu
f6b2726b17 Update config_defaults for routes after changing the structure 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
ionutboangiu
a9ea1146f0 Update GetOpts functions 2021-10-13 20:32:43 +03:00
ionutboangiu
72a754720f Fix integration tests 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
nickolasdaniel
bc50993f80 Unit tests in config 2021-10-12 18:11:25 +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
porosnicuadrian
8b8736eba6 Test for DebitAbstract with rates for costIncr case 2021-10-12 18:10:49 +03:00
porosnicuadrian
949bf3eb99 Modified account name 2021-10-12 18:10:49 +03:00
porosnicuadrian
9f5cbbb176 Updated cfg/tp and test for session discout 2021-10-12 18:10:49 +03:00
Trial97
5c062e7ea7 Added protection for Redis limit when setting indexes 2021-10-12 16:48:04 +03:00
andronache
e6cdf8abf2 Repaired wrongly compressed freeswitch configs 2021-10-11 20:04:01 +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
nickolasdaniel
2aad952489 Unit tests for uttils 2021-10-11 17:42:31 +03:00
nickolasdaniel
9b43ea0199 Solved loaders integration test 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
porosnicuadrian
5c828e3073 Updated it tests 2021-10-11 17:41:34 +03:00
porosnicuadrian
3ee187c5a9 No more external in accounts apis 2021-10-11 17:41:34 +03:00
porosnicuadrian
ca9602cd64 Fixed tests in accounts 2021-10-11 17:41:34 +03:00
porosnicuadrian
1054f0c122 Modified data for discount volume session tests 2021-10-11 17:41:34 +03:00
DanB
bad9cdcbe9 Few comments on rateS options 2021-10-11 14:09:11 +02:00
DanB
cc48e6d4eb NewTPBalanceCostIncrement initializing FilterIDs only when string not empty 2021-10-11 11:07:10 +02:00
Trial97
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 2021-10-11 12:06:57 +03:00
Trial97
56f5ce07f3 Added *profileIgnoreFilters for actions 2021-10-11 12:06:57 +03:00