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 611cb4ad57f183425e626c02cf9ff71983f5730d Merge: 1f8697e 21e80c7 Author: Aarushi Bisht <[email protected]> AuthorDate: Sat Aug 10 12:24:05 2019 -0400 Merge pull request #2 from aarushiibisht/custos-dev-abisht Added user, tenant, iamadmin profile service custos-client/pom.xml | 16 +- .../service/AuthenticationServiceClient.java | 2 +- .../service/CustosProfileServiceClientFactory.java | 77 + .../custos/commons/utils/ApplicationSettings.java | 21 +- .../apache/custos/commons/utils/DBInitConfig.java | 33 + .../apache/custos/commons/utils/DBInitializer.java | 71 + .../org/apache/custos/commons/utils/DBUtil.java | 306 + .../custos/commons/utils/DatabaseCreator.java | 378 + .../apache/custos/commons/utils/JDBCConfig.java | 29 + .../org/apache/custos/commons/utils/JPAUtils.java | 67 + .../custos/commons/utils/ServerSettings.java | 36 +- custos-connectors/pom.xml | 48 +- .../manager/KeyCloakSecurityManager.java | 2 - .../iam-admin-services}/pom.xml | 13 +- .../client/CustosIamAdminServiceClient.java | 48 + .../services/core/TenantManagementInterface.java | 206 + .../core/TenantManagementKeycloakImpl.java | 815 + .../iam/admin/services/cpi/IamAdminServices.java | 17956 +++++++++++++++++++ .../cpi/exception/IamAdminServicesException.java | 381 + .../cpi/iam_admin_services_cpiConstants.java | 16 + .../services/handler/IamAdminServicesHandler.java | 296 + custos-profile-service/pom.xml | 26 + .../profile-service-commons/pom.xml | 124 + .../commons/repositories/AbstractRepository.java | 124 + .../commons/tenant/entities/GatewayEntity.java | 285 + .../user/entities/CustomizedDashboardEntity.java | 325 + .../user/entities/NSFDemographicsEntity.java | 108 + .../commons/user/entities/UserProfileEntity.java | 345 + .../custos/profile/commons/utils/Committer.java | 27 + .../custos/profile/commons/utils/JPAConstants.java | 34 + .../custos/profile/commons/utils/JPAUtils.java | 53 + .../commons/utils/ObjectMapperSingleton.java | 39 + .../commons/utils/ProfileServiceJDBCConfig.java | 51 + .../profile/commons/utils/QueryConstants.java | 36 + .../apache/custos/profile/commons/utils/Utils.java | 122 + .../src/main/resources/META-INF/persistence.xml | 36 + .../profile-service-model/pom.xml | 15 + .../profile/model/tenant/PasswordCredential.java | 996 + .../apache/custos/profile/model/tenant/Tenant.java | 1543 ++ .../profile/model/tenant/TenantApprovalStatus.java | 78 + .../custos/profile/model/tenant/TenantConfig.java | 699 + .../profile/model/tenant/TenantPreferences.java | 594 + .../custos/profile/model/user/CustomDashboard.java | 2912 +++ .../custos/profile/model/user/NSFDemographics.java | 1085 ++ .../apache/custos/profile/model/user/Status.java | 96 + .../custos/profile/model/user/USCitizenship.java | 67 + .../custos/profile/model/user/UserProfile.java | 3221 ++++ .../custos/profile/model/user/disability.java | 66 + .../custos/profile/model/user/ethnicity.java | 65 + .../org/apache/custos/profile/model/user/race.java | 84 + .../model/user/user_profile_modelConstants.java | 31 + .../custos/profile/model/workspace/Gateway.java | 2383 +++ .../model/workspace/GatewayApprovalStatus.java | 78 + .../profile-service-server}/pom.xml | 20 +- .../profile/server/ProfileServiceServer.java | 197 + .../src/main/resources/log4j.properties | 34 + .../tenant-profile-service}/pom.xml | 20 +- .../tenant/core/TenantProfileRepository.java | 104 + .../profile/tenant/cpi/TenantProfileService.java | 9934 ++++++++++ .../exception/TenantProfileServiceException.java | 370 + .../tenant/cpi/profile_tenant_cpiConstants.java | 16 + .../handler/TenantProfileServiceHandler.java | 193 + .../user-profile-service}/pom.xml | 30 +- .../exceptions/UserProfileRegistryException.java | 28 + .../core/repositories/UserProfileRepository.java | 129 + .../core/utils/UserProfileCatalogDBInitConfig.java | 42 + .../core/utils/UserProfileCatalogJDBCConfig.java | 52 + .../profile/user/cpi/UserProfileService.java | 9611 ++++++++++ .../cpi/exception/UserProfileServiceException.java | 370 + .../user/cpi/profile_user_cpiConstants.java | 16 + .../user/handler/UserProfileServiceHandler.java | 239 + ide-integration/log4j.properties | 34 + ide-integration/pom.xml | 10 + .../src/main/java/CustosAPIServerStarted.java | 6 + .../src/main/resources/custos-server.properties | 18 + .../database_scripts/init/01-databases.sql | 355 + .../user-profile-catalog-derby.sql | 163 + .../user-profile-catalog-mysql.sql | 163 + .../src/main/resources/docker-compose.yml | 14 +- .../src/main/resources/keystores/airavata.jks | Bin 0 -> 2679 bytes .../src/main/resources/keystores/airavata_sym.jks | Bin 0 -> 501 bytes .../main/resources/keystores/client_truststore.jks | Bin 0 -> 1027 bytes log4j.properties | 34 + pom.xml | 38 +- .../tenant_profile_model.thrift | 73 + .../user_profile_model.thrift | 229 + .../workspace_model.thrift | 57 + .../iam-admin-services-cpi.thrift | 118 + .../iam_admin_services_cpi_errors.thrift | 33 + .../profile-service/profile-service-cpi.thrift | 29 + .../profile-tenant/profile-tenant-cpi.thrift | 75 + .../profile_tenant_cpi_errors.thrift | 33 + .../profile-user/profile-user-cpi.thrift | 83 + .../profile-user/profile_user_cpi_errors.thrift | 33 + 94 files changed, 59477 insertions(+), 91 deletions(-)
