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
adi
c9a9857152
Added relevant paratheses
2022-12-02 18:39:29 +02:00
ionutboangiu
1436bac61c
Remove unnecessary paranthesis
2022-12-02 14:24:18 +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
Trial97
a7accbd6b5
Added *routes_maxcost flag. Fixes #2563
2021-02-09 13:39:18 +01:00
Trial97
511ef3a7ef
Updated agents maxUsage flag handle
2020-07-14 15:28:49 +02:00
TeoV
115a9a1b7c
Correctly populate max usage from Agents SessionSv1.ProcessEvent + added test
2020-07-10 15:25:09 +03:00
Trial97
2c53180ac8
Fixed agents unit tests
2020-05-07 11:19:03 +02:00
Trial97
9ef1dd05cc
Updated AgentRequest
2020-05-07 11:19:03 +02:00
TeoV
3aaf458a2b
Add support for *fd flag in agent
2020-04-22 12:38:06 +02:00
Trial97
972395e372
Correctly handle error when creating the diameter answer
2020-04-14 15:04:17 +02:00
adragusin
fdcf0afbaa
Added message when starting diameter Agent
2020-03-13 17:13:04 +01:00
DanB
797b85ea79
DiameterAgent with mysql integration tests passing for full path
2020-02-04 18:41:44 +01:00
Trial97
54217c8428
Moved Continue as flag for reqProcessor
2020-01-30 13:00:20 +01:00
adragusin
e73cdd0c5e
Added RemoteCost field in *vars (in agents)
2020-01-29 16:54:54 +01:00
TeoV
52f0e0a86c
Merge ContentFields,HeaderFields,TrailerFields into one Files
2020-01-29 14:40:57 +01:00
TeoV
28868e8852
Add connections from Agents through ConnManager
2019-12-12 08:54:42 +02:00
Trial97
b4fe82c6d7
Updated rpcclient library
2019-12-09 18:04:26 +02:00
Trial97
49a88987f4
Updated engine integration tests for gob RPC
2019-11-29 17:06:27 +02:00
Trial97
4248d588c6
Updated ProcessEvent reply
2019-11-29 15:03:13 +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
Trial97
c2733c6f2e
Renamed ConsumeArgs to ExtractArgs
2019-11-15 15:28:04 +01:00
Trial97
723f23b4a0
Added DiameterAgent as service in ServiceManager
2019-10-28 12:17:15 +01:00
DanB
e3055c8d9f
EventReader with CSV in alpha
2019-09-04 12:24:25 +02:00
DanB
b2c9e8290e
DiameterAgent config max_active_requests -> concurrent_requests renaming
2019-08-11 15:07:33 +02:00
TeoV
b9941d9b67
Include creating SupplierPaginator for MetaEvent
2019-07-23 06:49:48 -10:00
TeoV
59c0258750
Correctly send SessionSv1.ProcessEvent from Agents to SessionS
2019-07-23 00:46:14 -10:00
TeoV
b92280e38e
Use fiorix library for diameter
2019-07-16 23:24:41 -10:00
TeoV
91b6629097
Add tests in apier/v1 for ProcessEvent(Auth/Init/Update/Terminate) and add in agents support for *event
2019-07-16 23:24:41 -10:00
TeoV
561175e0b3
Rename SessionSv1.ProcessEvent to SessionSv1.ProcessMessage
2019-07-15 20:57:17 -10:00
TeoV
61ff2e2f57
Add diameter messages to dryrun and use ToJSON to print messages
2019-07-12 05:14:39 -10:00
TeoV
b9d89edb4b
Agents: changing continue_on_success to continue
2019-07-04 12:23:15 -10:00
TeoV
877aa172e7
Group arguments for V1ProcessEvent
2019-07-04 12:23:15 -10:00
TeoV
e6ed8c16b9
Group arguments for V1TerminateSession
2019-07-04 12:23:15 -10:00
TeoV
ca0c7b792b
Group arguments for V1InitSession
2019-07-04 12:23:15 -10:00
TeoV
e39f0f635c
Rename in utils FlashWithParams and change order for V1AuthorizeArgs
2019-07-04 12:23:15 -10:00
TeoV
1e69216613
Update agents with new type for Flags(MapSubsystemIDs)
2019-07-02 10:05:21 -10:00
TeoV
01ad8c1999
Populate Host-IP-Addresses with correct format net.IP fixes #1600
2019-06-26 18:20:49 +02:00
DanB
d3d9769034
DiameterAgent - avoid deadlock in case of MaxRequests
2019-06-17 15:57:17 +02:00
DanB
134ffc7a0a
AgentRequest.setCGRReply implementation, DNSAgent with one supplier
2019-06-06 14:32:59 +02:00
TeoV
6811d53830
Replacing CGREvent with *CGRevent when inherited for SessionSv1.ProcessEventArgs
2019-05-29 16:08:59 +02:00
TeoV
61d87789f8
Replacing CGREvent with *CGRevent when inherited for SessionSv1.TerminateArgs
2019-05-29 16:08:59 +02:00
TeoV
083892e093
Replacing CGREvent with *CGRevent when inherited for SessionSv1.UpdateArgs
2019-05-29 16:08:59 +02:00
TeoV
e4d2db92f3
Replacing CGREvent with *CGRevent when inherited for SessionSv1.InitArgs
2019-05-29 16:08:59 +02:00
TeoV
e6e6065817
Replacing CGREvent with *CGRevent when inherited for SessionSv1.AuthorizeArgs
2019-05-29 16:08:59 +02:00
Tripon Alexandru-Ionut
433be28aff
Added CGREvent.ConsumeArguments
2019-05-27 06:52:50 +02:00
TeoV
fc3539a257
Add posibility to consume SupplierPaginator for Authoize and ProcessEvent in SessionS
2019-05-10 06:50:00 +02:00