airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1429408 - in /airavata/trunk: modules/commons/workflow-tracking/ modules/integration-tests/ modules/registry/airavata-registry-test/ modules/rest/client/ modules/rest/mappings/ modules/rest/service/ modules/rest/webapp/ modules/security/ m...
Date Sat, 05 Jan 2013 22:40:59 GMT
Author: samindaw
Date: Sat Jan  5 22:40:58 2013
New Revision: 1429408

URL: http://svn.apache.org/viewvc?rev=1429408&view=rev
Log:
updating the airavata-client sample

Modified:
    airavata/trunk/modules/commons/workflow-tracking/   (props changed)
    airavata/trunk/modules/integration-tests/   (props changed)
    airavata/trunk/modules/registry/airavata-registry-test/   (props changed)
    airavata/trunk/modules/rest/client/   (props changed)
    airavata/trunk/modules/rest/mappings/   (props changed)
    airavata/trunk/modules/rest/service/   (props changed)
    airavata/trunk/modules/rest/webapp/   (props changed)
    airavata/trunk/modules/security/   (props changed)
    airavata/trunk/modules/server/   (props changed)
    airavata/trunk/modules/workflow-model/workflow-model-component/   (props changed)
    airavata/trunk/modules/workflow-model/workflow-model-component-node/   (props changed)
    airavata/trunk/modules/workflow-model/workflow-model-core/   (props changed)
    airavata/trunk/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/RunWorkflow.java

Propchange: airavata/trunk/modules/commons/workflow-tracking/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -2,3 +2,5 @@ target
 .settings
 .classpath
 .project
+
+bin

Propchange: airavata/trunk/modules/integration-tests/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/registry/airavata-registry-test/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/rest/client/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/rest/mappings/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/rest/service/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/rest/webapp/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/security/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/server/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/workflow-model/workflow-model-component/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/workflow-model/workflow-model-component-node/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Propchange: airavata/trunk/modules/workflow-model/workflow-model-core/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan  5 22:40:58 2013
@@ -0,0 +1 @@
+target

Modified: airavata/trunk/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/RunWorkflow.java
URL: http://svn.apache.org/viewvc/airavata/trunk/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/RunWorkflow.java?rev=1429408&r1=1429407&r2=1429408&view=diff
==============================================================================
--- airavata/trunk/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/RunWorkflow.java
(original)
+++ airavata/trunk/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/RunWorkflow.java
Sat Jan  5 22:40:58 2013
@@ -102,25 +102,21 @@ public class RunWorkflow {
         ExperimentData experimentData = airavataAPI.getProvenanceManager().getExperimentData(result);
         List<WorkflowExecutionDataImpl> workflowInstanceData
                 = experimentData.getWorkflowExecutionDataList();
-
+        System.out.println("Experiment Results");
+        System.out.println("==================");
         for(WorkflowExecutionDataImpl data:workflowInstanceData){
             List<NodeExecutionData> nodeDataList = data.getNodeDataList();
             for(NodeExecutionData nodeData:nodeDataList){
-            	System.out.println(nodeData.getId());
+            	System.out.println();
+            	System.out.println(nodeData.getType()+" : "+nodeData.getId());
             	List<InputData> inputs=nodeData.getInputData();
-                if(inputs.size()>0){
-                	System.out.println("\tInput ");
-                	for(InputData input:inputs){
-                		System.out.println("\t\t" + input.getName()+"\t: "+input.getValue());
-                	}
-                }
+            	for(InputData input:inputs){
+            		System.out.println("\t\t[Input] \t" + input.getName()+"\t: "+input.getValue());
+            	}
                 List<OutputData> outputs=nodeData.getOutputData();
-                if(outputs.size()>0){
-                	System.out.println("\tOutput ");
-                	for(OutputData output:outputs){
-                		System.out.println("\t\t" + output.getName()+"\t: "+output.getValue());
-                	}
-                }
+            	for(OutputData output:outputs){
+            		System.out.println("\t\t[Output] \t" + output.getName()+"\t: "+output.getValue());
+            	}
             }
         }
     }
@@ -153,3 +149,4 @@ public class RunWorkflow {
     }
 }
 
+



Mime
View raw message