DanB
476f5ba877
Services with IntRPCConn method
2024-11-30 19:13:19 +01:00
DanB
6b241ee35b
Adding serviceIndexer and StateDependencies
2024-11-28 14:56:03 +01:00
ionutboangiu
1453234293
Use channel instead of wait func (AnalyzerS)
2024-11-14 17:48:09 +01:00
ionutboangiu
59f8b1379e
Use channel instead of wait func (CLS)
2024-11-14 17:48:09 +01:00
ionutboangiu
21409fc92e
Add new CommonListenerService
2024-11-14 17:48:09 +01:00
ionutboangiu
0d9358cf30
Ensure services wait for AnalyzerS to be initiated
...
Same logic as waiting for FilterS/DataDBService.
The difference will be that services will only wait when AnalyzerS
is enabled.
2024-11-14 17:48:09 +01:00
ionutboangiu
5bf8f1756c
Extract cores.Server into new commonlisteners package
...
Functionality is the same.
Server has been renamed to CommonListenerS.
2024-11-04 21:23:15 +01: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
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
e5ab21def5
Implement AdminSv1 Get/RemoveCDRs APIs for CDRs
...
Addition of storDB to AdminSv1 was required.
2023-11-09 20:50:36 +01: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
andronache98
ecdf5e54ea
Changed headers
2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155
Changed headers
2022-03-09 14:14:30 +01:00
andronache98
03793c0082
Removed storDB from config
2022-03-09 14:14:30 +01:00
Trial97
904a6817e4
Updated internal connections
2021-11-17 18:36:40 +01:00
Trial97
a4ebbfe67b
Updated services
2021-11-17 18:36:40 +01:00
Trial97
0ed0b0e7a6
Updated more services
2021-09-13 16:08:39 +02:00
Trial97
87ce843810
Updated services
2021-09-13 16:08:39 +02:00
DanB
58f7d02ab7
Re-enabling CDRs with RateS processing
2021-09-05 11:42:14 +02:00
Trial97
c04c0a5adb
Added ConfigDB and option to read config from DB
2021-04-16 17:53:36 +02:00
Trial97
cfbe6e709d
Added AdminSv1 service
2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9
Updated based on new rpc library
2021-04-13 13:35:03 +02:00
Trial97
222363f433
Added service dependency map to control the shutdown order. Fixes #2472
2020-12-08 12:59:44 +01:00
Trial97
a81fce8341
Updated services shutdown
2020-11-16 10:11:46 +01:00
Trial97
568df81745
Added cores package and tests for caps
2020-11-05 17:07:50 +01:00
Trial97
f26a26296d
Added AnalyzerSv1.StringQuery API to search over the recorded RPC calls
2020-10-29 17:55:26 +01:00
Trial97
81a4cdd3a1
Added tests for analyzers
2020-10-29 17:55:26 +01:00
Trial97
c2c39336c4
Added runtime.Gosched for context switching
2020-09-29 13:27:04 +02:00
Trial97
d8b19f5972
Updated services tests
2020-08-24 18:51:00 +02:00
Trial97
c89a43dc54
Updated ServiceManager.StartServices
2020-05-18 13:26:06 +02:00
Trial97
9f8790a3d4
Removed GetInternalChan method from Service interface
2020-05-18 13:26:06 +02:00
Trial97
4c92d43d36
Updated services
2020-01-10 08:04:45 +02:00
Trial97
548f895a87
Updated stordb reload
2020-01-09 12:09:02 +02:00
Trial97
eff74851b7
Updated dataDB reload
2020-01-09 10:49:25 +02:00
Trial97
47e975d0d0
Updated config reload
2020-01-09 08:05:20 +02:00
TeoV
95477bcabc
Add conncetions from Sessions and CDRs through ConnManager
2019-12-12 08:54:42 +02:00
Trial97
b4fe82c6d7
Updated rpcclient library
2019-12-09 18:04:26 +02:00
Trial97
b110537b54
Added StorDB config reload
2019-11-09 15:55:49 +01:00
Trial97
f6eea07115
Added DB reload for CDRServer
2019-10-28 12:17:15 +01:00
Trial97
44be111066
Updated Schedulers CDRs internal connection
2019-10-28 12:17:15 +01:00
Trial97
f0dddcea09
Updated CDRs Server
2019-10-28 12:17:15 +01:00
Trial97
a8ad7f786a
Renamed GetConnection to NewConnection
2019-10-28 12:17:15 +01:00
Trial97
d79b26419c
Added connection reload for CDR server
2019-10-28 12:17:15 +01:00
Trial97
60fef23caa
Added CDR Server test
2019-10-28 12:17:15 +01:00
Trial97
1f7dc77fc9
Updated CDRs config
2019-10-28 12:17:15 +01:00
Trial97
92df8864b8
Added CDRServer service implementation
2019-10-28 12:17:15 +01:00
Trial97
d93a0917a8
Added dummy service for CDRServer
2019-10-28 12:17:15 +01:00