Commit Graph

17 Commits

Author SHA1 Message Date
ionutboangiu
b7d172f78a Fix misspellings 2023-06-21 11:02:39 +02:00
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
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
eff74851b7 Updated dataDB reload 2020-01-09 10:49:25 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
ac8f9f4399 Add a PoC for ConnManager with EventReader 2019-12-03 06:44:36 -05:00
Trial97
c18a0c83c4 Added test for DataManagerService 2019-10-28 12:17:15 +01:00
Trial97
32ce25ebb1 Updated Threshold Service 2019-10-28 12:17:15 +01:00
Trial97
8349748441 Updated how FilterS is passed to service 2019-10-28 12:17:15 +01:00
Trial97
82ee42d20c Updated Attribute Service 2019-10-28 12:17:15 +01:00
Trial97
af924267e0 Added connection reload for Charger service 2019-10-28 12:17:15 +01:00
Trial97
123733a963 Added Session as service in ServiceManager 2019-10-28 12:17:15 +01:00
Trial97
0fd0813b24 Added Locks for services 2019-10-28 12:17:15 +01:00
Trial97
da81afcdea Added ChargerS as service in ServiceManager 2019-09-17 18:07:53 +02:00
Trial97
f50fecee65 Updated configuration integration tests 2019-09-17 18:07:53 +02:00
Trial97
04fe577be1 Added AttributeS as service in ServiceManager 2019-09-17 18:07:53 +02:00