airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: adding getall resource and getAllIds method
Date Mon, 07 Jul 2014 18:53:06 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 0fde9bce7 -> c7a330069


adding getall resource and getAllIds method


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/c7a33006
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/c7a33006
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/c7a33006

Branch: refs/heads/master
Commit: c7a330069980d952f92a2b788ff34cb7a6e07158
Parents: 0fde9bc
Author: Chathuri Wimalasena <kamalasini@gmail.com>
Authored: Mon Jul 7 14:53:00 2014 -0400
Committer: Chathuri Wimalasena <kamalasini@gmail.com>
Committed: Mon Jul 7 14:53:00 2014 -0400

----------------------------------------------------------------------
 .../appcatalog/cpi/ApplicationDeployment.java   |  4 ++
 .../appcatalog/cpi/ApplicationInterface.java    |  8 +++
 .../appcatalog/cpi/ComputeResource.java         |  6 ++
 .../data/impl/ApplicationDeploymentImpl.java    | 27 ++++++++
 .../data/impl/ApplicationInterfaceImpl.java     | 27 ++++++++
 .../catalog/data/impl/ComputeResourceImpl.java  | 26 ++++++++
 .../data/resources/AppDeploymentResource.java   | 66 ++++++++++++++++++++
 .../data/resources/AppEnvironmentResource.java  | 10 +++
 .../data/resources/AppInterfaceResource.java    | 66 ++++++++++++++++++++
 .../resources/AppModuleMappingResource.java     | 10 +++
 .../data/resources/AppModuleResource.java       | 10 +++
 .../resources/ApplicationInputResource.java     | 10 +++
 .../resources/ApplicationOutputResource.java    | 10 +++
 .../data/resources/BatchQueueResource.java      | 14 ++++-
 .../ComputeHostPreferenceResource.java          | 10 +++
 .../ComputeResourceFileSystemResource.java      | 14 ++++-
 .../data/resources/ComputeResourceResource.java | 65 ++++++++++++++++++-
 .../DataMovementInterfaceResource.java          | 14 ++++-
 .../resources/DataMovementProtocolResource.java | 10 +++
 .../data/resources/GSISSHExportResource.java    | 10 +++
 .../resources/GSISSHPostJobCommandResource.java | 10 +++
 .../resources/GSISSHPreJobCommandResource.java  | 10 +++
 .../resources/GSISSHSubmissionResource.java     | 10 +++
 .../data/resources/GatewayProfileResource.java  | 10 +++
 .../resources/GlobusGKEndpointResource.java     | 10 +++
 .../resources/GlobusJobSubmissionResource.java  | 10 +++
 .../resources/GridftpDataMovementResource.java  | 14 ++++-
 .../data/resources/GridftpEndpointResource.java | 14 ++++-
 .../data/resources/HostAliasResource.java       | 10 +++
 .../data/resources/HostIPAddressResource.java   | 10 +++
 .../resources/JobManagerCommandResource.java    | 14 ++++-
 .../JobSubmissionInterfaceResource.java         | 14 ++++-
 .../JobSubmissionProtocolResource.java          | 10 +++
 .../resources/LibraryApendPathResource.java     | 10 +++
 .../resources/LibraryPrepandPathResource.java   | 10 +++
 .../resources/LocalDataMovementResource.java    | 14 ++++-
 .../data/resources/LocalSubmissionResource.java | 14 ++++-
 .../data/resources/ModuleLoadCmdResource.java   | 10 +++
 .../catalog/data/resources/Resource.java        | 14 +++++
 .../resources/ResourceJobManagerResource.java   | 14 ++++-
 .../data/resources/ScpDataMovementResource.java | 14 ++++-
 .../resources/SshJobSubmissionResource.java     | 14 ++++-
 .../app/catalog/test/AppDeploymentTest.java     | 11 ++++
 .../app/catalog/test/AppInterfaceTest.java      |  6 ++
 .../app/catalog/test/ComputeResourceTest.java   |  6 ++
 45 files changed, 674 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
