32 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
962000656b Remove global err used by tests
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-07-14 14:08:49 +02:00
ionutboangiu
eb3bd5cc1d Add redisPoolPipelineLimit configuration field for datadb
Sets the maximum number of commands that can be pipelined before flushing.
0 means no limit and pipelines will only be limited by the time window.
2024-07-05 11:21:16 +02:00
ionutboangiu
ed3fa0d294 Add redisPoolPipelineWindow configuration field for datadb
Sets the duration after which internal pipelines are flushed.
0 disabled implicit pipelining.
2024-07-02 19:58:03 +02:00
ionutboangiu
17fbc2d51b Rename mongoScheme opt to mongoConnScheme 2023-12-12 10:10:26 +01:00
ionutboangiu
24cbe49d90 Add support for mongodb+srv conn format
Option can be found in db opts under the name 'mongoSchema'.
2023-12-11 17:15:40 +01:00
gezimbll
5a85c119c8 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package equivalent functions 2023-11-01 21:52:50 +01:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
gezimbll
7dd79308b8 fixing it tests for db type 2023-03-08 19:15:23 +01:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
93d931176e Repair unit tests after making stor and datadb opts into structs 2022-07-12 17:59:09 +02:00
ionutboangiu
aaea87eb33 Make data and stordb opts into structs 2022-07-12 17:59:09 +02:00
andronache
0089659476 Started using camelCase for opts in data_db 2021-05-06 13:57:30 +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