Commit Graph

1843 Commits

Author SHA1 Message Date
ionutboangiu
43ec38957d Fix remaining failing tests after changing opts structure 2021-10-15 10:59:19 +03:00
nickolasdaniel
c1df5d3767 Unit testing in config 2021-10-14 18:06:50 +03:00
nickolasdaniel
5beac404ed Unit testing in config 2021-10-13 20:34:01 +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
92bb9ef87a Fix compilation errors and remove tests for deleted libdynamics functions 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
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
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
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
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
nickolasdaniel
bc50993f80 Unit tests in config 2021-10-12 18:11:25 +03:00
DanB
bad9cdcbe9 Few comments on rateS options 2021-10-11 14:09:11 +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
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
Trial97
869da96a64 Added *profileIgnoreFilters for attributes 2021-10-08 17:07:20 +03:00
ionutboangiu
f8063c99d2 Add usage opt in config for routes subsystem 2021-10-08 11:10:24 +03:00
ionutboangiu
6e20c1aeff Add Cfg consts for cdrs opts 2021-10-06 12:18:40 +02:00
ionutboangiu
1e09419d22 Change opt field name from *export to *eeS 2021-10-05 21:04:38 +02:00
ionutboangiu
e0abc8457b Fix it tests after adding *default as default filterID 2021-10-05 21:04:38 +02:00
ionutboangiu
f4708c6131 Change opts default filterID to *default 2021-10-05 21:04:38 +02:00
ionutboangiu
d40ca97923 Append instead of overwrite when loading opts from JSONCfg 2021-10-05 21:04:38 +02:00
ionutboangiu
e3b4c97121 Delete functions that are not used anymore 2021-10-05 21:04:38 +02:00
Trial97
9eaf945375 Updated DNSAgent Option handling 2021-10-05 21:01:26 +02:00
ionutboangiu
06961f22f6 Add opts struct for CDRS subsystem 2021-10-04 13:37:36 +02:00
ionutboangiu
8cb46adfa5 Add nil verifications for jsnCfg opts in load functions and fix tests 2021-10-04 11:29:37 +02:00
ionutboangiu
9888feea81 Fix conflict 2021-10-04 11:29:37 +02:00
ionutboangiu
b935f375ed Fix integration tests after changing type of opts 2021-10-04 11:29:37 +02:00
ionutboangiu
24a25917a6 Fix unit tests after changing type of opts 2021-10-04 11:29:37 +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
9cf65cde89 Add Clone function for *decimal.Big types and fix load function in attributescfg file 2021-10-04 11:29:37 +02:00
ionutboangiu
b8301727ad Fix compilation errors in integration tests 2021-10-04 11:29:37 +02:00
ionutboangiu
8507580420 Fix compilation errors in unit tests 2021-10-04 11:29:37 +02:00
ionutboangiu
8950b71d39 Add the default options for the remaining subsystems and fix errors in config.go 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
fe6ef76f80 Updated DNSAgent 2021-10-01 13:32:42 +02:00
porosnicuadrian
75fa22288d Fixed loaders tests 2021-10-01 11:56:31 +02:00