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 e01fd7c47ccb431807a94af225e3d7f33acdd35b Merge: 3802acd 7ba18f6 Author: Suresh Marru <[email protected]> AuthorDate: Tue Aug 20 11:21:52 2019 -0400 Merge pull request #2 from aarushiibisht/master I think this looks good enough to merge, we need to do a dertailed code-review after custos repo is bootstrapped .gitignore | 39 + custos-authentication/pom.xml | 27 + .../CustosAuthenticationService.java | 3198 ++++ .../cpi/CustosAuthenticationService.java | 3198 ++++ .../CustosAuthenticationServiceException.java | 370 + .../handler/CustosAuthenticationHandler.java | 54 + .../server/CustosAuthenticationServer.java | 137 + custos-client/pom.xml | 41 + .../service/AuthenticationServiceClient.java | 23 + .../service/CustosProfileServiceClientFactory.java | 77 + custos-commons/custos-server.properties | 0 custos-commons/pom.xml | 36 + .../exceptions/ApplicationSettingsException.java | 14 + .../custos/commons/exceptions/CustosException.java | 35 + .../exceptions/CustosSecurityException.java | 39 + .../custos/commons/model/security/AuthzToken.java | 541 + .../custos/commons/model/security/UserInfo.java | 875 + .../custos/commons/utils/ApplicationSettings.java | 162 + .../org/apache/custos/commons/utils/Constants.java | 39 + .../apache/custos/commons/utils/CustosUtils.java | 45 + .../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 + .../org/apache/custos/commons/utils/IServer.java | 49 + .../apache/custos/commons/utils/JDBCConfig.java | 29 + .../org/apache/custos/commons/utils/JPAUtils.java | 67 + .../commons/utils/KeyStorePasswordCallback.java | 69 + .../apache/custos/commons/utils/SecurityUtil.java | 192 + .../custos/commons/utils/ServerSettings.java | 92 + .../apache/custos/commons/utils/StringUtil.java | 43 + .../apache/custos/commons/utils/ThriftUtils.java | 34 + .../src/main/resources/custos-server.properties | 65 + custos-connectors/pom.xml | 86 + .../authzcache/AuthzCache.java | 61 + .../authzcache/AuthzCacheEntry.java | 63 + .../authzcache/AuthzCacheIndex.java | 90 + .../authzcache/AuthzCacheManager.java | 80 + .../authzcache/AuthzCacheManagerFactory.java | 60 + .../authzcache/AuthzCachedStatus.java | 34 + .../authzcache/DefaultAuthzCacheManager.java | 106 + .../manager/CustosSecurityManager.java | 60 + .../manager/IdentityContext.java | 45 + .../manager/KeyCloakSecurityManager.java | 259 + .../manager/SecurityManagerFactory.java | 60 + .../utils/TrustStoreManager.java | 100 + custos-profile-service/iam-admin-services/pom.xml | 28 + .../client/CustosIamAdminServiceClient.java | 48 + .../services/core/TenantManagementInterface.java | 216 + .../core/TenantManagementKeycloakImpl.java | 845 + .../iam/admin/services/cpi/IamAdminServices.java | 19063 +++++++++++++++++++ .../cpi/exception/IamAdminServicesException.java | 381 + .../cpi/iam_admin_services_cpiConstants.java | 16 + .../services/handler/IamAdminServicesHandler.java | 318 + custos-profile-service/pom.xml | 26 + .../profile-service-commons/pom.xml | 123 + .../commons/repositories/AbstractRepository.java | 124 + .../repositories/TenantProfileRepository.java | 119 + .../repositories/UserProfileRepository.java | 128 + .../commons/tenant/entities/GatewayEntity.java | 285 + .../user/entities/NSFDemographicsEntity.java | 108 + .../commons/user/entities/UserProfileEntity.java | 334 + .../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 | 35 + .../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/NSFDemographics.java | 1110 ++ .../apache/custos/profile/model/user/Status.java | 79 + .../custos/profile/model/user/USCitizenship.java | 50 + .../custos/profile/model/user/UserProfile.java | 3147 +++ .../custos/profile/model/user/disability.java | 49 + .../custos/profile/model/user/ethnicity.java | 48 + .../org/apache/custos/profile/model/user/race.java | 67 + .../model/user/user_profile_modelConstants.java | 16 + .../custos/profile/model/workspace/Gateway.java | 2383 +++ .../model/workspace/GatewayApprovalStatus.java | 78 + .../profile-service-server/pom.xml | 32 + .../profile/server/ProfileServiceServer.java | 197 + .../src/main/resources/log4j.properties | 34 + .../tenant-profile-service/pom.xml | 31 + .../profile/tenant/client/TenantProfileClient.java | 26 + .../profile/tenant/cpi/TenantProfileService.java | 11041 +++++++++++ .../exception/TenantProfileServiceException.java | 370 + .../tenant/cpi/profile_tenant_cpiConstants.java | 16 + .../handler/TenantProfileServiceHandler.java | 208 + .../user-profile-service/pom.xml | 54 + .../profile/user/client/UserProfileClient.java | 4 + .../exceptions/UserProfileRegistryException.java | 28 + .../core/utils/UserProfileCatalogDBInitConfig.java | 42 + .../core/utils/UserProfileCatalogJDBCConfig.java | 52 + .../profile/user/cpi/UserProfileService.java | 9191 +++++++++ .../cpi/exception/UserProfileServiceException.java | 370 + .../user/cpi/profile_user_cpiConstants.java | 16 + .../user/handler/UserProfileServiceHandler.java | 235 + .../test/java/TestUserProfileServiceHandler.java | 110 + ide-integration/log4j.properties | 34 + ide-integration/pom.xml | 37 + .../src/main/java/CustosAPIServerStarted.java | 14 + .../src/main/resources/custos-server.properties | 65 + .../database_scripts/init/01-databases.sql | 307 + .../user-profile-catalog-derby.sql | 163 + .../user-profile-catalog-mysql.sql | 163 + .../src/main/resources/docker-compose.yml | 27 + .../main/resources/keycloak/Default-export.json | 1508 ++ .../main/resources/keycloak/Default-export.json.bk | 1507 ++ .../src/main/resources/keycloak/standalone.xml | 521 + .../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 | 61 + .../authentication-service-cpi.thrift | 14 + .../authentication_service_cpi_errors.thrift | 27 + .../authentication-service/security_model.thrift | 15 + .../authentication-service/userInfo_model.thrift | 33 + .../tenant_profile_model.thrift | 73 + .../user_profile_model.thrift | 195 + .../workspace_model.thrift | 57 + .../iam-admin-services-cpi.thrift | 122 + .../iam_admin_services_cpi_errors.thrift | 33 + .../profile-service/profile-service-cpi.thrift | 29 + .../profile-tenant/profile-tenant-cpi.thrift | 79 + .../profile_tenant_cpi_errors.thrift | 33 + .../profile-user/profile-user-cpi.thrift | 79 + .../profile-user/profile_user_cpi_errors.thrift | 33 + 135 files changed, 72313 insertions(+)
