airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1236388 - in /incubator/airavata/trunk/modules: commons/registry-api/src/main/java/org/apache/airavata/registry/api/ commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/ xbaya-gui/src/main/java/org/apache/airavata/xbay...
Date Thu, 26 Jan 2012 21:27:00 GMT
Author: samindaw
Date: Thu Jan 26 21:26:59 2012
New Revision: 1236388

URL: http://svn.apache.org/viewvc?rev=1236388&view=rev
Log:
updating api typo in airavata registry and adjusting api in xbayaclient to allow loading workflow
execution through topic id

Modified:
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/AiravataRegistry.java
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/clients/XBayaClient.java

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/AiravataRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/AiravataRegistry.java?rev=1236388&r1=1236387&r2=1236388&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/AiravataRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/AiravataRegistry.java
Thu Jan 26 21:26:59 2012
@@ -243,7 +243,7 @@ public interface AiravataRegistry extend
     
     public String getWorkflowExecutionUser(String experimentId) throws RegistryException;
     
-    public WorkflowExecution getWorkflowExection(String experimentId) throws RegistryException;
+    public WorkflowExecution getWorkflowExecution(String experimentId) throws RegistryException;
     
     public List<String> getWorkflowExecutionIdByUser(String user) throws RegistryException;
 

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java?rev=1236388&r1=1236387&r2=1236388&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/impl/AiravataJCRRegistry.java
Thu Jan 26 21:26:59 2012
@@ -1146,7 +1146,7 @@ public class AiravataJCRRegistry extends
         return property;
 	}
 
-	public WorkflowExecution getWorkflowExection(String experimentId)
+	public WorkflowExecution getWorkflowExecution(String experimentId)
 			throws RegistryException {
 		WorkflowExecution workflowExecution = new WorkflowExecutionImpl();
 		workflowExecution.setExperimentId(experimentId);
@@ -1204,7 +1204,7 @@ public class AiravataJCRRegistry extends
 				(startLimit==-1 && count<endLimit) ||
 				(startLimit<=count && endLimit==-1) ||
 				(startLimit<=count && count<endLimit)){
-				executions.add(getWorkflowExection(id));
+				executions.add(getWorkflowExecution(id));
 			}
 			count++;
 		}

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/clients/XBayaClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/clients/XBayaClient.java?rev=1236388&r1=1236387&r2=1236388&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/clients/XBayaClient.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/clients/XBayaClient.java
Thu Jan 26 21:26:59 2012
@@ -302,10 +302,14 @@ public class XBayaClient {
 		return worflowoutput;
 	}
     
-    public List<WorkflowExecution> getWorkflowExecutionData(String user) throws RegistryException{
+    public List<WorkflowExecution> getWorkflowExecutionDataByUser(String user) throws
RegistryException{
     	return getRegistry().getWorkflowExecutionByUser(user);
     }
     
+    public WorkflowExecution getWorkflowExecutionData(String topic) throws RegistryException{
+    	return getRegistry().getWorkflowExecution(topic);
+    }
+    
     /**
      * 
      * @param user



Mime
View raw message