Commit Graph

541 Commits

Author SHA1 Message Date
ionutboangiu
7c5d56c1de Combine csv loader tests
- ensures the tpreader is not eating memory even when tests are
not being run (before it was being constructed in an init())
2024-08-15 18:17:33 +02:00
gezimblliku
73a7590f1c added profiles,configs and services for trend && ranking 2024-08-02 09:37:52 +02:00
Gezim Blliku
80249e1074 implemented janusagent & added to services 2024-07-21 19:07:43 +02:00
gezimbll
27c4242c52 renamed newservice2 function to newservicewithping 2024-06-07 17:18:23 +02:00
gezimbll
18fa884ea1 revise integration tests 2024-06-07 17:18:23 +02:00
arberkatellari
bd571376a7 Update kamevapi version 2024-03-08 16:38:50 +01:00
arberkatellari
d698e8db9d Make DNS TLS error log more suggestive 2024-01-06 17:12:02 +01:00
arberkatellari
2e4d8bdcf4 Remove unnecessary LazySanityCheck 2024-01-06 17:12:02 +01:00
gezimbll
c51122fd20 Moving apis into each subsystem packages 2023-12-13 20:33:09 +01:00
ionutboangiu
8ee919319b Register the CDRServer from cdrs instead of the one from services
Also renamed services.CDRServer to CDRService to prevent such mistakes from
happening in the future.
2023-12-13 12:47:02 +01:00
ionutboangiu
00a94d092f Use birpc service constructor and ensure error is handled 2023-12-12 10:09:18 +01:00
ionutboangiu
d29f84169c Move cdrs to its own package
Moved engine/cdr.go to utils/cdr.go.
Moved engine/cdrs.go and engine/cdrs_test.go to cdrs package.
Moved api functions from cdrs/cdrs.go to cdrs/apis.go. Same for the
tests.
Deleted CDRsV1 type and its methods.
2023-12-12 10:09:18 +01:00
ionutboangiu
68152ecc62 Consider admins' enabled value for stordb ShouldRun() 2023-11-17 11:22:34 +01:00
ionutboangiu
e5ab21def5 Implement AdminSv1 Get/RemoveCDRs APIs for CDRs
Addition of storDB to AdminSv1 was required.
2023-11-09 20:50:36 +01:00
arberkatellari
770454c007 Renew DlgList, DNSAgent & add SRV/A support 2023-08-28 12:27:53 +02:00
arberkatellari
6eda4303f5 Revise DNS Agent and Service 2023-08-28 12:27:53 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
3e22cef9cb Revise integration tests after StorDB addition 2023-05-03 10:05:28 +02:00
ionutboangiu
5227b4d447 Solve compilation errors in tests after CDRs service update 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
60a4da69e0 Implement start/stop/status methods for servmanager + tests 2022-10-21 10:16:23 +02:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
DanB
50b058e547 DispatcherS with *routeID and failover support 2022-09-22 13:01:37 +02:00
adi
fe3d34639a Fixed tests of cache 2022-09-19 16:39:47 +02:00
DanB
7c18d51581 DispatcherS with caches remote/replication in alpha stage 2022-09-19 12:03:35 +02:00
DanB
6287e1d34c DispatcherS - ability to disable routing from API opts 2022-09-08 17:29:50 +02:00
DanB
8d37467b63 Reorganising dispatcherS routeID functionality to avoid extra processing of event 2022-08-27 15:53:48 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
adi
424b5bde54 Improved service for efs 2022-08-23 20:31:53 +03:00
adi
97d14b2801 concurrency efs 2022-08-23 20:31:53 +03:00
adi
107932e3d2 context and efs service starting 2022-07-30 08:19:08 +02:00
adi
0eb61c965a Efs tests + improves 2022-07-30 08:19:08 +02:00
adi
a448fb2c7a INtegrated efs in logger/ees + ers changes 2022-07-30 08:19:08 +02:00
adi
da358161a7 EFs service to logger/ees and APIS 2022-07-30 08:19:08 +02:00
adi
86d2f1476a Attemtps config change 2022-07-30 08:19:08 +02:00
adi
d847ec5d98 Apid and service of efs 2022-07-19 17:15:42 +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
38a2824b05 Efs service and package 2022-07-13 19:24:50 +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
523045cc12 Add timeout options for redis and solve compilation errors 2022-07-03 13:08:52 +02:00
adi
c22f43c788 Failed posts and failover for export loggers 2022-06-29 12:00:42 +02:00
adi
63c0841b11 Implelemnted kafka logger 2022-06-29 12:00:42 +02:00
porosnicuadrian
8e7c7d1c75 Improved chargers reply for attributes 2022-04-20 10:35:59 +02:00
ionutboangiu
e0a0ef19f2 Update logger initialization when starting cgr-engine 2022-04-09 14:48:33 +02:00
ionutboangiu
2a432620dd Add filterS field for AdminSv1 service 2022-04-06 11:17:50 +02:00
porosnicuadrian
1e202feb5b TPExporter 2022-03-11 11:21:56 +01:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00