index 149b9be..10c7cdc 100644
--- a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
@@ -34,6 +34,10 @@ public interface ApplicationDeployment {
      */
     List<ApplicationDeploymentDescription> getApplicationDeployements (Map<String, String> filters) throws AppCatalogException;
 
+    List<ApplicationDeploymentDescription> getAllApplicationDeployements () throws AppCatalogException;
+
+    List<String> getAllApplicationDeployementIds () throws AppCatalogException;
+
     /**
      * Check whether application deployment exists
      * @param deploymentId unique deployment id

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
index 70fbfe1..61ac577 100644
--- a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
@@ -75,6 +75,14 @@ public interface ApplicationInterface {
     List<ApplicationInterfaceDescription> getApplicationInterfaces(Map<String, String> filters) throws AppCatalogException;
 
     /**
+     * This method will return all the application interfaces
+     * @return list of all the application interfaces
+     */
+    List<ApplicationInterfaceDescription> getAllApplicationInterfaces() throws AppCatalogException;
+
+    List<String> getAllApplicationInterfaceIds() throws AppCatalogException;
+
+    /**
      * Remove application interface
      * @param interfaceId unique interface id
      */

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
index 9a4c034..d9668ea 100644
--- a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
@@ -89,6 +89,12 @@ public interface ComputeResource {
      */
     List<ComputeResourceDescription> getComputeResourceList (Map<String, String> filters) throws AppCatalogException;
 
+    List<ComputeResourceDescription> getAllComputeResourceList () throws AppCatalogException;
+
+    List<String> getAllComputeResourceIdList () throws AppCatalogException;
+
+
+
 //    /**
 //     * This method will retrieve GlobusJobSubmission object
 //     * @param submissionId unique submission id

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationDeploymentImpl.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationDeploymentImpl.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationDeploymentImpl.java
index 04c1a0e..2c33c67 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationDeploymentImpl.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationDeploymentImpl.java
@@ -235,6 +235,33 @@ public class ApplicationDeploymentImpl implements ApplicationDeployment {
     }
 
     @Override
+    public List<ApplicationDeploymentDescription> getAllApplicationDeployements() throws AppCatalogException {
+        try {
+            AppDeploymentResource resource = new AppDeploymentResource();
+            List<Resource> resources = resource.getAll();
+            if (resources != null && !resources.isEmpty()){
+                return AppCatalogThriftConversion.getAppDepDescList(resources);
+            }
+
+        }catch (Exception e){
+            logger.error("Error while retrieving app deployment list...", e);
+            throw new AppCatalogException(e);
+        }
+        return null;
+    }
+
+    @Override
+    public List<String> getAllApplicationDeployementIds() throws AppCatalogException {
+        try {
+            AppDeploymentResource resource = new AppDeploymentResource();
+            return resource.getAllIds();
+        }catch (Exception e){
+            logger.error("Error while retrieving app deployment list...", e);
+            throw new AppCatalogException(e);
+        }
+    }
+
+    @Override
     public boolean isAppDeploymentExists(String deploymentId) throws AppCatalogException {
         try {
            AppDeploymentResource deploymentResource = new AppDeploymentResource();

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
index 65434b8..0354c7c 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
@@ -282,6 +282,33 @@ public class ApplicationInterfaceImpl implements ApplicationInterface {
     }
 
     @Override
+    public List<ApplicationInterfaceDescription> getAllApplicationInterfaces() throws AppCatalogException {
+        try {
+            AppInterfaceResource resource = new AppInterfaceResource();
+            List<Resource> resources = resource.getAll();
+            if (resources != null && !resources.isEmpty()){
+                return AppCatalogThriftConversion.getAppInterfaceDescList(resources);
+            }
+
+        }catch (Exception e){
+            logger.error("Error while retrieving app interface list...", e);
+            throw new AppCatalogException(e);
+        }
+        return null;
+    }
+
+    @Override
+    public List<String> getAllApplicationInterfaceIds() throws AppCatalogException {
+        try {
+            AppInterfaceResource resource = new AppInterfaceResource();
+            return resource.getAllIds();
+        }catch (Exception e){
+            logger.error("Error while retrieving app interface list...", e);
+            throw new AppCatalogException(e);
+        }
+    }
+
+    @Override
     public boolean removeApplicationInterface(String interfaceId) throws AppCatalogException {
         try {
             AppInterfaceResource resource = new AppInterfaceResource();

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ComputeResourceImpl.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ComputeResourceImpl.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ComputeResourceImpl.java
index 3b9d459..e092071 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ComputeResourceImpl.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ComputeResourceImpl.java
@@ -412,6 +412,32 @@ public class ComputeResourceImpl implements ComputeResource {
         return null;
     }
 
+    @Override
+    public List<ComputeResourceDescription> getAllComputeResourceList() throws AppCatalogException {
+        try {
+            ComputeResourceResource resource = new ComputeResourceResource();
+            List<Resource> resources = resource.getAll();
+            if (resources != null && !resources.isEmpty()){
+                return AppCatalogThriftConversion.getComputeDescriptionList(resources);
+            }
+        }catch (Exception e){
+            logger.error("Error while retrieving compute resource list...", e);
+            throw new AppCatalogException(e);
+        }
+        return null;
+    }
+
+    @Override
+    public List<String> getAllComputeResourceIdList() throws AppCatalogException {
+        try {
+            ComputeResourceResource resource = new ComputeResourceResource();
+            return resource.getAllIds();
+        }catch (Exception e){
+            logger.error("Error while retrieving compute resource list...", e);
+            throw new AppCatalogException(e);
+        }
+    }
+
 //    @Override
 //    public GSISSHJobSubmission getGSISSHJobSubmission(String submissionId) throws AppCatalogException {
 //        try {

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppDeploymentResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppDeploymentResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppDeploymentResource.java
index db75acf..0f43bcb 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppDeploymentResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppDeploymentResource.java
@@ -214,6 +214,72 @@ public class AppDeploymentResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        List<Resource> appDeployments = new ArrayList<Resource>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(APPLICATION_DEPLOYMENT);
+            Query q = generator.selectQuery(em);
+            List results = q.getResultList();
+                if (results.size() != 0) {
+                    for (Object result : results) {
+                        ApplicationDeployment deployment = (ApplicationDeployment) result;
+                        AppDeploymentResource deploymentResource =
+                                (AppDeploymentResource) AppCatalogJPAUtils.getResource(AppCatalogResourceType.APPLICATION_DEPLOYMENT, deployment);
+                        appDeployments.add(deploymentResource);
+                    }
+                }
+            em.getTransaction().commit();
+            em.close();
+        } catch (Exception e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return appDeployments;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        List<String> appDeployments = new ArrayList<String>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(APPLICATION_DEPLOYMENT);
+            Query q = generator.selectQuery(em);
+            List results = q.getResultList();
+            if (results.size() != 0) {
+                for (Object result : results) {
+                    ApplicationDeployment deployment = (ApplicationDeployment) result;
+                    appDeployments.add(deployment.getDeploymentID());
+                }
+            }
+            em.getTransaction().commit();
+            em.close();
+        } catch (Exception e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return appDeployments;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> appDeployments = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppEnvironmentResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppEnvironmentResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppEnvironmentResource.java
index 50cb8d5..e4cdf52 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppEnvironmentResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppEnvironmentResource.java
@@ -204,6 +204,16 @@ public class AppEnvironmentResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         logger.error("Unsupported for objects with a composite identifier");
         throw new AppCatalogException("Unsupported for objects with a composite identifier");

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppInterfaceResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppInterfaceResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppInterfaceResource.java
index 9569049..ffab560 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppInterfaceResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppInterfaceResource.java
@@ -154,6 +154,72 @@ public class AppInterfaceResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        List<Resource> resourceList = new ArrayList<Resource>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(APPLICATION_INTERFACE);
+            Query   q = generator.selectQuery(em);
+            List results = q.getResultList();
+                if (results.size() != 0) {
+                    for (Object result : results) {
+                        ApplicationInterface appInterface = (ApplicationInterface) result;
+                        AppInterfaceResource resource =
+                                (AppInterfaceResource) AppCatalogJPAUtils.getResource(AppCatalogResourceType.APPLICATION_INTERFACE, appInterface);
+                        resourceList.add(resource);
+                    }
+                }
+            em.getTransaction().commit();
+            em.close();
+        } catch (Exception e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return resourceList;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        List<String> resourceList = new ArrayList<String>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(APPLICATION_INTERFACE);
+            Query   q = generator.selectQuery(em);
+            List results = q.getResultList();
+            if (results.size() != 0) {
+                for (Object result : results) {
+                    ApplicationInterface appInterface = (ApplicationInterface) result;
+                    resourceList.add(appInterface.getInterfaceID());
+                }
+            }
+            em.getTransaction().commit();
+            em.close();
+        } catch (Exception e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return resourceList;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> resourceList = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleMappingResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleMappingResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleMappingResource.java
index 9cd66ee..2b904ad 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleMappingResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleMappingResource.java
@@ -206,6 +206,16 @@ public class AppModuleMappingResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         logger.error("Unsupported for objects with a composite identifier");
         throw new AppCatalogException("Unsupported for objects with a composite identifier");

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleResource.java
index 32e060a..adc2fa0 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/AppModuleResource.java
@@ -172,6 +172,16 @@ public class AppModuleResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> moduleResources = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationInputResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationInputResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationInputResource.java
index 356c743..bd64dec 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationInputResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationInputResource.java
@@ -173,6 +173,16 @@ public class ApplicationInputResource extends AbstractResource {
         return appInputResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> appInputResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationOutputResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationOutputResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationOutputResource.java
index 50a2865..9aa8a6c 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationOutputResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ApplicationOutputResource.java
@@ -168,6 +168,16 @@ public class ApplicationOutputResource extends AbstractResource {
         return appInputResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> appOutputResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/BatchQueueResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/BatchQueueResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/BatchQueueResource.java
index 5930e9b..91cd60f 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/BatchQueueResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/BatchQueueResource.java
@@ -158,8 +158,18 @@ public class BatchQueueResource extends AbstractResource {
 		}
 		return batchQueueResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> batchQueueResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeHostPreferenceResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeHostPreferenceResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeHostPreferenceResource.java
index eb044b2..5eec210 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeHostPreferenceResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeHostPreferenceResource.java
@@ -287,6 +287,16 @@ public class ComputeHostPreferenceResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         logger.error("Unsupported for objects with a composite identifier");
         throw new AppCatalogException("Unsupported for objects with a composite identifier");

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceFileSystemResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceFileSystemResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceFileSystemResource.java
index b8b634a..7cbaac2 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceFileSystemResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceFileSystemResource.java
@@ -154,8 +154,18 @@ public class ComputeResourceFileSystemResource extends AbstractResource {
 		}
 		return computeResourceFileSystemResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> computeResourceFileSystemResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceResource.java
index 1a9fdc6..51a1fa1 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ComputeResourceResource.java
@@ -132,8 +132,69 @@ public class ComputeResourceResource extends AbstractResource {
 		}
 		return computeResourceResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        List<Resource> computeResourceResources = new ArrayList<Resource>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(COMPUTE_RESOURCE);
+            Query q = generator.selectQuery(em);
+            List<?> results = q.getResultList();
+            for (Object result : results) {
+                ComputeResource computeResource = (ComputeResource) result;
+                ComputeResourceResource computeResourceResource = (ComputeResourceResource) AppCatalogJPAUtils.getResource(AppCatalogResourceType.COMPUTE_RESOURCE, computeResource);
+                computeResourceResources.add(computeResourceResource);
+            }
+            em.getTransaction().commit();
+            em.close();
+        } catch (ApplicationSettingsException e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return computeResourceResources;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        List<String> computeResourceResources = new ArrayList<String>();
+        EntityManager em = null;
+        try {
+            em = AppCatalogJPAUtils.getEntityManager();
+            em.getTransaction().begin();
+            AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(COMPUTE_RESOURCE);
+            Query q = generator.selectQuery(em);
+            List<?> results = q.getResultList();
+            for (Object result : results) {
+                ComputeResource computeResource = (ComputeResource) result;
+                computeResourceResources.add(computeResource.getResourceId());
+            }
+            em.getTransaction().commit();
+            em.close();
+        } catch (ApplicationSettingsException e) {
+            logger.error(e.getMessage(), e);
+            throw new AppCatalogException(e);
+        } finally {
+            if (em != null && em.isOpen()) {
+                if (em.getTransaction().isActive()) {
+                    em.getTransaction().rollback();
+                }
+                em.close();
+            }
+        }
+        return computeResourceResources;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> computeResourceResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementInterfaceResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementInterfaceResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementInterfaceResource.java
index 92fdc02..37b8a9d 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementInterfaceResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementInterfaceResource.java
@@ -155,8 +155,18 @@ public class DataMovementInterfaceResource extends AbstractResource {
 		}
 		return dataMovementInterfaceResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> dataMovementInterfaceResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementProtocolResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementProtocolResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementProtocolResource.java
index 435f0ff..3305183 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementProtocolResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/DataMovementProtocolResource.java
@@ -165,6 +165,16 @@ public class DataMovementProtocolResource extends AbstractResource {
         return dataMoveProtocolResourcesList;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> dataMovementProtocolIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHExportResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHExportResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHExportResource.java
index 7eab4ef..a6b82bc 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHExportResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHExportResource.java
@@ -152,6 +152,16 @@ public class GSISSHExportResource extends AbstractResource {
         return gsiSSHExportResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> gsiSSHExportIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPostJobCommandResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPostJobCommandResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPostJobCommandResource.java
index c9f1af3..d88666a 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPostJobCommandResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPostJobCommandResource.java
@@ -157,6 +157,16 @@ public class GSISSHPostJobCommandResource extends AbstractResource {
         return gsiSSHPostJobCommandResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> gsiSSHPostJobResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPreJobCommandResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPreJobCommandResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPreJobCommandResource.java
index d998724..9e9cd65 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPreJobCommandResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHPreJobCommandResource.java
@@ -156,6 +156,16 @@ public class GSISSHPreJobCommandResource extends AbstractResource {
         return gsiSSHPreJobResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> gsiSSHPreJobResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHSubmissionResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHSubmissionResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHSubmissionResource.java
index 56de205..18073da 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHSubmissionResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GSISSHSubmissionResource.java
@@ -160,6 +160,16 @@ public class GSISSHSubmissionResource extends AbstractResource {
         return gsiSSHSubmissionResourceList;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> gsiSSHSubmissionResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GatewayProfileResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GatewayProfileResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GatewayProfileResource.java
index 8ce60eb..9907e31 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GatewayProfileResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GatewayProfileResource.java
@@ -128,6 +128,16 @@ public class GatewayProfileResource extends AbstractResource {
         return gatewayProfileResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> gatewayProfileResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusGKEndpointResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusGKEndpointResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusGKEndpointResource.java
index fe01a27..febf629 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusGKEndpointResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusGKEndpointResource.java
@@ -149,6 +149,16 @@ public class GlobusGKEndpointResource extends AbstractResource {
         return resources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> list = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusJobSubmissionResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusJobSubmissionResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusJobSubmissionResource.java
index ed547cb..55cd7a9 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusJobSubmissionResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GlobusJobSubmissionResource.java
@@ -132,6 +132,16 @@ public class GlobusJobSubmissionResource extends AbstractResource {
         return globusSubmissionResourceList;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> globusSubmissionResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpDataMovementResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpDataMovementResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpDataMovementResource.java
index 2244ea0..a5d08c3 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpDataMovementResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpDataMovementResource.java
@@ -111,8 +111,18 @@ public class GridftpDataMovementResource extends AbstractResource {
 		}
 		return gridftpDataMovementResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> gridftpDataMovementResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpEndpointResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpEndpointResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpEndpointResource.java
index 9c0e538..3e21cfc 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpEndpointResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/GridftpEndpointResource.java
@@ -132,8 +132,18 @@ public class GridftpEndpointResource extends AbstractResource {
 		}
 		return gridftpEndpointResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> gridftpEndpointResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostAliasResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostAliasResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostAliasResource.java
index c91e020..fe789a5 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostAliasResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostAliasResource.java
@@ -148,6 +148,16 @@ public class HostAliasResource extends AbstractResource {
         return hostAliasResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 
         List<String> hostAliasResourceIDs = new ArrayList<String>();

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostIPAddressResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostIPAddressResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostIPAddressResource.java
index 7b41fd7..2d2b2f5 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostIPAddressResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/HostIPAddressResource.java
@@ -152,6 +152,16 @@ public class HostIPAddressResource extends AbstractResource{
         return hostIPAddressResources;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 
         List<String> hostIPAddressResourceIDs = new ArrayList<String>();

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobManagerCommandResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobManagerCommandResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobManagerCommandResource.java
index a2d96b6..e177cd3 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobManagerCommandResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobManagerCommandResource.java
@@ -154,8 +154,18 @@ public class JobManagerCommandResource extends AbstractResource {
 		}
 		return jobManagerCommandResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> jobManagerCommandResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionInterfaceResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionInterfaceResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionInterfaceResource.java
index c42c896..745dd93 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionInterfaceResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionInterfaceResource.java
@@ -155,8 +155,18 @@ public class JobSubmissionInterfaceResource extends AbstractResource {
 		}
 		return jobSubmissionInterfaceResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> jobSubmissionInterfaceResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionProtocolResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionProtocolResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionProtocolResource.java
index 8232748..b07bdf9 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionProtocolResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/JobSubmissionProtocolResource.java
@@ -165,6 +165,16 @@ public class JobSubmissionProtocolResource extends AbstractResource {
         return jobSubmissionProtocolResourceList;
     }
 
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> jobSubmissionProtocolIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryApendPathResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryApendPathResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryApendPathResource.java
index e08cd29..ee943a2 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryApendPathResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryApendPathResource.java
@@ -204,6 +204,16 @@ public class LibraryApendPathResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         logger.error("Unsupported for objects with a composite identifier");
         throw new AppCatalogException("Unsupported for objects with a composite identifier");

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryPrepandPathResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryPrepandPathResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryPrepandPathResource.java
index f20b16d..4f8890d 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryPrepandPathResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LibraryPrepandPathResource.java
@@ -204,6 +204,16 @@ public class LibraryPrepandPathResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         logger.error("Unsupported for objects with a composite identifier");
         throw new AppCatalogException("Unsupported for objects with a composite identifier");

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalDataMovementResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalDataMovementResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalDataMovementResource.java
index e8800c2..a909122 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalDataMovementResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalDataMovementResource.java
@@ -131,8 +131,18 @@ public class LocalDataMovementResource extends AbstractResource {
 		}
 		return localDataMovementResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> localDataMovementResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalSubmissionResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalSubmissionResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalSubmissionResource.java
index 6a441c9..6774b04 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalSubmissionResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/LocalSubmissionResource.java
@@ -134,8 +134,18 @@ public class LocalSubmissionResource extends AbstractResource {
 		}
 		return localSubmissionResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> localSubmissionResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ModuleLoadCmdResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ModuleLoadCmdResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ModuleLoadCmdResource.java
index d06699c..90d59a2 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ModuleLoadCmdResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ModuleLoadCmdResource.java
@@ -154,6 +154,16 @@ public class ModuleLoadCmdResource extends AbstractResource {
     }
 
     @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
     public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
         List<String> moduleLoadCmdResourceIDs = new ArrayList<String>();
         EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/Resource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/Resource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/Resource.java
index 8250138..d4ad2fd 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/Resource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/Resource.java
@@ -49,6 +49,20 @@ public interface Resource {
      */
     List<Resource> get(String fieldName, Object value) throws AppCatalogException;
 
+    /**
+     *
+     * @return
+     * @throws AppCatalogException
+     */
+    List<Resource> getAll() throws AppCatalogException;
+
+    /**
+     *
+     * @return
+     * @throws AppCatalogException
+     */
+    List<String> getAllIds() throws AppCatalogException;
+
     /** This method will return list of resource ids according to given criteria
      * @param fieldName field name
      * @param value value of the field

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ResourceJobManagerResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ResourceJobManagerResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ResourceJobManagerResource.java
index f003127..7ba0141 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ResourceJobManagerResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ResourceJobManagerResource.java
@@ -134,8 +134,18 @@ public class ResourceJobManagerResource extends AbstractResource {
 		}
 		return resourceJobManagerResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> resourceJobManagerResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ScpDataMovementResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ScpDataMovementResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ScpDataMovementResource.java
index 9e356da..bc9f71a 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ScpDataMovementResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/ScpDataMovementResource.java
@@ -113,8 +113,18 @@ public class ScpDataMovementResource extends AbstractResource {
 		}
 		return scpDataMovementResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> scpDataMovementResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/SshJobSubmissionResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/SshJobSubmissionResource.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/SshJobSubmissionResource.java
index 06c3024..591105d 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/SshJobSubmissionResource.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/resources/SshJobSubmissionResource.java
@@ -116,8 +116,18 @@ public class SshJobSubmissionResource extends AbstractResource {
 		}
 		return sshJobSubmissionResources;
 	}
-	
-	@Override
+
+    @Override
+    public List<Resource> getAll() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
+    public List<String> getAllIds() throws AppCatalogException {
+        return null;
+    }
+
+    @Override
 	public List<String> getIds(String fieldName, Object value) throws AppCatalogException {
 		List<String> sshJobSubmissionResourceIDs = new ArrayList<String>();
 		EntityManager em = null;

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppDeploymentTest.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppDeploymentTest.java b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppDeploymentTest.java
index 7efeed7..1b38af1 100644
--- a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppDeploymentTest.java
+++ b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppDeploymentTest.java
@@ -22,7 +22,11 @@
 package org.apache.airavata.app.catalog.test;
 
 import org.airavata.appcatalog.cpi.*;
+import org.airavata.appcatalog.cpi.ApplicationDeployment;
+import org.airavata.appcatalog.cpi.ApplicationInterface;
+import org.airavata.appcatalog.cpi.ComputeResource;
 import org.apache.aiaravata.application.catalog.data.impl.AppCatalogFactory;
+import org.apache.aiaravata.application.catalog.data.model.*;
 import org.apache.aiaravata.application.catalog.data.resources.AbstractResource;
 import org.apache.airavata.app.catalog.test.util.Initialize;
 import org.apache.airavata.common.utils.AiravataUtils;
@@ -121,6 +125,13 @@ public class AppDeploymentTest {
         hostFilter.put(AbstractResource.ApplicationDeploymentConstants.COMPUTE_HOST_ID, hostId);
         List<ApplicationDeploymentDescription> applicationDeployementsForHost = appDep.getApplicationDeployements(hostFilter);
         System.out.println("******** Size of App deployments for host *********** : " + applicationDeployementsForHost.size());
+
+        List<String> allApplicationDeployementIds = appDep.getAllApplicationDeployementIds();
+        System.out.println("******** Size of all App deployments ids *********** : " + allApplicationDeployementIds.size());
+
+        List<ApplicationDeploymentDescription> allApplicationDeployements = appDep.getAllApplicationDeployements();
+        System.out.println("******** Size of all App deployments *********** : " + allApplicationDeployements.size());
+
         assertTrue("App interface saved successfully", app != null);
     }
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
index afd4581..614ea9d 100644
--- a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
+++ b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
@@ -126,6 +126,12 @@ public class AppInterfaceTest {
             List<ApplicationInterfaceDescription> apps = appInterface.getApplicationInterfaces(filters);
             System.out.println("********** Size og app interfaces ************* : " + apps.size());
 
+            List<ApplicationInterfaceDescription> appInts = appInterface.getAllApplicationInterfaces();
+            System.out.println("********** Size of all app interfaces ************* : " + appInts.size());
+
+            List<String> appIntIds = appInterface.getAllApplicationInterfaceIds();
+            System.out.println("********** Size of all app interface ids ************* : " + appIntIds.size());
+
             assertTrue("App interface saved successfully", ainterface != null);
         }catch (AppCatalogException e) {
             e.printStackTrace();

http://git-wip-us.apache.org/repos/asf/airavata/blob/c7a33006/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/ComputeResourceTest.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/ComputeResourceTest.java b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/ComputeResourceTest.java
index 529f95f..cf7ed30 100644
--- a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/ComputeResourceTest.java
+++ b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/ComputeResourceTest.java
@@ -170,6 +170,12 @@ public class ComputeResourceTest {
             List<ComputeResourceDescription> computeResourceList = computeResource.getComputeResourceList(cfilters);
             System.out.println("**********Size of compute resources ************* : " +  computeResourceList.size());
 
+            List<ComputeResourceDescription> allComputeResourceList = computeResource.getAllComputeResourceList();
+            System.out.println("**********Size of all compute resources ************* : " +  allComputeResourceList.size());
+
+            List<String> allComputeResourceIdList = computeResource.getAllComputeResourceIdList();
+            System.out.println("**********Size of all compute resources ids ************* : " +  allComputeResourceIdList.size());
+
 //            Map<String, String> globusfilters = new HashMap<String, String>();
 //            globusfilters.put(AbstractResource.GlobusJobSubmissionConstants.RESOURCE_JOB_MANAGER, ResourceJobManager.PBS.toString());
 //            List<GlobusJobSubmission> gList = computeResource.getGlobusJobSubmissionList(globusfilters);


Mime
View raw message