Commit Graph

371 Commits

Author SHA1 Message Date
TeoV
b7ddb2c066 Remove from config filter reverse indexes and update integration test 2018-08-21 17:22:56 +02:00
TeoV
0f8dd3754e Remove reverse filter indexes (duplicate data) 2018-08-21 17:22:56 +02:00
TeoV
34f11aa3f2 Fixes #1173 2018-08-21 12:34:57 +02:00
DanB
d66dcd527c AttributeS with Compile method and attributesIdx, Substitute as utils.RSRParsers 2018-07-22 11:09:35 +02:00
TeoV
aafb66fe27 Update integration test for attributes after last modify 2018-07-18 13:40:56 +02:00
TeoV
889ce68932 Attribute.Substitute as RSRFields and chargerS process event return []*AttrSProcessEventReply 2018-07-18 13:40:56 +02:00
TeoV
4e859924e3 Add Charger in apier and complete datamanager methods 2018-07-10 15:08:10 +02:00
TeoV
1353384936 Add ChaergerProfile methods in dataManager 2018-07-10 12:30:09 +02:00
TeoV
509ed8a959 Add option indexed_selects in filter cfg 2018-07-05 13:06:15 +02:00
TeoV
7bea811ca0 Centralize indexing in data manager 2018-07-05 13:06:15 +02:00
DanB
909f97cfb6 Inline filters cached via datamanager, simplified definition 2018-06-08 19:35:32 +02:00
TeoV
6204d66dcd Update integration test after last commit 2018-03-12 16:15:15 +01:00
TeoV
8945854adb Modify indexing filter in data manger 2018-03-12 13:11:00 +01:00
DanB
cc2ccdc080 SetResource correctly recaching data 2018-03-11 17:43:57 +01:00
DanB
2e22dbef0a Merge fixes 2018-03-11 13:48:39 +01:00
DanB
7cb4aea488 Precaching done by CacheS 2018-03-07 18:46:11 +01:00
TeoV
d558d5508c Clean code after merge 2018-03-07 15:25:57 +01:00
DanB
db14b0184e Updating integration tests with the new APIs 2018-03-06 17:20:04 +01:00
DanB
e77d24f356 DataManager RemoveReverseIndexes using cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00
DanB
cde86ff059 DataManager SetFilterReverseIndexes using cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00
DanB
456c512440 DataManager RemoveFilterIndexes and GetFilterReverseIndexes using cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00
DanB
bbd3436440 DataManager.SetFilterIndexes with cacheID and itemIDPrefix 2018-03-06 17:20:04 +01:00
DanB
d95c5e85b3 DataManager.GetFilterIndexes with cacheID and itemIDPrefix, utils.CachePrefixToInstance, utils.PrefixToRevIndexCache 2018-03-06 17:20:04 +01:00
DanB
441a7355e3 Replace ItemNotFound error with transcache.ErrNotFound 2018-03-06 17:20:04 +01:00
DanB
9d196c1427 Engine using TransCache instead of built-in 2018-03-06 17:20:04 +01:00
Anevo
21b6980275 Renamed RemStatQueue to RemoveStatQueue 2018-03-06 17:19:18 +01:00
TeoV
6ee1d550f2 Update ComputeFilterIndexer to consider transactionID 2018-03-05 18:05:50 +01:00
TeoV
0c718a919c Recompute filter indexes to use transactions and resolve connection between statS/resourceS and thresholdS 2018-02-27 14:26:32 +01:00
TeoV
8d2845dfcd Rename utils.MetaPrefix -> utils.Meta to avoid confusion with *pretix 2018-02-07 11:07:35 +01:00
TeoV
7509fe77b2 Uniformized code in datamager 2018-02-06 16:09:54 +01:00
TeoV
7d597caf3b Indexing empty FilterIDs ( *default:*any:*any) 2018-02-06 13:53:47 +01:00
TeoV
67b621e456 Renaming RequesFilter -> FilterRule and ReqFilterIndexer -> FilterIndexer 2018-01-31 18:31:07 +01:00
TeoV
24f19d6646 Mongo.HasData to consider Tenant 2018-01-31 11:32:45 +01:00
TeoV
bab62a6d11 Add transactionID functionality on idx/revIdx 2018-01-31 11:32:45 +01:00
TeoV
92b0728aaa Update AttributeProfile with new changes 2018-01-26 18:40:02 +01:00
TeoV
b6bbc65e49 Update AttributeProfile struct 2018-01-26 18:40:02 +01:00
TeoV
171ea17b75 Fix datamanager error 2018-01-25 14:52:24 +01:00
edwardro22
ed5851f3f2 Updated indexes to use *string tag 2018-01-22 09:40:13 +01:00
TeoV
f826c5e2a0 Add InlineFilter for Resource/Stat/Threshold/Supplier/Attribute 2018-01-16 17:18:21 +01:00
edwardro22
3f070738bb Disable redis connection for cgr-loader -to_stordb flag and updated DataDB() to handle uninitialized datamanager 2018-01-16 14:34:59 +01:00
edwardro22
1c11a52c93 Added integration test for ResourceS and implemented cache refresh method 2018-01-12 19:05:05 +01:00
edwardro22
e178245f7b removed newlines without purpose 2018-01-12 19:05:05 +01:00
edwardro22
0ed8baa3e6 Cleaned code 2018-01-12 19:05:05 +01:00
edwardro22
1b7e0c8e8c Fixed pull conflicts and added filterindexecache_it_test.go 2018-01-12 19:05:05 +01:00
TeoV
63c496c1a1 Remove unecessary CacheDataFromDB 2018-01-12 13:47:41 +01:00
TeoV
e26691eb9c ResourceSv1.AuthorizeEvent return allocation message and error ErrResourceUnauthorized 2018-01-12 11:01:27 +01:00
TeoV
1a72cfba47 Update rest of test and uniformize code 2018-01-12 10:36:11 +01:00
TeoV
f1f839af92 Update caching in Datamanager and unify test in onstor_it_test.go 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