Define and Generate Profile Service Thrift Stubs
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/594e8511 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/594e8511 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/594e8511 Branch: refs/heads/develop Commit: 594e85115da53187d2bdc3157b062c37a22476a9 Parents: efc2b69 Author: Gourav Shenoy <[email protected]> Authored: Sun Mar 5 17:12:47 2017 -0500 Committer: Gourav Shenoy <[email protected]> Committed: Sun Mar 5 17:12:47 2017 -0500 ---------------------------------------------------------------------- airavata-services/pom.xml | 13 + airavata-services/profile-service/pom.xml | 7 +- .../profile-service-stubs/pom.xml | 28 + .../profile/user/cpi/UserProfileService.java | 7504 ++++++++++++++++++ .../exception/UserProfileServiceException.java | 407 + .../user/cpi/profile_user_cpiConstants.java | 57 + .../service-cpis/generate-service-cpi-stubs.sh | 181 + .../profile-service/profile-service-cpi.thrift | 32 + .../profile-user/profile-user-cpi.thrift | 57 + .../profile-user/profile_user_cpi_errors.thrift | 32 + 10 files changed, 8316 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/594e8511/airavata-services/pom.xml ---------------------------------------------------------------------- diff --git a/airavata-services/pom.xml b/airavata-services/pom.xml index c3a5531..eee25fb 100644 --- a/airavata-services/pom.xml +++ b/airavata-services/pom.xml @@ -15,6 +15,19 @@ <name>Airavata Services</name> <url>http://airavata.apache.org/</url> + <dependencies> + <dependency> + <groupId>org.apache.thrift</groupId> + <artifactId>libthrift</artifactId> + <version>${thrift.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${org.slf4j.version}</version> + </dependency> + </dependencies> + <modules> <module>profile-service</module> </modules> http://git-wip-us.apache.org/repos/asf/airavata/blob/594e8511/airavata-services/profile-service/pom.xml ---------------------------------------------------------------------- diff --git a/airavata-services/profile-service/pom.xml b/airavata-services/profile-service/pom.xml index 0396bc5..bfe9510 100644 --- a/airavata-services/profile-service/pom.xml +++ b/airavata-services/profile-service/pom.xml @@ -14,8 +14,11 @@ <name>Profile Service</name> <artifactId>profile-service</artifactId> - <packaging>jar</packaging> + <packaging>pom</packaging> <url>http://airavata.apache.org/</url> - + <modules> + <module>profile-service-stubs</module> + </modules> + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/594e8511/airavata-services/profile-service/profile-service-stubs/pom.xml ---------------------------------------------------------------------- diff --git a/airavata-services/profile-service/profile-service-stubs/pom.xml b/airavata-services/profile-service/profile-service-stubs/pom.xml new file mode 100644 index 0000000..29222d6 --- /dev/null +++ b/airavata-services/profile-service/profile-service-stubs/pom.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <artifactId>profile-service</artifactId> + <groupId>org.apache.airavata</groupId> + <version>0.17-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <name>Profile Service Stubs</name> + <artifactId>profile-service-stubs</artifactId> + <packaging>jar</packaging> + <url>http://airavata.apache.org/</url> + + <dependencies> + <dependency> + <groupId>org.apache.airavata</groupId> + <artifactId>airavata-data-models</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> + +</project> \ No newline at end of file
