airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [30/51] [abbrv] airavata git commit: restructureing the file manager module
Date Wed, 23 Dec 2015 06:53:35 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.cpp
deleted file mode 100644
index 311ea63..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.cpp
+++ /dev/null
@@ -1,508 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "workspaceModel_types.h"
-
-#include <algorithm>
-
-namespace apache { namespace airavata { namespace model { namespace workspace {
-
-const char* Group::ascii_fingerprint = "5B708A954C550ECA9C1A49D3C5CAFAB9";
-const uint8_t Group::binary_fingerprint[16] = {0x5B,0x70,0x8A,0x95,0x4C,0x55,0x0E,0xCA,0x9C,0x1A,0x49,0xD3,0xC5,0xCA,0xFA,0xB9};
-
-uint32_t Group::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_groupName = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->groupName);
-          isset_groupName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->description);
-          this->__isset.description = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_groupName)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Group::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("Group");
-
-  xfer += oprot->writeFieldBegin("groupName", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->groupName);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.description) {
-    xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING,
2);
-    xfer += oprot->writeString(this->description);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Group &a, Group &b) {
-  using ::std::swap;
-  swap(a.groupName, b.groupName);
-  swap(a.description, b.description);
-  swap(a.__isset, b.__isset);
-}
-
-const char* Project::ascii_fingerprint = "AFD8090DE564134035942D450F918628";
-const uint8_t Project::binary_fingerprint[16] = {0xAF,0xD8,0x09,0x0D,0xE5,0x64,0x13,0x40,0x35,0x94,0x2D,0x45,0x0F,0x91,0x86,0x28};
-
-uint32_t Project::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_projectID = false;
-  bool isset_owner = false;
-  bool isset_name = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->projectID);
-          isset_projectID = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->owner);
-          isset_owner = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->name);
-          isset_name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->description);
-          this->__isset.description = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->creationTime);
-          this->__isset.creationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->sharedUsers.clear();
-            uint32_t _size0;
-            ::apache::thrift::protocol::TType _etype3;
-            xfer += iprot->readListBegin(_etype3, _size0);
-            this->sharedUsers.resize(_size0);
-            uint32_t _i4;
-            for (_i4 = 0; _i4 < _size0; ++_i4)
-            {
-              xfer += iprot->readString(this->sharedUsers[_i4]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.sharedUsers = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->sharedGroups.clear();
-            uint32_t _size5;
-            ::apache::thrift::protocol::TType _etype8;
-            xfer += iprot->readListBegin(_etype8, _size5);
-            this->sharedGroups.resize(_size5);
-            uint32_t _i9;
-            for (_i9 = 0; _i9 < _size5; ++_i9)
-            {
-              xfer += iprot->readString(this->sharedGroups[_i9]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.sharedGroups = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_projectID)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_owner)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_name)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Project::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("Project");
-
-  xfer += oprot->writeFieldBegin("projectID", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->projectID);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("owner", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->owner);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->name);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.description) {
-    xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING,
4);
-    xfer += oprot->writeString(this->description);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.creationTime) {
-    xfer += oprot->writeFieldBegin("creationTime", ::apache::thrift::protocol::T_I64,
5);
-    xfer += oprot->writeI64(this->creationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.sharedUsers) {
-    xfer += oprot->writeFieldBegin("sharedUsers", ::apache::thrift::protocol::T_LIST,
6);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->sharedUsers.size()));
-      std::vector<std::string> ::const_iterator _iter10;
-      for (_iter10 = this->sharedUsers.begin(); _iter10 != this->sharedUsers.end();
++_iter10)
-      {
-        xfer += oprot->writeString((*_iter10));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.sharedGroups) {
-    xfer += oprot->writeFieldBegin("sharedGroups", ::apache::thrift::protocol::T_LIST,
7);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->sharedGroups.size()));
-      std::vector<std::string> ::const_iterator _iter11;
-      for (_iter11 = this->sharedGroups.begin(); _iter11 != this->sharedGroups.end();
++_iter11)
-      {
-        xfer += oprot->writeString((*_iter11));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Project &a, Project &b) {
-  using ::std::swap;
-  swap(a.projectID, b.projectID);
-  swap(a.owner, b.owner);
-  swap(a.name, b.name);
-  swap(a.description, b.description);
-  swap(a.creationTime, b.creationTime);
-  swap(a.sharedUsers, b.sharedUsers);
-  swap(a.sharedGroups, b.sharedGroups);
-  swap(a.__isset, b.__isset);
-}
-
-const char* User::ascii_fingerprint = "D7DA282D6B2F08CB02B4E3CF47DB44E5";
-const uint8_t User::binary_fingerprint[16] = {0xD7,0xDA,0x28,0x2D,0x6B,0x2F,0x08,0xCB,0x02,0xB4,0xE3,0xCF,0x47,0xDB,0x44,0xE5};
-
-uint32_t User::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_userName = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->userName);
-          isset_userName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->groupList.clear();
-            uint32_t _size12;
-            ::apache::thrift::protocol::TType _etype15;
-            xfer += iprot->readListBegin(_etype15, _size12);
-            this->groupList.resize(_size12);
-            uint32_t _i16;
-            for (_i16 = 0; _i16 < _size12; ++_i16)
-            {
-              xfer += this->groupList[_i16].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.groupList = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_userName)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t User::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("User");
-
-  xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->userName);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.groupList) {
-    xfer += oprot->writeFieldBegin("groupList", ::apache::thrift::protocol::T_LIST, 2);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->groupList.size()));
-      std::vector<Group> ::const_iterator _iter17;
-      for (_iter17 = this->groupList.begin(); _iter17 != this->groupList.end(); ++_iter17)
-      {
-        xfer += (*_iter17).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(User &a, User &b) {
-  using ::std::swap;
-  swap(a.userName, b.userName);
-  swap(a.groupList, b.groupList);
-  swap(a.__isset, b.__isset);
-}
-
-const char* Gateway::ascii_fingerprint = "6BA700CA2E5FC52A8DA5ADCF811DC8DA";
-const uint8_t Gateway::binary_fingerprint[16] = {0x6B,0xA7,0x00,0xCA,0x2E,0x5F,0xC5,0x2A,0x8D,0xA5,0xAD,0xCF,0x81,0x1D,0xC8,0xDA};
-
-uint32_t Gateway::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_gatewayId = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayId);
-          isset_gatewayId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayName);
-          this->__isset.gatewayName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->domain);
-          this->__isset.domain = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->emailAddress);
-          this->__isset.emailAddress = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_gatewayId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Gateway::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("Gateway");
-
-  xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->gatewayId);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.gatewayName) {
-    xfer += oprot->writeFieldBegin("gatewayName", ::apache::thrift::protocol::T_STRING,
2);
-    xfer += oprot->writeString(this->gatewayName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.domain) {
-    xfer += oprot->writeFieldBegin("domain", ::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->domain);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.emailAddress) {
-    xfer += oprot->writeFieldBegin("emailAddress", ::apache::thrift::protocol::T_STRING,
4);
-    xfer += oprot->writeString(this->emailAddress);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Gateway &a, Gateway &b) {
-  using ::std::swap;
-  swap(a.gatewayId, b.gatewayId);
-  swap(a.gatewayName, b.gatewayName);
-  swap(a.domain, b.domain);
-  swap(a.emailAddress, b.emailAddress);
-  swap(a.__isset, b.__isset);
-}
-
-}}}} // namespace

