Commit Graph

2049 Commits

Author SHA1 Message Date
ionutboangiu
5227b4d447 Solve compilation errors in tests after CDRs service update 2023-05-03 10:05:28 +02:00
ionutboangiu
85a2e66499 Add unit tests for stordbcfg.go 2023-05-03 10:05:28 +02:00
ionutboangiu
df1dc5e838 Add StorDB service
Add StorDB to config and services.

Put back the store_cdrs option under cdrs and update the CDRs
service to depend on StorDB.

Define the StorDB interface and add a constructor for it.

Add a constructor for postgres storage.

Add a config sanity check to validate SSL modes for postgres.

Update cgr-engine to consider StorDB on startup.
2023-05-03 10:05:28 +02:00
gezimbll
04d05c3a4f replacing non-meta constants for storage types 2023-03-08 19:13:48 +01:00
ionutboangiu
8620b23231 Implement EventExporterCfg constructor and get rid of boilerplate code 2023-03-08 19:12:48 +01:00
ionutboangiu
db3ff231c6 Add options for SASL PLAIN auth (amqp 1.0) 2023-02-22 18:21:10 +01:00
arberkatellari
c216fad65c Improving loadConfigFromHTTP redundant URL parse & testing it 2022-12-12 11:20:08 +02:00
arberkatellari
ca47fb72ef Improving coverage in config 2022-12-02 18:41:55 +02:00
arberkatellari
0539893157 Improving coverage at config 2022-12-02 18:41:55 +02:00
arberkatellari
cef7de30d8 Improving coverage at config 2022-12-02 18:41:55 +02:00
arberkatellari
27ad99e88c Improving covarage at /config 2022-11-30 16:58:04 +02:00
arberkatellari
6810efb7ef Improving coverage at /config 2022-11-30 16:58:04 +02:00
arberkatellari
50e2a6a469 Adding KafkaCAPathProcessed to EventReaderOpts Clone() function 2022-11-30 16:58:04 +02:00
arberkatellari
0363395ae0 Improving coverage at /config 2022-11-30 16:58:04 +02:00
arberkatellari
6db0a8088b Improving coverage at config 2022-11-30 16:58:04 +02:00
arberkatellari
b6b486c581 Removed unnecessary blank spaces 2022-11-22 13:58:17 +02:00
arberkatellari
4a01e20569 Improving Coverage at Config 2022-11-22 13:58:17 +02:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
1e51b6d73f Unified constants for subsystem/removed big S 2022-09-25 12:16:25 +02:00
DanB
50b058e547 DispatcherS with *routeID and failover support 2022-09-22 13:01:37 +02:00
ionutboangiu
9dc0133207 Implement reply_timeout opt for RPCPool 2022-09-20 10:26:43 +02:00
adi
eb594c5f7e Sanitization for cace conns 2022-09-12 18:31:10 +02:00
adi
1bcf5f7f91 New cacheCfg params 2022-09-12 18:31:10 +02:00
ionutboangiu
534f46addf Revise/move unit tests that rely on external files 2022-09-08 17:16:56 +02:00
ionutboangiu
5056400751 Add kafka exporter option that signals whether or not to attempt TLS connection 2022-08-24 09:32:23 +03:00
ionutboangiu
f3bd4b63c0 Add support for kafka reader ssl encryption 2022-08-24 09:32:23 +03:00
ionutboangiu
f66f05d0e3 Add support for kafka ssl encryption 2022-08-24 09:32:23 +03:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
4c9b5b5cbe Add *dispatcherS opt 2022-08-17 20:27:30 +03:00
ionutboangiu
6a17ed8c99 Fix compilation error after merging 2022-08-05 14:30:45 +02:00
ionutboangiu
1993061c61 Send *usage from routes to accounts and rates 2022-08-05 14:30:45 +02:00
ionutboangiu
e7ad7b0d3f Stop initializing json opts in config unless specifically set 2022-08-05 14:30:45 +02:00
adi
0eb61c965a Efs tests + improves 2022-07-30 08:19:08 +02:00
adi
86d2f1476a Attemtps config change 2022-07-30 08:19:08 +02:00
adi
0e5fe2c341 Integrated efs in ees and logger 2022-07-19 17:15:42 +02: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
adi
8b14619fce Integrated efs 2022-07-13 19:24:50 +02:00
adi
6c1c26be34 Added efs config 2022-07-13 19:24:50 +02:00
adi
2d5d01a664 Replayed failed loggs improvements 2022-07-12 16:25:28 +02:00
adi
bf870b1e2b Failover ees/loggers improved + tests 2022-07-11 17:27:46 +02:00
ionutboangiu
81793af5de Make hardcoded options configurable for redis and solve compilation errors 2022-07-07 18:05:14 +02:00
ionutboangiu
924a91c749 Change SSLMode to PgSSLMode 2022-07-03 13:08:52 +02:00
ionutboangiu
0ee53653e9 Repair it tests 2022-07-03 13:08:52 +02:00
ionutboangiu
523045cc12 Add timeout options for redis and solve compilation errors 2022-07-03 13:08:52 +02:00
ionutboangiu
468b335ba6 Update dispatcherHost loader and repair it tests 2022-07-03 13:08:52 +02:00
ionutboangiu
f80691cf73 Repair errors after merge 2022-07-03 13:08:52 +02:00
ionutboangiu
dd7bab666f Repair failing unit tests after adding max_reconnect_interval option 2022-07-03 13:08:52 +02:00
ionutboangiu
a1f8bff851 Add max_reconnect_interval option for generalcfg 2022-07-03 13:08:52 +02:00
ionutboangiu
2b7d61db40 Add max_reconnect_interval option for rpc conns 2022-07-03 13:08:52 +02:00