airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [1/2] airavata git commit: implementing sharing and revoking
Date Tue, 04 Oct 2016 19:42:07 GMT
Repository: airavata
Updated Branches:
  refs/heads/airavata-gov-registry a99f76612 -> 244e8416e


http://git-wip-us.apache.org/repos/asf/airavata/blob/244e8416/modules/airavata-sharing-registry/airavata-sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
----------------------------------------------------------------------
diff --git a/modules/airavata-sharing-registry/airavata-sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java b/modules/airavata-sharing-registry/airavata-sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
index a7c424e..030f538 100644
--- a/modules/airavata-sharing-registry/airavata-sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
+++ b/modules/airavata-sharing-registry/airavata-sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-10-03")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-10-04")
 public class GovRegistryService {
 
   public interface Iface {
@@ -151,15 +151,15 @@ public class GovRegistryService {
      * 
      * @param entityId
      * @param userList
-     * @param perssionType
+     * @param perssionTypeId
      */
-    public boolean shareEntityWithUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
+    public boolean shareEntityWithUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
 
-    public boolean revokeEntitySharingFromUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
+    public boolean revokeEntitySharingFromUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
 
-    public boolean shareEntityWithGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
+    public boolean shareEntityWithGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
 
-    public boolean revokeEntitySharingFromGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
+    public boolean revokeEntitySharingFromGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException;
 
   }
 
@@ -235,13 +235,13 @@ public class GovRegistryService {
 
     public void getPermissionTypes(String domain, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void shareEntityWithUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void shareEntityWithUsers(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void revokeEntitySharingFromUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void revokeEntitySharingFromUsers(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void shareEntityWithGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void shareEntityWithGroups(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
-    public void revokeEntitySharingFromGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+    public void revokeEntitySharingFromGroups(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
 
   }
 
@@ -1191,18 +1191,18 @@ public class GovRegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPermissionTypes failed: unknown result");
     }
 
-    public boolean shareEntityWithUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
+    public boolean shareEntityWithUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
     {
-      send_shareEntityWithUsers(entityId, userList, perssionType);
+      send_shareEntityWithUsers(entityId, userList, perssionTypeId);
       return recv_shareEntityWithUsers();
     }
 
-    public void send_shareEntityWithUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.thrift.TException
+    public void send_shareEntityWithUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.thrift.TException
     {
       shareEntityWithUsers_args args = new shareEntityWithUsers_args();
       args.setEntityId(entityId);
       args.setUserList(userList);
-      args.setPerssionType(perssionType);
+      args.setPerssionTypeId(perssionTypeId);
       sendBase("shareEntityWithUsers", args);
     }
 
@@ -1219,18 +1219,18 @@ public class GovRegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "shareEntityWithUsers failed: unknown result");
     }
 
-    public boolean revokeEntitySharingFromUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
+    public boolean revokeEntitySharingFromUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
     {
-      send_revokeEntitySharingFromUsers(entityId, userList, perssionType);
+      send_revokeEntitySharingFromUsers(entityId, userList, perssionTypeId);
       return recv_revokeEntitySharingFromUsers();
     }
 
-    public void send_revokeEntitySharingFromUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.thrift.TException
+    public void send_revokeEntitySharingFromUsers(String entityId, List<String> userList, String perssionTypeId) throws org.apache.thrift.TException
     {
       revokeEntitySharingFromUsers_args args = new revokeEntitySharingFromUsers_args();
       args.setEntityId(entityId);
       args.setUserList(userList);
-      args.setPerssionType(perssionType);
+      args.setPerssionTypeId(perssionTypeId);
       sendBase("revokeEntitySharingFromUsers", args);
     }
 
@@ -1247,18 +1247,18 @@ public class GovRegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "revokeEntitySharingFromUsers failed: unknown result");
     }
 
-    public boolean shareEntityWithGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
+    public boolean shareEntityWithGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
     {
-      send_shareEntityWithGroups(entityId, groupList, perssionType);
+      send_shareEntityWithGroups(entityId, groupList, perssionTypeId);
       return recv_shareEntityWithGroups();
     }
 
-    public void send_shareEntityWithGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.thrift.TException
+    public void send_shareEntityWithGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.thrift.TException
     {
       shareEntityWithGroups_args args = new shareEntityWithGroups_args();
       args.setEntityId(entityId);
       args.setGroupList(groupList);
-      args.setPerssionType(perssionType);
+      args.setPerssionTypeId(perssionTypeId);
       sendBase("shareEntityWithGroups", args);
     }
 
@@ -1275,18 +1275,18 @@ public class GovRegistryService {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "shareEntityWithGroups failed: unknown result");
     }
 
-    public boolean revokeEntitySharingFromGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
+    public boolean revokeEntitySharingFromGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.airavata.sharing.registry.models.GovRegistryException, org.apache.thrift.TException
     {
-      send_revokeEntitySharingFromGroups(entityId, groupList, perssionType);
+      send_revokeEntitySharingFromGroups(entityId, groupList, perssionTypeId);
       return recv_revokeEntitySharingFromGroups();
     }
 
-    public void send_revokeEntitySharingFromGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType) throws org.apache.thrift.TException
+    public void send_revokeEntitySharingFromGroups(String entityId, List<String> groupList, String perssionTypeId) throws org.apache.thrift.TException
     {
       revokeEntitySharingFromGroups_args args = new revokeEntitySharingFromGroups_args();
       args.setEntityId(entityId);
       args.setGroupList(groupList);
-      args.setPerssionType(perssionType);
+      args.setPerssionTypeId(perssionTypeId);
       sendBase("revokeEntitySharingFromGroups", args);
     }
 
@@ -2498,9 +2498,9 @@ public class GovRegistryService {
       }
     }
 
