airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [29/53] [abbrv] airavata git commit: fixing test failure
Date Thu, 07 Jul 2016 19:30:15 GMT
fixing test failure


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/b450b85a
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/b450b85a
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/b450b85a

Branch: refs/heads/master
Commit: b450b85a4780b62c14904f24f87a5bac0e0cd316
Parents: 49dfd42
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Jun 27 16:17:45 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Jun 27 16:17:45 2016 -0400

----------------------------------------------------------------------
 .../client/samples/CreateLaunchBES.java         | 75 -------------------
 .../client/samples/CreateLaunchExperiment.java  | 76 --------------------
 2 files changed, 151 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/b450b85a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchBES.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchBES.java
b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchBES.java
index 2f91ee0..4f96868 100644
--- a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchBES.java
+++ b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchBES.java
@@ -372,81 +372,6 @@ public class CreateLaunchBES {
         return null;
     }
 
-    public static List<Project> searchProjectsByProjectName(Airavata.Client client,
String user, String projectName) {
-        try {
-            return client.searchProjectsByProjectName(new AuthzToken(""), DEFAULT_GATEWAY,
user, projectName, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<Project> searchProjectsByProjectDesc(Airavata.Client client,
String user, String desc) {
-        try {
-            return client.searchProjectsByProjectDesc(new AuthzToken(""), DEFAULT_GATEWAY,
user, desc, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-
-    public static List<ExperimentSummaryModel> searchExperimentsByName(Airavata.Client
client, String user, String expName) {
-        try {
-            return client.searchExperimentsByName(new AuthzToken(""), DEFAULT_GATEWAY, user,
expName, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<ExperimentSummaryModel> searchExperimentsByDesc(Airavata.Client
client, String user, String desc) {
-        try {
-            return client.searchExperimentsByDesc(new AuthzToken(""), DEFAULT_GATEWAY, user,
desc, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<ExperimentSummaryModel> searchExperimentsByApplication(Airavata.Client
client, String user, String app) {
-        try {
-            return client.searchExperimentsByApplication(new AuthzToken(""), DEFAULT_GATEWAY,
user, app, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
 
     public static void getExperiment(Airavata.Client client, String expId) throws Exception
{
         try {

http://git-wip-us.apache.org/repos/asf/airavata/blob/b450b85a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
index 256e64e..11c84a4 100644
--- a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
+++ b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CreateLaunchExperiment.java
@@ -1505,82 +1505,6 @@ public class CreateLaunchExperiment {
         return null;
     }
 
-    public static List<Project> searchProjectsByProjectName(Airavata.Client client,
String user, String projectName) {
-        try {
-            return client.searchProjectsByProjectName(new AuthzToken(""), DEFAULT_GATEWAY,
user, projectName, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<Project> searchProjectsByProjectDesc(Airavata.Client client,
String user, String desc) {
-        try {
-            return client.searchProjectsByProjectDesc(new AuthzToken(""), DEFAULT_GATEWAY,
user, desc, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-
-    public static List<ExperimentSummaryModel> searchExperimentsByName(Airavata.Client
client, String user, String expName) {
-        try {
-            return client.searchExperimentsByName(new AuthzToken(""), DEFAULT_GATEWAY, user,
expName, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<ExperimentSummaryModel> searchExperimentsByDesc(Airavata.Client
client, String user, String desc) {
-        try {
-            return client.searchExperimentsByDesc(new AuthzToken(""), DEFAULT_GATEWAY, user,
desc, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
-    public static List<ExperimentSummaryModel> searchExperimentsByApplication(Airavata.Client
client, String user, String app) {
-        try {
-            return client.searchExperimentsByApplication(new AuthzToken(""), DEFAULT_GATEWAY,
user, app, -1, 0);
-        } catch (AiravataSystemException e) {
-            e.printStackTrace();
-        } catch (InvalidRequestException e) {
-            e.printStackTrace();
-        } catch (AiravataClientException e) {
-            e.printStackTrace();
-        } catch (TException e) {
-            e.printStackTrace();
-        }
-        return null;
-    }
-
     public static void getExperiment(Airavata.Client client, String expId) throws Exception
{
         try {
             ExperimentModel experiment = client.getExperiment(new AuthzToken(""), expId);


Mime
View raw message