Commit Graph

337 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
ionutboangiu
169b5500d3 Revise err handling for CSV storage constructor
NewFileCSVStorage() now returns an error besides the storage struct itself, which is
logged and returned instead of calling log.Fatal() which was causing the engine to
crash.

Fixed compilation errors by creating the CSVStorage separately and passing it as an
argument to the TpReader constructor.

Fixes #3962
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
arberkatellari
de5db4a938 Add caching_delay to config and loaders 2024-03-06 16:16:08 +01: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
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
928dbd9e42 Removing StorDB 2022-03-09 14:14:30 +01:00
andronache98
a678e88bcb Removed storDB from cmd/cgr-loader.go 2022-03-09 14:14:30 +01:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +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
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
nickolasdaniel
9942a34aa9 Added tenant flag for cgr-loader 2021-07-25 12:07:09 +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
porosnicuadrian
41318bd681 Started integration tests for cache + changed consts for rates apis 2021-04-21 18:00:00 +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
ionutboangiu
a19093e95b Remove unused variables and functions in engine 2021-04-02 14:57:32 +02:00
Trial97
48205d689d Removed until build 2021-03-30 20:49:53 +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
4e997df3ce cgr-loader parameters are constants from utils now 2020-12-16 15:32:59 +01:00
andronache
fcea399472 cgr-loader parameters are constants from utils now 2020-12-16 15:32:59 +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
a9f0a9429b Added tests for GetCDRs with internalDB 2020-08-13 11:34:53 +02:00
Trial97
29466d8770 Added test cgr-loader flushStorDB 2020-08-11 14:17:06 +02:00
Trial97
f2a166215c Added tests for cgr-loader 2020-08-10 19:08:38 +02:00
Trial97
c1a96d21a4 Added support for Redis cluster 2020-08-07 09:27:02 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
Trial97
a381e3a670 Updated RouteID and APIKey options 2020-07-16 15:07:31 +02:00
adragusin
ea112a66b3 Updated ArgDispatcher with Opts 2020-07-14 10:11:27 +02:00
Trial97
f4fe295cd1 Updated internalDB integration tests 2020-06-29 18:11:20 +03:00
Trial97
c59d418bef Updated csvStorage 2020-03-25 17:28:08 +01:00
Trial97
57cfcbf5fc Updated cgr-loader to accept URLs as path to data 2020-03-24 16:37:59 +01:00
Trial97
7b64a31c80 Updated cgr-loader to always parse all subfolders 2020-03-24 16:37:59 +01: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
Trial97
21285b4bbc Removed unused connmanager service 2020-01-06 17:43:54 +02:00
Trial97
f5e9c99c02 Updated cgr-loader 2020-01-06 17:35:42 +02:00