Commit Graph

38 Commits

Author SHA1 Message Date
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
ionutboangiu
e0c05ecfa7 Add redis pipeline window and limit cfg opts
Set redisPoolPipelineWindow to control duration before pipeline
flush (0 disables implicit pipelining) and redisPoolPipelineLimit
for max commands per pipeline (0 means no limit, only time window
applies).
2024-10-29 18:54:51 +01:00
ionutboangiu
8cbeb45adf Remove global err used by tests
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-10-29 18:54:51 +01:00
ionutboangiu
0063ef3822 Add support for mongodb+srv conn format
Option can be found in db opts under the name 'mongoConnScheme'.
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
gezimbll
04d05c3a4f replacing non-meta constants for storage types 2023-03-08 19:13:48 +01:00
ionutboangiu
d9f567b0a3 Rename RedisMaxAttempts to RedisConnectionAttempts 2022-07-14 14:59:28 +02:00
ionutboangiu
81793af5de Make hardcoded options configurable for redis and solve compilation errors 2022-07-07 18:05:14 +02:00
ionutboangiu
0ee53653e9 Repair it tests 2022-07-03 13:08:52 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
03793c0082 Removed storDB from config 2022-03-09 14:14:30 +01:00
nickolasdaniel
5beac404ed Unit testing in config 2021-10-13 20:34:01 +03:00
ionutboangiu
cc2e3a6f72 Fix compilation errors and tests after making opts of type struct 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
24a25917a6 Fix unit tests after changing type of opts 2021-10-04 11:29:37 +02:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
nickolasdaniel
418a8086de Added unit tests for config 2021-05-21 14:11:57 +02:00
andronache
75815b3325 Started using camelCase for opts in data_db 2021-05-07 10:51:16 +02:00
Trial97
0a7446bdad Added Config in agent request as dataprovider 2021-02-09 15:16:20 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
dbb9216b6e Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
570356b459 Changed consts in utils and repaired account profiles it testin apier/v1 2021-01-07 18:15:35 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
Trial97
c539800acd Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
Trial97
2b19127d05 Added more Clone functions for config sections 2020-11-27 08:41:56 +01:00
porosnicuadrian
cf81fc80e0 Moved MaxCallDuration & MinCallDuration from sessions section to general section 2020-10-20 19:56:09 +02:00
TeoV
f1c823761b [DataDB] Add support for redis with TLS connection ( + integration test ) fixes #2435 2020-10-15 18:34:21 +02:00
TeoV
21120eb9b6 Add "redis_" prefix to "dataDB" option for redis 2020-10-15 12:42:28 +02:00
Trial97
b06661af42 Added option to not read *env variables in RJReader 2020-10-15 12:41:04 +02:00
porosnicuadrian
7bc822a643 Covered to 100% migratorcfg and radiuscfg 2020-10-07 12:02:51 +02:00
porosnicuadrian
2cec2ed0cd Updated load tests for migratorcfg 2020-09-30 13:28:16 +02:00
porosnicuadrian
ce6c96dd69 Update migrator AsMapInterface method 2020-09-25 13:03:28 +02:00
Trial97
841264a97a Moved all specific DB options in opts 2020-08-28 14:35:42 +02:00
adragusin
df4756729f Updated some AsMapInterface methods/added tests for them 2020-04-28 09:50:51 +02:00
Trial97
d88a14220a Updated config tests 2019-09-04 16:19:34 +02:00
Trial97
917710642b Added tests for loadercgrcfg, migratorcfg,supplierscfg and thresholdscfg 2018-10-31 11:02:30 +01:00