Commit Graph

19 Commits

Author SHA1 Message Date
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
gezimbll
4bfdebd48f 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
ionutboangiu
25fa01fee0 Solve compilation errors after library update 2023-05-07 19:25:19 +02:00
gezimbll
569c59af53 Improving coverage of unit tests 2023-05-03 10:03:35 +02:00
gezimbll
47e1d470cd Improving coverage of unit test 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
11d2b10423 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
35091a5538 Adding unit tests at engine 2023-03-19 20:48:14 +01:00
gezimbll
e822a5ae63 Improving coverage test at engine 2023-03-15 17:44:46 +01:00
gezimbll
c5abf600cf Improving coverage tests at engine 2023-03-15 11:43:43 +01:00
gezimbll
67d9c634f6 Improving coverage tests engine 2023-03-10 14:14:16 +01:00
porosnicuadrian
166670b0d7 Updated internal and mongo db code for removing cases 2021-08-18 14:40:06 +02:00
porosnicuadrian
40596e9b04 Tested cdrs apis for default tenant 2021-07-15 18:42:58 +02:00