You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/08/09 21:24:41 UTC
[4/7] airavata git commit: moving registry code from API server to
registry server
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java b/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
deleted file mode 100644
index ef9e47e..0000000
--- a/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-package org.apache.airavata.api.server.handler;
-
-import junit.framework.Assert;
-import org.apache.airavata.api.server.handler.utils.AppCatInit;
-import org.apache.airavata.api.server.handler.utils.ExpCatInit;
-import org.apache.airavata.api.server.util.ExperimentCatalogInitUtil;
-import org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription;
-import org.apache.airavata.model.application.io.DataType;
-import org.apache.airavata.model.application.io.InputDataObjectType;
-import org.apache.airavata.model.application.io.OutputDataObjectType;
-import org.apache.airavata.model.experiment.ExperimentModel;
-import org.apache.airavata.model.experiment.UserConfigurationDataModel;
-import org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel;
-import org.apache.airavata.model.security.AuthzToken;
-import org.apache.airavata.model.workspace.Gateway;
-import org.apache.airavata.model.workspace.GatewayApprovalStatus;
-import org.apache.airavata.model.workspace.Notification;
-import org.apache.airavata.model.workspace.NotificationPriority;
-import org.apache.airavata.model.workspace.Project;
-import org.apache.thrift.TException;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import java.util.List;
-import java.util.UUID;
-
-/**
- * Test methods for Airavata Service Handler
- */
-public class AiravataServerHandlerTest {
-// private final static Logger logger = LoggerFactory.getLogger(AiravataServerHandlerTest.class);
-
- private static AiravataServerHandler airavataServerHandler;
- private static String gatewayId = "php_reference_gateway";
- private static String computeResouceId = null;
- private AuthzToken token = new AuthzToken("empty_token");
-
- @BeforeClass
- public static void setupBeforeClass() throws Exception {
- AppCatInit appCatInit = new AppCatInit("appcatalog-derby.sql");
- appCatInit.initializeDB();
- ExpCatInit expCatInit = new ExpCatInit("expcatalog-derby.sql");
- expCatInit.initializeDB();
- airavataServerHandler = new AiravataServerHandler();
-
- Gateway gateway = new Gateway();
- gateway.setGatewayId(gatewayId);
- gateway.setGatewayApprovalStatus(GatewayApprovalStatus.REQUESTED);
- airavataServerHandler.addGateway(new AuthzToken(""), gateway);
-
- ComputeResourceDescription computeResourceDescription = new ComputeResourceDescription();
- computeResourceDescription.setHostName("test.compute.resource");
- computeResourceDescription.setResourceDescription("test compute resource");
- computeResourceDescription.setEnabled(true);
- computeResouceId = airavataServerHandler.registerComputeResource(new AuthzToken(""),
- computeResourceDescription);
- }
-
- @AfterClass
- public static void tearDown() {
- ExperimentCatalogInitUtil.stopDerbyInServerMode();
- }
-
- /**
- * Testing for project related API methods
- */
- @Test
- public void testProject() {
- try {
- String TAG = System.currentTimeMillis() + "";
-
-
- //testing the creation of a project
- Project project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("TestProject" + TAG);
- project.setDescription("This is a test project" + TAG);
- String projectId1 = airavataServerHandler.createProject(new AuthzToken(""), gatewayId, project);
- Assert.assertNotNull(projectId1);
-
- //testing the update of a project
- Project updatedProject = new Project();
- updatedProject.setProjectID(projectId1);
- updatedProject.setOwner("TestUser" + TAG);
- updatedProject.setName("UpdatedTestProject" + TAG);
- updatedProject.setDescription("This is an updated test project" + TAG);
- airavataServerHandler.updateProject(new AuthzToken(""), projectId1, updatedProject);
-
- //testing project retrieval
- Project retrievedProject = airavataServerHandler.getProject(new AuthzToken(""), projectId1);
- Assert.assertEquals(updatedProject.getProjectID(), retrievedProject.getProjectID());
- Assert.assertEquals(updatedProject.getOwner(), retrievedProject.getOwner());
- Assert.assertEquals(updatedProject.getName(), retrievedProject.getName());
- Assert.assertEquals(updatedProject.getDescription(), retrievedProject.getDescription());
- Assert.assertNotNull(retrievedProject.getCreationTime());
- //created user should be in the shared users list
- Assert.assertTrue(retrievedProject.getSharedUsers().size() == 1);
-
- //creating more projects for the same user
- project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("Project Terrible" + TAG);
- project.setDescription("This is a test project_2" + TAG);
- String projectId2 = airavataServerHandler.createProject(new AuthzToken(""), gatewayId, project);
- Assert.assertNotNull(projectId2);
-
- project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("Project Funny" + TAG);
- project.setDescription("This is a test project_3" + TAG);
- String projectId3 = airavataServerHandler.createProject(new AuthzToken(""), gatewayId, project);
- Assert.assertNotNull(projectId3);
-
- project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("Project Stupid" + TAG);
- project.setDescription("This is a test project_4" + TAG);
- String projectId4 = airavataServerHandler.createProject(new AuthzToken(""), gatewayId, project);
- Assert.assertNotNull(projectId4);
-
- project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("Project Boring" + TAG);
- project.setDescription("This is a test project_5" + TAG);
- String projectId5 = airavataServerHandler.createProject(token, gatewayId, project);
- Assert.assertNotNull(projectId5);
-
-
- //get all projects of user
- List<Project> list = airavataServerHandler.getUserProjects(token, gatewayId, "TestUser" + TAG, 2, 2);
- Assert.assertTrue(list.size() == 2);
- Project project1 = list.get(0);
- Project project2 = list.get(1);
- Assert.assertTrue(project1.getCreationTime() - project2.getCreationTime() > 0);
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail();
- }
- }
-
- /**
- * Testing for project related API methods
- */
- @Test
- public void testExperiment() {
- try {
- String TAG = System.currentTimeMillis() + "";
-
- String applicationId = "Echo_" + UUID.randomUUID().toString();
-
- //creating project
- Project project = new Project();
- project.setOwner("TestUser" + TAG);
- project.setName("TestProject" + TAG);
- project.setDescription("This is a test project" + TAG);
- String projectId1 = airavataServerHandler.createProject(new AuthzToken(""), gatewayId, project);
- Assert.assertNotNull(projectId1);
-
- //creating sample echo experiment. assumes echo application is already defined
- InputDataObjectType inputDataObjectType = new InputDataObjectType();
- inputDataObjectType.setName("Input_to_Echo");
- inputDataObjectType.setValue("Hello World");
- inputDataObjectType.setType(DataType.STRING);
-
- ComputationalResourceSchedulingModel scheduling = new ComputationalResourceSchedulingModel();
- scheduling.setResourceHostId(computeResouceId);
- scheduling.setTotalCPUCount(1);
- scheduling.setNodeCount(1);
- scheduling.setWallTimeLimit(15);
- scheduling.setQueueName("normal");
-
- UserConfigurationDataModel userConfigurationData = new UserConfigurationDataModel();
- userConfigurationData.setAiravataAutoSchedule(false);
- userConfigurationData.setOverrideManualScheduledParams(false);
- userConfigurationData.setComputationalResourceScheduling(scheduling);
-
- ExperimentModel experiment = new ExperimentModel();
- experiment.setProjectId(projectId1);
- experiment.setGatewayId(gatewayId);
- experiment.setUserName("TestUser" + TAG);
- experiment.setExperimentName("TestExperiment" + TAG);
- experiment.setDescription("experiment");
- experiment.setExecutionId(applicationId);
- experiment.setUserConfigurationData(userConfigurationData);
- experiment.addToExperimentInputs(inputDataObjectType);
-
- String experimentId1 = airavataServerHandler.createExperiment(new AuthzToken(""), gatewayId, experiment);
- Assert.assertNotNull(experimentId1);
-
- //retrieving the stored experiment
- ExperimentModel retrievedExperiment = airavataServerHandler.getExperiment(new AuthzToken(""), experimentId1);
- Assert.assertNotNull(retrievedExperiment);
- Assert.assertEquals(retrievedExperiment.getProjectId(), experiment.getProjectId());
- Assert.assertEquals(retrievedExperiment.getDescription(), experiment.getDescription());
- Assert.assertEquals(retrievedExperiment.getExperimentName(), experiment.getExperimentName());
- Assert.assertEquals(retrievedExperiment.getExecutionId(), experiment.getExecutionId());
- Assert.assertNotNull(retrievedExperiment.getUserConfigurationData());
- Assert.assertNotNull(retrievedExperiment.getExperimentInputs());
-
- //updating an existing experiment
- experiment.setExperimentName("NewExperimentName" + TAG);
- OutputDataObjectType outputDataObjectType = new OutputDataObjectType();
- outputDataObjectType.setName("Output_to_Echo");
- outputDataObjectType.setValue("Hello World");
- outputDataObjectType.setType(DataType.STRING);
- experiment.addToExperimentOutputs(outputDataObjectType);
- airavataServerHandler.updateExperiment(new AuthzToken(""), experimentId1, experiment);
-
- //creating more experiments
- experiment = new ExperimentModel();
- experiment.setProjectId(projectId1);
- experiment.setGatewayId(gatewayId);
- experiment.setUserName("TestUser" + TAG);
- experiment.setExperimentName("TestExperiment2" + TAG);
- experiment.setDescription("experiment");
- experiment.setExecutionId(applicationId);
- experiment.setUserConfigurationData(userConfigurationData);
- experiment.addToExperimentInputs(inputDataObjectType);
-
- String experimentId2 = airavataServerHandler.createExperiment(new AuthzToken(""), gatewayId, experiment);
- Assert.assertNotNull(experimentId2);
-
- experiment = new ExperimentModel();
- experiment.setProjectId(projectId1);
- experiment.setGatewayId(gatewayId);
- experiment.setUserName("TestUser" + TAG);
- experiment.setExperimentName("TestExperiment3" + TAG);
- experiment.setDescription("experiment");
- experiment.setExecutionId(applicationId);
- experiment.setUserConfigurationData(userConfigurationData);
- experiment.addToExperimentInputs(inputDataObjectType);
-
- String experimentId3 = airavataServerHandler.createExperiment(token, gatewayId, experiment);
- Assert.assertNotNull(experimentId3);
-
- //retrieving all experiments in project
- List<ExperimentModel> list = airavataServerHandler.getExperimentsInProject(token, projectId1, 2, 1);
- Assert.assertTrue(list.size() == 2);
-
- //getting all user experiments
- list = airavataServerHandler.getUserExperiments(token,
- gatewayId, "TestUser" + TAG, 2, 0);
- //testing time ordering
- Assert.assertTrue(list.size() == 2);
- ExperimentModel exp1 = list.get(0);
- ExperimentModel exp2 = list.get(1);
- Assert.assertTrue(exp1.getCreationTime() - exp2.getCreationTime() > 0);
-
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail();
- }
- }
- @Test
- public void testNotifications(){
- try {
- AuthzToken authzToken = new AuthzToken();
- authzToken.setAccessToken("");
- Notification notification = new Notification();
- notification.setTitle("3424234");
- notification.setGatewayId("test");
- notification.setNotificationMessage("sdkjfbjks kjbsdf kjsdbfkjsdbf");
- notification.setPriority(NotificationPriority.NORMAL);
- String notificationId = airavataServerHandler.createNotification(authzToken, notification);
- Assert.assertNotNull(notificationId);
- List<Notification> notifications = airavataServerHandler.getAllNotifications(authzToken, "test");
- Assert.assertTrue(notifications.size() > 0);
- Assert.assertNotNull(airavataServerHandler.getNotification(authzToken,"test",notificationId));
- } catch (TException e) {
- e.printStackTrace();
- Assert.fail();
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/commons/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
----------------------------------------------------------------------
diff --git a/modules/commons/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java b/modules/commons/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
index b6afb18..b3d68a6 100644
--- a/modules/commons/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
+++ b/modules/commons/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
@@ -21,22 +21,18 @@
package org.apache.airavata.common.utils;
+import org.apache.airavata.common.exception.ApplicationSettingsException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
+import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import org.apache.airavata.common.exception.ApplicationSettingsException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
public class ApplicationSettings {
public static final String SERVER_PROPERTIES="airavata-server.properties";
@@ -398,6 +394,14 @@ public class ApplicationSettings {
return getSetting("email.from");
}
+ public static String getRegistryServerPort() throws ApplicationSettingsException {
+ return getSetting("regserver.server.host");
+ }
+
+ public static String getRegistryServerHost() throws ApplicationSettingsException {
+ return getSetting("regserver.server.port");
+ }
+
/**
* @deprecated use {{@link #getSetting(String)}}
* @return
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/cpi/CredentialStoreService.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/cpi/CredentialStoreService.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/cpi/CredentialStoreService.java
index 8e00946..565e9c6 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/cpi/CredentialStoreService.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/cpi/CredentialStoreService.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class CredentialStoreService {
public interface Iface {
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CertificateCredential.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CertificateCredential.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CertificateCredential.java
index cbb5b37..77a85d4 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CertificateCredential.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CertificateCredential.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class CertificateCredential implements org.apache.thrift.TBase<CertificateCredential, CertificateCredential._Fields>, java.io.Serializable, Cloneable, Comparable<CertificateCredential> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CertificateCredential");
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CommunityUser.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CommunityUser.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CommunityUser.java
index 1fb27e7..457cad6 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CommunityUser.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/CommunityUser.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class CommunityUser implements org.apache.thrift.TBase<CommunityUser, CommunityUser._Fields>, java.io.Serializable, Cloneable, Comparable<CommunityUser> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommunityUser");
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/PasswordCredential.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/PasswordCredential.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/PasswordCredential.java
index 6978767..c488315 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/PasswordCredential.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/PasswordCredential.java
@@ -22,18 +22,35 @@
*/
package org.apache.airavata.credential.store.datamodel;
-import org.apache.thrift.EncodingUtils;
-import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
-import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import org.apache.thrift.async.AsyncMethodCallback;
+import org.apache.thrift.server.AbstractNonblockingServer.*;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
import javax.annotation.Generated;
-import java.util.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class PasswordCredential implements org.apache.thrift.TBase<PasswordCredential, PasswordCredential._Fields>, java.io.Serializable, Cloneable, Comparable<PasswordCredential> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PasswordCredential");
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/SSHCredential.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/SSHCredential.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/SSHCredential.java
index 3d18b99..3e9de8d 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/SSHCredential.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/datamodel/SSHCredential.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class SSHCredential implements org.apache.thrift.TBase<SSHCredential, SSHCredential._Fields>, java.io.Serializable, Cloneable, Comparable<SSHCredential> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SSHCredential");
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/exception/CredentialStoreException.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/exception/CredentialStoreException.java b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/exception/CredentialStoreException.java
index a99b0be..48ea94c 100644
--- a/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/exception/CredentialStoreException.java
+++ b/modules/credential-store/credential-store-stubs/src/main/java/org/apache/airavata/credential/store/exception/CredentialStoreException.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class CredentialStoreException extends TException implements org.apache.thrift.TBase<CredentialStoreException, CredentialStoreException._Fields>, java.io.Serializable, Cloneable, Comparable<CredentialStoreException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CredentialStoreException");
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/gfac/gfac-client/src/main/java/org/apache/airavata/gfac/cpi/GfacService.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-client/src/main/java/org/apache/airavata/gfac/cpi/GfacService.java b/modules/gfac/gfac-client/src/main/java/org/apache/airavata/gfac/cpi/GfacService.java
index e350ded..9483a20 100644
--- a/modules/gfac/gfac-client/src/main/java/org/apache/airavata/gfac/cpi/GfacService.java
+++ b/modules/gfac/gfac-client/src/main/java/org/apache/airavata/gfac/cpi/GfacService.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class GfacService {
public interface Iface {
http://git-wip-us.apache.org/repos/asf/airavata/blob/c01d7a14/modules/orchestrator/orchestrator-client/src/main/java/org/apache/airavata/orchestrator/cpi/OrchestratorService.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-client/src/main/java/org/apache/airavata/orchestrator/cpi/OrchestratorService.java b/modules/orchestrator/orchestrator-client/src/main/java/org/apache/airavata/orchestrator/cpi/OrchestratorService.java
index 173204b..fc8362e 100644
--- a/modules/orchestrator/orchestrator-client/src/main/java/org/apache/airavata/orchestrator/cpi/OrchestratorService.java
+++ b/modules/orchestrator/orchestrator-client/src/main/java/org/apache/airavata/orchestrator/cpi/OrchestratorService.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-05-01")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-08-09")
public class OrchestratorService {
public interface Iface {