Commit Graph

226 Commits

Author SHA1 Message Date
TeoV
8d2845dfcd Rename utils.MetaPrefix -> utils.Meta to avoid confusion with *pretix 2018-02-07 11:07:35 +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
f826c5e2a0 Add InlineFilter for Resource/Stat/Threshold/Supplier/Attribute 2018-01-16 17:18:21 +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
edwardro22
5cf3cd59ec Refactored and optimized code 2017-12-27 12:16:40 +01:00
edwardro22
bd8ba22ca7 Added StatSum and StatAverage to stats service 2017-12-27 12:16:40 +01:00
TeoV
8a42c224dd Update methods for FilterIndexer 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
b8e4c3cfc3 Renaming TPFilte -> TPFilterProfile , TPSupplier -> TPSupplierProfile , TPAttribute -> TPAttributeProfile 2017-12-13 20:03:12 +01:00
edwardro22
8ef2a81d50 Added RemoveFromDatabase and more remove methods and tests 2017-12-12 11:30:07 +01:00
TeoV
886b853767 Update Test and AttributeSubstitute 2017-12-11 15:27:10 +01:00
TeoV
addf895ff0 Consider Context on indexing Attribute 2017-12-09 19:04:26 +01:00
TeoV
7f26b128a7 Alias -> Attribute 2017-12-08 19:14:04 +01:00
TeoV
d709713f99 Add ReverseIndex to ReqFilterIndexer 2017-12-08 13:25:12 +01:00
TeoV
325d619886 Add Infrastructure for AliasProfiles 2017-12-05 14:41:05 +01:00
TeoV
158c57e7ee Rename LCRProfile -> SupplierProfile 2017-11-27 16:13:22 +01:00
DanB
3cebd29e52 Merge fixes 2017-11-21 19:27:55 +01:00
TeoV
300ac101ce LCRProfile(3) 2017-11-21 13:41:02 +01:00
TeoV
916b997125 LCRProfile(2) 2017-11-20 19:33:26 +01:00
TeoV
47ec619a44 LCRProfile (1) 2017-11-20 19:28:26 +01:00
TeoV
1670fc5529 Add Get/Set/GetAll CdrStats in DataManager 2017-11-20 18:07:01 +01:00
TeoV
ffcee28567 LCRProfile(2) 2017-11-20 17:05:10 +01:00
TeoV
be388e0aa4 LCRProfile (1) 2017-11-20 17:05:10 +01:00
DanB
e0cdcba030 *voice balance format change into nanoseconds from seconds, some test fixes 2017-11-12 19:26:07 +01:00
TeoV
aa9ba31e6c Add Get/Set/GetAll CdrStats in DataManager 2017-11-07 09:48:11 +01:00
DanB
6bf57b827d Replacing ParseDurationWithSecs with ParseDurationWithNanosecs in most of the places to allow data units parsing without conversion; tests updated 2017-10-31 17:08:50 +01:00
TeoV
2c9fb56821 Add HasData in DataManager 2017-10-30 18:26:23 +01:00
TeoV
310469b3b7 Add GetUser/SetUser/GetUsers/RemoveUser in DataManager 2017-10-30 18:26:23 +01:00
TeoV
313c7fc0ff Update Model_helpers and tp_reader 2017-10-27 14:33:56 +02:00
TeoV
87dbc1b8fc Add FilterIDs in Resource 2017-10-27 14:33:56 +02:00
TeoV
c16ce4ba29 Add FilterIDs in StatQueue and FilterS in StatS 2017-10-27 12:52:55 +02:00
TeoV
4e3b45f54a tp_reader fix resource indexing 2017-10-27 12:52:55 +02:00
DanB
9ce7318ed4 ThresholdS indexing on tenant, engine starting filters in goroutine 2017-10-27 11:51:09 +02:00
TeoV
007a37fa82 Refactoring resProfiles,sqProfiles,thProfiles with map[utils.TenantID] 2017-10-26 11:00:03 +02:00
TeoV
b6763759cc Only DataManager in tp_reader 2017-10-26 11:00:03 +02:00
DanB
174c0b3249 TpReader loading filters before thresholds 2017-10-25 11:51:10 +02:00
DanB
038309e42b TPReader using GetTPThresholds 2017-10-24 18:53:50 +02:00
Dan Christian Bogos
8d119f3728 Merge branch 'master' into master 2017-10-24 18:50:29 +02:00
DanB
9d695d517c Index for threshold filters 2017-10-24 18:45:21 +02:00
DanB
8dde242be7 TPReader indexing loaded filters on TenantID 2017-10-24 16:09:32 +02:00
TeoV
0f000cf42a Rename method and updated tpexporter 2017-10-24 16:49:17 +03:00
TeoV
3b880c8c8b One filter in tp_reader 2017-10-24 15:25:56 +02:00
TeoV
ab7b060c64 Replace Filter with FilterIDs in Thresholds 2017-10-23 18:13:54 +02:00