Commit Graph

387 Commits

Author SHA1 Message Date
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
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
7771de5e07 Apply go fmt project wide 2022-11-11 13:43:51 +01:00
ionutboangiu
aaea87eb33 Make data and stordb opts into structs 2022-07-12 17:59:09 +02:00
andronache
bcb564240e Corrected header in multiple files 2021-11-01 13:49:33 +02:00
Trial97
8e2fdd239f Updated unit tests 2021-10-21 14:30:20 +03:00
Trial97
291a959ec8 Updated internal dataDB 2021-10-21 14:30:20 +03:00
nickolasdaniel
e100d7eb71 Fixed integration tests regarding loaders where needed 2021-10-04 11:31:56 +02:00
Trial97
a4a914a3bb Updated build tags 2021-08-26 16:45:37 +02:00
nickolasdaniel
291eca311e Checked tenant flag for cgr-loader 2021-08-19 17:45:01 +02:00
Trial97
922eb77caf Updated cache reload 2021-07-31 15:33:10 +02:00
nickolasdaniel
4aaa2311ee Added flag for tenant in cgr-loader 2021-07-25 12:08:40 +02:00
porosnicuadrian
776e0a16b6 Tested cgr-loader flags 2021-06-22 09:20:49 +02:00
andronache
a27c22ba4e Rename dispatcher to dispatchers in registrarc 2021-06-11 11:59:50 +02:00
porosnicuadrian
9d099348f2 Added charger case for cgr-remove flag 2021-06-08 12:25:06 +02:00
porosnicuadrian
f43c5aad8e Tested remove flag from cgr-loader for all subsystems 2021-06-08 12:25:06 +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
andronache
65caf22ab1 Fixed tests to run after adding *bijson_localhost connection type as default 2021-03-25 16:00:03 +01:00
Trial97
5f0150b639 Updated dataDB config structure 2021-03-09 17:37:59 +01:00
Trial97
e017c7a292 Updated tests for registrarc 2021-03-02 20:06:30 +01:00
Trial97
9f75ab918c Updated biRPC support in connmanager 2021-02-22 11:53:56 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
36da1a6309 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
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
Trial97
bd10472bf8 Updated integration tests 2020-11-29 20:06:30 +01:00
Trial97
f158b191f3 Added Clone functions for all config sections 2020-11-27 08:41:56 +01:00
Trial97
b2db71f303 Added APIs to reload config from string 2020-10-29 17:55:26 +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