http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.h
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.h
deleted file mode 100644
index 41593a6..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspaceModel_types.h
+++ /dev/null
@@ -1,321 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef workspaceModel_TYPES_H
-#define workspaceModel_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "experimentModel_types.h"
-
-
-namespace apache { namespace airavata { namespace model { namespace workspace {
-
-typedef struct _Group__isset {
-  _Group__isset() : description(false) {}
-  bool description;
-} _Group__isset;
-
-class Group {
- public:
-
-  static const char* ascii_fingerprint; // = "5B708A954C550ECA9C1A49D3C5CAFAB9";
-  static const uint8_t binary_fingerprint[16]; // = {0x5B,0x70,0x8A,0x95,0x4C,0x55,0x0E,0xCA,0x9C,0x1A,0x49,0xD3,0xC5,0xCA,0xFA,0xB9};
-
-  Group() : groupName(), description() {
-  }
-
-  virtual ~Group() throw() {}
-
-  std::string groupName;
-  std::string description;
-
-  _Group__isset __isset;
-
-  void __set_groupName(const std::string& val) {
-    groupName = val;
-  }
-
-  void __set_description(const std::string& val) {
-    description = val;
-    __isset.description = true;
-  }
-
-  bool operator == (const Group & rhs) const
-  {
-    if (!(groupName == rhs.groupName))
-      return false;
-    if (__isset.description != rhs.__isset.description)
-      return false;
-    else if (__isset.description && !(description == rhs.description))
-      return false;
-    return true;
-  }
-  bool operator != (const Group &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Group & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(Group &a, Group &b);
-
-typedef struct _Project__isset {
-  _Project__isset() : description(false), creationTime(false), sharedUsers(false), sharedGroups(false)
{}
-  bool description;
-  bool creationTime;
-  bool sharedUsers;
-  bool sharedGroups;
-} _Project__isset;
-
-class Project {
- public:
-
-  static const char* ascii_fingerprint; // = "AFD8090DE564134035942D450F918628";
-  static const uint8_t binary_fingerprint[16]; // = {0xAF,0xD8,0x09,0x0D,0xE5,0x64,0x13,0x40,0x35,0x94,0x2D,0x45,0x0F,0x91,0x86,0x28};
-
-  Project() : projectID("DEFAULT"), owner(), name(), description(), creationTime(0) {
-  }
-
-  virtual ~Project() throw() {}
-
-  std::string projectID;
-  std::string owner;
-  std::string name;
-  std::string description;
-  int64_t creationTime;
-  std::vector<std::string>  sharedUsers;
-  std::vector<std::string>  sharedGroups;
-
-  _Project__isset __isset;
-
-  void __set_projectID(const std::string& val) {
-    projectID = val;
-  }
-
-  void __set_owner(const std::string& val) {
-    owner = val;
-  }
-
-  void __set_name(const std::string& val) {
-    name = val;
-  }
-
-  void __set_description(const std::string& val) {
-    description = val;
-    __isset.description = true;
-  }
-
-  void __set_creationTime(const int64_t val) {
-    creationTime = val;
-    __isset.creationTime = true;
-  }
-
-  void __set_sharedUsers(const std::vector<std::string> & val) {
-    sharedUsers = val;
-    __isset.sharedUsers = true;
-  }
-
-  void __set_sharedGroups(const std::vector<std::string> & val) {
-    sharedGroups = val;
-    __isset.sharedGroups = true;
-  }
-
-  bool operator == (const Project & rhs) const
-  {
-    if (!(projectID == rhs.projectID))
-      return false;
-    if (!(owner == rhs.owner))
-      return false;
-    if (!(name == rhs.name))
-      return false;
-    if (__isset.description != rhs.__isset.description)
-      return false;
-    else if (__isset.description && !(description == rhs.description))
-      return false;
-    if (__isset.creationTime != rhs.__isset.creationTime)
-      return false;
-    else if (__isset.creationTime && !(creationTime == rhs.creationTime))
-      return false;
-    if (__isset.sharedUsers != rhs.__isset.sharedUsers)
-      return false;
-    else if (__isset.sharedUsers && !(sharedUsers == rhs.sharedUsers))
-      return false;
-    if (__isset.sharedGroups != rhs.__isset.sharedGroups)
-      return false;
-    else if (__isset.sharedGroups && !(sharedGroups == rhs.sharedGroups))
-      return false;
-    return true;
-  }
-  bool operator != (const Project &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Project & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(Project &a, Project &b);
-
-typedef struct _User__isset {
-  _User__isset() : groupList(false) {}
-  bool groupList;
-} _User__isset;
-
-class User {
- public:
-
-  static const char* ascii_fingerprint; // = "D7DA282D6B2F08CB02B4E3CF47DB44E5";
-  static const uint8_t binary_fingerprint[16]; // = {0xD7,0xDA,0x28,0x2D,0x6B,0x2F,0x08,0xCB,0x02,0xB4,0xE3,0xCF,0x47,0xDB,0x44,0xE5};
-
-  User() : userName() {
-  }
-
-  virtual ~User() throw() {}
-
-  std::string userName;
-  std::vector<Group>  groupList;
-
-  _User__isset __isset;
-
-  void __set_userName(const std::string& val) {
-    userName = val;
-  }
-
-  void __set_groupList(const std::vector<Group> & val) {
-    groupList = val;
-    __isset.groupList = true;
-  }
-
-  bool operator == (const User & rhs) const
-  {
-    if (!(userName == rhs.userName))
-      return false;
-    if (__isset.groupList != rhs.__isset.groupList)
-      return false;
-    else if (__isset.groupList && !(groupList == rhs.groupList))
-      return false;
-    return true;
-  }
-  bool operator != (const User &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const User & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(User &a, User &b);
-
-typedef struct _Gateway__isset {
-  _Gateway__isset() : gatewayName(false), domain(false), emailAddress(false) {}
-  bool gatewayName;
-  bool domain;
-  bool emailAddress;
-} _Gateway__isset;
-
-class Gateway {
- public:
-
-  static const char* ascii_fingerprint; // = "6BA700CA2E5FC52A8DA5ADCF811DC8DA";
-  static const uint8_t binary_fingerprint[16]; // = {0x6B,0xA7,0x00,0xCA,0x2E,0x5F,0xC5,0x2A,0x8D,0xA5,0xAD,0xCF,0x81,0x1D,0xC8,0xDA};
-
-  Gateway() : gatewayId(), gatewayName(), domain(), emailAddress() {
-  }
-
-  virtual ~Gateway() throw() {}
-
-  std::string gatewayId;
-  std::string gatewayName;
-  std::string domain;
-  std::string emailAddress;
-
-  _Gateway__isset __isset;
-
-  void __set_gatewayId(const std::string& val) {
-    gatewayId = val;
-  }
-
-  void __set_gatewayName(const std::string& val) {
-    gatewayName = val;
-    __isset.gatewayName = true;
-  }
-
-  void __set_domain(const std::string& val) {
-    domain = val;
-    __isset.domain = true;
-  }
-
-  void __set_emailAddress(const std::string& val) {
-    emailAddress = val;
-    __isset.emailAddress = true;
-  }
-
-  bool operator == (const Gateway & rhs) const
-  {
-    if (!(gatewayId == rhs.gatewayId))
-      return false;
-    if (__isset.gatewayName != rhs.__isset.gatewayName)
-      return false;
-    else if (__isset.gatewayName && !(gatewayName == rhs.gatewayName))
-      return false;
-    if (__isset.domain != rhs.__isset.domain)
-      return false;
-    else if (__isset.domain && !(domain == rhs.domain))
-      return false;
-    if (__isset.emailAddress != rhs.__isset.emailAddress)
-      return false;
-    else if (__isset.emailAddress && !(emailAddress == rhs.emailAddress))
-      return false;
-    return true;
-  }
-  bool operator != (const Gateway &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Gateway & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(Gateway &a, Gateway &b);
-
-}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/concurrency/Thread.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/concurrency/Thread.h
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/concurrency/Thread.h
old mode 100755
new mode 100644

http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/server/TServer.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/server/TServer.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/server/TServer.cpp
old mode 100755
new mode 100644

http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/thrift-config.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/thrift-config.h
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/thrift-config.h
old mode 100755
new mode 100644

http://git-wip-us.apache.org/repos/asf/airavata/blob/5881af94/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/transport/TPipeServer.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/transport/TPipeServer.h
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/transport/TPipeServer.h
old mode 100755
new mode 100644


Mime
View raw message