airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing test failure
Date Sat, 25 Jun 2016 04:34:41 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 1ee72fbca -> 8d937dba8


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/8d937dba
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8d937dba
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8d937dba

Branch: refs/heads/develop
Commit: 8d937dba8056352a9d0bdf52a3d185078730ffec
Parents: 1ee72fb
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Sat Jun 25 00:34:36 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Sat Jun 25 00:34:36 2016 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/client/samples/CancelExperiments.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/8d937dba/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CancelExperiments.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CancelExperiments.java
b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CancelExperiments.java
index 06c1a56..5e29749 100644
--- a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CancelExperiments.java
+++ b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/samples/CancelExperiments.java
@@ -46,11 +46,10 @@ public class CancelExperiments {
     public static void main(String[] args) {
         try {
             client = AiravataClientFactory.createAiravataClient(THRIFT_SERVER_HOST, THRIFT_SERVER_PORT);
-            System.out.println(client.registerPwdCredential(new AuthzToken("sdfnsdf"), "default",
"scnakandala@default", "tdaadmin", "SciDeploy"));
-//            String expeId = "echoExperiment_31c132fd-87ea-4781-803c-ae5f04a79baf";
-//            terminateExperiment(client,expeId);
+            String expeId = "echoExperiment_31c132fd-87ea-4781-803c-ae5f04a79baf";
+            terminateExperiment(client,expeId);
 
-//            System.out.println("retrieved exp id : " + experiment.getExperimentID());
+            System.out.println("retrieved exp id : " + expeId);
         } catch (Exception e) {
             logger.error("Error while connecting with server", e.getMessage());
             e.printStackTrace();


Mime
View raw message