Commit Graph

29 Commits

Author SHA1 Message Date
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
gezimbll
a2633a7fd7 Improving coverage test at engine 2023-05-22 07:54:12 +02:00
gezimbll
021c860a81 Improving coverage tests at engine 2023-05-18 19:29:24 +02:00
gezimbll
dc2741c025 Improving coverage tests 2023-05-10 10:40:13 +02:00
gezimbll
f67c9e2455 Improving coverage tests at engine 2023-05-10 10:40:13 +02:00
ionutboangiu
25fa01fee0 Solve compilation errors after library update 2023-05-07 19:25:19 +02:00
gezimbll
e142f5efd7 Improving coverage tests 2023-05-03 10:03:35 +02:00
gezimbll
f62dea0768 Improving coverage for unit tests 2023-05-03 10:03:35 +02:00
gezimbll
a86d01be6b Improving coverage tests at engine 2023-05-03 10:03:35 +02:00
gezimbll
9f56532a4c Improving coverage of unit tests 2023-05-03 10:03:35 +02:00
gezimbll
c4ca1d1315 Improving coverage of unit test 2023-05-03 10:03:35 +02:00
ionutboangiu
d8464ce023 Update libraries 2023-05-03 10:02:15 +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
gezimbll
5b0bc1d90b Improving coverage of unit tests 2023-04-17 11:23:46 +02:00
gezimbll
ddfded6c05 Improving unit tests coverage 2023-04-17 11:23:46 +02:00
gezimbll
8a6d262521 Improving coverage of unit tests 2023-04-17 11:23:46 +02:00
gezimbll
11d2b10423 Improving coverage of unit tests 2023-04-17 11:23:46 +02:00
gezimbll
ff8b23e93f Improving coverage of unit tests 2023-04-17 11:23:46 +02:00
gezimbll
ae037931d0 Improving coverage tests at engine 2023-04-06 11:49:37 +02:00
gezimbll
68b06d573a Improving Unit Test Coverage for Engine 2023-04-06 11:49:37 +02:00
gezimbll
4673b0023f Improving coverage of unit tests 2023-04-06 11:49:37 +02:00
gezimbll
3ef4dc693e Improving coverage tests at engine 2023-04-06 11:49:37 +02:00
gezimbll
9e48ba08f9 Improving unit tests at engine 2023-03-28 17:59:51 +02:00
gezimbll
abc1285262 Adding test for ratingprofiles 2023-03-28 17:59:51 +02:00
gezimbll
2b52938bfb Adding and improving unit tests at engine 2023-03-28 17:59:51 +02:00
gezimbll
9adc103dff Improving & Adding unit tests at engine 2023-03-20 17:52:04 +01:00
gezimbll
39393aecb7 Improving coverage for unit tests 2023-03-19 20:48:14 +01:00
gezimbll
67d9c634f6 Improving coverage tests engine 2023-03-10 14:14:16 +01:00
gezimbll
0f6ef42c2d improving coverage test at engine 2023-03-08 19:14:24 +01:00