Commit Graph

12741 Commits

Author SHA1 Message Date
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
Trial97
27d1882b09 Added *profileIgnoreFilters for accounts 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
nickolasdaniel
06c61eb170 Unit testing in utils 2021-10-08 18:45:15 +03:00
ionutboangiu
cc2e3a6f72 Fix compilation errors and tests after making opts of type struct 2021-10-08 18:24:16 +03:00
ionutboangiu
509b72b2fd Make OutDataDBOpts and OutStorDBOpts into DBOpts structs 2021-10-08 18:24:16 +03:00
ionutboangiu
e340c43ccd Fix compilation errors (incomplete) 2021-10-08 18:24:16 +03:00
ionutboangiu
1c4866ae8a Change name of OptsJson struct for databases 2021-10-08 18:24:16 +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
ionutboangiu
bff3e1d143 Make opts in ConfigDBCfg be of type DataDBOpts 2021-10-08 18:24:16 +03:00
ionutboangiu
a69d3c5724 Add datadb opts to struct 2021-10-08 18:24:16 +03:00
porosnicuadrian
cdc8c1cab6 Fixed some tests for accounts 2021-10-08 17:52:56 +03:00