airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch group-based-auth updated: Search for app deployments by accessible app deployment ids
Date Tue, 20 Feb 2018 17:17:23 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch group-based-auth
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/group-based-auth by this push:
     new b1fa867  Search for app deployments by accessible app deployment ids
b1fa867 is described below

commit b1fa867cb2ce5034b263a585f2bb502a19f9fb15
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Tue Feb 20 12:16:52 2018 -0500

    Search for app deployments by accessible app deployment ids
---
 .../catalog/impl/ApplicationDeploymentImpl.java    |  22 +-
 .../app/catalog/impl/ApplicationInterfaceImpl.java |  21 +-
 .../catalog/resources/AppDeploymentResource.java   |   8 +-
 .../airavata/app/catalog/AppDeploymentTest.java    |   2 +-
 .../airavata/registry/api/RegistryService.java     | 338 ++++++++++-----------
 .../component-cpis/registry-api.thrift             |  14 +-
 6 files changed, 220 insertions(+), 185 deletions(-)

diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
index 8b82cfe..e7080c8 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
@@ -378,12 +378,30 @@ public class ApplicationDeploymentImpl implements ApplicationDeployment {
     }
 
     @Override
-    public List<ApplicationDeploymentDescription> getAllApplicationDeployements(String gatewayId, List<String> accessibleAppIds) throws AppCatalogException {
+    public List<ApplicationDeploymentDescription> getAllApplicationDeployements(String gatewayId) throws AppCatalogException {
         List<ApplicationDeploymentDescription> deploymentDescriptions = new ArrayList<ApplicationDeploymentDescription>();
         try {
             AppDeploymentResource resource = new AppDeploymentResource();
             resource.setGatewayId(gatewayId);
-            resource.setAccessibleAppIds(accessibleAppIds);
+            List<AppCatalogResource> resources = resource.getAll();
+            if (resources != null && !resources.isEmpty()){
+                deploymentDescriptions = AppCatalogThriftConversion.getAppDepDescList(resources);
+            }
+
+        }catch (Exception e){
+            logger.error("Error while retrieving app deployment list...", e);
+            throw new AppCatalogException(e);
+        }
+        return deploymentDescriptions;
+    }
+
+    @Override
+    public List<ApplicationDeploymentDescription> getAccessibleApplicationDeployements (String gatewayId, List<String> accessibleAppIds) throws AppCatalogException {
+        List<ApplicationDeploymentDescription> deploymentDescriptions = new ArrayList<ApplicationDeploymentDescription>();
+        try {
+            AppDeploymentResource resource = new AppDeploymentResource();
+            resource.setGatewayId(gatewayId);
+            resource.setAccessibleAppDeploymentIds(accessibleAppIds);
             List<AppCatalogResource> resources = resource.getAll();
             if (resources != null && !resources.isEmpty()){
                 deploymentDescriptions = AppCatalogThriftConversion.getAppDepDescList(resources);
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationInterfaceImpl.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationInterfaceImpl.java
index adcb3e8..55591e5 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationInterfaceImpl.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationInterfaceImpl.java
@@ -323,12 +323,11 @@ public class ApplicationInterfaceImpl implements ApplicationInterface {
     }
 
     @Override
-    public List<ApplicationModule> getAllApplicationModules(String gatewayId, List<String> accessibleAppIds) throws AppCatalogException {
+    public List<ApplicationModule> getAllApplicationModules(String gatewayId) throws AppCatalogException {
         List<ApplicationModule> applicationModules = new ArrayList<ApplicationModule>();
         try {
             AppModuleResource resource = new AppModuleResource();
             resource.setGatewayId(gatewayId);
-            resource.setAccessibleAppIds(accessibleAppIds);
             List<AppCatalogResource> resources = resource.getAll();
             if (resources != null && !resources.isEmpty()){
                 applicationModules = AppCatalogThriftConversion.getAppModules(resources);
@@ -341,6 +340,24 @@ public class ApplicationInterfaceImpl implements ApplicationInterface {
     }
 
     @Override
+    public List<ApplicationModule> getAccessibleApplicationModules(String gatewayId, List<String> accessibleAppIds) throws AppCatalogException {
+        List<ApplicationModule> applicationModules = new ArrayList<ApplicationModule>();
+        try {
+            AppModuleResource resource = new AppModuleResource();
+            resource.setGatewayId(gatewayId);
+            resource.setAccessibleAppIds(accessibleAppIds);
+            List<AppCatalogResource> resources = resource.getAll();
+            if (resources != null && !resources.isEmpty()){
+                applicationModules = AppCatalogThriftConversion.getAppModules(resources);
+            }
+        }catch (Exception e){
+            logger.error("Error while retrieving application module list...", e);
+            throw new AppCatalogException(e);
+        }
+        return applicationModules;
+    }
+
+    @Override
     public List<ApplicationInterfaceDescription> getApplicationInterfaces(Map<String, String> filters) throws AppCatalogException {
         List<ApplicationInterfaceDescription> appInterfaces = new ArrayList<ApplicationInterfaceDescription>();
         try {
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppDeploymentResource.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppDeploymentResource.java
index a729c42..0e04281 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppDeploymentResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppDeploymentResource.java
@@ -55,11 +55,11 @@ public class AppDeploymentResource extends AppCatAbstractResource {
     private AppModuleResource moduleResource;
     private Timestamp createdTime;
     private Timestamp updatedTime;
-    private List<String> accessibleAppIds;
+    private List<String> accessibleAppDeploymentIds;
 
-    public List<String> getAccessibleAppIds() { return accessibleAppIds; }
+    public List<String> getAccessibleAppDeploymentIds() { return accessibleAppDeploymentIds; }
 
-    public void setAccessibleAppIds(List<String> accessibleAppIds) { this.accessibleAppIds = accessibleAppIds; }
+    public void setAccessibleAppDeploymentIds(List<String> accessibleAppDeploymentIds) { this.accessibleAppDeploymentIds = accessibleAppDeploymentIds; }
 
     public String getGatewayId() { return gatewayId; }
 
@@ -317,7 +317,7 @@ public class AppDeploymentResource extends AppCatAbstractResource {
             em.getTransaction().begin();
             AppCatalogQueryGenerator generator = new AppCatalogQueryGenerator(APPLICATION_DEPLOYMENT);
             generator.setParameter(ApplicationDeploymentConstants.GATEWAY_ID, gatewayId);
-            generator.setParameter(ApplicationDeploymentConstants.ACCESSIBLE_APP_IDS, accessibleAppIds);
+            generator.setParameter(ApplicationDeploymentConstants.DEPLOYMENT_ID, accessibleAppDeploymentIds);
             Query q = generator.selectQuery(em);
             List results = q.getResultList();
                 if (results.size() != 0) {
diff --git a/modules/registry/registry-core/src/test/java/org/apache/airavata/app/catalog/AppDeploymentTest.java b/modules/registry/registry-core/src/test/java/org/apache/airavata/app/catalog/AppDeploymentTest.java
index 66db7e6..c54b167 100644
--- a/modules/registry/registry-core/src/test/java/org/apache/airavata/app/catalog/AppDeploymentTest.java
+++ b/modules/registry/registry-core/src/test/java/org/apache/airavata/app/catalog/AppDeploymentTest.java
@@ -136,7 +136,7 @@ public class AppDeploymentTest {
 
         List<String> accessibleAppIds = new ArrayList<>();
         accessibleAppIds.add(wrfModuleId);
-        List<ApplicationDeploymentDescription> allApplicationDeployements = appDep.getAllApplicationDeployements(ServerSettings.getDefaultUserGateway(), accessibleAppIds);
+        List<ApplicationDeploymentDescription> allApplicationDeployements = appDep.getAccessibleApplicationDeployements(ServerSettings.getDefaultUserGateway(), accessibleAppIds);
         System.out.println("******** Size of all App deployments *********** : " + allApplicationDeployements.size());
 
         assertTrue("App interface saved successfully", app != null);
diff --git a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
index f7fac6e..dd38e61 100644
--- a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
+++ b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
@@ -836,17 +836,17 @@ public class RegistryService {
      * 
      * @param gatewayId
      *    ID of the gateway which need to list all available application deployment documentation.
-     * @param accessibleAppIds
-     *    Application IDs which are accessible to the current user.
+     * @param accessibleAppDeploymentIds
+     *    Application Deployment IDs which are accessible to the current user.
      * 
      * @return list
      *    Returns the list of all Application Module Objects.
      * 
      * 
      * @param gatewayId
-     * @param accessibleAppIds
+     * @param accessibleAppDeploymentIds
      */
-    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
+    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
 
     /**
      * 
@@ -953,17 +953,17 @@ public class RegistryService {
      * @param gatewayId
      *    ID of the gateway which need to list all available application deployment documentation.
      * 
-     * @param accessibleAppIds
-     *    Application IDs which are accessible to the current user.
+     * @param accessibleAppDeploymentIds
+     *    Application Deployment IDs which are accessible to the current user.
      * 
-     * @return list<applicationDeployment.
+     * @return list<applicationDeployment>
      *    Returns the list of all application Deployment Objects.
      * 
      * 
      * @param gatewayId
-     * @param accessibleAppIds
+     * @param accessibleAppDeploymentIds
      */
-    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
+    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
 
     /**
      * Fetch a list of Deployed Compute Hosts.
@@ -2672,7 +2672,7 @@ public class RegistryService {
 
     public void getAllAppModules(java.lang.String gatewayId, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException;
 
-    public void getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException;
+    public void getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException;
 
     public void deleteApplicationModule(java.lang.String appModuleId, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException;
 
@@ -2686,7 +2686,7 @@ public class RegistryService {
 
     public void getAllApplicationDeployments(java.lang.String gatewayId, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException;
 
-    public void getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException;
+    public void getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException;
 
     public void getAppModuleDeployedResources(java.lang.String appModuleId, org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> resultHandler) throws org.apache.thrift.TException;
 
@@ -4527,17 +4527,17 @@ public class RegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAppModules failed: unknown result");
     }
 
-    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
+    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
     {
-      send_getAccessibleAppModules(gatewayId, accessibleAppIds);
+      send_getAccessibleAppModules(gatewayId, accessibleAppDeploymentIds);
       return recv_getAccessibleAppModules();
     }
 
-    public void send_getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.thrift.TException
+    public void send_getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.thrift.TException
     {
       getAccessibleAppModules_args args = new getAccessibleAppModules_args();
       args.setGatewayId(gatewayId);
-      args.setAccessibleAppIds(accessibleAppIds);
+      args.setAccessibleAppDeploymentIds(accessibleAppDeploymentIds);
       sendBase("getAccessibleAppModules", args);
     }
 
@@ -4712,17 +4712,17 @@ public class RegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllApplicationDeployments failed: unknown result");
     }
 
-    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
+    public java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
     {
-      send_getAccessibleApplicationDeployments(gatewayId, accessibleAppIds);
+      send_getAccessibleApplicationDeployments(gatewayId, accessibleAppDeploymentIds);
       return recv_getAccessibleApplicationDeployments();
     }
 
-    public void send_getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds) throws org.apache.thrift.TException
+    public void send_getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds) throws org.apache.thrift.TException
     {
       getAccessibleApplicationDeployments_args args = new getAccessibleApplicationDeployments_args();
       args.setGatewayId(gatewayId);
-      args.setAccessibleAppIds(accessibleAppIds);
+      args.setAccessibleAppDeploymentIds(accessibleAppDeploymentIds);
       sendBase("getAccessibleApplicationDeployments", args);
     }
 
@@ -9905,27 +9905,27 @@ public class RegistryService {
       }
     }
 
-    public void getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException {
+    public void getAccessibleAppModules(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      getAccessibleAppModules_call method_call = new getAccessibleAppModules_call(gatewayId, accessibleAppIds, resultHandler, this, ___protocolFactory, ___transport);
+      getAccessibleAppModules_call method_call = new getAccessibleAppModules_call(gatewayId, accessibleAppDeploymentIds, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
 
     public static class getAccessibleAppModules_call extends org.apache.thrift.async.TAsyncMethodCall<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> {
       private java.lang.String gatewayId;
-      private java.util.List<java.lang.String> accessibleAppIds;
-      public getAccessibleAppModules_call(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+      private java.util.List<java.lang.String> accessibleAppDeploymentIds;
+      public getAccessibleAppModules_call(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
         super(client, protocolFactory, transport, resultHandler, false);
         this.gatewayId = gatewayId;
-        this.accessibleAppIds = accessibleAppIds;
+        this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAccessibleAppModules", org.apache.thrift.protocol.TMessageType.CALL, 0));
         getAccessibleAppModules_args args = new getAccessibleAppModules_args();
         args.setGatewayId(gatewayId);
-        args.setAccessibleAppIds(accessibleAppIds);
+        args.setAccessibleAppDeploymentIds(accessibleAppDeploymentIds);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -10138,27 +10138,27 @@ public class RegistryService {
       }
     }
 
-    public void getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException {
+    public void getAccessibleApplicationDeployments(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      getAccessibleApplicationDeployments_call method_call = new getAccessibleApplicationDeployments_call(gatewayId, accessibleAppIds, resultHandler, this, ___protocolFactory, ___transport);
+      getAccessibleApplicationDeployments_call method_call = new getAccessibleApplicationDeployments_call(gatewayId, accessibleAppDeploymentIds, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
 
     public static class getAccessibleApplicationDeployments_call extends org.apache.thrift.async.TAsyncMethodCall<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> {
       private java.lang.String gatewayId;
-      private java.util.List<java.lang.String> accessibleAppIds;
-      public getAccessibleApplicationDeployments_call(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+      private java.util.List<java.lang.String> accessibleAppDeploymentIds;
+      public getAccessibleApplicationDeployments_call(java.lang.String gatewayId, java.util.List<java.lang.String> accessibleAppDeploymentIds, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thri [...]
         super(client, protocolFactory, transport, resultHandler, false);
         this.gatewayId = gatewayId;
-        this.accessibleAppIds = accessibleAppIds;
+        this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
         prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAccessibleApplicationDeployments", org.apache.thrift.protocol.TMessageType.CALL, 0));
         getAccessibleApplicationDeployments_args args = new getAccessibleApplicationDeployments_args();
         args.setGatewayId(gatewayId);
-        args.setAccessibleAppIds(accessibleAppIds);
+        args.setAccessibleAppDeploymentIds(accessibleAppDeploymentIds);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -15834,7 +15834,7 @@ public class RegistryService {
       public getAccessibleAppModules_result getResult(I iface, getAccessibleAppModules_args args) throws org.apache.thrift.TException {
         getAccessibleAppModules_result result = new getAccessibleAppModules_result();
         try {
-          result.success = iface.getAccessibleAppModules(args.gatewayId, args.accessibleAppIds);
+          result.success = iface.getAccessibleAppModules(args.gatewayId, args.accessibleAppDeploymentIds);
         } catch (org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
           result.rse = rse;
         }
@@ -16005,7 +16005,7 @@ public class RegistryService {
       public getAccessibleApplicationDeployments_result getResult(I iface, getAccessibleApplicationDeployments_args args) throws org.apache.thrift.TException {
         getAccessibleApplicationDeployments_result result = new getAccessibleApplicationDeployments_result();
         try {
-          result.success = iface.getAccessibleApplicationDeployments(args.gatewayId, args.accessibleAppIds);
+          result.success = iface.getAccessibleApplicationDeployments(args.gatewayId, args.accessibleAppDeploymentIds);
         } catch (org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
           result.rse = rse;
         }
@@ -23012,7 +23012,7 @@ public class RegistryService {
       }
 
       public void start(I iface, getAccessibleAppModules_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException {
-        iface.getAccessibleAppModules(args.gatewayId, args.accessibleAppIds,resultHandler);
+        iface.getAccessibleAppModules(args.gatewayId, args.accessibleAppDeploymentIds,resultHandler);
       }
     }
 
@@ -23470,7 +23470,7 @@ public class RegistryService {
       }
 
       public void start(I iface, getAccessibleApplicationDeployments_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws org.apache.thrift.TException {
-        iface.getAccessibleApplicationDeployments(args.gatewayId, args.accessibleAppIds,resultHandler);
+        iface.getAccessibleApplicationDeployments(args.gatewayId, args.accessibleAppDeploymentIds,resultHandler);
       }
     }
 
@@ -85870,18 +85870,18 @@ public class RegistryService {
     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAccessibleAppModules_args");
 
     private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)1);
-    private static final org.apache.thrift.protocol.TField ACCESSIBLE_APP_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("accessibleAppIds", org.apache.thrift.protocol.TType.LIST, (short)2);
+    private static final org.apache.thrift.protocol.TField ACCESSIBLE_APP_DEPLOYMENT_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("accessibleAppDeploymentIds", org.apache.thrift.protocol.TType.LIST, (short)2);
 
     private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAccessibleAppModules_argsStandardSchemeFactory();
     private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAccessibleAppModules_argsTupleSchemeFactory();
 
     public java.lang.String gatewayId; // required
-    public java.util.List<java.lang.String> accessibleAppIds; // required
+    public java.util.List<java.lang.String> accessibleAppDeploymentIds; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.thrift.TFieldIdEnum {
       GATEWAY_ID((short)1, "gatewayId"),
-      ACCESSIBLE_APP_IDS((short)2, "accessibleAppIds");
+      ACCESSIBLE_APP_DEPLOYMENT_IDS((short)2, "accessibleAppDeploymentIds");
 
       private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
 
@@ -85898,8 +85898,8 @@ public class RegistryService {
         switch(fieldId) {
           case 1: // GATEWAY_ID
             return GATEWAY_ID;
-          case 2: // ACCESSIBLE_APP_IDS
-            return ACCESSIBLE_APP_IDS;
+          case 2: // ACCESSIBLE_APP_DEPLOYMENT_IDS
+            return ACCESSIBLE_APP_DEPLOYMENT_IDS;
           default:
             return null;
         }
@@ -85945,7 +85945,7 @@ public class RegistryService {
       java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
       tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-      tmpMap.put(_Fields.ACCESSIBLE_APP_IDS, new org.apache.thrift.meta_data.FieldMetaData("accessibleAppIds", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+      tmpMap.put(_Fields.ACCESSIBLE_APP_DEPLOYMENT_IDS, new org.apache.thrift.meta_data.FieldMetaData("accessibleAppDeploymentIds", org.apache.thrift.TFieldRequirementType.REQUIRED, 
           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
       metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
@@ -85957,11 +85957,11 @@ public class RegistryService {
 
     public getAccessibleAppModules_args(
       java.lang.String gatewayId,
-      java.util.List<java.lang.String> accessibleAppIds)
+      java.util.List<java.lang.String> accessibleAppDeploymentIds)
     {
       this();
       this.gatewayId = gatewayId;
-      this.accessibleAppIds = accessibleAppIds;
+      this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
     }
 
     /**
@@ -85971,9 +85971,9 @@ public class RegistryService {
       if (other.isSetGatewayId()) {
         this.gatewayId = other.gatewayId;
       }
-      if (other.isSetAccessibleAppIds()) {
-        java.util.List<java.lang.String> __this__accessibleAppIds = new java.util.ArrayList<java.lang.String>(other.accessibleAppIds);
-        this.accessibleAppIds = __this__accessibleAppIds;
+      if (other.isSetAccessibleAppDeploymentIds()) {
+        java.util.List<java.lang.String> __this__accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(other.accessibleAppDeploymentIds);
+        this.accessibleAppDeploymentIds = __this__accessibleAppDeploymentIds;
       }
     }
 
@@ -85984,7 +85984,7 @@ public class RegistryService {
     @Override
     public void clear() {
       this.gatewayId = null;
-      this.accessibleAppIds = null;
+      this.accessibleAppDeploymentIds = null;
     }
 
     public java.lang.String getGatewayId() {
@@ -86011,42 +86011,42 @@ public class RegistryService {
       }
     }
 
-    public int getAccessibleAppIdsSize() {
-      return (this.accessibleAppIds == null) ? 0 : this.accessibleAppIds.size();
+    public int getAccessibleAppDeploymentIdsSize() {
+      return (this.accessibleAppDeploymentIds == null) ? 0 : this.accessibleAppDeploymentIds.size();
     }
 
-    public java.util.Iterator<java.lang.String> getAccessibleAppIdsIterator() {
-      return (this.accessibleAppIds == null) ? null : this.accessibleAppIds.iterator();
+    public java.util.Iterator<java.lang.String> getAccessibleAppDeploymentIdsIterator() {
+      return (this.accessibleAppDeploymentIds == null) ? null : this.accessibleAppDeploymentIds.iterator();
     }
 
-    public void addToAccessibleAppIds(java.lang.String elem) {
-      if (this.accessibleAppIds == null) {
-        this.accessibleAppIds = new java.util.ArrayList<java.lang.String>();
+    public void addToAccessibleAppDeploymentIds(java.lang.String elem) {
+      if (this.accessibleAppDeploymentIds == null) {
+        this.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>();
       }
-      this.accessibleAppIds.add(elem);
+      this.accessibleAppDeploymentIds.add(elem);
     }
 
-    public java.util.List<java.lang.String> getAccessibleAppIds() {
-      return this.accessibleAppIds;
+    public java.util.List<java.lang.String> getAccessibleAppDeploymentIds() {
+      return this.accessibleAppDeploymentIds;
     }
 
-    public getAccessibleAppModules_args setAccessibleAppIds(java.util.List<java.lang.String> accessibleAppIds) {
-      this.accessibleAppIds = accessibleAppIds;
+    public getAccessibleAppModules_args setAccessibleAppDeploymentIds(java.util.List<java.lang.String> accessibleAppDeploymentIds) {
+      this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
       return this;
     }
 
-    public void unsetAccessibleAppIds() {
-      this.accessibleAppIds = null;
+    public void unsetAccessibleAppDeploymentIds() {
+      this.accessibleAppDeploymentIds = null;
     }
 
-    /** Returns true if field accessibleAppIds is set (has been assigned a value) and false otherwise */
-    public boolean isSetAccessibleAppIds() {
-      return this.accessibleAppIds != null;
+    /** Returns true if field accessibleAppDeploymentIds is set (has been assigned a value) and false otherwise */
+    public boolean isSetAccessibleAppDeploymentIds() {
+      return this.accessibleAppDeploymentIds != null;
     }
 
-    public void setAccessibleAppIdsIsSet(boolean value) {
+    public void setAccessibleAppDeploymentIdsIsSet(boolean value) {
       if (!value) {
-        this.accessibleAppIds = null;
+        this.accessibleAppDeploymentIds = null;
       }
     }
 
@@ -86060,11 +86060,11 @@ public class RegistryService {
         }
         break;
 
-      case ACCESSIBLE_APP_IDS:
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
         if (value == null) {
-          unsetAccessibleAppIds();
+          unsetAccessibleAppDeploymentIds();
         } else {
-          setAccessibleAppIds((java.util.List<java.lang.String>)value);
+          setAccessibleAppDeploymentIds((java.util.List<java.lang.String>)value);
         }
         break;
 
@@ -86076,8 +86076,8 @@ public class RegistryService {
       case GATEWAY_ID:
         return getGatewayId();
 
-      case ACCESSIBLE_APP_IDS:
-        return getAccessibleAppIds();
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
+        return getAccessibleAppDeploymentIds();
 
       }
       throw new java.lang.IllegalStateException();
@@ -86092,8 +86092,8 @@ public class RegistryService {
       switch (field) {
       case GATEWAY_ID:
         return isSetGatewayId();
-      case ACCESSIBLE_APP_IDS:
-        return isSetAccessibleAppIds();
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
+        return isSetAccessibleAppDeploymentIds();
       }
       throw new java.lang.IllegalStateException();
     }
@@ -86122,12 +86122,12 @@ public class RegistryService {
           return false;
       }
 
-      boolean this_present_accessibleAppIds = true && this.isSetAccessibleAppIds();
-      boolean that_present_accessibleAppIds = true && that.isSetAccessibleAppIds();
-      if (this_present_accessibleAppIds || that_present_accessibleAppIds) {
-        if (!(this_present_accessibleAppIds && that_present_accessibleAppIds))
+      boolean this_present_accessibleAppDeploymentIds = true && this.isSetAccessibleAppDeploymentIds();
+      boolean that_present_accessibleAppDeploymentIds = true && that.isSetAccessibleAppDeploymentIds();
+      if (this_present_accessibleAppDeploymentIds || that_present_accessibleAppDeploymentIds) {
+        if (!(this_present_accessibleAppDeploymentIds && that_present_accessibleAppDeploymentIds))
           return false;
-        if (!this.accessibleAppIds.equals(that.accessibleAppIds))
+        if (!this.accessibleAppDeploymentIds.equals(that.accessibleAppDeploymentIds))
           return false;
       }
 
@@ -86142,9 +86142,9 @@ public class RegistryService {
       if (isSetGatewayId())
         hashCode = hashCode * 8191 + gatewayId.hashCode();
 
-      hashCode = hashCode * 8191 + ((isSetAccessibleAppIds()) ? 131071 : 524287);
-      if (isSetAccessibleAppIds())
-        hashCode = hashCode * 8191 + accessibleAppIds.hashCode();
+      hashCode = hashCode * 8191 + ((isSetAccessibleAppDeploymentIds()) ? 131071 : 524287);
+      if (isSetAccessibleAppDeploymentIds())
+        hashCode = hashCode * 8191 + accessibleAppDeploymentIds.hashCode();
 
       return hashCode;
     }
@@ -86167,12 +86167,12 @@ public class RegistryService {
           return lastComparison;
         }
       }
-      lastComparison = java.lang.Boolean.valueOf(isSetAccessibleAppIds()).compareTo(other.isSetAccessibleAppIds());
+      lastComparison = java.lang.Boolean.valueOf(isSetAccessibleAppDeploymentIds()).compareTo(other.isSetAccessibleAppDeploymentIds());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetAccessibleAppIds()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accessibleAppIds, other.accessibleAppIds);
+      if (isSetAccessibleAppDeploymentIds()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accessibleAppDeploymentIds, other.accessibleAppDeploymentIds);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -86205,11 +86205,11 @@ public class RegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("accessibleAppIds:");
-      if (this.accessibleAppIds == null) {
+      sb.append("accessibleAppDeploymentIds:");
+      if (this.accessibleAppDeploymentIds == null) {
         sb.append("null");
       } else {
-        sb.append(this.accessibleAppIds);
+        sb.append(this.accessibleAppDeploymentIds);
       }
       first = false;
       sb.append(")");
@@ -86221,8 +86221,8 @@ public class RegistryService {
       if (gatewayId == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
       }
-      if (accessibleAppIds == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'accessibleAppIds' was not present! Struct: " + toString());
+      if (accessibleAppDeploymentIds == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'accessibleAppDeploymentIds' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
     }
@@ -86269,20 +86269,20 @@ public class RegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 2: // ACCESSIBLE_APP_IDS
+            case 2: // ACCESSIBLE_APP_DEPLOYMENT_IDS
               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
                 {
                   org.apache.thrift.protocol.TList _list174 = iprot.readListBegin();
-                  struct.accessibleAppIds = new java.util.ArrayList<java.lang.String>(_list174.size);
+                  struct.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(_list174.size);
                   java.lang.String _elem175;
                   for (int _i176 = 0; _i176 < _list174.size; ++_i176)
                   {
                     _elem175 = iprot.readString();
-                    struct.accessibleAppIds.add(_elem175);
+                    struct.accessibleAppDeploymentIds.add(_elem175);
                   }
                   iprot.readListEnd();
                 }
-                struct.setAccessibleAppIdsIsSet(true);
+                struct.setAccessibleAppDeploymentIdsIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -86307,11 +86307,11 @@ public class RegistryService {
           oprot.writeString(struct.gatewayId);
           oprot.writeFieldEnd();
         }
-        if (struct.accessibleAppIds != null) {
-          oprot.writeFieldBegin(ACCESSIBLE_APP_IDS_FIELD_DESC);
+        if (struct.accessibleAppDeploymentIds != null) {
+          oprot.writeFieldBegin(ACCESSIBLE_APP_DEPLOYMENT_IDS_FIELD_DESC);
           {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.accessibleAppIds.size()));
-            for (java.lang.String _iter177 : struct.accessibleAppIds)
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.accessibleAppDeploymentIds.size()));
+            for (java.lang.String _iter177 : struct.accessibleAppDeploymentIds)
             {
               oprot.writeString(_iter177);
             }
@@ -86338,8 +86338,8 @@ public class RegistryService {
         org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
         oprot.writeString(struct.gatewayId);
         {
-          oprot.writeI32(struct.accessibleAppIds.size());
-          for (java.lang.String _iter178 : struct.accessibleAppIds)
+          oprot.writeI32(struct.accessibleAppDeploymentIds.size());
+          for (java.lang.String _iter178 : struct.accessibleAppDeploymentIds)
           {
             oprot.writeString(_iter178);
           }
@@ -86353,15 +86353,15 @@ public class RegistryService {
         struct.setGatewayIdIsSet(true);
         {
           org.apache.thrift.protocol.TList _list179 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.accessibleAppIds = new java.util.ArrayList<java.lang.String>(_list179.size);
+          struct.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(_list179.size);
           java.lang.String _elem180;
           for (int _i181 = 0; _i181 < _list179.size; ++_i181)
           {
             _elem180 = iprot.readString();
-            struct.accessibleAppIds.add(_elem180);
+            struct.accessibleAppDeploymentIds.add(_elem180);
           }
         }
-        struct.setAccessibleAppIdsIsSet(true);
+        struct.setAccessibleAppDeploymentIdsIsSet(true);
       }
     }
 
@@ -92097,18 +92097,18 @@ public class RegistryService {
     private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAccessibleApplicationDeployments_args");
 
     private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)1);
-    private static final org.apache.thrift.protocol.TField ACCESSIBLE_APP_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("accessibleAppIds", org.apache.thrift.protocol.TType.LIST, (short)2);
+    private static final org.apache.thrift.protocol.TField ACCESSIBLE_APP_DEPLOYMENT_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("accessibleAppDeploymentIds", org.apache.thrift.protocol.TType.LIST, (short)2);
 
     private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getAccessibleApplicationDeployments_argsStandardSchemeFactory();
     private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getAccessibleApplicationDeployments_argsTupleSchemeFactory();
 
     public java.lang.String gatewayId; // required
-    public java.util.List<java.lang.String> accessibleAppIds; // required
+    public java.util.List<java.lang.String> accessibleAppDeploymentIds; // required
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements org.apache.thrift.TFieldIdEnum {
       GATEWAY_ID((short)1, "gatewayId"),
-      ACCESSIBLE_APP_IDS((short)2, "accessibleAppIds");
+      ACCESSIBLE_APP_DEPLOYMENT_IDS((short)2, "accessibleAppDeploymentIds");
 
       private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
 
@@ -92125,8 +92125,8 @@ public class RegistryService {
         switch(fieldId) {
           case 1: // GATEWAY_ID
             return GATEWAY_ID;
-          case 2: // ACCESSIBLE_APP_IDS
-            return ACCESSIBLE_APP_IDS;
+          case 2: // ACCESSIBLE_APP_DEPLOYMENT_IDS
+            return ACCESSIBLE_APP_DEPLOYMENT_IDS;
           default:
             return null;
         }
@@ -92172,7 +92172,7 @@ public class RegistryService {
       java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
       tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
           new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-      tmpMap.put(_Fields.ACCESSIBLE_APP_IDS, new org.apache.thrift.meta_data.FieldMetaData("accessibleAppIds", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+      tmpMap.put(_Fields.ACCESSIBLE_APP_DEPLOYMENT_IDS, new org.apache.thrift.meta_data.FieldMetaData("accessibleAppDeploymentIds", org.apache.thrift.TFieldRequirementType.REQUIRED, 
           new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
               new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
       metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
@@ -92184,11 +92184,11 @@ public class RegistryService {
 
     public getAccessibleApplicationDeployments_args(
       java.lang.String gatewayId,
-      java.util.List<java.lang.String> accessibleAppIds)
+      java.util.List<java.lang.String> accessibleAppDeploymentIds)
     {
       this();
       this.gatewayId = gatewayId;
-      this.accessibleAppIds = accessibleAppIds;
+      this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
     }
 
     /**
@@ -92198,9 +92198,9 @@ public class RegistryService {
       if (other.isSetGatewayId()) {
         this.gatewayId = other.gatewayId;
       }
-      if (other.isSetAccessibleAppIds()) {
-        java.util.List<java.lang.String> __this__accessibleAppIds = new java.util.ArrayList<java.lang.String>(other.accessibleAppIds);
-        this.accessibleAppIds = __this__accessibleAppIds;
+      if (other.isSetAccessibleAppDeploymentIds()) {
+        java.util.List<java.lang.String> __this__accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(other.accessibleAppDeploymentIds);
+        this.accessibleAppDeploymentIds = __this__accessibleAppDeploymentIds;
       }
     }
 
@@ -92211,7 +92211,7 @@ public class RegistryService {
     @Override
     public void clear() {
       this.gatewayId = null;
-      this.accessibleAppIds = null;
+      this.accessibleAppDeploymentIds = null;
     }
 
     public java.lang.String getGatewayId() {
@@ -92238,42 +92238,42 @@ public class RegistryService {
       }
     }
 
-    public int getAccessibleAppIdsSize() {
-      return (this.accessibleAppIds == null) ? 0 : this.accessibleAppIds.size();
+    public int getAccessibleAppDeploymentIdsSize() {
+      return (this.accessibleAppDeploymentIds == null) ? 0 : this.accessibleAppDeploymentIds.size();
     }
 
-    public java.util.Iterator<java.lang.String> getAccessibleAppIdsIterator() {
-      return (this.accessibleAppIds == null) ? null : this.accessibleAppIds.iterator();
+    public java.util.Iterator<java.lang.String> getAccessibleAppDeploymentIdsIterator() {
+      return (this.accessibleAppDeploymentIds == null) ? null : this.accessibleAppDeploymentIds.iterator();
     }
 
-    public void addToAccessibleAppIds(java.lang.String elem) {
-      if (this.accessibleAppIds == null) {
-        this.accessibleAppIds = new java.util.ArrayList<java.lang.String>();
+    public void addToAccessibleAppDeploymentIds(java.lang.String elem) {
+      if (this.accessibleAppDeploymentIds == null) {
+        this.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>();
       }
-      this.accessibleAppIds.add(elem);
+      this.accessibleAppDeploymentIds.add(elem);
     }
 
-    public java.util.List<java.lang.String> getAccessibleAppIds() {
-      return this.accessibleAppIds;
+    public java.util.List<java.lang.String> getAccessibleAppDeploymentIds() {
+      return this.accessibleAppDeploymentIds;
     }
 
-    public getAccessibleApplicationDeployments_args setAccessibleAppIds(java.util.List<java.lang.String> accessibleAppIds) {
-      this.accessibleAppIds = accessibleAppIds;
+    public getAccessibleApplicationDeployments_args setAccessibleAppDeploymentIds(java.util.List<java.lang.String> accessibleAppDeploymentIds) {
+      this.accessibleAppDeploymentIds = accessibleAppDeploymentIds;
       return this;
     }
 
-    public void unsetAccessibleAppIds() {
-      this.accessibleAppIds = null;
+    public void unsetAccessibleAppDeploymentIds() {
+      this.accessibleAppDeploymentIds = null;
     }
 
-    /** Returns true if field accessibleAppIds is set (has been assigned a value) and false otherwise */
-    public boolean isSetAccessibleAppIds() {
-      return this.accessibleAppIds != null;
+    /** Returns true if field accessibleAppDeploymentIds is set (has been assigned a value) and false otherwise */
+    public boolean isSetAccessibleAppDeploymentIds() {
+      return this.accessibleAppDeploymentIds != null;
     }
 
-    public void setAccessibleAppIdsIsSet(boolean value) {
+    public void setAccessibleAppDeploymentIdsIsSet(boolean value) {
       if (!value) {
-        this.accessibleAppIds = null;
+        this.accessibleAppDeploymentIds = null;
       }
     }
 
@@ -92287,11 +92287,11 @@ public class RegistryService {
         }
         break;
 
-      case ACCESSIBLE_APP_IDS:
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
         if (value == null) {
-          unsetAccessibleAppIds();
+          unsetAccessibleAppDeploymentIds();
         } else {
-          setAccessibleAppIds((java.util.List<java.lang.String>)value);
+          setAccessibleAppDeploymentIds((java.util.List<java.lang.String>)value);
         }
         break;
 
@@ -92303,8 +92303,8 @@ public class RegistryService {
       case GATEWAY_ID:
         return getGatewayId();
 
-      case ACCESSIBLE_APP_IDS:
-        return getAccessibleAppIds();
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
+        return getAccessibleAppDeploymentIds();
 
       }
       throw new java.lang.IllegalStateException();
@@ -92319,8 +92319,8 @@ public class RegistryService {
       switch (field) {
       case GATEWAY_ID:
         return isSetGatewayId();
-      case ACCESSIBLE_APP_IDS:
-        return isSetAccessibleAppIds();
+      case ACCESSIBLE_APP_DEPLOYMENT_IDS:
+        return isSetAccessibleAppDeploymentIds();
       }
       throw new java.lang.IllegalStateException();
     }
@@ -92349,12 +92349,12 @@ public class RegistryService {
           return false;
       }
 
-      boolean this_present_accessibleAppIds = true && this.isSetAccessibleAppIds();
-      boolean that_present_accessibleAppIds = true && that.isSetAccessibleAppIds();
-      if (this_present_accessibleAppIds || that_present_accessibleAppIds) {
-        if (!(this_present_accessibleAppIds && that_present_accessibleAppIds))
+      boolean this_present_accessibleAppDeploymentIds = true && this.isSetAccessibleAppDeploymentIds();
+      boolean that_present_accessibleAppDeploymentIds = true && that.isSetAccessibleAppDeploymentIds();
+      if (this_present_accessibleAppDeploymentIds || that_present_accessibleAppDeploymentIds) {
+        if (!(this_present_accessibleAppDeploymentIds && that_present_accessibleAppDeploymentIds))
           return false;
-        if (!this.accessibleAppIds.equals(that.accessibleAppIds))
+        if (!this.accessibleAppDeploymentIds.equals(that.accessibleAppDeploymentIds))
           return false;
       }
 
@@ -92369,9 +92369,9 @@ public class RegistryService {
       if (isSetGatewayId())
         hashCode = hashCode * 8191 + gatewayId.hashCode();
 
-      hashCode = hashCode * 8191 + ((isSetAccessibleAppIds()) ? 131071 : 524287);
-      if (isSetAccessibleAppIds())
-        hashCode = hashCode * 8191 + accessibleAppIds.hashCode();
+      hashCode = hashCode * 8191 + ((isSetAccessibleAppDeploymentIds()) ? 131071 : 524287);
+      if (isSetAccessibleAppDeploymentIds())
+        hashCode = hashCode * 8191 + accessibleAppDeploymentIds.hashCode();
 
       return hashCode;
     }
@@ -92394,12 +92394,12 @@ public class RegistryService {
           return lastComparison;
         }
       }
-      lastComparison = java.lang.Boolean.valueOf(isSetAccessibleAppIds()).compareTo(other.isSetAccessibleAppIds());
+      lastComparison = java.lang.Boolean.valueOf(isSetAccessibleAppDeploymentIds()).compareTo(other.isSetAccessibleAppDeploymentIds());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetAccessibleAppIds()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accessibleAppIds, other.accessibleAppIds);
+      if (isSetAccessibleAppDeploymentIds()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accessibleAppDeploymentIds, other.accessibleAppDeploymentIds);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -92432,11 +92432,11 @@ public class RegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("accessibleAppIds:");
-      if (this.accessibleAppIds == null) {
+      sb.append("accessibleAppDeploymentIds:");
+      if (this.accessibleAppDeploymentIds == null) {
         sb.append("null");
       } else {
-        sb.append(this.accessibleAppIds);
+        sb.append(this.accessibleAppDeploymentIds);
       }
       first = false;
       sb.append(")");
@@ -92448,8 +92448,8 @@ public class RegistryService {
       if (gatewayId == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
       }
-      if (accessibleAppIds == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'accessibleAppIds' was not present! Struct: " + toString());
+      if (accessibleAppDeploymentIds == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'accessibleAppDeploymentIds' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
     }
@@ -92496,20 +92496,20 @@ public class RegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 2: // ACCESSIBLE_APP_IDS
+            case 2: // ACCESSIBLE_APP_DEPLOYMENT_IDS
               if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
                 {
                   org.apache.thrift.protocol.TList _list198 = iprot.readListBegin();
-                  struct.accessibleAppIds = new java.util.ArrayList<java.lang.String>(_list198.size);
+                  struct.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(_list198.size);
                   java.lang.String _elem199;
                   for (int _i200 = 0; _i200 < _list198.size; ++_i200)
                   {
                     _elem199 = iprot.readString();
-                    struct.accessibleAppIds.add(_elem199);
+                    struct.accessibleAppDeploymentIds.add(_elem199);
                   }
                   iprot.readListEnd();
                 }
-                struct.setAccessibleAppIdsIsSet(true);
+                struct.setAccessibleAppDeploymentIdsIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -92534,11 +92534,11 @@ public class RegistryService {
           oprot.writeString(struct.gatewayId);
           oprot.writeFieldEnd();
         }
-        if (struct.accessibleAppIds != null) {
-          oprot.writeFieldBegin(ACCESSIBLE_APP_IDS_FIELD_DESC);
+        if (struct.accessibleAppDeploymentIds != null) {
+          oprot.writeFieldBegin(ACCESSIBLE_APP_DEPLOYMENT_IDS_FIELD_DESC);
           {
-            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.accessibleAppIds.size()));
-            for (java.lang.String _iter201 : struct.accessibleAppIds)
+            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.accessibleAppDeploymentIds.size()));
+            for (java.lang.String _iter201 : struct.accessibleAppDeploymentIds)
             {
               oprot.writeString(_iter201);
             }
@@ -92565,8 +92565,8 @@ public class RegistryService {
         org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
         oprot.writeString(struct.gatewayId);
         {
-          oprot.writeI32(struct.accessibleAppIds.size());
-          for (java.lang.String _iter202 : struct.accessibleAppIds)
+          oprot.writeI32(struct.accessibleAppDeploymentIds.size());
+          for (java.lang.String _iter202 : struct.accessibleAppDeploymentIds)
           {
             oprot.writeString(_iter202);
           }
@@ -92580,15 +92580,15 @@ public class RegistryService {
         struct.setGatewayIdIsSet(true);
         {
           org.apache.thrift.protocol.TList _list203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.accessibleAppIds = new java.util.ArrayList<java.lang.String>(_list203.size);
+          struct.accessibleAppDeploymentIds = new java.util.ArrayList<java.lang.String>(_list203.size);
           java.lang.String _elem204;
           for (int _i205 = 0; _i205 < _list203.size; ++_i205)
           {
             _elem204 = iprot.readString();
-            struct.accessibleAppIds.add(_elem204);
+            struct.accessibleAppDeploymentIds.add(_elem204);
           }
         }
-        struct.setAccessibleAppIdsIsSet(true);
+        struct.setAccessibleAppDeploymentIdsIsSet(true);
       }
     }
 
diff --git a/thrift-interface-descriptions/component-cpis/registry-api.thrift b/thrift-interface-descriptions/component-cpis/registry-api.thrift
index b6e7e03..f72b2a3 100644
--- a/thrift-interface-descriptions/component-cpis/registry-api.thrift
+++ b/thrift-interface-descriptions/component-cpis/registry-api.thrift
@@ -863,15 +863,15 @@ service RegistryService {
              *
              * @param gatewayId
              *    ID of the gateway which need to list all available application deployment documentation.
-             * @param accessibleAppIds
-             *    Application IDs which are accessible to the current user.
+             * @param accessibleAppDeploymentIds
+             *    Application Deployment IDs which are accessible to the current user.
              *
              * @return list
              *    Returns the list of all Application Module Objects.
              *
             */
             list<application_deployment_model.ApplicationModule> getAccessibleAppModules (1: required string gatewayId
-                    2: required list<string> accessibleAppIds)
+                    2: required list<string> accessibleAppDeploymentIds)
                   throws (1: registry_api_errors.RegistryServiceException rse)
 
             /**
@@ -980,15 +980,15 @@ service RegistryService {
              * @param gatewayId
              *    ID of the gateway which need to list all available application deployment documentation.
              *
-             * @param accessibleAppIds
-             *    Application IDs which are accessible to the current user.
+             * @param accessibleAppDeploymentIds
+             *    Application Deployment IDs which are accessible to the current user.
              *
-             * @return list<applicationDeployment.
+             * @return list<applicationDeployment>
              *    Returns the list of all application Deployment Objects.
              *
             */
             list<application_deployment_model.ApplicationDeploymentDescription> getAccessibleApplicationDeployments(1: required string gatewayId,
-                        2: required list<string> accessibleAppIds)
+                        2: required list<string> accessibleAppDeploymentIds)
                 	throws (1: registry_api_errors.RegistryServiceException rse)
 
             /**

-- 
To stop receiving notification emails like this one, please contact
machristie@apache.org.

Mime
View raw message