airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1459481 - in /airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client: api/ProvenanceManager.java impl/ProvenanceManagerImpl.java
Date Thu, 21 Mar 2013 19:10:48 GMT
Author: lahiru
Date: Thu Mar 21 19:10:48 2013
New Revision: 1459481

URL: http://svn.apache.org/r1459481
Log:
adding new method to store job specific data to registry.

Modified:
    airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/ProvenanceManager.java
    airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/impl/ProvenanceManagerImpl.java

Modified: airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/ProvenanceManager.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/ProvenanceManager.java?rev=1459481&r1=1459480&r2=1459481&view=diff
==============================================================================
--- airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/ProvenanceManager.java
(original)
+++ airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/ProvenanceManager.java
Thu Mar 21 19:10:48 2013
@@ -341,4 +341,6 @@ public interface ProvenanceManager {
     public void setWorkflowInstanceTemplateName(String workflowInstanceId,String templateName)
throws AiravataAPIInvocationException;
 
     public void saveWorkflowExecutionOutput(String experimentId, String outputNodeName, String
output) throws AiravataAPIInvocationException;
+
+     public void updateWorkflowNodeGramData(WorkflowNodeGramData data) throws AiravataAPIInvocationException;
 }

Modified: airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/impl/ProvenanceManagerImpl.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/impl/ProvenanceManagerImpl.java?rev=1459481&r1=1459480&r2=1459481&view=diff
==============================================================================
--- airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/impl/ProvenanceManagerImpl.java
(original)
+++ airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/impl/ProvenanceManagerImpl.java
Thu Mar 21 19:10:48 2013
@@ -479,5 +479,13 @@ public class ProvenanceManagerImpl imple
 		return getWorkflowExperimentData(experimentId);
 	}
 
-	
+    public void updateWorkflowNodeGramData(WorkflowNodeGramData data) throws AiravataAPIInvocationException
{
+        try {
+            client.getRegistryClient().updateWorkflowNodeGramData(data);
+        } catch (RegistryException e) {
+            new AiravataAPIInvocationException(e);
+        } catch (AiravataConfigurationException e) {
+            new AiravataAPIInvocationException(e);
+        }
+    }
 }



Mime
View raw message