You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2019/09/09 19:17:31 UTC
[airavata-custos] 27/48: Added user profile service unit test cases
This is an automated email from the ASF dual-hosted git repository.
smarru pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
commit 7ba18f6cd021652c4640e978c7b09715dc09f73d
Merge: c9ca887 20e5010
Author: Aarushi Bisht <39...@users.noreply.github.com>
AuthorDate: Mon Aug 19 21:30:40 2019 -0400
Added user profile service unit test cases
Added test cases, refactored delete handler of user profile, added configuration files
.../{cpi => }/CustosAuthenticationService.java | 238 +---
.../cpi/CustosAuthenticationService.java | 236 +---
.../CustosAuthenticationServiceException.java | 2 +-
.../handler/CustosAuthenticationHandler.java | 4 +-
.../src/main/resources/custos-server.properties | 3 +-
custos-connectors/pom.xml | 5 +
.../manager/CustosSecurityManager.java | 2 +-
.../manager/KeyCloakSecurityManager.java | 27 +-
.../services/core/TenantManagementInterface.java | 10 +
.../core/TenantManagementKeycloakImpl.java | 30 +
.../iam/admin/services/cpi/IamAdminServices.java | 1255 ++++++++++++++++++--
.../services/handler/IamAdminServicesHandler.java | 34 +-
.../repositories}/TenantProfileRepository.java | 19 +-
.../repositories/UserProfileRepository.java | 3 +-
.../src/main/resources/META-INF/persistence.xml | 1 -
.../profile/tenant/client/TenantProfileClient.java | 26 +
.../profile/tenant/cpi/TenantProfileService.java | 1109 ++++++++++++++++-
.../handler/TenantProfileServiceHandler.java | 19 +-
.../user-profile-service/pom.xml | 14 +
.../profile/user/client/UserProfileClient.java | 4 +
.../profile/user/cpi/UserProfileService.java | 470 +-------
.../user/handler/UserProfileServiceHandler.java | 32 +-
.../test/java/TestUserProfileServiceHandler.java | 110 ++
.../src/main/resources/custos-server.properties | 3 +-
.../src/main/resources/docker-compose.yml | 2 +-
pom.xml | 2 +
.../authentication-service-cpi.thrift | 2 +-
.../iam-admin-services-cpi.thrift | 6 +-
.../profile-tenant/profile-tenant-cpi.thrift | 4 +
.../profile-user/profile-user-cpi.thrift | 8 +-
30 files changed, 2663 insertions(+), 1017 deletions(-)