Commit Graph

24 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
ab4944dc1a Removed config.NavigableMap 2020-05-18 12:43:13 +02:00
Trial97
2c53180ac8 Fixed agents unit tests 2020-05-07 11:19:03 +02:00
TeoV
d6447eb4db Fix merge problems 2020-03-01 17:28:31 +01:00
TeoV
fe62e40369 Reactive unit tests in diamagent_test.go 2020-03-01 17:28:31 +01:00
Trial97
ab3fb01e7d Starting adding absolute path to cdre 2020-01-30 10:21:48 +01:00
Trial97
ae56de5cf9 Updated tests 2020-01-17 08:28:52 +02:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
TeoV
28868e8852 Add connections from Agents through ConnManager 2019-12-12 08:54:42 +02:00
Trial97
d22151861d Updated integration tests and replaced *none with *remove in attributes 2019-12-11 08:00:38 +02:00
Trial97
28cc543389 Updated NewInternalDB 2019-12-02 11:07:48 +02:00
DanB
33483edc93 Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON 2019-11-29 20:54:32 +01:00
Trial97
49a88987f4 Updated engine integration tests for gob RPC 2019-11-29 17:06:27 +02:00
Trial97
1b85072a3e Updated ProcessMessage reply 2019-11-29 14:39:04 +02:00
Trial97
deaa049a38 Updated Sessions update reply 2019-11-29 12:42:42 +02:00
Trial97
9385166473 Updated Sessions auth and init replies 2019-11-29 12:42:42 +02:00
adragusin
8020fa1614 Replaced MapStorage with InternalDB in unit tests 2019-11-20 11:01:25 +01:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00
DanB
e3055c8d9f EventReader with CSV in alpha 2019-09-04 12:24:25 +02:00
TeoV
6e3960fb7a Add new filter type "*accounts" 2019-08-01 23:21:51 +02:00
TeoV
561175e0b3 Rename SessionSv1.ProcessEvent to SessionSv1.ProcessMessage 2019-07-15 20:57:17 -10:00
Trial97
6c468a4d2c Added unit test for DiameterAgent processRequest 2019-07-12 05:13:20 -10:00
DanB
1d2dfa1ddd Bidirectional RPC in diameter agent for internal connections 2018-12-30 12:11:12 +01:00