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
905d389587
Removed logs from apier/v1/stats.go
2021-07-13 19:14:30 +02:00
andronache
03fce91219
Finished replacing replication in v0.10
2021-07-13 19:14:30 +02:00
Trial97
a8ecf36bec
Added tenant to automatic cache calls. Fixes #2928
2021-05-12 13:54:28 +02:00
Trial97
467ae7d271
Updated gob integration tests
2020-04-28 15:54:53 +02:00
TeoV
a75ce1f8e1
Move testing for setDDestinations in integration tests
2020-04-15 16:01:07 +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
TeoV
2a90b270f6
Update CacheSv1 API's to accept ArgDispatcher parameters
2019-05-10 06:50:00 +02:00
Tripon Alexandru-Ionut
f1e11cdd59
Updated GetStatQueueProfileIDs
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
TeoV
aab1650916
Fix Consistency problem between Rem and Remove* APIs
2019-04-11 20:23:45 +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
TeoV
6f25a4a779
Update Apier Set/Remove StatQueues
2019-03-25 17:40:51 +01:00
TeoV
76272b9b01
Make Engine build
2019-03-13 15:10:55 +01:00
TeoV
1cb3e3984a
Parameters from stats go in MetricID ( *sum#FieldName;*acd;*average#Fld2)
2019-03-06 14:20:50 +01:00
Trial97
aac1435234
Added some fixes for ditpatcher
2019-02-13 08:19:30 +01:00
Trial97
fa80474afd
Aded tests for DispatcherService SupplierSv1
2019-02-13 08:19:30 +01:00
TeoV
fdd441179d
Clarify cacheRead/cacheWrite for statProfiles
2018-09-24 17:54:33 +02:00
TeoV
cf24c1919f
Add StatIDs option for Stat ProcessEvent
2018-08-31 13:09:16 +02:00
TeoV
e87b0c8e20
Add API methods (GetThresholdProfileIDs , GetAttributeProfileIDs,..) +test for them
2018-08-02 19:05:11 +02:00
TeoV
a2dbb15935
Update Metrics for stats
2018-06-13 13:56:04 +02:00
TeoV
c143488ecb
Add new subsystems to dispatcher and use const in some console commands
2018-06-04 11:25:29 +03:00
TeoV
dbff560dfb
Stats Process Event return now StatQueueIDs
2018-05-22 14:39:46 +02:00
Anevo
e81a3ae10b
Added Status API all for each subsystem
2018-03-23 17:32:34 +01:00
Anevo
21b6980275
Renamed RemStatQueue to RemoveStatQueue
2018-03-06 17:19:18 +01:00
TeoV
3c43e2f1b9
RemoteResourceProfile now remote also resource (same for threshold and stats)
2018-02-27 14:26:32 +01:00
TeoV
a49621e0c1
Update console commands and sync storage map with others(indexes problem)
2018-02-16 13:30:44 +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
edwardro22
f3bbcc5dbb
Solved comments from last pull request and added integration test for computeStatIndexes
2018-01-04 14:12:08 +01:00
edwardro22
5ad2a1753d
Added compile indexes for threshold with test
2018-01-03 12:07:31 +01:00
edwardro22
3a93dabad3
Replaced StatEvent 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
761dd4fb32
Add RemoveStatQueueProfile in Datamanger
2017-10-20 21:06:38 +02:00
TeoV
e4ae3e0a28
Add SetStatQueueProfile in Datamanager
2017-10-20 21:06:38 +02:00
TeoV
55f7ad1151
Add GetStatQueueProfile in DataManager
2017-10-20 21:06:38 +02:00
TeoV
88839537ac
DataDB -> DataManager
2017-10-09 14:59:27 +03:00
DanB
573a8b3d34
ThresholdSV1 APIer instance with initial methods, centralized APIerRPCCall for stats, resources and thresholds
2017-10-01 11:33:26 +02:00
DanB
e2cbea598a
ApierV1.Get/Set/RemoveStatQueueProfile integration tests, fix mongo StatSV1.GetQueueIDs
2017-09-26 17:47:22 +02:00