Commit Graph

30 Commits

Author SHA1 Message Date
ionutboangiu
e7152dacf8 Implement ConnManager service
Use it to register internal rpc conns instead of ServManager
DispatcherS now waits for AttributeS to start (only when enabled)
2025-01-14 19:00:37 +01:00
ionutboangiu
089dfc00ae Use SyncedChan to handle shutdown 2025-01-14 19:00:37 +01:00
ionutboangiu
c49e67b2ed Handle SERVICE_UP/DOWN states on ServManager layer 2025-01-14 19:00:37 +01:00
ionutboangiu
dab152f976 Integrate StateServiceDOWN + registry related refactor
Removed redundant IsRunning service method
Removed registry from constructors
Pass registry to Start/Reload/Shutdown service methods
2025-01-14 19:00:37 +01:00
ionutboangiu
396227d639 Refactor ServiceIndexer implementation
Renamed to ServiceRegistry
Improved comments
2025-01-10 20:18:08 +01:00
ionutboangiu
c8a3ebe5e8 Use channel instead of context to handle shutdown 2025-01-10 20:18:08 +01:00
ionutboangiu
0783984bfe Remove srvDep from services that don't use it 2024-12-05 20:12:08 +01:00
ionutboangiu
cfdb3e80ca Integrate state deps across services for SERVICE_UP 2024-12-04 19:28:50 +01:00
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
21409fc92e Add new CommonListenerService 2024-11-14 17:48:09 +01:00
ionutboangiu
da8c468c0c Remove unused parameters from fs connect func 2024-09-23 20:28:26 +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
Trial97
87ce843810 Updated services 2021-09-13 16:08:39 +02:00
Trial97
cea082eb7f Updated CGREngine structure 2021-09-13 16:08:39 +02:00
andronache
1d8c317ae7 Refactored tests in services 2021-02-24 18:17:56 +01:00
andronache
7f03bafbc9 Fixed function and test in services 2021-02-10 20:21:45 +01:00
Trial97
222363f433 Added service dependency map to control the shutdown order. Fixes #2472 2020-12-08 12:59:44 +01:00
Trial97
9de6a2d172 Updated shutdown channel handling 2020-11-29 20:06:30 +01:00
Trial97
bd98c2e2cd Added integration tests for agents services 2020-11-16 10:11:46 +01:00
Trial97
a81fce8341 Updated services shutdown 2020-11-16 10:11:46 +01: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
TeoV
2ee574002a Add support for BiRPC in ConnManager 2019-12-12 08:54:42 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
Trial97
fc7a8731b2 Updated Freeswitch Agent 2019-10-28 12:17:15 +01:00
Trial97
1f106a62ce Added KamailioAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
a8ad7f786a Renamed GetConnection to NewConnection 2019-10-28 12:17:15 +01:00
Trial97
379f534c69 Added FreeswitchAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00