Commit Graph

35 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
ionutboangiu
dbd497c4d4 Update to latest amqp 1.0 package version and fix compilation errors 2023-02-22 18:19:47 +01:00
ionutboangiu
edcb7d6e6b Update amqpv1 library and fix compilation errors 2023-02-21 18:26:01 +01:00
gezimbll
682904ad9d replacing streadway/amqp with rabbitmq/amqp091-go 2023-02-02 17:49:05 +01:00
ionutboangiu
3b45073212 Update go.mod and go.sum 2023-01-23 17:29:22 +01:00
DanB
9704baa8b4 Updating fsock for reconnecting during in case of power/network fail 2023-01-18 13:27:24 +01:00
ionutboangiu
78b2f56c51 Update libraries 2022-12-02 14:24:18 +02:00
ionutboangiu
bcd0a47268 Update radius library 2022-11-21 11:04:21 +01:00
adi
b1f6028380 Updated mongo library 2022-11-18 11:47:21 +01:00
ionutboangiu
22f9ec262e Update most of the libraries 2022-11-09 14:04:58 +01:00
andronache98
fc1a7565f5 Changed go version to 1.17 2021-12-15 19:58:53 +01:00
nickolasdaniel
b2e5e97faf Almost done updating libraries without affectin integration tests 2021-10-04 11:31:05 +02:00
Trial97
d55f05a2e2 Revert "Updated libraries"
This reverts commit 50b17cb41c.
2021-09-29 19:18:13 +02:00
nickolasdaniel
0dbfc76e45 Fixed crash due to library update 2021-09-29 19:18:13 +02:00
nickolasdaniel
50b17cb41c Updated libraries 2021-09-28 20:40:59 +02:00
Trial97
f40b6336cb Updated libphonenumbers library 2021-08-30 17:55:51 +03:00
porosnicuadrian
09707c646c GO sum 2021-07-13 13:46:13 +02:00
Trial97
2cbf660630 Updated call tests 2020-10-08 13:11:08 +02:00
Trial97
5699d69130 Added tests for ChargerSv1.ProcessEvent 2020-08-07 09:19:15 +02:00
TeoV
6dc6ab02d4 Update RPCClient library 2020-05-28 15:34:53 +02:00
TeoV
9f80f5e9b2 Update go mods with the lates version of rpcclient 2020-03-26 14:48:23 +01:00
TeoV
66dd5a36aa Update go mod with the latest version for rpcclient 2020-01-07 08:49:55 -05:00
Trial97
92928b7700 Added *parallel connection strategy 2020-01-07 11:12:24 +02:00
DanB
fc97b081cb Updating radigo version 2020-01-02 16:01:14 +01:00
DanB
942295bbfe Updating radigo version 2020-01-01 21:20:01 +01:00
TeoV
bb2845ebda Implement the failover mechanish to ConnManager 2019-12-12 13:26:00 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
bc5cf765c3 Update Remote functionality through RPC 2019-11-15 13:36:53 +01:00
adragusin
7ad7327dbb updated go mod 2019-11-05 09:23:36 +01:00
Trial97
4f94e621fb Updated kamevapi 2019-10-28 12:17:15 +01:00
Trial97
4468fed082 Updated go modules 2019-09-17 18:07:53 +02:00
Trial97
3ebba5c3e0 Added kafka reader integration test 2019-09-08 17:42:09 +02:00
Trial97
f7d5fdb335 Updated t go 1.13 2019-09-04 16:22:08 +02:00
Tripon Alexandru-Ionut
e86a0c77f0 Updated to go.mod 2019-09-04 16:22:08 +02:00
negbie
ca02787e10 Use go modules 2019-09-04 16:22:08 +02:00