ionutboangiu
117fee4e29
Relicense from GPLv3 to AGPLv3
2025-10-29 19:42:24 +01:00
ionutboangiu
b7d172f78a
Fix misspellings
2023-06-21 11:02:39 +02:00
ionutboangiu
85cc7e03f0
Enable bijson support for SessionSv1 service
...
Add bidirectional support for sessions while maintaining changing the
current rpc service registration method. Modified methods in
sessionsbirpc.go file to satisfy the birpc.ClientConnector interface
and removed BiRPC prefix before creating the service that's to be
registered.
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
ionutboangiu
0473e66555
Revise config reload tests in services
...
A time.Sleep() of 10 milliseconds has been added after starting the services in order to wait for the goroutine that handles reloads to get instantiated. This solves the occasional deadlock that happens when a reload signal is sent to a subsystem that requires storDB before sending it to storDB itself. One consequence of waiting is that where we previously expected the DataDB service to not be running yet, now it has enough time.
2023-03-28 17:59:32 +02:00
gezimbll
7dcbd09a1f
replacing non-meta constants for storage types
2023-03-08 19:14:24 +01:00
ionutboangiu
bcd0a47268
Update radius library
2022-11-21 11:04:21 +01:00
Trial97
db3bf9f40d
Updated build tags
2021-08-30 17:55:51 +03:00
porosnicuadrian
027e0e1f7c
Tested different cases for index health
2021-08-18 17:45:26 +02:00
Trial97
e1086b099a
Added runtime.Gosched for context switching
2020-09-29 15:47:21 +02:00
Trial97
4961e53956
Added integration test for ApierS service without RALs enabled
2020-06-25 13:24:55 +03:00
Trial97
33ce18585c
Updated server error message
2020-05-29 12:19:59 +02:00
Trial97
4b7976f920
Updated ServiceManager.StartServices
2020-05-18 12:43:13 +02:00
Trial97
84e05fd8f0
Removed GetInternalChan method from Service interface
2020-05-18 12:43:13 +02:00
Trial97
467ae7d271
Updated gob integration tests
2020-04-28 15:54:53 +02:00
TeoV
cdb6852056
In case that APIer is enabled make DataManager mandatory
2020-04-08 17:05:38 +02:00
TeoV
b3f7769cb7
Add support for Mongo for different Marshaler
2020-03-01 17:28:31 +01:00
TeoV
0fcafbb526
Add backwards compatible with ApierV1/ApierV2 prefix
2020-02-10 11:26:17 +01:00
adragusin
3eaf3232a1
Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2
2020-01-30 14:06:48 +01:00
TeoV
1947bef4ae
Update integration test for services
2020-01-30 10:23:41 +01:00
TeoV
a2dc836075
Add Apier as a standalone service
2020-01-29 18:16:51 +01:00
Trial97
94c29c93d2
Updated CDRExporter
2020-01-28 10:07:34 +01:00
adragusin
d7a5fc7ebf
Updated IT tests in engine
2020-01-15 03:05:02 -05:00
TeoV
35d19ab4b2
Add TTL option for DataDB/StorDB for type *internal
2020-01-14 08:42:10 -05:00
TeoV
0d14876431
Add UpdateTime filed at Account structure
2020-01-10 13:47:47 +02:00
Trial97
4c92d43d36
Updated services
2020-01-10 08:04:45 +02:00
Adrian Drăguşin
44158d6a41
Merge branch 'master' into master
2020-01-09 12:32:44 +02:00
Trial97
548f895a87
Updated stordb reload
2020-01-09 12:09:02 +02:00
Trial97
eff74851b7
Updated dataDB reload
2020-01-09 10:49:25 +02:00
Trial97
47e975d0d0
Updated config reload
2020-01-09 08:05:20 +02:00
Trial97
d60ac504b1
Updated ConfigSv1.ReloadSections to ConfigSv1.ReloadConfigFromJSON
2020-01-09 08:05:20 +02:00
adragusin
63548e049e
updated integration tests in apier
2020-01-08 17:51:47 +02:00
TeoV
d9359c9e8f
Add SessionReplication through conn manager
2020-01-07 08:37:24 -05:00
Trial97
712a1fd2da
Updated services reload
2020-01-06 17:43:54 +02:00
Trial97
21285b4bbc
Removed unused connmanager service
2020-01-06 17:43:54 +02:00
TeoV
7b72c943a0
Add connections from remote and replicate throuh ConnManager
2020-01-06 09:27:34 -05:00
TeoV
ab5afecc4c
Update integration test from services
2019-12-18 08:13:21 -05:00
TeoV
cc14c1e25a
Add Attribute connection from DispatcherS through ConnManager
2019-12-18 08:13:21 -05:00
TeoV
ceb3522ec0
Add test for GOCS functionality
2019-12-17 03:47:11 -05:00
Trial97
4ea310ca70
Updated dnsAgent service integration tests
2019-12-13 10:57:40 +02:00
TeoV
28868e8852
Add connections from Agents through ConnManager
2019-12-12 08:54:42 +02:00
TeoV
2ee574002a
Add support for BiRPC in ConnManager
2019-12-12 08:54:42 +02:00
TeoV
c73ca0c954
Add connections from Agents through ConnManager
2019-12-12 08:54:42 +02:00
TeoV
95477bcabc
Add conncetions from Sessions and CDRs through ConnManager
2019-12-12 08:54:42 +02:00
TeoV
76ca5b9d68
Update after rebase
2019-12-12 08:53:55 +02:00
TeoV
4bd4ae3ee9
Add connections through ConnManager
2019-12-12 08:52:49 +02:00
TeoV
18150825bb
Add connections from Suppliers through ConnManager
2019-12-12 08:52:49 +02:00
TeoV
9435b99f1d
Add connection from ThresholdS to ResourceS through ConnManager
2019-12-12 08:52:49 +02:00
TeoV
27789c4d36
Add connection from StatS to Threshold through ConnManager
2019-12-12 08:52:49 +02:00
TeoV
46bd095b1e
Add Connection from Chargers to Attributes through ConnManager
2019-12-12 08:52:49 +02:00