merging pull request #101
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/fa0c57b3 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/fa0c57b3 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/fa0c57b3 Branch: refs/heads/user-profile Commit: fa0c57b3df19436ae75b5e0ecf1f0f3d9e9f8c74 Parents: 741531f fe0ed74 Author: scnakandala <[email protected]> Authored: Wed Mar 8 18:45:30 2017 -0500 Committer: scnakandala <[email protected]> Committed: Wed Mar 8 18:45:30 2017 -0500 ---------------------------------------------------------------------- airavata-services/profile-service/pom.xml | 1 + .../profile-service-commons/pom.xml | 114 + .../repositories/AbstractRepository.java | 106 + .../commons/tenant/entities/GatewayEntity.java | 254 + .../user/entities/NSFDemographicsEntity.java | 94 + .../user/entities/UserProfileEntity.java | 285 + .../profile/commons/utils/Committer.java | 27 + .../profile/commons/utils/JPAConstants.java | 34 + .../service/profile/commons/utils/JPAUtils.java | 79 + .../commons/utils/ObjectMapperSingleton.java | 39 + .../profile/commons/utils/QueryConstants.java | 27 + .../service/profile/commons/utils/Utils.java | 147 + .../src/main/resources/META-INF/persistence.xml | 35 + .../handlers/TenantProfileServiceHandler.java | 80 +- .../handlers/UserProfileServiceHandler.java | 2 +- .../profile/server/ProfileServiceServer.java | 11 +- .../client/ProfileServiceClientFactory.java | 21 +- .../gateway/cpi/GatewayProfileService.java | 6865 ------------------ .../GatewayProfileServiceException.java | 407 -- .../cpi/profile_gateway_cpiConstants.java | 59 - .../tenant/cpi/TenantProfileService.java | 6760 +++++++++++++++++ .../TenantProfileServiceException.java | 407 ++ .../tenant/cpi/profile_tenant_cpiConstants.java | 59 + .../profile/user/cpi/UserProfileService.java | 2 +- .../exception/UserProfileServiceException.java | 2 +- .../profile-service/profile-tenant-core/pom.xml | 36 +- .../profile/tenant/core/entities/Gateway.java | 224 - .../tenant/core/entities/GatewayProfile.java | 100 - .../tenant/core/impl/GatewayRegistry.java | 137 - .../repositories/TenantProfileRepository.java | 71 + .../tenant/core/resources/GatewayResource.java | 278 - .../profile/tenant/core/util/GatewayUtils.java | 265 - .../profile/tenant/core/util/JPAConstants.java | 33 - .../profile/tenant/core/util/JPAUtils.java | 50 - .../tenant/core/util/QueryConstants.java | 15 - .../service/profile/tenant/core/util/Utils.java | 155 - .../src/main/resources/META-INF/persistence.xml | 32 - .../profile-service/profile-user-core/pom.xml | 36 +- .../user/core/UserProfileRegistryException.java | 28 - .../core/entities/NSFDemographicsEntity.java | 94 - .../user/core/entities/UserProfileEntity.java | 247 - .../UserProfileRegistryException.java | 28 + .../core/repositories/AbstractRepository.java | 98 - .../repositories/UserProfileRepository.java | 26 +- .../profile/user/core/utils/Committer.java | 27 - .../profile/user/core/utils/JPAConstants.java | 33 - .../profile/user/core/utils/JPAUtils.java | 83 - .../user/core/utils/ObjectMapperSingleton.java | 39 - .../profile/user/core/utils/QueryConstants.java | 22 - .../service/profile/user/core/utils/Utils.java | 155 - .../src/main/resources/META-INF/persistence.xml | 33 - .../repositories/WorkspaceRepositoryTest.java | 10 +- .../main/resources/airavata-server.properties | 7 +- pom.xml | 3 - .../profile-gateway/profile-gateway-cpi.thrift | 56 - .../profile_gateway_cpi_errors.thrift | 32 - .../profile-service/profile-service-cpi.thrift | 2 +- .../profile-tenant/profile-tenant-cpi.thrift | 56 + .../profile_tenant_cpi_errors.thrift | 32 + 59 files changed, 8775 insertions(+), 9685 deletions(-) ----------------------------------------------------------------------