-    public void shareEntityWithUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+    public void shareEntityWithUsers(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      shareEntityWithUsers_call method_call = new shareEntityWithUsers_call(entityId, userList, perssionType, resultHandler, this, ___protocolFactory, ___transport);
+      shareEntityWithUsers_call method_call = new shareEntityWithUsers_call(entityId, userList, perssionTypeId, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
@@ -2508,12 +2508,12 @@ public class GovRegistryService {
     public static class shareEntityWithUsers_call extends org.apache.thrift.async.TAsyncMethodCall {
       private String entityId;
       private List<String> userList;
-      private org.apache.airavata.sharing.registry.models.PermissionType perssionType;
-      public shareEntityWithUsers_call(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback 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 String perssionTypeId;
+      public shareEntityWithUsers_call(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback 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.entityId = entityId;
         this.userList = userList;
-        this.perssionType = perssionType;
+        this.perssionTypeId = perssionTypeId;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@@ -2521,7 +2521,7 @@ public class GovRegistryService {
         shareEntityWithUsers_args args = new shareEntityWithUsers_args();
         args.setEntityId(entityId);
         args.setUserList(userList);
-        args.setPerssionType(perssionType);
+        args.setPerssionTypeId(perssionTypeId);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -2536,9 +2536,9 @@ public class GovRegistryService {
       }
     }
 
-    public void revokeEntitySharingFromUsers(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+    public void revokeEntitySharingFromUsers(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      revokeEntitySharingFromUsers_call method_call = new revokeEntitySharingFromUsers_call(entityId, userList, perssionType, resultHandler, this, ___protocolFactory, ___transport);
+      revokeEntitySharingFromUsers_call method_call = new revokeEntitySharingFromUsers_call(entityId, userList, perssionTypeId, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
@@ -2546,12 +2546,12 @@ public class GovRegistryService {
     public static class revokeEntitySharingFromUsers_call extends org.apache.thrift.async.TAsyncMethodCall {
       private String entityId;
       private List<String> userList;
-      private org.apache.airavata.sharing.registry.models.PermissionType perssionType;
-      public revokeEntitySharingFromUsers_call(String entityId, List<String> userList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback 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 String perssionTypeId;
+      public revokeEntitySharingFromUsers_call(String entityId, List<String> userList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback 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.entityId = entityId;
         this.userList = userList;
-        this.perssionType = perssionType;
+        this.perssionTypeId = perssionTypeId;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@@ -2559,7 +2559,7 @@ public class GovRegistryService {
         revokeEntitySharingFromUsers_args args = new revokeEntitySharingFromUsers_args();
         args.setEntityId(entityId);
         args.setUserList(userList);
-        args.setPerssionType(perssionType);
+        args.setPerssionTypeId(perssionTypeId);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -2574,9 +2574,9 @@ public class GovRegistryService {
       }
     }
 
-    public void shareEntityWithGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+    public void shareEntityWithGroups(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      shareEntityWithGroups_call method_call = new shareEntityWithGroups_call(entityId, groupList, perssionType, resultHandler, this, ___protocolFactory, ___transport);
+      shareEntityWithGroups_call method_call = new shareEntityWithGroups_call(entityId, groupList, perssionTypeId, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
@@ -2584,12 +2584,12 @@ public class GovRegistryService {
     public static class shareEntityWithGroups_call extends org.apache.thrift.async.TAsyncMethodCall {
       private String entityId;
       private List<String> groupList;
-      private org.apache.airavata.sharing.registry.models.PermissionType perssionType;
-      public shareEntityWithGroups_call(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback 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 String perssionTypeId;
+      public shareEntityWithGroups_call(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback 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.entityId = entityId;
         this.groupList = groupList;
-        this.perssionType = perssionType;
+        this.perssionTypeId = perssionTypeId;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@@ -2597,7 +2597,7 @@ public class GovRegistryService {
         shareEntityWithGroups_args args = new shareEntityWithGroups_args();
         args.setEntityId(entityId);
         args.setGroupList(groupList);
-        args.setPerssionType(perssionType);
+        args.setPerssionTypeId(perssionTypeId);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -2612,9 +2612,9 @@ public class GovRegistryService {
       }
     }
 
-    public void revokeEntitySharingFromGroups(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+    public void revokeEntitySharingFromGroups(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
       checkReady();
-      revokeEntitySharingFromGroups_call method_call = new revokeEntitySharingFromGroups_call(entityId, groupList, perssionType, resultHandler, this, ___protocolFactory, ___transport);
+      revokeEntitySharingFromGroups_call method_call = new revokeEntitySharingFromGroups_call(entityId, groupList, perssionTypeId, resultHandler, this, ___protocolFactory, ___transport);
       this.___currentMethod = method_call;
       ___manager.call(method_call);
     }
@@ -2622,12 +2622,12 @@ public class GovRegistryService {
     public static class revokeEntitySharingFromGroups_call extends org.apache.thrift.async.TAsyncMethodCall {
       private String entityId;
       private List<String> groupList;
-      private org.apache.airavata.sharing.registry.models.PermissionType perssionType;
-      public revokeEntitySharingFromGroups_call(String entityId, List<String> groupList, org.apache.airavata.sharing.registry.models.PermissionType perssionType, org.apache.thrift.async.AsyncMethodCallback 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 String perssionTypeId;
+      public revokeEntitySharingFromGroups_call(String entityId, List<String> groupList, String perssionTypeId, org.apache.thrift.async.AsyncMethodCallback 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.entityId = entityId;
         this.groupList = groupList;
-        this.perssionType = perssionType;
+        this.perssionTypeId = perssionTypeId;
       }
 
       public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@@ -2635,7 +2635,7 @@ public class GovRegistryService {
         revokeEntitySharingFromGroups_args args = new revokeEntitySharingFromGroups_args();
         args.setEntityId(entityId);
         args.setGroupList(groupList);
-        args.setPerssionType(perssionType);
+        args.setPerssionTypeId(perssionTypeId);
         args.write(prot);
         prot.writeMessageEnd();
       }
@@ -3573,7 +3573,7 @@ public class GovRegistryService {
       public shareEntityWithUsers_result getResult(I iface, shareEntityWithUsers_args args) throws org.apache.thrift.TException {
         shareEntityWithUsers_result result = new shareEntityWithUsers_result();
         try {
-          result.success = iface.shareEntityWithUsers(args.entityId, args.userList, args.perssionType);
+          result.success = iface.shareEntityWithUsers(args.entityId, args.userList, args.perssionTypeId);
           result.setSuccessIsSet(true);
         } catch (org.apache.airavata.sharing.registry.models.GovRegistryException gre) {
           result.gre = gre;
@@ -3598,7 +3598,7 @@ public class GovRegistryService {
       public revokeEntitySharingFromUsers_result getResult(I iface, revokeEntitySharingFromUsers_args args) throws org.apache.thrift.TException {
         revokeEntitySharingFromUsers_result result = new revokeEntitySharingFromUsers_result();
         try {
-          result.success = iface.revokeEntitySharingFromUsers(args.entityId, args.userList, args.perssionType);
+          result.success = iface.revokeEntitySharingFromUsers(args.entityId, args.userList, args.perssionTypeId);
           result.setSuccessIsSet(true);
         } catch (org.apache.airavata.sharing.registry.models.GovRegistryException gre) {
           result.gre = gre;
@@ -3623,7 +3623,7 @@ public class GovRegistryService {
       public shareEntityWithGroups_result getResult(I iface, shareEntityWithGroups_args args) throws org.apache.thrift.TException {
         shareEntityWithGroups_result result = new shareEntityWithGroups_result();
         try {
-          result.success = iface.shareEntityWithGroups(args.entityId, args.groupList, args.perssionType);
+          result.success = iface.shareEntityWithGroups(args.entityId, args.groupList, args.perssionTypeId);
           result.setSuccessIsSet(true);
         } catch (org.apache.airavata.sharing.registry.models.GovRegistryException gre) {
           result.gre = gre;
@@ -3648,7 +3648,7 @@ public class GovRegistryService {
       public revokeEntitySharingFromGroups_result getResult(I iface, revokeEntitySharingFromGroups_args args) throws org.apache.thrift.TException {
         revokeEntitySharingFromGroups_result result = new revokeEntitySharingFromGroups_result();
         try {
-          result.success = iface.revokeEntitySharingFromGroups(args.entityId, args.groupList, args.perssionType);
+          result.success = iface.revokeEntitySharingFromGroups(args.entityId, args.groupList, args.perssionTypeId);
           result.setSuccessIsSet(true);
         } catch (org.apache.airavata.sharing.registry.models.GovRegistryException gre) {
           result.gre = gre;
@@ -5771,7 +5771,7 @@ public class GovRegistryService {
       }
 
       public void start(I iface, shareEntityWithUsers_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
-        iface.shareEntityWithUsers(args.entityId, args.userList, args.perssionType,resultHandler);
+        iface.shareEntityWithUsers(args.entityId, args.userList, args.perssionTypeId,resultHandler);
       }
     }
 
@@ -5829,7 +5829,7 @@ public class GovRegistryService {
       }
 
       public void start(I iface, revokeEntitySharingFromUsers_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
-        iface.revokeEntitySharingFromUsers(args.entityId, args.userList, args.perssionType,resultHandler);
+        iface.revokeEntitySharingFromUsers(args.entityId, args.userList, args.perssionTypeId,resultHandler);
       }
     }
 
@@ -5887,7 +5887,7 @@ public class GovRegistryService {
       }
 
       public void start(I iface, shareEntityWithGroups_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
-        iface.shareEntityWithGroups(args.entityId, args.groupList, args.perssionType,resultHandler);
+        iface.shareEntityWithGroups(args.entityId, args.groupList, args.perssionTypeId,resultHandler);
       }
     }
 
@@ -5945,7 +5945,7 @@ public class GovRegistryService {
       }
 
       public void start(I iface, revokeEntitySharingFromGroups_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
-        iface.revokeEntitySharingFromGroups(args.entityId, args.groupList, args.perssionType,resultHandler);
+        iface.revokeEntitySharingFromGroups(args.entityId, args.groupList, args.perssionTypeId,resultHandler);
       }
     }
 
@@ -37123,7 +37123,7 @@ public class GovRegistryService {
 
     private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField USER_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userList", org.apache.thrift.protocol.TType.LIST, (short)2);
-    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionType", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionTypeId", org.apache.thrift.protocol.TType.STRING, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
@@ -37133,13 +37133,13 @@ public class GovRegistryService {
 
     public String entityId; // required
     public List<String> userList; // required
-    public org.apache.airavata.sharing.registry.models.PermissionType perssionType; // required
+    public String perssionTypeId; // 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 {
       ENTITY_ID((short)1, "entityId"),
       USER_LIST((short)2, "userList"),
-      PERSSION_TYPE((short)3, "perssionType");
+      PERSSION_TYPE_ID((short)3, "perssionTypeId");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -37158,8 +37158,8 @@ public class GovRegistryService {
             return ENTITY_ID;
           case 2: // USER_LIST
             return USER_LIST;
-          case 3: // PERSSION_TYPE
-            return PERSSION_TYPE;
+          case 3: // PERSSION_TYPE_ID
+            return PERSSION_TYPE_ID;
           default:
             return null;
         }
@@ -37208,8 +37208,8 @@ public class GovRegistryService {
       tmpMap.put(_Fields.USER_LIST, new org.apache.thrift.meta_data.FieldMetaData("userList", 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))));
-      tmpMap.put(_Fields.PERSSION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("perssionType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.sharing.registry.models.PermissionType.class)));
+      tmpMap.put(_Fields.PERSSION_TYPE_ID, new org.apache.thrift.meta_data.FieldMetaData("perssionTypeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shareEntityWithUsers_args.class, metaDataMap);
     }
@@ -37220,12 +37220,12 @@ public class GovRegistryService {
     public shareEntityWithUsers_args(
       String entityId,
       List<String> userList,
-      org.apache.airavata.sharing.registry.models.PermissionType perssionType)
+      String perssionTypeId)
     {
       this();
       this.entityId = entityId;
       this.userList = userList;
-      this.perssionType = perssionType;
+      this.perssionTypeId = perssionTypeId;
     }
 
     /**
@@ -37239,8 +37239,8 @@ public class GovRegistryService {
         List<String> __this__userList = new ArrayList<String>(other.userList);
         this.userList = __this__userList;
       }
-      if (other.isSetPerssionType()) {
-        this.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType(other.perssionType);
+      if (other.isSetPerssionTypeId()) {
+        this.perssionTypeId = other.perssionTypeId;
       }
     }
 
@@ -37252,7 +37252,7 @@ public class GovRegistryService {
     public void clear() {
       this.entityId = null;
       this.userList = null;
-      this.perssionType = null;
+      this.perssionTypeId = null;
     }
 
     public String getEntityId() {
@@ -37318,27 +37318,27 @@ public class GovRegistryService {
       }
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType getPerssionType() {
-      return this.perssionType;
+    public String getPerssionTypeId() {
+      return this.perssionTypeId;
     }
 
-    public shareEntityWithUsers_args setPerssionType(org.apache.airavata.sharing.registry.models.PermissionType perssionType) {
-      this.perssionType = perssionType;
+    public shareEntityWithUsers_args setPerssionTypeId(String perssionTypeId) {
+      this.perssionTypeId = perssionTypeId;
       return this;
     }
 
-    public void unsetPerssionType() {
-      this.perssionType = null;
+    public void unsetPerssionTypeId() {
+      this.perssionTypeId = null;
     }
 
-    /** Returns true if field perssionType is set (has been assigned a value) and false otherwise */
-    public boolean isSetPerssionType() {
-      return this.perssionType != null;
+    /** Returns true if field perssionTypeId is set (has been assigned a value) and false otherwise */
+    public boolean isSetPerssionTypeId() {
+      return this.perssionTypeId != null;
     }
 
-    public void setPerssionTypeIsSet(boolean value) {
+    public void setPerssionTypeIdIsSet(boolean value) {
       if (!value) {
-        this.perssionType = null;
+        this.perssionTypeId = null;
       }
     }
 
@@ -37360,11 +37360,11 @@ public class GovRegistryService {
         }
         break;
 
-      case PERSSION_TYPE:
+      case PERSSION_TYPE_ID:
         if (value == null) {
-          unsetPerssionType();
+          unsetPerssionTypeId();
         } else {
-          setPerssionType((org.apache.airavata.sharing.registry.models.PermissionType)value);
+          setPerssionTypeId((String)value);
         }
         break;
 
@@ -37379,8 +37379,8 @@ public class GovRegistryService {
       case USER_LIST:
         return getUserList();
 
-      case PERSSION_TYPE:
-        return getPerssionType();
+      case PERSSION_TYPE_ID:
+        return getPerssionTypeId();
 
       }
       throw new IllegalStateException();
@@ -37397,8 +37397,8 @@ public class GovRegistryService {
         return isSetEntityId();
       case USER_LIST:
         return isSetUserList();
-      case PERSSION_TYPE:
-        return isSetPerssionType();
+      case PERSSION_TYPE_ID:
+        return isSetPerssionTypeId();
       }
       throw new IllegalStateException();
     }
@@ -37434,12 +37434,12 @@ public class GovRegistryService {
           return false;
       }
 
-      boolean this_present_perssionType = true && this.isSetPerssionType();
-      boolean that_present_perssionType = true && that.isSetPerssionType();
-      if (this_present_perssionType || that_present_perssionType) {
-        if (!(this_present_perssionType && that_present_perssionType))
+      boolean this_present_perssionTypeId = true && this.isSetPerssionTypeId();
+      boolean that_present_perssionTypeId = true && that.isSetPerssionTypeId();
+      if (this_present_perssionTypeId || that_present_perssionTypeId) {
+        if (!(this_present_perssionTypeId && that_present_perssionTypeId))
           return false;
-        if (!this.perssionType.equals(that.perssionType))
+        if (!this.perssionTypeId.equals(that.perssionTypeId))
           return false;
       }
 
@@ -37460,10 +37460,10 @@ public class GovRegistryService {
       if (present_userList)
         list.add(userList);
 
-      boolean present_perssionType = true && (isSetPerssionType());
-      list.add(present_perssionType);
-      if (present_perssionType)
-        list.add(perssionType);
+      boolean present_perssionTypeId = true && (isSetPerssionTypeId());
+      list.add(present_perssionTypeId);
+      if (present_perssionTypeId)
+        list.add(perssionTypeId);
 
       return list.hashCode();
     }
@@ -37496,12 +37496,12 @@ public class GovRegistryService {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetPerssionType()).compareTo(other.isSetPerssionType());
+      lastComparison = Boolean.valueOf(isSetPerssionTypeId()).compareTo(other.isSetPerssionTypeId());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetPerssionType()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionType, other.perssionType);
+      if (isSetPerssionTypeId()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionTypeId, other.perssionTypeId);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -37542,11 +37542,11 @@ public class GovRegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("perssionType:");
-      if (this.perssionType == null) {
+      sb.append("perssionTypeId:");
+      if (this.perssionTypeId == null) {
         sb.append("null");
       } else {
-        sb.append(this.perssionType);
+        sb.append(this.perssionTypeId);
       }
       first = false;
       sb.append(")");
@@ -37561,13 +37561,10 @@ public class GovRegistryService {
       if (userList == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'userList' was not present! Struct: " + toString());
       }
-      if (perssionType == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionType' was not present! Struct: " + toString());
+      if (perssionTypeId == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionTypeId' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
-      if (perssionType != null) {
-        perssionType.validate();
-      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -37630,11 +37627,10 @@ public class GovRegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // PERSSION_TYPE
-              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-                struct.perssionType.read(iprot);
-                struct.setPerssionTypeIsSet(true);
+            case 3: // PERSSION_TYPE_ID
+              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+                struct.perssionTypeId = iprot.readString();
+                struct.setPerssionTypeIdIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -37671,9 +37667,9 @@ public class GovRegistryService {
           }
           oprot.writeFieldEnd();
         }
-        if (struct.perssionType != null) {
-          oprot.writeFieldBegin(PERSSION_TYPE_FIELD_DESC);
-          struct.perssionType.write(oprot);
+        if (struct.perssionTypeId != null) {
+          oprot.writeFieldBegin(PERSSION_TYPE_ID_FIELD_DESC);
+          oprot.writeString(struct.perssionTypeId);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -37701,7 +37697,7 @@ public class GovRegistryService {
             oprot.writeString(_iter88);
           }
         }
-        struct.perssionType.write(oprot);
+        oprot.writeString(struct.perssionTypeId);
       }
 
       @Override
@@ -37720,9 +37716,8 @@ public class GovRegistryService {
           }
         }
         struct.setUserListIsSet(true);
-        struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-        struct.perssionType.read(iprot);
-        struct.setPerssionTypeIsSet(true);
+        struct.perssionTypeId = iprot.readString();
+        struct.setPerssionTypeIdIsSet(true);
       }
     }
 
@@ -38201,7 +38196,7 @@ public class GovRegistryService {
 
     private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField USER_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("userList", org.apache.thrift.protocol.TType.LIST, (short)2);
-    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionType", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionTypeId", org.apache.thrift.protocol.TType.STRING, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
@@ -38211,13 +38206,13 @@ public class GovRegistryService {
 
     public String entityId; // required
     public List<String> userList; // required
-    public org.apache.airavata.sharing.registry.models.PermissionType perssionType; // required
+    public String perssionTypeId; // 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 {
       ENTITY_ID((short)1, "entityId"),
       USER_LIST((short)2, "userList"),
-      PERSSION_TYPE((short)3, "perssionType");
+      PERSSION_TYPE_ID((short)3, "perssionTypeId");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -38236,8 +38231,8 @@ public class GovRegistryService {
             return ENTITY_ID;
           case 2: // USER_LIST
             return USER_LIST;
-          case 3: // PERSSION_TYPE
-            return PERSSION_TYPE;
+          case 3: // PERSSION_TYPE_ID
+            return PERSSION_TYPE_ID;
           default:
             return null;
         }
@@ -38286,8 +38281,8 @@ public class GovRegistryService {
       tmpMap.put(_Fields.USER_LIST, new org.apache.thrift.meta_data.FieldMetaData("userList", 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))));
-      tmpMap.put(_Fields.PERSSION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("perssionType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.sharing.registry.models.PermissionType.class)));
+      tmpMap.put(_Fields.PERSSION_TYPE_ID, new org.apache.thrift.meta_data.FieldMetaData("perssionTypeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revokeEntitySharingFromUsers_args.class, metaDataMap);
     }
@@ -38298,12 +38293,12 @@ public class GovRegistryService {
     public revokeEntitySharingFromUsers_args(
       String entityId,
       List<String> userList,
-      org.apache.airavata.sharing.registry.models.PermissionType perssionType)
+      String perssionTypeId)
     {
       this();
       this.entityId = entityId;
       this.userList = userList;
-      this.perssionType = perssionType;
+      this.perssionTypeId = perssionTypeId;
     }
 
     /**
@@ -38317,8 +38312,8 @@ public class GovRegistryService {
         List<String> __this__userList = new ArrayList<String>(other.userList);
         this.userList = __this__userList;
       }
-      if (other.isSetPerssionType()) {
-        this.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType(other.perssionType);
+      if (other.isSetPerssionTypeId()) {
+        this.perssionTypeId = other.perssionTypeId;
       }
     }
 
@@ -38330,7 +38325,7 @@ public class GovRegistryService {
     public void clear() {
       this.entityId = null;
       this.userList = null;
-      this.perssionType = null;
+      this.perssionTypeId = null;
     }
 
     public String getEntityId() {
@@ -38396,27 +38391,27 @@ public class GovRegistryService {
       }
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType getPerssionType() {
-      return this.perssionType;
+    public String getPerssionTypeId() {
+      return this.perssionTypeId;
     }
 
-    public revokeEntitySharingFromUsers_args setPerssionType(org.apache.airavata.sharing.registry.models.PermissionType perssionType) {
-      this.perssionType = perssionType;
+    public revokeEntitySharingFromUsers_args setPerssionTypeId(String perssionTypeId) {
+      this.perssionTypeId = perssionTypeId;
       return this;
     }
 
-    public void unsetPerssionType() {
-      this.perssionType = null;
+    public void unsetPerssionTypeId() {
+      this.perssionTypeId = null;
     }
 
-    /** Returns true if field perssionType is set (has been assigned a value) and false otherwise */
-    public boolean isSetPerssionType() {
-      return this.perssionType != null;
+    /** Returns true if field perssionTypeId is set (has been assigned a value) and false otherwise */
+    public boolean isSetPerssionTypeId() {
+      return this.perssionTypeId != null;
     }
 
-    public void setPerssionTypeIsSet(boolean value) {
+    public void setPerssionTypeIdIsSet(boolean value) {
       if (!value) {
-        this.perssionType = null;
+        this.perssionTypeId = null;
       }
     }
 
@@ -38438,11 +38433,11 @@ public class GovRegistryService {
         }
         break;
 
-      case PERSSION_TYPE:
+      case PERSSION_TYPE_ID:
         if (value == null) {
-          unsetPerssionType();
+          unsetPerssionTypeId();
         } else {
-          setPerssionType((org.apache.airavata.sharing.registry.models.PermissionType)value);
+          setPerssionTypeId((String)value);
         }
         break;
 
@@ -38457,8 +38452,8 @@ public class GovRegistryService {
       case USER_LIST:
         return getUserList();
 
-      case PERSSION_TYPE:
-        return getPerssionType();
+      case PERSSION_TYPE_ID:
+        return getPerssionTypeId();
 
       }
       throw new IllegalStateException();
@@ -38475,8 +38470,8 @@ public class GovRegistryService {
         return isSetEntityId();
       case USER_LIST:
         return isSetUserList();
-      case PERSSION_TYPE:
-        return isSetPerssionType();
+      case PERSSION_TYPE_ID:
+        return isSetPerssionTypeId();
       }
       throw new IllegalStateException();
     }
@@ -38512,12 +38507,12 @@ public class GovRegistryService {
           return false;
       }
 
-      boolean this_present_perssionType = true && this.isSetPerssionType();
-      boolean that_present_perssionType = true && that.isSetPerssionType();
-      if (this_present_perssionType || that_present_perssionType) {
-        if (!(this_present_perssionType && that_present_perssionType))
+      boolean this_present_perssionTypeId = true && this.isSetPerssionTypeId();
+      boolean that_present_perssionTypeId = true && that.isSetPerssionTypeId();
+      if (this_present_perssionTypeId || that_present_perssionTypeId) {
+        if (!(this_present_perssionTypeId && that_present_perssionTypeId))
           return false;
-        if (!this.perssionType.equals(that.perssionType))
+        if (!this.perssionTypeId.equals(that.perssionTypeId))
           return false;
       }
 
@@ -38538,10 +38533,10 @@ public class GovRegistryService {
       if (present_userList)
         list.add(userList);
 
-      boolean present_perssionType = true && (isSetPerssionType());
-      list.add(present_perssionType);
-      if (present_perssionType)
-        list.add(perssionType);
+      boolean present_perssionTypeId = true && (isSetPerssionTypeId());
+      list.add(present_perssionTypeId);
+      if (present_perssionTypeId)
+        list.add(perssionTypeId);
 
       return list.hashCode();
     }
@@ -38574,12 +38569,12 @@ public class GovRegistryService {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetPerssionType()).compareTo(other.isSetPerssionType());
+      lastComparison = Boolean.valueOf(isSetPerssionTypeId()).compareTo(other.isSetPerssionTypeId());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetPerssionType()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionType, other.perssionType);
+      if (isSetPerssionTypeId()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionTypeId, other.perssionTypeId);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -38620,11 +38615,11 @@ public class GovRegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("perssionType:");
-      if (this.perssionType == null) {
+      sb.append("perssionTypeId:");
+      if (this.perssionTypeId == null) {
         sb.append("null");
       } else {
-        sb.append(this.perssionType);
+        sb.append(this.perssionTypeId);
       }
       first = false;
       sb.append(")");
@@ -38639,13 +38634,10 @@ public class GovRegistryService {
       if (userList == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'userList' was not present! Struct: " + toString());
       }
-      if (perssionType == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionType' was not present! Struct: " + toString());
+      if (perssionTypeId == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionTypeId' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
-      if (perssionType != null) {
-        perssionType.validate();
-      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -38708,11 +38700,10 @@ public class GovRegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // PERSSION_TYPE
-              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-                struct.perssionType.read(iprot);
-                struct.setPerssionTypeIsSet(true);
+            case 3: // PERSSION_TYPE_ID
+              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+                struct.perssionTypeId = iprot.readString();
+                struct.setPerssionTypeIdIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -38749,9 +38740,9 @@ public class GovRegistryService {
           }
           oprot.writeFieldEnd();
         }
-        if (struct.perssionType != null) {
-          oprot.writeFieldBegin(PERSSION_TYPE_FIELD_DESC);
-          struct.perssionType.write(oprot);
+        if (struct.perssionTypeId != null) {
+          oprot.writeFieldBegin(PERSSION_TYPE_ID_FIELD_DESC);
+          oprot.writeString(struct.perssionTypeId);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -38779,7 +38770,7 @@ public class GovRegistryService {
             oprot.writeString(_iter96);
           }
         }
-        struct.perssionType.write(oprot);
+        oprot.writeString(struct.perssionTypeId);
       }
 
       @Override
@@ -38798,9 +38789,8 @@ public class GovRegistryService {
           }
         }
         struct.setUserListIsSet(true);
-        struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-        struct.perssionType.read(iprot);
-        struct.setPerssionTypeIsSet(true);
+        struct.perssionTypeId = iprot.readString();
+        struct.setPerssionTypeIdIsSet(true);
       }
     }
 
@@ -39279,7 +39269,7 @@ public class GovRegistryService {
 
     private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField GROUP_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("groupList", org.apache.thrift.protocol.TType.LIST, (short)2);
-    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionType", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionTypeId", org.apache.thrift.protocol.TType.STRING, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
@@ -39289,13 +39279,13 @@ public class GovRegistryService {
 
     public String entityId; // required
     public List<String> groupList; // required
-    public org.apache.airavata.sharing.registry.models.PermissionType perssionType; // required
+    public String perssionTypeId; // 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 {
       ENTITY_ID((short)1, "entityId"),
       GROUP_LIST((short)2, "groupList"),
-      PERSSION_TYPE((short)3, "perssionType");
+      PERSSION_TYPE_ID((short)3, "perssionTypeId");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -39314,8 +39304,8 @@ public class GovRegistryService {
             return ENTITY_ID;
           case 2: // GROUP_LIST
             return GROUP_LIST;
-          case 3: // PERSSION_TYPE
-            return PERSSION_TYPE;
+          case 3: // PERSSION_TYPE_ID
+            return PERSSION_TYPE_ID;
           default:
             return null;
         }
@@ -39364,8 +39354,8 @@ public class GovRegistryService {
       tmpMap.put(_Fields.GROUP_LIST, new org.apache.thrift.meta_data.FieldMetaData("groupList", 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))));
-      tmpMap.put(_Fields.PERSSION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("perssionType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.sharing.registry.models.PermissionType.class)));
+      tmpMap.put(_Fields.PERSSION_TYPE_ID, new org.apache.thrift.meta_data.FieldMetaData("perssionTypeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shareEntityWithGroups_args.class, metaDataMap);
     }
@@ -39376,12 +39366,12 @@ public class GovRegistryService {
     public shareEntityWithGroups_args(
       String entityId,
       List<String> groupList,
-      org.apache.airavata.sharing.registry.models.PermissionType perssionType)
+      String perssionTypeId)
     {
       this();
       this.entityId = entityId;
       this.groupList = groupList;
-      this.perssionType = perssionType;
+      this.perssionTypeId = perssionTypeId;
     }
 
     /**
@@ -39395,8 +39385,8 @@ public class GovRegistryService {
         List<String> __this__groupList = new ArrayList<String>(other.groupList);
         this.groupList = __this__groupList;
       }
-      if (other.isSetPerssionType()) {
-        this.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType(other.perssionType);
+      if (other.isSetPerssionTypeId()) {
+        this.perssionTypeId = other.perssionTypeId;
       }
     }
 
@@ -39408,7 +39398,7 @@ public class GovRegistryService {
     public void clear() {
       this.entityId = null;
       this.groupList = null;
-      this.perssionType = null;
+      this.perssionTypeId = null;
     }
 
     public String getEntityId() {
@@ -39474,27 +39464,27 @@ public class GovRegistryService {
       }
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType getPerssionType() {
-      return this.perssionType;
+    public String getPerssionTypeId() {
+      return this.perssionTypeId;
     }
 
-    public shareEntityWithGroups_args setPerssionType(org.apache.airavata.sharing.registry.models.PermissionType perssionType) {
-      this.perssionType = perssionType;
+    public shareEntityWithGroups_args setPerssionTypeId(String perssionTypeId) {
+      this.perssionTypeId = perssionTypeId;
       return this;
     }
 
-    public void unsetPerssionType() {
-      this.perssionType = null;
+    public void unsetPerssionTypeId() {
+      this.perssionTypeId = null;
     }
 
-    /** Returns true if field perssionType is set (has been assigned a value) and false otherwise */
-    public boolean isSetPerssionType() {
-      return this.perssionType != null;
+    /** Returns true if field perssionTypeId is set (has been assigned a value) and false otherwise */
+    public boolean isSetPerssionTypeId() {
+      return this.perssionTypeId != null;
     }
 
-    public void setPerssionTypeIsSet(boolean value) {
+    public void setPerssionTypeIdIsSet(boolean value) {
       if (!value) {
-        this.perssionType = null;
+        this.perssionTypeId = null;
       }
     }
 
@@ -39516,11 +39506,11 @@ public class GovRegistryService {
         }
         break;
 
-      case PERSSION_TYPE:
+      case PERSSION_TYPE_ID:
         if (value == null) {
-          unsetPerssionType();
+          unsetPerssionTypeId();
         } else {
-          setPerssionType((org.apache.airavata.sharing.registry.models.PermissionType)value);
+          setPerssionTypeId((String)value);
         }
         break;
 
@@ -39535,8 +39525,8 @@ public class GovRegistryService {
       case GROUP_LIST:
         return getGroupList();
 
-      case PERSSION_TYPE:
-        return getPerssionType();
+      case PERSSION_TYPE_ID:
+        return getPerssionTypeId();
 
       }
       throw new IllegalStateException();
@@ -39553,8 +39543,8 @@ public class GovRegistryService {
         return isSetEntityId();
       case GROUP_LIST:
         return isSetGroupList();
-      case PERSSION_TYPE:
-        return isSetPerssionType();
+      case PERSSION_TYPE_ID:
+        return isSetPerssionTypeId();
       }
       throw new IllegalStateException();
     }
@@ -39590,12 +39580,12 @@ public class GovRegistryService {
           return false;
       }
 
-      boolean this_present_perssionType = true && this.isSetPerssionType();
-      boolean that_present_perssionType = true && that.isSetPerssionType();
-      if (this_present_perssionType || that_present_perssionType) {
-        if (!(this_present_perssionType && that_present_perssionType))
+      boolean this_present_perssionTypeId = true && this.isSetPerssionTypeId();
+      boolean that_present_perssionTypeId = true && that.isSetPerssionTypeId();
+      if (this_present_perssionTypeId || that_present_perssionTypeId) {
+        if (!(this_present_perssionTypeId && that_present_perssionTypeId))
           return false;
-        if (!this.perssionType.equals(that.perssionType))
+        if (!this.perssionTypeId.equals(that.perssionTypeId))
           return false;
       }
 
@@ -39616,10 +39606,10 @@ public class GovRegistryService {
       if (present_groupList)
         list.add(groupList);
 
-      boolean present_perssionType = true && (isSetPerssionType());
-      list.add(present_perssionType);
-      if (present_perssionType)
-        list.add(perssionType);
+      boolean present_perssionTypeId = true && (isSetPerssionTypeId());
+      list.add(present_perssionTypeId);
+      if (present_perssionTypeId)
+        list.add(perssionTypeId);
 
       return list.hashCode();
     }
@@ -39652,12 +39642,12 @@ public class GovRegistryService {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetPerssionType()).compareTo(other.isSetPerssionType());
+      lastComparison = Boolean.valueOf(isSetPerssionTypeId()).compareTo(other.isSetPerssionTypeId());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetPerssionType()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionType, other.perssionType);
+      if (isSetPerssionTypeId()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionTypeId, other.perssionTypeId);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -39698,11 +39688,11 @@ public class GovRegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("perssionType:");
-      if (this.perssionType == null) {
+      sb.append("perssionTypeId:");
+      if (this.perssionTypeId == null) {
         sb.append("null");
       } else {
-        sb.append(this.perssionType);
+        sb.append(this.perssionTypeId);
       }
       first = false;
       sb.append(")");
@@ -39717,13 +39707,10 @@ public class GovRegistryService {
       if (groupList == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'groupList' was not present! Struct: " + toString());
       }
-      if (perssionType == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionType' was not present! Struct: " + toString());
+      if (perssionTypeId == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionTypeId' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
-      if (perssionType != null) {
-        perssionType.validate();
-      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -39786,11 +39773,10 @@ public class GovRegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // PERSSION_TYPE
-              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-                struct.perssionType.read(iprot);
-                struct.setPerssionTypeIsSet(true);
+            case 3: // PERSSION_TYPE_ID
+              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+                struct.perssionTypeId = iprot.readString();
+                struct.setPerssionTypeIdIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -39827,9 +39813,9 @@ public class GovRegistryService {
           }
           oprot.writeFieldEnd();
         }
-        if (struct.perssionType != null) {
-          oprot.writeFieldBegin(PERSSION_TYPE_FIELD_DESC);
-          struct.perssionType.write(oprot);
+        if (struct.perssionTypeId != null) {
+          oprot.writeFieldBegin(PERSSION_TYPE_ID_FIELD_DESC);
+          oprot.writeString(struct.perssionTypeId);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -39857,7 +39843,7 @@ public class GovRegistryService {
             oprot.writeString(_iter104);
           }
         }
-        struct.perssionType.write(oprot);
+        oprot.writeString(struct.perssionTypeId);
       }
 
       @Override
@@ -39876,9 +39862,8 @@ public class GovRegistryService {
           }
         }
         struct.setGroupListIsSet(true);
-        struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-        struct.perssionType.read(iprot);
-        struct.setPerssionTypeIsSet(true);
+        struct.perssionTypeId = iprot.readString();
+        struct.setPerssionTypeIdIsSet(true);
       }
     }
 
@@ -40357,7 +40342,7 @@ public class GovRegistryService {
 
     private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.STRING, (short)1);
     private static final org.apache.thrift.protocol.TField GROUP_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("groupList", org.apache.thrift.protocol.TType.LIST, (short)2);
-    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionType", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+    private static final org.apache.thrift.protocol.TField PERSSION_TYPE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("perssionTypeId", org.apache.thrift.protocol.TType.STRING, (short)3);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
@@ -40367,13 +40352,13 @@ public class GovRegistryService {
 
     public String entityId; // required
     public List<String> groupList; // required
-    public org.apache.airavata.sharing.registry.models.PermissionType perssionType; // required
+    public String perssionTypeId; // 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 {
       ENTITY_ID((short)1, "entityId"),
       GROUP_LIST((short)2, "groupList"),
-      PERSSION_TYPE((short)3, "perssionType");
+      PERSSION_TYPE_ID((short)3, "perssionTypeId");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -40392,8 +40377,8 @@ public class GovRegistryService {
             return ENTITY_ID;
           case 2: // GROUP_LIST
             return GROUP_LIST;
-          case 3: // PERSSION_TYPE
-            return PERSSION_TYPE;
+          case 3: // PERSSION_TYPE_ID
+            return PERSSION_TYPE_ID;
           default:
             return null;
         }
@@ -40442,8 +40427,8 @@ public class GovRegistryService {
       tmpMap.put(_Fields.GROUP_LIST, new org.apache.thrift.meta_data.FieldMetaData("groupList", 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))));
-      tmpMap.put(_Fields.PERSSION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("perssionType", org.apache.thrift.TFieldRequirementType.REQUIRED, 
-          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.sharing.registry.models.PermissionType.class)));
+      tmpMap.put(_Fields.PERSSION_TYPE_ID, new org.apache.thrift.meta_data.FieldMetaData("perssionTypeId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
       org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(revokeEntitySharingFromGroups_args.class, metaDataMap);
     }
@@ -40454,12 +40439,12 @@ public class GovRegistryService {
     public revokeEntitySharingFromGroups_args(
       String entityId,
       List<String> groupList,
-      org.apache.airavata.sharing.registry.models.PermissionType perssionType)
+      String perssionTypeId)
     {
       this();
       this.entityId = entityId;
       this.groupList = groupList;
-      this.perssionType = perssionType;
+      this.perssionTypeId = perssionTypeId;
     }
 
     /**
@@ -40473,8 +40458,8 @@ public class GovRegistryService {
         List<String> __this__groupList = new ArrayList<String>(other.groupList);
         this.groupList = __this__groupList;
       }
-      if (other.isSetPerssionType()) {
-        this.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType(other.perssionType);
+      if (other.isSetPerssionTypeId()) {
+        this.perssionTypeId = other.perssionTypeId;
       }
     }
 
@@ -40486,7 +40471,7 @@ public class GovRegistryService {
     public void clear() {
       this.entityId = null;
       this.groupList = null;
-      this.perssionType = null;
+      this.perssionTypeId = null;
     }
 
     public String getEntityId() {
@@ -40552,27 +40537,27 @@ public class GovRegistryService {
       }
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType getPerssionType() {
-      return this.perssionType;
+    public String getPerssionTypeId() {
+      return this.perssionTypeId;
     }
 
-    public revokeEntitySharingFromGroups_args setPerssionType(org.apache.airavata.sharing.registry.models.PermissionType perssionType) {
-      this.perssionType = perssionType;
+    public revokeEntitySharingFromGroups_args setPerssionTypeId(String perssionTypeId) {
+      this.perssionTypeId = perssionTypeId;
       return this;
     }
 
-    public void unsetPerssionType() {
-      this.perssionType = null;
+    public void unsetPerssionTypeId() {
+      this.perssionTypeId = null;
     }
 
-    /** Returns true if field perssionType is set (has been assigned a value) and false otherwise */
-    public boolean isSetPerssionType() {
-      return this.perssionType != null;
+    /** Returns true if field perssionTypeId is set (has been assigned a value) and false otherwise */
+    public boolean isSetPerssionTypeId() {
+      return this.perssionTypeId != null;
     }
 
-    public void setPerssionTypeIsSet(boolean value) {
+    public void setPerssionTypeIdIsSet(boolean value) {
       if (!value) {
-        this.perssionType = null;
+        this.perssionTypeId = null;
       }
     }
 
@@ -40594,11 +40579,11 @@ public class GovRegistryService {
         }
         break;
 
-      case PERSSION_TYPE:
+      case PERSSION_TYPE_ID:
         if (value == null) {
-          unsetPerssionType();
+          unsetPerssionTypeId();
         } else {
-          setPerssionType((org.apache.airavata.sharing.registry.models.PermissionType)value);
+          setPerssionTypeId((String)value);
         }
         break;
 
@@ -40613,8 +40598,8 @@ public class GovRegistryService {
       case GROUP_LIST:
         return getGroupList();
 
-      case PERSSION_TYPE:
-        return getPerssionType();
+      case PERSSION_TYPE_ID:
+        return getPerssionTypeId();
 
       }
       throw new IllegalStateException();
@@ -40631,8 +40616,8 @@ public class GovRegistryService {
         return isSetEntityId();
       case GROUP_LIST:
         return isSetGroupList();
-      case PERSSION_TYPE:
-        return isSetPerssionType();
+      case PERSSION_TYPE_ID:
+        return isSetPerssionTypeId();
       }
       throw new IllegalStateException();
     }
@@ -40668,12 +40653,12 @@ public class GovRegistryService {
           return false;
       }
 
-      boolean this_present_perssionType = true && this.isSetPerssionType();
-      boolean that_present_perssionType = true && that.isSetPerssionType();
-      if (this_present_perssionType || that_present_perssionType) {
-        if (!(this_present_perssionType && that_present_perssionType))
+      boolean this_present_perssionTypeId = true && this.isSetPerssionTypeId();
+      boolean that_present_perssionTypeId = true && that.isSetPerssionTypeId();
+      if (this_present_perssionTypeId || that_present_perssionTypeId) {
+        if (!(this_present_perssionTypeId && that_present_perssionTypeId))
           return false;
-        if (!this.perssionType.equals(that.perssionType))
+        if (!this.perssionTypeId.equals(that.perssionTypeId))
           return false;
       }
 
@@ -40694,10 +40679,10 @@ public class GovRegistryService {
       if (present_groupList)
         list.add(groupList);
 
-      boolean present_perssionType = true && (isSetPerssionType());
-      list.add(present_perssionType);
-      if (present_perssionType)
-        list.add(perssionType);
+      boolean present_perssionTypeId = true && (isSetPerssionTypeId());
+      list.add(present_perssionTypeId);
+      if (present_perssionTypeId)
+        list.add(perssionTypeId);
 
       return list.hashCode();
     }
@@ -40730,12 +40715,12 @@ public class GovRegistryService {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetPerssionType()).compareTo(other.isSetPerssionType());
+      lastComparison = Boolean.valueOf(isSetPerssionTypeId()).compareTo(other.isSetPerssionTypeId());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetPerssionType()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionType, other.perssionType);
+      if (isSetPerssionTypeId()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.perssionTypeId, other.perssionTypeId);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -40776,11 +40761,11 @@ public class GovRegistryService {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("perssionType:");
-      if (this.perssionType == null) {
+      sb.append("perssionTypeId:");
+      if (this.perssionTypeId == null) {
         sb.append("null");
       } else {
-        sb.append(this.perssionType);
+        sb.append(this.perssionTypeId);
       }
       first = false;
       sb.append(")");
@@ -40795,13 +40780,10 @@ public class GovRegistryService {
       if (groupList == null) {
         throw new org.apache.thrift.protocol.TProtocolException("Required field 'groupList' was not present! Struct: " + toString());
       }
-      if (perssionType == null) {
-        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionType' was not present! Struct: " + toString());
+      if (perssionTypeId == null) {
+        throw new org.apache.thrift.protocol.TProtocolException("Required field 'perssionTypeId' was not present! Struct: " + toString());
       }
       // check for sub-struct validity
-      if (perssionType != null) {
-        perssionType.validate();
-      }
     }
 
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -40864,11 +40846,10 @@ public class GovRegistryService {
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
               break;
-            case 3: // PERSSION_TYPE
-              if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-                struct.perssionType.read(iprot);
-                struct.setPerssionTypeIsSet(true);
+            case 3: // PERSSION_TYPE_ID
+              if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+                struct.perssionTypeId = iprot.readString();
+                struct.setPerssionTypeIdIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -40905,9 +40886,9 @@ public class GovRegistryService {
           }
           oprot.writeFieldEnd();
         }
-        if (struct.perssionType != null) {
-          oprot.writeFieldBegin(PERSSION_TYPE_FIELD_DESC);
-          struct.perssionType.write(oprot);
+        if (struct.perssionTypeId != null) {
+          oprot.writeFieldBegin(PERSSION_TYPE_ID_FIELD_DESC);
+          oprot.writeString(struct.perssionTypeId);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -40935,7 +40916,7 @@ public class GovRegistryService {
             oprot.writeString(_iter112);
           }
         }
-        struct.perssionType.write(oprot);
+        oprot.writeString(struct.perssionTypeId);
       }
 
       @Override
@@ -40954,9 +40935,8 @@ public class GovRegistryService {
           }
         }
         struct.setGroupListIsSet(true);
-        struct.perssionType = new org.apache.airavata.sharing.registry.models.PermissionType();
-        struct.perssionType.read(iprot);
-        struct.setPerssionTypeIsSet(true);
+        struct.perssionTypeId = iprot.readString();
+        struct.setPerssionTypeIdIsSet(true);
       }
     }
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/244e8416/modules/airavata-sharing-registry/thrift_models/sharing_cpi.thrift
----------------------------------------------------------------------
diff --git a/modules/airavata-sharing-registry/thrift_models/sharing_cpi.thrift b/modules/airavata-sharing-registry/thrift_models/sharing_cpi.thrift
index 48c87fb..0273184 100644
--- a/modules/airavata-sharing-registry/thrift_models/sharing_cpi.thrift
+++ b/modules/airavata-sharing-registry/thrift_models/sharing_cpi.thrift
@@ -88,8 +88,8 @@ service GovRegistryService {
     /**
      * Sharing Entity with Users and Groups
     **/
-    bool shareEntityWithUsers(1: required string entityId, 2: required list<string> userList, 3: required sharing_models.PermissionType perssionType) throws (1: sharing_models.GovRegistryException gre)
-    bool revokeEntitySharingFromUsers(1: required string entityId, 2: required list<string> userList, 3: required sharing_models.PermissionType perssionType) throws (1: sharing_models.GovRegistryException gre)
-    bool shareEntityWithGroups(1: required string entityId, 2: required list<string> groupList, 3: required sharing_models.PermissionType perssionType) throws (1: sharing_models.GovRegistryException gre)
-    bool revokeEntitySharingFromGroups(1: required string entityId, 2: required list<string> groupList, 3: required sharing_models.PermissionType perssionType) throws (1: sharing_models.GovRegistryException gre)
+    bool shareEntityWithUsers(1: required string entityId, 2: required list<string> userList, 3: required string perssionTypeId) throws (1: sharing_models.GovRegistryException gre)
+    bool revokeEntitySharingFromUsers(1: required string entityId, 2: required list<string> userList, 3: required string perssionTypeId) throws (1: sharing_models.GovRegistryException gre)
+    bool shareEntityWithGroups(1: required string entityId, 2: required list<string> groupList, 3: required string perssionTypeId) throws (1: sharing_models.GovRegistryException gre)
+    bool revokeEntitySharingFromGroups(1: required string entityId, 2: required list<string> groupList, 3: required string perssionTypeId) throws (1: sharing_models.GovRegistryException gre)
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/244e8416/modules/airavata-sharing-registry/thrift_models/sharing_models.thrift
----------------------------------------------------------------------
diff --git a/modules/airavata-sharing-registry/thrift_models/sharing_models.thrift b/modules/airavata-sharing-registry/thrift_models/sharing_models.thrift
index ce74a89..8c40ae2 100644
--- a/modules/airavata-sharing-registry/thrift_models/sharing_models.thrift
+++ b/modules/airavata-sharing-registry/thrift_models/sharing_models.thrift
@@ -113,7 +113,7 @@ struct Sharing {
     3: optional string groupId,
     4: optional GroupType groupType,
     5: optional SharingType sharingType,
-    6: optional string inheritedPermissionTypeId,
+    6: optional string inheritedParentId,
     7: optional i64 createdTime,
     8: optional i64 updatedTime
 }


Mime
View raw message