Commit Graph

108 Commits

Author SHA1 Message Date
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
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
armirveliaj
6dc612a32a Add print_config flags to cgr-loader and cgr-migrator 2024-07-03 10:39:59 +02:00
gezimbll
04d05c3a4f replacing non-meta constants for storage types 2023-03-08 19:13:48 +01:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +02: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
523045cc12 Add timeout options for redis and solve compilation errors 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
e342eea6fa Removed storDB from Migrator 2022-03-09 14:14:30 +01:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
ionutboangiu
cc2e3a6f72 Fix compilation errors and tests after making opts of type struct 2021-10-08 18:24:16 +03:00
ionutboangiu
e340c43ccd Fix compilation errors (incomplete) 2021-10-08 18:24:16 +03:00
ionutboangiu
c48aa5d4ad Change datadb cfg opts constant names 2021-10-08 18:24:16 +03:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
porosnicuadrian
183bddb416 Added back chargers apis + context 2021-06-11 12:34:51 +02:00
porosnicuadrian
85ad80f8e8 Tested cgr-engine flags 2021-06-08 12:13:31 +02:00
Trial97
67437dcd6d Added back version flag 2021-05-26 15:54:36 +02:00
andronache
e40ee259c0 Renamed opts for DataDB and StorDB 2021-05-07 10:51:16 +02:00
Trial97
52365ce558 Updated config 2021-04-21 16:38:30 +02:00
Trial97
53f9fded4c Added config_db section 2021-04-19 19:49:39 +02:00
Trial97
5f0150b639 Updated dataDB config structure 2021-03-09 17:37:59 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
fcea399472 cgr-loader parameters are constants from utils now 2020-12-16 15:32:59 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
TeoV
8552ffb805 Update config name and description message 2020-10-20 11:07:26 +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
841264a97a Moved all specific DB options in opts 2020-08-28 14:35:42 +02:00
Trial97
c1a96d21a4 Added support for Redis cluster 2020-08-07 09:27:02 +02:00
TeoV
c7b7740c27 Add support for Mongo for different Marshaler 2020-03-02 10:10:57 +01:00
TeoV
35d19ab4b2 Add TTL option for DataDB/StorDB for type *internal 2020-01-14 08:42:10 -05:00
adragusin
bf19cfe7ae Updated tests in utils 2019-12-04 10:36:26 -05:00
TeoV
02ef2ea3a3 Include filters when engine check versions 2019-11-28 15:54:57 +02:00
Trial97
8d655d8b57 Added sslmode for storDB config. Fixes#1715 2019-10-28 18:00:32 +01:00
TeoV
d3e7867535 Add StorDBPrefixIndexedFields for customize cdr indexes for InternalDB 2019-10-04 20:17:40 +02:00
Tripon Alexandru-Ionut
d1c7ca3369 Updated migrator tests 2019-05-28 15:22:36 +02:00
TeoV
ef3d7484ce Rename -migrate to -exec for cgr-migrator 2019-05-10 06:50:00 +02:00
Tripon Alexandru-Ionut
a7fb5315db Updated the global CgrConfig for cgr-loader and cgr-migrator. Fixes#1532 2019-05-02 21:27:15 +02:00
Trial97
a68c76c952 Updated config_path to accept url as path to file 2019-03-14 12:40:19 +01:00
Trial97
c780baa47f Updated migrator *set_version 2019-03-08 17:28:15 +01:00
TeoV
b5ad475434 Change config_dir to config_path for cgr-migrator 2019-03-06 19:44:18 +01:00
TeoV
f115cf77ef Add FlagSet for each component 2019-03-06 14:20:50 +01:00
Trial97
c31210feab Added user_filters in migrator 2019-02-21 14:45:38 +01:00
Trial97
917710642b Added tests for loadercgrcfg, migratorcfg,supplierscfg and thresholdscfg 2018-10-31 11:02:30 +01:00
Trial97
a4896dbc32 Added General config 2018-10-05 20:33:28 +03:00
Trial97
fefa4317bf Added StroreDb config 2018-10-05 14:40:42 +03:00
Trial97
c3ca7b7620 Added DataDbCfg 2018-10-05 14:40:42 +03:00