Commit Graph

18 Commits

Author SHA1 Message Date
ionutboangiu
3935a72605 Remove executable bit from .go files 2023-06-16 10:24:13 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +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
db3bf9f40d Updated build tags 2021-08-30 17:55:51 +03:00
adragusin
a836232021 Updated it tests 2020-01-15 10:45:59 -05:00
TeoV
1e89bbacbe Make FilterS to use connections through connManager and update general_tests package 2020-01-09 11:57:04 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
Trial97
e548ebc073 Renamed config folders for gob 2019-12-04 11:34:17 +02:00
Trial97
0cce0e371b Updated sessions integration tests for gob 2019-12-03 16:14:32 +02:00
adragusin
519a11cebb Updated general tests with sub-tests 2019-10-28 12:35:22 +01:00
TeoV
e4d2db92f3 Replacing CGREvent with *CGRevent when inherited for SessionSv1.InitArgs 2019-05-29 16:08:59 +02:00
Trial97
a68c76c952 Updated config_path to accept url as path to file 2019-03-14 12:40:19 +01:00
Trial97
e02eda58e5 Fixed DispatcherService ThresholdSv1 tests 2019-02-13 16:25:36 +01:00
Trial97
70c0c233d6 Aded tests for DispatcherService ThresholdSv1 2019-02-13 08:19:30 +01:00
TeoV
523a41ba56 Fixes #1243 2018-10-26 08:55:49 +02:00
TeoV
3e872ee47a Update TLS config to consider CA from Authorized hosts 2018-10-23 11:24:14 +02:00
TeoV
b9e5744d33 Add test for http_tls connection 2018-06-05 14:44:24 +02:00
TeoV
f0cace6fc0 Add script for create certificate for server and client and add test test tls connection 2018-06-04 16:30:50 +03:00