331 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
arberkatellari
9b08994b5e Allow cache to be created for operational data on internal dataDB 2025-06-24 17:57:09 +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
arberkatellari
23ae4632fe Add print_config flags to cgr-loader and cgr-migrator 2024-07-01 14:33:24 +02:00
arberkatellari
b88045872f Optimise caching_delay 2024-01-09 09:42:48 -05:00
arberkatellari
0cfc4b5658 Continue caching_delay implementation & tests 2024-01-08 11:00:10 -05:00
arberkatellari
87bb4b1665 Add caching_delay flag to cgr-loader 2023-12-22 10:20:31 -05: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
ionutboangiu
f2108901a1 Remove the line overriding the dfltCfg (cgr-loader) 2023-08-28 12:23:28 +02:00
gezimbll
a63b180f2a Integration tests fixes & deleting copr ansible scripts 2023-08-07 11:41:48 +02:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
ionutboangiu
f2201f3e62 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.
2023-05-23 03:41:07 -04:00
gezimbll
7dd79308b8 fixing it tests for db type 2023-03-08 19:15:23 +01:00
ionutboangiu
aaea87eb33 Make data and stordb opts into structs 2022-07-12 17:59:09 +02:00
Trial97
291a959ec8 Updated internal dataDB 2021-10-21 14:30:20 +03:00
nickolasdaniel
4aaa2311ee Added flag for tenant in cgr-loader 2021-07-25 12:08:40 +02:00
Trial97
018d8c7a2e Added back version flag 2021-05-26 20:08:15 +02:00
andronache
bc4979b74a Renamed opts for DataDB and StorDB 2021-05-06 13:57:30 +02:00
Trial97
21d4dd16fa Removed more actions 2021-04-01 16:33:37 +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
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
Trial97
03f0d4bec1 Updated cgr-loader. Fixes #1817 2019-12-13 11:56:13 +02:00
TeoV
33bb85658b Correct set ConnManager when use cgr-loader 2019-12-12 08:54:42 +02:00
TeoV
76ca5b9d68 Update after rebase 2019-12-12 08:53:55 +02:00
TeoV
4bd4ae3ee9 Add connections through ConnManager 2019-12-12 08:52:49 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00