Commit Graph

320 Commits

Author SHA1 Message Date
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
adragusin
bf19cfe7ae Updated tests in utils 2019-12-04 10:36:26 -05:00
DanB
33483edc93 Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON 2019-11-29 20:54:32 +01:00
TeoV
0e97bb5015 Move TPReader.Init() outside of ReloadCache 2019-11-25 11:33:39 +02:00
TeoV
139552bed6 Allow reload scheduler only if the connection is different than nil 2019-11-25 10:33:08 +02:00
TeoV
04551ea0ea Move ReloadScheduler outsire of ReloadCache in TPReader 2019-11-25 10:33:08 +02:00
TeoV
bc5cf765c3 Update Remote functionality through RPC 2019-11-15 13:36:53 +01:00
TeoV
ee37110cfe Add rpc pool for remote connections 2019-11-15 13:36:53 +01:00
TeoV
5cc9f94cc0 Add ReplicatorSv1 for remote/replication functionality 2019-11-15 13:36:53 +01:00
Trial97
f6bbccb213 Remove redundant functions 2019-11-09 15:55:49 +01:00
TeoV
c30c6062ce Change TypeOf RplDataDb & RmtDataDb from DataDB To DataManager 2019-11-05 09:28:25 +01:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00