Branch: refs/heads/issue1397_three_level_accounts
Home: https://github.com/RestComm/Restcomm-Connect
Commit: 4fdc4fec33ce7691c3afed6c9af846713c252101
https://github.com/RestComm/Restcomm-Connect/commit/4fdc4fec33ce7691c3afed6c9af846713c252101
Author: Orestis <[email protected]>
Date: 2016-10-24 (Mon, 24 Oct 2016)
Changed paths:
M
restcomm/restcomm.dao/src/main/java/org/restcomm/connect/dao/AccountsDao.java
M
restcomm/restcomm.dao/src/main/java/org/restcomm/connect/dao/mybatis/MybatisAccountsDao.java
M
restcomm/restcomm.dao/src/test/java/org/restcomm/connect/dao/mybatis/AccountsDaoTest.java
M restcomm/restcomm.dao/src/test/resources/accountsDao/accounts.xml
M restcomm/restcomm.dao/src/test/resources/accountsDao/restcomm.script
M
restcomm/restcomm.http/src/test/java/org/restcomm/connect/dao/AccountsDaoMock.java
Log Message:
-----------
Completed account lineage/ancestors retrieval in DAO layer.
- Reviewed core algorithm and overloaded lineage retrieval using both account
and accountSid.
- Added and reviewed tests and sample data.
Refers #1397
Commit: 725e1f8a48c8b3515152df6b4b7d91a7c76d51e9
https://github.com/RestComm/Restcomm-Connect/commit/725e1f8a48c8b3515152df6b4b7d91a7c76d51e9
Author: Orestis <[email protected]>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
A
restcomm/restcomm.commons/src/main/java/org/restcomm/connect/commons/exceptions/RestcommRuntimeException.java
M
restcomm/restcomm.dao/src/main/java/org/mobicents/servlet/restcomm/dao/exceptions/AccountHierarchyDepthCrossed.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/AccountsEndpoint.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/SecuredEndpoint.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/exceptionmappers/RestcommRuntimeExceptionMapper.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/exceptions/AuthorizationException.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/exceptions/OperatedAccountMissing.java
M
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/exceptions/ResourceAccountMissmatch.java
R
restcomm/restcomm.http/src/main/java/org/restcomm/connect/http/exceptions/RestcommRuntimeException.java
M
restcomm/restcomm.identity/src/main/java/org/restcomm/connect/identity/UserIdentityContext.java
M
restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/AccountsEndpointTest.java
M
restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/http/MultitenancyAllowAccessApiTest.java
M
restcomm/restcomm.testsuite/src/test/resources/restcomm.script_accounts_test
Log Message:
-----------
Progress on three-level account support.
- Adapted access control rules to use all ancestor accounts instead of only
parent.
- Cleanup of SecuredEndpoint.
- Central error handling for too-many-account-levels error.
- Support for lazy retrieval of effective account lineage in
userIdentityContext.
- Prevent account creation beyond third level.
Refers #1397
Compare:
https://github.com/RestComm/Restcomm-Connect/compare/5e874c227dae...725e1f8a48c8
--
---
You received this message because you are subscribed to the Google Groups
"mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.