Commit Graph

91 Commits

Author SHA1 Message Date
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
TeoV
c16d864ff4 Update Contexts and indexing for AttributeProfile 2018-01-09 18:26:44 +01:00
edwardro22
a01e338095 Updated tests and fixed SetSupplierProfile,SetAttributesProfile,SetStatQueueProfile,SetThresholdProfile,SetResourceProfile 2018-01-08 18:44:36 +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
9ad0e2cefe Prepared code for pull request, commented not fully integrated code 2018-01-03 12:07:31 +01:00
edwardro22
5ad2a1753d Added compile indexes for threshold with test 2018-01-03 12:07:31 +01:00
edwardro22
77b5a25d22 Updated SetThresholdProfile to work with indexes 2018-01-03 12:07:31 +01:00
TeoV
2089f3b7b3 Add RemoveIndex in RemoveThresholdProfile 2017-12-27 12:16:18 +01:00
TeoV
f7a3cd5c86 New index structure 2017-12-27 12:16:18 +01:00
TeoV
8a42c224dd Update methods for FilterIndexer 2017-12-19 17:26:56 +01:00
TeoV
d3fb783d11 Add test for new Indexes in onstor_it_test.go 2017-12-19 17:26:56 +01:00
TeoV
55872d572a IndexFilter Ready for mongo and redis 2017-12-19 09:01:36 +01:00
TeoV
c14855e8eb RemoveIndex for mongo 2017-12-19 09:01:36 +01:00
TeoV
2d888b1717 Almost finish Indexing 2017-12-19 09:01:36 +01:00
TeoV
420c5afd6e GetReqFilterIndexer Step1 2017-12-19 09:01:36 +01:00
edwardro22
8ef2a81d50 Added RemoveFromDatabase and more remove methods and tests 2017-12-12 11:30:07 +01:00
TeoV
7f26b128a7 Alias -> Attribute 2017-12-08 19:14:04 +01:00
TeoV
33d95b44c6 Remove comments 2017-12-08 13:25:12 +01:00
TeoV
55528c7aff Add MatchReqFilterIndex in data manager 2017-12-08 13:25:12 +01:00
TeoV
325d619886 Add Infrastructure for AliasProfiles 2017-12-05 14:41:05 +01:00
TeoV
3fad468940 Update unique_key , and rename methods in ApierV1 for SupplierProfile 2017-11-27 17:19:34 +01:00
TeoV
158c57e7ee Rename LCRProfile -> SupplierProfile 2017-11-27 16:13:22 +01:00
TeoV
47ec619a44 LCRProfile (1) 2017-11-20 19:28:26 +01:00
TeoV
bdbabf3a24 Caching StatQueueProfile and StatQueue and upadte tests 2017-11-20 18:08:34 +01:00
TeoV
1670fc5529 Add Get/Set/GetAll CdrStats in DataManager 2017-11-20 18:07:01 +01:00
TeoV
0d4628379c Add Get/Set CDRStatsQueue in DataManager 2017-11-20 18:07:01 +01:00
TeoV
a8df17d649 Add Get/Set ReqFilterIndexes in Datamanager 2017-11-20 18:06:10 +01:00
TeoV
8fe85096e7 Rename Get/Set/Rem StoredStatQueue -> Get/Set/Rem StoredStatQueueDrv 2017-11-20 18:06:09 +01:00
DanB
095bb4c56c CacheS in engine, config cache exporting update 2017-11-03 13:21:07 +01:00
TeoV
2c9fb56821 Add HasData in DataManager 2017-10-30 18:26:23 +01:00