Commit Graph

95 Commits

Author SHA1 Message Date
ionutboangiu
cb7ea790de Update rpcclient library to latest version
Replace all instances of rpcclient.ClientConnector with birpc.ClientConnector.

Pass context, maxReconnectInterval, delayFunc and birpcClient to rpcclient
constructors.

Remove redundant time.Duration conversions (e.g. time.Duration(1*time.Second)
now becomes time.Second.

Add context where needed (context.Background() for tests, context.TODO()
for places where it should be passed from somewhere else).

Implement that functionality of the SessionSv1.Sleep call, in sessions/sessions
instead of apier/v1.

Make changes in utils/server.go (replacing the old rpc2 library with github.com/cgrates/birpc).

Change the way we register birpc methods for sessions in services, using a helper function
defined in engine/libengine.go.
2023-05-03 10:02:15 +02:00
Trial97
12e3d6b182 Updated servmanager 2020-07-30 11:15:16 +02:00
Trial97
4b7976f920 Updated ServiceManager.StartServices 2020-05-18 12:43:13 +02:00
Trial97
84e05fd8f0 Removed GetInternalChan method from Service interface 2020-05-18 12:43:13 +02:00
Trial97
7a746a2fd3 Added reload for RPCConnections section from config 2020-03-25 17:26:52 +01:00
Trial97
d8333b5b68 Started adding FieldAsInterface for EventCost 2020-02-05 16:00:32 +01:00
adragusin
3eaf3232a1 Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2 2020-01-30 14:06:48 +01:00
TeoV
a2dc836075 Add Apier as a standalone service 2020-01-29 18:16:51 +01:00
Trial97
45aa0680a4 Updated servmanager shutdown 2020-01-21 17:08:07 +02:00
Trial97
47e975d0d0 Updated config reload 2020-01-09 08:05:20 +02:00
Trial97
21285b4bbc Removed unused connmanager service 2020-01-06 17:43:54 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
4a201c6f9e Remove prefix when add items in internalDB 2019-12-04 07:29:32 -05:00
TeoV
76c6af8538 Make a PoC for RPCConns with ERs 2019-12-03 06:44:36 -05:00
Trial97
4ffa12a0b4 Fixed typos 2019-11-11 08:04:58 +01:00
Trial97
c22ce5f7bb Updated services integration tests 2019-11-09 15:55:49 +01:00
Trial97
b110537b54 Added StorDB config reload 2019-11-09 15:55:49 +01:00
Trial97
5549369fbf Updated LoaderS 2019-10-28 12:17:15 +01:00
Trial97
c18a0c83c4 Added test for DataManagerService 2019-10-28 12:17:15 +01:00
Trial97
1a700d4689 Added Dispatcher as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
3d10a8c390 Added Analyzer as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
42a6396bcb Updated Services tests 2019-10-28 12:17:15 +01:00
Trial97
e2e3cdd52c Updated ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
0786d31c61 Added LoaderS as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
44be111066 Updated Schedulers CDRs internal connection 2019-10-28 12:17:15 +01:00
Trial97
878aa0825b Updated HTTP Agent 2019-10-28 12:17:15 +01:00
Trial97
795ba93c95 Updated Diameter Agent 2019-10-28 12:17:15 +01:00
Trial97
0f22c7fd9e Updated Radius Agent 2019-10-28 12:17:15 +01:00
Trial97
afb3af0632 Updated Asterisk Agent 2019-10-28 12:17:15 +01:00
Trial97
d3c6d17256 Updated Kamailio Agent 2019-10-28 12:17:15 +01:00
Trial97
fc7a8731b2 Updated Freeswitch Agent 2019-10-28 12:17:15 +01:00
Trial97
bf369cbc03 Updated DNS Agent 2019-10-28 12:17:15 +01:00
Trial97
cc00a80f51 Updated ErS 2019-10-28 12:17:15 +01:00
Trial97
82771490a2 Updated Session Service 2019-10-28 12:17:15 +01:00
Trial97
f0dddcea09 Updated CDRs Server 2019-10-28 12:17:15 +01:00
Trial97
52d319cae5 Updated RAL Service 2019-10-28 12:17:15 +01:00
Trial97
7f88e7e153 Updated Scheduler Service 2019-10-28 12:17:15 +01:00
Trial97
64661546bd Updated Supplier Service 2019-10-28 12:17:15 +01:00
Trial97
3d612deb6b Updated Resource Service 2019-10-28 12:17:15 +01:00
Trial97
f76caab4c7 Updated Stat Service 2019-10-28 12:17:15 +01:00
Trial97
32ce25ebb1 Updated Threshold Service 2019-10-28 12:17:15 +01:00
Trial97
9e2e755776 Updated Charger Service 2019-10-28 12:17:15 +01:00
Trial97
82ee42d20c Updated Attribute Service 2019-10-28 12:17:15 +01:00
Trial97
c9029b0f5c Updated Service interface 2019-10-28 12:17:15 +01:00
Trial97
910782b605 Updated some config locks 2019-10-28 12:17:15 +01:00
Trial97
63723711e3 Added Guardian as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
9464478cf7 Added HTTPAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
723f23b4a0 Added DiameterAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
ff24cbac51 Added RadiusAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
411579d1fc Added AsteriskAgent as service in ServiceManager 2019-10-28 12:17:15 +01:00