airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1381261 - in /incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api: DescriptorRegistry.java PublishedWorkflowRegistry.java UserWorkflowRegistry.java
Date Wed, 05 Sep 2012 17:26:34 GMT
Author: samindaw
Date: Wed Sep  5 17:26:34 2012
New Revision: 1381261

URL: http://svn.apache.org/viewvc?rev=1381261&view=rev
Log:
update api after review

Modified:
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/DescriptorRegistry.java
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
    incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/DescriptorRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/DescriptorRegistry.java?rev=1381261&r1=1381260&r2=1381261&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/DescriptorRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/DescriptorRegistry.java
Wed Sep  5 17:26:34 2012
@@ -47,7 +47,7 @@ public interface DescriptorRegistry exte
 	public void removeServiceDescriptor(String serviceName);
 	public ResourceMetadata getServiceDescriptorMetadata(String serviceName);
 	
-	//---------Service Descriptor data------------
+	//---------Application Descriptor data------------
 	public void addApplicationDescriptor(ServiceDescription serviceDescription, HostDescription
hostDescriptor, ApplicationDeploymentDescription descriptor);
 	public void addApplicationDescriptor(String serviceName, String hostName, ApplicationDeploymentDescription
descriptor);
 	public void udpateApplicationDescriptor(ServiceDescription serviceDescription, HostDescription
hostDescriptor, ApplicationDeploymentDescription descriptor);

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java?rev=1381261&r1=1381260&r2=1381261&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
Wed Sep  5 17:26:34 2012
@@ -21,15 +21,14 @@
 
 package org.apache.airavata.registry.api;
 
-import java.util.Date;
 
 public interface PublishedWorkflowRegistry extends AiravataSubRegistry {
 	
-	public void publishWorkflow(String workflowName, String workflowGraphXml);
+	public void publishWorkflow(String workflowName, String publishWorkflowName);
+	public void publishWorkflow(String workflowName);
 	
 	public String getPublishedWorkflowGraphXML(String workflowName);
-	public String getPublishedWorkflowUser(String workflowName);
-	public Date getWorkflowPublishedTime(String workflowName);	
+	public ResourceMetadata getPublishedWorkflowMetadata(String workflowName);
 	
-	public void removeWorkflow(String workflowName);
+	public void removePublishedWorkflow(String workflowName);
 }

Modified: incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java?rev=1381261&r1=1381260&r2=1381261&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
(original)
+++ incubator/airavata/trunk/modules/commons/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
Wed Sep  5 17:26:34 2012
@@ -21,7 +21,6 @@
 
 package org.apache.airavata.registry.api;
 
-import java.util.Date;
 
 public interface UserWorkflowRegistry extends AiravataSubRegistry {
 	
@@ -29,7 +28,7 @@ public interface UserWorkflowRegistry ex
 	public void updateWorkflow(String workflowName, String workflowGraphXml);
 	
 	public String getWorkflowGraphXML(String workflowName);
-	public Date getWorkflowLastUpdatedTime(String workflowName);	
+	public ResourceMetadata getWorkflowMetadata(String workflowName);	
 	
 	public void removeWorkflow(String workflowName);
 }



Mime
View raw message