Commit Graph

2797 Commits

Author SHA1 Message Date
DanB
63a83e655b FreeSWITCHAgent with operational *prepaid calls, SessionS with support of Sessions with RunID: *none 2018-01-12 19:11:08 +01:00
DanB
dc174e8b7c Extracting username in FsCdr, updated tests 2018-01-12 19:11:08 +01:00
DanB
c946d045cf Removing AttributeS processing in Responder methods, adding AttributeS in SessionS processed requests, GetAttributes in UpdateSession 2018-01-12 19:11:08 +01:00
DanB
84187c9896 Responder ignoring ErrNotFound from AttributeS 2018-01-12 19:11:08 +01:00
DanB
e27b72268f SessionSv1.AuthorizeEvent with integration tests 2018-01-12 19:11:07 +01:00
DanB
9bb19bea53 First CUT of SM-FreeSWITCH using SMG instead of own session management, including resources, suppliers and attributes 2018-01-12 19:09:38 +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
b15a1166cd Replace InstanceID -> NodeID 2018-01-12 19:02:20 +01:00
TeoV
6e384d0dea CDR filter on OriginIDs 2018-01-12 15:23:24 +01:00
TeoV
537b0241df V1AllocateResource return ErrResourceUnavailable 2018-01-12 13:47:41 +01:00
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
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
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
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
f703c2bd29 uniformized code across redis and mongo drivers ,fixed integration test for filter indexes 2018-01-07 10:58:34 +01:00
edwardro22
17b16a415a Removed history service 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
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
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
6fa2778d52 Fixed failing integration test 2017-12-19 12:00:15 +01:00
edwardro22
cec463f658 Updated ArgRSv1ResourceUsage to use CGREvent 2017-12-19 12:00:15 +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