Commit Graph

2813 Commits

Author SHA1 Message Date
TeoV
bd9e262d76 Rename *rsr_fields to *rsr 2018-01-17 19:01:57 +01:00
TeoV
8541335d39 Testing CallDescriptor.UpdateFromCGREvent 2018-01-17 19:01:57 +01:00
TeoV
a0c19be103 Adding SupplierParameters to suppliers 2018-01-17 11:30:38 +01:00
TeoV
b616ae5938 Add time.Sleep after each update for mongo 2018-01-16 19:06:10 +01:00
TeoV
704b48ce8d Add test for inlineFilter (*string_prefix) 2018-01-16 17:18:21 +01:00
TeoV
808574c2b4 Add indexing test with inline filter 2018-01-16 17:18:21 +01:00
TeoV
a9ae35d7ed CleanCode 2018-01-16 17:18:21 +01:00
TeoV
f826c5e2a0 Add InlineFilter for Resource/Stat/Threshold/Supplier/Attribute 2018-01-16 17:18:21 +01:00
TeoV
3e8b99d94e Inline filter 2018-01-16 17:18:21 +01:00
edwardro22
d0a0250e0f Removed TpLCR from migrator and version 2018-01-16 14:34:59 +01:00
edwardro22
47be4d94cd Refactored some tests and added TestCGREventClone 2018-01-16 14:34:59 +01:00
edwardro22
d5216718ff Refactored attributes_test.go 2018-01-16 14:34:59 +01:00
edwardro22
cfe571f459 Added test for CallDescriptor.AsCGREvent 2018-01-16 14:34:59 +01:00
edwardro22
3aec58d044 Added test for resources MissingStructFields 2018-01-16 14:34:59 +01:00
edwardro22
09bb81f3bc Added Tests for CDR.AsCGREvent() and CDR.UpdateFromCGREvent() 2018-01-16 14:34:59 +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
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