Commit Graph

6461 Commits

Author SHA1 Message Date
TeoV
a653517f5b Add ErrResourceUnalocated and update tests 2018-01-12 13:47:41 +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
0cba1e7488 Optimize model_helpers.go 2018-01-12 10:36:11 +01:00
TeoV
022aa48070 Rename ArgRemoveAttrProfile 2018-01-12 10:36:11 +01:00
basitengr
38f1ab3da0 Cleaned CDR examples
We will add more CDR filter examples with next update
2018-01-10 09:34:15 +01:00
abasit
ec27a7f320 Organized use cases in separate files for better management 2018-01-10 09:34:15 +01:00
abasit
bd908e8413 Placed API tutorial in separate folder for further work 2018-01-10 09:34:15 +01:00
basitengr
c87e9c4ec5 cgr-console equivilate APIs
User will able to use these APIs with CGRateS http intefrace
2018-01-10 09:34:15 +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
8f13503129 Fixed unattended conflicts 2018-01-08 18:44:36 +01:00
edwardro22
ec6de38621 Fixed stats integration test 2018-01-08 18:44:36 +01:00
edwardro22
a01e338095 Updated tests and fixed SetSupplierProfile,SetAttributesProfile,SetStatQueueProfile,SetThresholdProfile,SetResourceProfile 2018-01-08 18:44:36 +01:00
edwardro22
e567a1b6d1 Renaming utils.ACCID -> utils.OriginID 2018-01-08 18:44:36 +01:00
TeoV
40f027495e Renaming utils.DIRECTION -> utils.Direction 2018-01-08 15:47:50 +01:00
TeoV
6269ec20fc Renaming utils.SUBJECT -> utils.Subject 2018-01-08 15:47:50 +01:00
TeoV
35eb074032 Cache config for indexes and reverse indexes 2018-01-08 15:47:50 +01:00
TeoV
9fce5d8808 Resources.AllowUsage return reply message 2018-01-08 15:47:50 +01:00
TeoV
e5f7287501 Renaming ResourceS V1AllowUsage -> V1.AuthorizeResources 2018-01-08 15:47:50 +01:00
edwardro22
170e70281d Added tests for RemoveSupplierProfile,RemoveAttributesProfile,RemoveStatQueueProfile,RemoveThresholdProfile,RemoveResourceProfile 2018-01-07 10:58:34 +01:00
edwardro22
b09ad09e25 fixed migrator it test 2018-01-07 10:58:34 +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
04d81b5334 Updated filter indexes and updated client args to handle RpcParams as interface{} properly 2018-01-04 16:30:48 +01:00
edwardro22
17b16a415a Removed history service 2018-01-04 14:12:08 +01:00
edwardro22
a31dddfc72 added test for the rest of ComputeFilterIndexes methods 2018-01-04 14:12:08 +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
67a039c0bd Fixed migrator integration test 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
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
2089f3b7b3 Add RemoveIndex in RemoveThresholdProfile 2017-12-27 12:16:18 +01:00
TeoV
b7178df83f Update MatchFilterIndexes with new struct 2017-12-27 12:16:18 +01:00
TeoV
f7a3cd5c86 New index structure 2017-12-27 12:16:18 +01:00
paolovisintin
76bb3e0a20 Resize origin_id to 128 chars (PG) 2017-12-21 09:48:06 +01:00
paolovisintin
c0bdbd5925 Resize origin_id to 128 chars 2017-12-21 09:48:06 +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
edwardro22
dd89c5060d Fixed merge conflicts 2017-12-19 12:00:15 +01:00
edwardro22
1456405b36 Renamed cgr-console Apis 2017-12-19 12:00:15 +01:00
edwardro22
496c354bc3 Formatted code and removed some comments 2017-12-19 12:00:15 +01:00
edwardro22
1a9a4be3b4 Added tests for attributes methods 2017-12-19 12:00:15 +01:00
edwardro22
b02e77978c Adding cgr-console resources related APIs 2017-12-19 12:00:15 +01:00
edwardro22
1e40457f6e Fixed failing api call 2017-12-19 12:00:15 +01:00
edwardro22
5a8430aabc Updated migrator integration test 2017-12-19 12:00:15 +01:00