airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1237082 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Date Sat, 28 Jan 2012 16:11:17 GMT
Author: lahiru
Date: Sat Jan 28 16:11:17 2012
New Revision: 1237082

URL: http://svn.apache.org/viewvc?rev=1237082&view=rev
Log:
adding workflow failed data.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1237082&r1=1237081&r2=1237082&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Sat Jan 28 16:11:17 2012
@@ -376,6 +376,14 @@ public class WorkflowInterpreter {
 					}
 //                    System.out.println(this.configuration.getJcrComponentRegistry().getRegistry().getWorkflowStatus(this.topic));
                 }
+            }else {
+                if(actOnProvenance){
+                try {
+					this.configuration.getJcrComponentRegistry().getRegistry().saveWorkflowExecutionStatus(this.topic,
ExecutionStatus.FAILED);
+				} catch (RegistryException e) {
+					throw new XBayaException(e);
+				}
+            }
             }
             this.notifier.workflowTerminated();
             if (this.mode == GUI_MODE) {



Mime
View raw message