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
ionutboangiu
758a94280a
Apply project wide fmt
2022-11-16 10:13:44 +01: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
TeoV
648911d82b
Add test for apier with dispatcher
2019-05-17 12:41:46 +02:00
TeoV
2a90b270f6
Update CacheSv1 API's to accept ArgDispatcher parameters
2019-05-10 06:50:00 +02:00
Tripon Alexandru-Ionut
fbc1fad902
Updated GetAttributeProfileIDs
2019-04-17 18:57:09 +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
6e9187754f
Rename Substitute with Value for AttributeS
2019-04-05 13:11:06 +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
8e06267ca3
Implement CacheLoadIDs in tpReader
2019-03-27 11:51:20 +01:00
TeoV
ba419ec67e
Adding LoadID methods in storage_interface
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
6f25a4a779
Update Apier Set/Remove StatQueues
2019-03-25 17:40:51 +01:00
TeoV
06e8b9ea85
Move defaultCaching in general config
2019-03-25 17:40:51 +01:00
TeoV
dac77f99ea
Start Updating integration tests
2019-03-25 17:40:51 +01:00
TeoV
a65af79dc2
Start adding caching in APIer
2019-03-25 17:40:51 +01:00
Trial97
08ded159a0
Updated GetAttributeProfileIDs to return error when no tenant is given
2019-02-22 17:27:58 +01:00
Trial97
571247a522
Started adding tests for attributeS with dispatcheS
2019-02-08 20:00:36 +01:00
Trial97
2583be9e32
Removed Context parameter for RemoveAttributeProfile API
2018-11-09 10:25:15 +01:00
TeoV
0dc4c9f363
Clarify cacheRead and cacheWrite for attributes
2018-09-23 14:55:49 +02:00
TeoV
d622d49e77
Update checking for Attributes
2018-08-21 17:22:56 +02:00
TeoV
050b24fc76
Check the rule for Attribute to be compile
2018-08-21 17:22:56 +02:00
TeoV
34f11aa3f2
Fixes #1173
2018-08-21 12:34:57 +02:00
TeoV
e87b0c8e20
Add API methods (GetThresholdProfileIDs , GetAttributeProfileIDs,..) +test for them
2018-08-02 19:05:11 +02:00
TeoV
c34bba1749
Add ApierV1.GetAttributeProfileIDs method + test for it
2018-08-02 19:05:11 +02:00
TeoV
d150a6152d
Update integration test for new attributes
2018-07-23 20:31:24 +02:00
TeoV
c0cc48bbf8
Update attributes test in apier
2018-07-23 20:31:24 +02:00
TeoV
556a955035
Add test for mongo_atlas and update attribute process event
2018-07-09 17:18:45 +02:00
Anevo
e81a3ae10b
Added Status API all for each subsystem
2018-03-23 17:32:34 +01:00
Anevo
de26500138
Renamed RemAttributeProfile to RemoveAttributeProfile
2018-03-05 17:52:11 +01:00
TeoV
b6bbc65e49
Update AttributeProfile struct
2018-01-26 18:40:02 +01:00
TeoV
022aa48070
Rename ArgRemoveAttrProfile
2018-01-12 10:36:11 +01:00
TeoV
00091d73df
Update Caching system for Resource,Stat,Threshold,Supplier and Attribute
2018-01-09 18:26:44 +01:00
TeoV
62b4293f10
Update tests with new changes on AttributeProfile
2018-01-09 18:26:44 +01:00
TeoV
c16d864ff4
Update Contexts and indexing for 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
5ad2a1753d
Added compile indexes for threshold with test
2018-01-03 12:07:31 +01:00
TeoV
e1d6b96dd8
Update apier/v1/suppliers_it_test and tpattribute_it_test
2017-12-11 17:01:29 +01:00
DanB
175767f6d5
Integration test for AttributeSv1.ProcessEvent
2017-12-10 18:47:31 +01:00
TeoV
7f26b128a7
Alias -> Attribute
2017-12-08 19:14:04 +01:00