257 Commits

Author SHA1 Message Date
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
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
a6aa435a8d Updated AcionPlans 2021-06-08 12:05:51 +02:00
Trial97
ab4944dc1a Removed config.NavigableMap 2020-05-18 12:43:13 +02: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
8b79904b6f Optimize cdrLogAction and correctly set Usage in case is present in ExtraParameters 2020-05-01 14:07:21 +02:00
TeoV
a75ce1f8e1 Move testing for setDDestinations in integration tests 2020-04-15 16:01:07 +02:00
TeoV
ef8ca3f8b3 Populate *ddc out of StatS 2020-04-15 16:01:07 +02:00
DanB
f76c0a8d12 [Docs] RALs documentation 2020-04-08 20:13:02 +02:00
Trial97
a4870c5434 Updated FailedCDR posting 2020-01-28 10:07:34 +01:00
Trial97
94c29c93d2 Updated CDRExporter 2020-01-28 10:07:34 +01:00
Trial97
999aabdf9f Updated FieldName for attributes 2020-01-20 14:44:36 +02:00
adragusin
26685b58df Renamed call_url to http_post 2020-01-14 02:12:35 -05:00
Trial97
1df6f3be46 Replaced DEFAULT_RUNID with META_DEFAULT 2019-12-13 10:57:40 +02:00
Trial97
33209ec7b0 Updated CDR defaults values 2019-12-12 18:16:48 +02:00
TeoV
2ee574002a Add support for BiRPC in ConnManager 2019-12-12 08:54:42 +02:00
TeoV
76ca5b9d68 Update after rebase 2019-12-12 08:53:55 +02:00
Trial97
d22151861d Updated integration tests and replaced *none with *remove in attributes 2019-12-11 08:00:38 +02:00
adragusin
e85825bf28 Updated Clone functions 2019-12-10 17:53:17 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
Trial97
23da9b52c7 Updated engine.GetFilter and DataDB service 2019-12-02 17:52:01 +02:00
TeoV
11fa04f3d0 Implement rest of methods from StorageInterface in DataManager 2019-11-21 12:58:27 +01:00
TeoV
0f0c05633e Add Destination/ReverseDestination methods in DataManager 2019-11-20 10:54:31 +01:00
TeoV
b2a4c5f3b6 When getting balances for debit consider TimeStart from CallDescriptor 2019-11-13 12:05:13 +01:00
TeoV
4000890138 Implement GetAccountActionPlans in DataManager 2019-11-12 11:45:59 +01:00
TeoV
4edda324e0 Add more tests 2019-11-12 11:45:59 +01:00
TeoV
d930e82886 Add tests for Offline TariffPlans 2019-10-04 20:17:40 +02:00
TeoV
2c8d717007 Finishing implemented datadb methods for InternalDB 2019-10-04 20:17:40 +02:00
TeoV
32ec2bdc6f Update loding config for EventReader 2019-09-01 14:39:11 +02:00
Trial97
a08b190a4e Replaced IsSliceMember with SliceHasMember for constant slices 2019-08-08 19:12:47 +02:00
TeoV
53018880b8 Move Constants from engine/action.go to utils 2019-08-07 21:37:58 +02:00
TeoV
2b6adf539a Replaced method utils.AccountKey with utils.ConcatenatedKey ( strings.Join is 4 times faster than fmt.Sprintf ) 2019-08-04 13:23:30 +02:00
Trial97
a36c914aa7 Updated check for poster configuration 2019-07-12 05:13:20 -10:00
Trial97
c7e4c33391 Updated S3Poster 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
0aa1ffefaf Added *cdr_account action 2019-07-09 21:10:37 -10:00
TeoV
7ea7c98ea4 Add new action type *post_event 2019-07-04 12:23:15 -10:00
Tripon Alexandru-Ionut
fcab2792ba Added S3 as cdre 2019-06-29 05:08:34 +02:00
Tripon Alexandru-Ionut
28776358aa Added kafka as cdre 2019-06-29 05:08:34 +02:00
Tripon Alexandru-Ionut
f187a34a0a Split poster file 2019-06-23 15:36:59 +02:00
Tripon Alexandru-Ionut
5af9e7385f Updated IfaceAsString and MapEvent tests 2019-06-21 15:35:01 +02:00
Tripon Alexandru-Ionut
ce1b27dfcd Renamed aws_json_map to amqpv1_json_map 2019-06-12 22:11:43 +02:00
Tripon Alexandru-Ionut
6a0377bbb8 Updated CGRID generation when empty.Fix#1552 2019-06-03 10:02:10 +02:00
Tripon Alexandru-Ionut
d942213abc Added unit test for cdrLogAction 2019-05-27 06:52:50 +02:00
TeoV
87ed820e80 Change message of Action *log 2019-04-14 11:26:36 +02:00
TeoV
2a1b9a198a Fixes #1419 Add new action type *remove_expired 2019-03-29 12:45:25 +01:00
TeoV
c5fb456ea9 Add ExtraData in Add/Set/Modify Balance API's fixes #1463 2019-03-28 13:16:01 +01:00
Tripon Alexandru-Ionut
be06504663 Updated tests after API rename 2019-03-25 19:11:44 +01:00