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
andronache
428cd37b8e
Replaced header in multiple places
2021-11-01 13:50:23 +02:00
Trial97
a8ecf36bec
Added tenant to automatic cache calls. Fixes #2928
2021-05-12 13:54:28 +02:00
adragusin
3eaf3232a1
Renamed ApierV1 to APIerSv1/ ApierV2 to APIerSv2
2020-01-30 14:06:48 +01: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
TeoV
3e3cc70882
Update SetThresholdProfile in case of Replication
2019-11-20 10:54:31 +01:00
TeoV
25bc80458d
Finish get for remote functionality
2019-11-20 10:54:31 +01:00
TeoV
2a90b270f6
Update CacheSv1 API's to accept ArgDispatcher parameters
2019-05-10 06:50:00 +02:00
Tripon Alexandru-Ionut
23ba89294a
Updated GetThresholdProfileIDs
2019-04-17 18:57:09 +02:00
Tripon Alexandru-Ionut
7093dd70d1
Updated dispatcher API methods
2019-04-17 18:57:09 +02:00
TeoV
8ed82eab05
Sync functionality between APIer and TPReader
2019-04-15 16:04:47 +02:00
Tripon Alexandru-Ionut
816cb8058a
Renamed utils.TenantIDWrapper to utils.TenantIDWithCache
2019-04-11 09:25:00 +02:00
TeoV
870637077f
Finish adding CDRS in DispatcherS and update methods from CDRs to other subsystems
2019-04-08 17:59:57 +02:00
TeoV
93cb87bece
LoadIDs use time.UnixNanoseconds instead of GenUUID
2019-04-04 14:30:08 +02:00
TeoV
4c89f69247
Renamed XWrapper to XWithCache
2019-03-27 17:24:36 +01:00
TeoV
6a57a4a217
Do 1 SetLoadID for StatQueue,Threshold,Resource instead of 2
2019-03-27 14:35:10 +01:00
TeoV
dc1876a038
Add LoadID when Set/Remove from APIer
2019-03-27 11:51:20 +01:00
TeoV
6cecee3d53
Add test for cache options/ Return not found for Get(Items)IDs methods
2019-03-25 17:40:51 +01:00
TeoV
950907c366
Update Set/Remove ThresoldProfile
2019-03-25 17:40:51 +01:00
Trial97
aac1435234
Added some fixes for ditpatcher
2019-02-13 08:19:30 +01:00
Trial97
70c0c233d6
Aded tests for DispatcherService ThresholdSv1
2019-02-13 08:19:30 +01:00
TeoV
a1a43fa181
Clear cacheRead/cacheWrite for thresholds
2018-09-24 17:54:33 +02:00
TeoV
e87b0c8e20
Add API methods (GetThresholdProfileIDs , GetAttributeProfileIDs,..) +test for them
2018-08-02 19:05:11 +02:00
TeoV
94363df4d6
ThresholdSv1.ProcessEvent return now ids [tenant:thresholdID:EventID]
2018-05-17 12:57:10 +02:00
Anevo
e81a3ae10b
Added Status API all for each subsystem
2018-03-23 17:32:34 +01:00
Anevo
60c9a8661f
Renamed RemThresholdProfile to RemoveThresholdProfile
2018-03-07 06:44:27 -05:00
TeoV
3c43e2f1b9
RemoteResourceProfile now remote also resource (same for threshold and stats)
2018-02-27 14:26:32 +01:00
TeoV
a95c08497d
Targeted thresholds in processEvent
2018-01-17 19:01:57 +01:00
edwardro22
1b7e0c8e8c
Fixed pull conflicts and added filterindexecache_it_test.go
2018-01-12 19:05:05 +01:00
TeoV
62b4293f10
Update tests with new changes on AttributeProfile
2018-01-09 18:26:44 +01:00
edwardro22
f703c2bd29
uniformized code across redis and mongo drivers ,fixed integration test for filter indexes
2018-01-07 10:58:34 +01:00
TeoV
55872d572a
IndexFilter Ready for mongo and redis
2017-12-19 09:01:36 +01:00
edwardro22
0118c7f1d4
Replaced ThresholdEvent with CGREvent
2017-12-05 10:30:10 +01:00
TeoV
411d453ded
Methods from service with utils (utils.StatSv1ProcessEvent,utils.ResourceSv1.ProcessEvent,...)
2017-11-23 14:44:24 +01:00
TeoV
d744ae069b
Add RemoveThresholdProfile in DataManager
2017-10-20 21:06:38 +02:00
TeoV
1b722f29bb
Add SetThresholdProfile in Datamanger
2017-10-20 21:06:38 +02:00
TeoV
05b8001857
Add GetThresholdProfile to DataManager
2017-10-20 21:06:38 +02:00
DanB
8af75e98db
ApierV1.SetThreshods recaching, SetResourceProfile recaching with integration tests
2017-10-14 17:21:05 +02:00
DanB
4b41e0c6ea
Thresholds.ProcessEvent returning also number of threshold hits, integration tests
2017-10-11 20:13:58 +02:00
DanB
b0cb868ca2
TPReader creating Threshold for ThresholdProfile, integration tests
2017-10-10 19:38:52 +02:00
TeoV
cb4b73cb44
Add get/set/rem for thresholdProfile in apier/v1/thresholds.go
2017-10-10 12:48:41 +02:00
DanB
573a8b3d34
ThresholdSV1 APIer instance with initial methods, centralized APIerRPCCall for stats, resources and thresholds
2017-10-01 11:33:26 +02:00