Author: lahiru
Date: Tue Jan  7 06:32:05 2014
New Revision: 1556124

URL: http://svn.apache.org/r1556124
Log:
changes to registry component to handle orchestrator requirements.

Modified:
    
airavata/sandbox/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
    
airavata/sandbox/registry/registry-api/src/main/java/org/apache/airavata/registry/api/OrchestratorRegistry.java

Modified: 
airavata/sandbox/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
URL: 
http://svn.apache.org/viewvc/airavata/sandbox/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java?rev=1556124&r1=1556123&r2=1556124&view=diff
==============================================================================
--- 
airavata/sandbox/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
 (original)
+++ 
airavata/sandbox/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
 Tue Jan  7 06:32:05 2014
@@ -2587,11 +2587,16 @@ public class AiravataJPARegistry extends
                }
     }
 
+    public Map<String, Integer> getGFACNodeList() throws RegistryException {
+        return null;  //To change body of implemented methods use File | 
Settings | File Templates.
+    }
+
     /**
      *These are the methods inherited from Orchestrator Registry
      */
 
-     public List<URI> getLiveGFacURIs() throws RegistryException {
+
+    public List<URI> getLiveGFacURIs() throws RegistryException {
         return null;  //To change body of implemented methods use File | 
Settings | File Templates.
     }
 

Modified: 
airavata/sandbox/registry/registry-api/src/main/java/org/apache/airavata/registry/api/OrchestratorRegistry.java
URL: 
http://svn.apache.org/viewvc/airavata/sandbox/registry/registry-api/src/main/java/org/apache/airavata/registry/api/OrchestratorRegistry.java?rev=1556124&r1=1556123&r2=1556124&view=diff
==============================================================================
--- 
airavata/sandbox/registry/registry-api/src/main/java/org/apache/airavata/registry/api/OrchestratorRegistry.java
 (original)
+++ 
airavata/sandbox/registry/registry-api/src/main/java/org/apache/airavata/registry/api/OrchestratorRegistry.java
 Tue Jan  7 06:32:05 2014
@@ -24,9 +24,19 @@ import org.apache.airavata.common.utils.
 import org.apache.airavata.registry.api.exception.RegistryException;
 
 import java.util.List;
+import java.util.Map;
 
 public interface OrchestratorRegistry extends AiravataSubRegistry {
 
+
+    /**
+     * this return information about GFAC instances running in the system.
+     * @return
+     * @throws RegistryException
+     */
+    Map<String, Integer> getGFACNodeList() throws RegistryException;
+
+
     /**
      * This method will add an entry to job management table in database
      * With the default initial status of ACCEPTED


Reply via email to