http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_catalog_models_types.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_catalog_models_types.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_catalog_models_types.h
deleted file mode 100644
index 4a4c9df..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_catalog_models_types.h
+++ /dev/null
@@ -1,363 +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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef data_catalog_models_TYPES_H
-#define data_catalog_models_TYPES_H
-
-#include <iosfwd>
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace product {
-
-struct ReplicaLocationCategory {
-  enum type {
-    GATEWAY_DATA_STORE = 0,
-    COMPUTE_RESOURCE = 1,
-    LONG_TERM_STORAGE_RESOURCE = 2,
-    OTHER = 3
-  };
-};
-
-extern const std::map<int, const char*> 
_ReplicaLocationCategory_VALUES_TO_NAMES;
-
-struct ReplicaPersistentType {
-  enum type {
-    TRANSIENT = 0,
-    PERSISTENT = 1
-  };
-};
-
-extern const std::map<int, const char*> _ReplicaPersistentType_VALUES_TO_NAMES;
-
-struct DataProductType {
-  enum type {
-    DIR = 0,
-    FILE = 1,
-    COLLECTION = 2
-  };
-};
-
-extern const std::map<int, const char*> _DataProductType_VALUES_TO_NAMES;
-
-class DataProductModel;
-
-class DataReplicaLocationModel;
-
-typedef struct _DataProductModel__isset {
-  _DataProductModel__isset() : productUri(false), gatewayId(false), 
parentProductUri(false), logicalPath(false), productName(false), 
productDescription(false), ownerName(false), dataProductType(false), 
productSize(false), creationTime(false), lastModifiedTime(false), 
productMetadata(false), replicaLocations(false), childProducts(false) {}
-  bool productUri :1;
-  bool gatewayId :1;
-  bool parentProductUri :1;
-  bool logicalPath :1;
-  bool productName :1;
-  bool productDescription :1;
-  bool ownerName :1;
-  bool dataProductType :1;
-  bool productSize :1;
-  bool creationTime :1;
-  bool lastModifiedTime :1;
-  bool productMetadata :1;
-  bool replicaLocations :1;
-  bool childProducts :1;
-} _DataProductModel__isset;
-
-class DataProductModel {
- public:
-
-  DataProductModel(const DataProductModel&);
-  DataProductModel& operator=(const DataProductModel&);
-  DataProductModel() : productUri(), gatewayId(), parentProductUri(), 
logicalPath(), productName(), productDescription(), ownerName(), 
dataProductType((DataProductType::type)0), productSize(0), creationTime(0), 
lastModifiedTime(0) {
-  }
-
-  virtual ~DataProductModel() throw();
-  std::string productUri;
-  std::string gatewayId;
-  std::string parentProductUri;
-  std::string logicalPath;
-  std::string productName;
-  std::string productDescription;
-  std::string ownerName;
-  DataProductType::type dataProductType;
-  int32_t productSize;
-  int64_t creationTime;
-  int64_t lastModifiedTime;
-  std::map<std::string, std::string>  productMetadata;
-  std::vector<DataReplicaLocationModel>  replicaLocations;
-  std::vector<DataProductModel>  childProducts;
-
-  _DataProductModel__isset __isset;
-
-  void __set_productUri(const std::string& val);
-
-  void __set_gatewayId(const std::string& val);
-
-  void __set_parentProductUri(const std::string& val);
-
-  void __set_logicalPath(const std::string& val);
-
-  void __set_productName(const std::string& val);
-
-  void __set_productDescription(const std::string& val);
-
-  void __set_ownerName(const std::string& val);
-
-  void __set_dataProductType(const DataProductType::type val);
-
-  void __set_productSize(const int32_t val);
-
-  void __set_creationTime(const int64_t val);
-
-  void __set_lastModifiedTime(const int64_t val);
-
-  void __set_productMetadata(const std::map<std::string, std::string> & val);
-
-  void __set_replicaLocations(const std::vector<DataReplicaLocationModel> & 
val);
-
-  void __set_childProducts(const std::vector<DataProductModel> & val);
-
-  bool operator == (const DataProductModel & rhs) const
-  {
-    if (__isset.productUri != rhs.__isset.productUri)
-      return false;
-    else if (__isset.productUri && !(productUri == rhs.productUri))
-      return false;
-    if (__isset.gatewayId != rhs.__isset.gatewayId)
-      return false;
-    else if (__isset.gatewayId && !(gatewayId == rhs.gatewayId))
-      return false;
-    if (__isset.parentProductUri != rhs.__isset.parentProductUri)
-      return false;
-    else if (__isset.parentProductUri && !(parentProductUri == 
rhs.parentProductUri))
-      return false;
-    if (__isset.logicalPath != rhs.__isset.logicalPath)
-      return false;
-    else if (__isset.logicalPath && !(logicalPath == rhs.logicalPath))
-      return false;
-    if (__isset.productName != rhs.__isset.productName)
-      return false;
-    else if (__isset.productName && !(productName == rhs.productName))
-      return false;
-    if (__isset.productDescription != rhs.__isset.productDescription)
-      return false;
-    else if (__isset.productDescription && !(productDescription == 
rhs.productDescription))
-      return false;
-    if (__isset.ownerName != rhs.__isset.ownerName)
-      return false;
-    else if (__isset.ownerName && !(ownerName == rhs.ownerName))
-      return false;
-    if (__isset.dataProductType != rhs.__isset.dataProductType)
-      return false;
-    else if (__isset.dataProductType && !(dataProductType == 
rhs.dataProductType))
-      return false;
-    if (__isset.productSize != rhs.__isset.productSize)
-      return false;
-    else if (__isset.productSize && !(productSize == rhs.productSize))
-      return false;
-    if (__isset.creationTime != rhs.__isset.creationTime)
-      return false;
-    else if (__isset.creationTime && !(creationTime == rhs.creationTime))
-      return false;
-    if (__isset.lastModifiedTime != rhs.__isset.lastModifiedTime)
-      return false;
-    else if (__isset.lastModifiedTime && !(lastModifiedTime == 
rhs.lastModifiedTime))
-      return false;
-    if (__isset.productMetadata != rhs.__isset.productMetadata)
-      return false;
-    else if (__isset.productMetadata && !(productMetadata == 
rhs.productMetadata))
-      return false;
-    if (__isset.replicaLocations != rhs.__isset.replicaLocations)
-      return false;
-    else if (__isset.replicaLocations && !(replicaLocations == 
rhs.replicaLocations))
-      return false;
-    if (__isset.childProducts != rhs.__isset.childProducts)
-      return false;
-    else if (__isset.childProducts && !(childProducts == rhs.childProducts))
-      return false;
-    return true;
-  }
-  bool operator != (const DataProductModel &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const DataProductModel & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(DataProductModel &a, DataProductModel &b);
-
-inline std::ostream& operator<<(std::ostream& out, const DataProductModel& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _DataReplicaLocationModel__isset {
-  _DataReplicaLocationModel__isset() : replicaId(false), productUri(false), 
replicaName(false), replicaDescription(false), creationTime(false), 
lastModifiedTime(false), validUntilTime(false), replicaLocationCategory(false), 
replicaPersistentType(false), storageResourceId(false), filePath(false), 
replicaMetadata(false) {}
-  bool replicaId :1;
-  bool productUri :1;
-  bool replicaName :1;
-  bool replicaDescription :1;
-  bool creationTime :1;
-  bool lastModifiedTime :1;
-  bool validUntilTime :1;
-  bool replicaLocationCategory :1;
-  bool replicaPersistentType :1;
-  bool storageResourceId :1;
-  bool filePath :1;
-  bool replicaMetadata :1;
-} _DataReplicaLocationModel__isset;
-
-class DataReplicaLocationModel {
- public:
-
-  DataReplicaLocationModel(const DataReplicaLocationModel&);
-  DataReplicaLocationModel& operator=(const DataReplicaLocationModel&);
-  DataReplicaLocationModel() : replicaId(), productUri(), replicaName(), 
replicaDescription(), creationTime(0), lastModifiedTime(0), validUntilTime(0), 
replicaLocationCategory((ReplicaLocationCategory::type)0), 
replicaPersistentType((ReplicaPersistentType::type)0), storageResourceId(), 
filePath() {
-  }
-
-  virtual ~DataReplicaLocationModel() throw();
-  std::string replicaId;
-  std::string productUri;
-  std::string replicaName;
-  std::string replicaDescription;
-  int64_t creationTime;
-  int64_t lastModifiedTime;
-  int64_t validUntilTime;
-  ReplicaLocationCategory::type replicaLocationCategory;
-  ReplicaPersistentType::type replicaPersistentType;
-  std::string storageResourceId;
-  std::string filePath;
-  std::map<std::string, std::string>  replicaMetadata;
-
-  _DataReplicaLocationModel__isset __isset;
-
-  void __set_replicaId(const std::string& val);
-
-  void __set_productUri(const std::string& val);
-
-  void __set_replicaName(const std::string& val);
-
-  void __set_replicaDescription(const std::string& val);
-
-  void __set_creationTime(const int64_t val);
-
-  void __set_lastModifiedTime(const int64_t val);
-
-  void __set_validUntilTime(const int64_t val);
-
-  void __set_replicaLocationCategory(const ReplicaLocationCategory::type val);
-
-  void __set_replicaPersistentType(const ReplicaPersistentType::type val);
-
-  void __set_storageResourceId(const std::string& val);
-
-  void __set_filePath(const std::string& val);
-
-  void __set_replicaMetadata(const std::map<std::string, std::string> & val);
-
-  bool operator == (const DataReplicaLocationModel & rhs) const
-  {
-    if (__isset.replicaId != rhs.__isset.replicaId)
-      return false;
-    else if (__isset.replicaId && !(replicaId == rhs.replicaId))
-      return false;
-    if (__isset.productUri != rhs.__isset.productUri)
-      return false;
-    else if (__isset.productUri && !(productUri == rhs.productUri))
-      return false;
-    if (__isset.replicaName != rhs.__isset.replicaName)
-      return false;
-    else if (__isset.replicaName && !(replicaName == rhs.replicaName))
-      return false;
-    if (__isset.replicaDescription != rhs.__isset.replicaDescription)
-      return false;
-    else if (__isset.replicaDescription && !(replicaDescription == 
rhs.replicaDescription))
-      return false;
-    if (__isset.creationTime != rhs.__isset.creationTime)
-      return false;
-    else if (__isset.creationTime && !(creationTime == rhs.creationTime))
-      return false;
-    if (__isset.lastModifiedTime != rhs.__isset.lastModifiedTime)
-      return false;
-    else if (__isset.lastModifiedTime && !(lastModifiedTime == 
rhs.lastModifiedTime))
-      return false;
-    if (__isset.validUntilTime != rhs.__isset.validUntilTime)
-      return false;
-    else if (__isset.validUntilTime && !(validUntilTime == rhs.validUntilTime))
-      return false;
-    if (__isset.replicaLocationCategory != rhs.__isset.replicaLocationCategory)
-      return false;
-    else if (__isset.replicaLocationCategory && !(replicaLocationCategory == 
rhs.replicaLocationCategory))
-      return false;
-    if (__isset.replicaPersistentType != rhs.__isset.replicaPersistentType)
-      return false;
-    else if (__isset.replicaPersistentType && !(replicaPersistentType == 
rhs.replicaPersistentType))
-      return false;
-    if (__isset.storageResourceId != rhs.__isset.storageResourceId)
-      return false;
-    else if (__isset.storageResourceId && !(storageResourceId == 
rhs.storageResourceId))
-      return false;
-    if (__isset.filePath != rhs.__isset.filePath)
-      return false;
-    else if (__isset.filePath && !(filePath == rhs.filePath))
-      return false;
-    if (__isset.replicaMetadata != rhs.__isset.replicaMetadata)
-      return false;
-    else if (__isset.replicaMetadata && !(replicaMetadata == 
rhs.replicaMetadata))
-      return false;
-    return true;
-  }
-  bool operator != (const DataReplicaLocationModel &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const DataReplicaLocationModel & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(DataReplicaLocationModel &a, DataReplicaLocationModel &b);
-
-inline std::ostream& operator<<(std::ostream& out, const 
DataReplicaLocationModel& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-}}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.cpp
deleted file mode 100644
index c57deca..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.cpp
+++ /dev/null
@@ -1,34 +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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "data_movement_models_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace movement {
-
-const data_movement_modelsConstants g_data_movement_models_constants;
-
-data_movement_modelsConstants::data_movement_modelsConstants() {
-}
-
-}}}}} // namespace
-

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.h
deleted file mode 100644
index 27d5c2d..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_constants.h
+++ /dev/null
@@ -1,41 +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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef data_movement_models_CONSTANTS_H
-#define data_movement_models_CONSTANTS_H
-
-#include "data_movement_models_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace movement {
-
-class data_movement_modelsConstants {
- public:
-  data_movement_modelsConstants();
-
-};
-
-extern const data_movement_modelsConstants g_data_movement_models_constants;
-
-}}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.cpp
deleted file mode 100644
index ed2a0ba..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.cpp
+++ /dev/null
@@ -1,743 +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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "data_movement_models_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace movement {
-
-int _kDMTypeValues[] = {
-  DMType::COMPUTE_RESOURCE,
-  DMType::STORAGE_RESOURCE
-};
-const char* _kDMTypeNames[] = {
-  "COMPUTE_RESOURCE",
-  "STORAGE_RESOURCE"
-};
-const std::map<int, const char*> 
_DMType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, _kDMTypeValues, 
_kDMTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-int _kSecurityProtocolValues[] = {
-  SecurityProtocol::USERNAME_PASSWORD,
-  SecurityProtocol::SSH_KEYS,
-  SecurityProtocol::GSI,
-  SecurityProtocol::KERBEROS,
-  SecurityProtocol::OAUTH,
-  SecurityProtocol::LOCAL
-};
-const char* _kSecurityProtocolNames[] = {
-  "USERNAME_PASSWORD",
-  "SSH_KEYS",
-  "GSI",
-  "KERBEROS",
-  "OAUTH",
-  "LOCAL"
-};
-const std::map<int, const char*> 
_SecurityProtocol_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(6, 
_kSecurityProtocolValues, _kSecurityProtocolNames), 
::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-int _kDataMovementProtocolValues[] = {
-  DataMovementProtocol::LOCAL,
-  DataMovementProtocol::SCP,
-  DataMovementProtocol::SFTP,
-  DataMovementProtocol::GridFTP,
-  DataMovementProtocol::UNICORE_STORAGE_SERVICE
-};
-const char* _kDataMovementProtocolNames[] = {
-  "LOCAL",
-  "SCP",
-  "SFTP",
-  "GridFTP",
-  "UNICORE_STORAGE_SERVICE"
-};
-const std::map<int, const char*> 
_DataMovementProtocol_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(5, 
_kDataMovementProtocolValues, _kDataMovementProtocolNames), 
::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-
-SCPDataMovement::~SCPDataMovement() throw() {
-}
-
-
-void SCPDataMovement::__set_dataMovementInterfaceId(const std::string& val) {
-  this->dataMovementInterfaceId = val;
-}
-
-void SCPDataMovement::__set_securityProtocol(const SecurityProtocol::type val) 
{
-  this->securityProtocol = val;
-}
-
-void SCPDataMovement::__set_alternativeSCPHostName(const std::string& val) {
-  this->alternativeSCPHostName = val;
-__isset.alternativeSCPHostName = true;
-}
-
-void SCPDataMovement::__set_sshPort(const int32_t val) {
-  this->sshPort = val;
-__isset.sshPort = true;
-}
-
-uint32_t SCPDataMovement::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*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_dataMovementInterfaceId = false;
-  bool isset_securityProtocol = 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->dataMovementInterfaceId);
-          isset_dataMovementInterfaceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast0;
-          xfer += iprot->readI32(ecast0);
-          this->securityProtocol = (SecurityProtocol::type)ecast0;
-          isset_securityProtocol = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->alternativeSCPHostName);
-          this->__isset.alternativeSCPHostName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          xfer += iprot->readI32(this->sshPort);
-          this->__isset.sshPort = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_dataMovementInterfaceId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_securityProtocol)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t SCPDataMovement::write(::apache::thrift::protocol::TProtocol* oprot) 
const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("SCPDataMovement");
-
-  xfer += oprot->writeFieldBegin("dataMovementInterfaceId", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dataMovementInterfaceId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("securityProtocol", 
::apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32((int32_t)this->securityProtocol);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.alternativeSCPHostName) {
-    xfer += oprot->writeFieldBegin("alternativeSCPHostName", 
::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->alternativeSCPHostName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.sshPort) {
-    xfer += oprot->writeFieldBegin("sshPort", 
::apache::thrift::protocol::T_I32, 4);
-    xfer += oprot->writeI32(this->sshPort);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(SCPDataMovement &a, SCPDataMovement &b) {
-  using ::std::swap;
-  swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
-  swap(a.securityProtocol, b.securityProtocol);
-  swap(a.alternativeSCPHostName, b.alternativeSCPHostName);
-  swap(a.sshPort, b.sshPort);
-  swap(a.__isset, b.__isset);
-}
-
-SCPDataMovement::SCPDataMovement(const SCPDataMovement& other1) {
-  dataMovementInterfaceId = other1.dataMovementInterfaceId;
-  securityProtocol = other1.securityProtocol;
-  alternativeSCPHostName = other1.alternativeSCPHostName;
-  sshPort = other1.sshPort;
-  __isset = other1.__isset;
-}
-SCPDataMovement& SCPDataMovement::operator=(const SCPDataMovement& other2) {
-  dataMovementInterfaceId = other2.dataMovementInterfaceId;
-  securityProtocol = other2.securityProtocol;
-  alternativeSCPHostName = other2.alternativeSCPHostName;
-  sshPort = other2.sshPort;
-  __isset = other2.__isset;
-  return *this;
-}
-void SCPDataMovement::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "SCPDataMovement(";
-  out << "dataMovementInterfaceId=" << to_string(dataMovementInterfaceId);
-  out << ", " << "securityProtocol=" << to_string(securityProtocol);
-  out << ", " << "alternativeSCPHostName="; (__isset.alternativeSCPHostName ? 
(out << to_string(alternativeSCPHostName)) : (out << "<null>"));
-  out << ", " << "sshPort="; (__isset.sshPort ? (out << to_string(sshPort)) : 
(out << "<null>"));
-  out << ")";
-}
-
-
-GridFTPDataMovement::~GridFTPDataMovement() throw() {
-}
-
-
-void GridFTPDataMovement::__set_dataMovementInterfaceId(const std::string& 
val) {
-  this->dataMovementInterfaceId = val;
-}
-
-void GridFTPDataMovement::__set_securityProtocol(const SecurityProtocol::type 
val) {
-  this->securityProtocol = val;
-}
-
-void GridFTPDataMovement::__set_gridFTPEndPoints(const 
std::vector<std::string> & val) {
-  this->gridFTPEndPoints = val;
-}
-
-uint32_t GridFTPDataMovement::read(::apache::thrift::protocol::TProtocol* 
iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*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_dataMovementInterfaceId = false;
-  bool isset_securityProtocol = false;
-  bool isset_gridFTPEndPoints = 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->dataMovementInterfaceId);
-          isset_dataMovementInterfaceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast3;
-          xfer += iprot->readI32(ecast3);
-          this->securityProtocol = (SecurityProtocol::type)ecast3;
-          isset_securityProtocol = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->gridFTPEndPoints.clear();
-            uint32_t _size4;
-            ::apache::thrift::protocol::TType _etype7;
-            xfer += iprot->readListBegin(_etype7, _size4);
-            this->gridFTPEndPoints.resize(_size4);
-            uint32_t _i8;
-            for (_i8 = 0; _i8 < _size4; ++_i8)
-            {
-              xfer += iprot->readString(this->gridFTPEndPoints[_i8]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          isset_gridFTPEndPoints = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_dataMovementInterfaceId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_securityProtocol)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_gridFTPEndPoints)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t GridFTPDataMovement::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("GridFTPDataMovement");
-
-  xfer += oprot->writeFieldBegin("dataMovementInterfaceId", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dataMovementInterfaceId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("securityProtocol", 
::apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32((int32_t)this->securityProtocol);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("gridFTPEndPoints", 
::apache::thrift::protocol::T_LIST, 3);
-  {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->gridFTPEndPoints.size()));
-    std::vector<std::string> ::const_iterator _iter9;
-    for (_iter9 = this->gridFTPEndPoints.begin(); _iter9 != 
this->gridFTPEndPoints.end(); ++_iter9)
-    {
-      xfer += oprot->writeString((*_iter9));
-    }
-    xfer += oprot->writeListEnd();
-  }
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(GridFTPDataMovement &a, GridFTPDataMovement &b) {
-  using ::std::swap;
-  swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
-  swap(a.securityProtocol, b.securityProtocol);
-  swap(a.gridFTPEndPoints, b.gridFTPEndPoints);
-}
-
-GridFTPDataMovement::GridFTPDataMovement(const GridFTPDataMovement& other10) {
-  dataMovementInterfaceId = other10.dataMovementInterfaceId;
-  securityProtocol = other10.securityProtocol;
-  gridFTPEndPoints = other10.gridFTPEndPoints;
-}
-GridFTPDataMovement& GridFTPDataMovement::operator=(const GridFTPDataMovement& 
other11) {
-  dataMovementInterfaceId = other11.dataMovementInterfaceId;
-  securityProtocol = other11.securityProtocol;
-  gridFTPEndPoints = other11.gridFTPEndPoints;
-  return *this;
-}
-void GridFTPDataMovement::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "GridFTPDataMovement(";
-  out << "dataMovementInterfaceId=" << to_string(dataMovementInterfaceId);
-  out << ", " << "securityProtocol=" << to_string(securityProtocol);
-  out << ", " << "gridFTPEndPoints=" << to_string(gridFTPEndPoints);
-  out << ")";
-}
-
-
-UnicoreDataMovement::~UnicoreDataMovement() throw() {
-}
-
-
-void UnicoreDataMovement::__set_dataMovementInterfaceId(const std::string& 
val) {
-  this->dataMovementInterfaceId = val;
-}
-
-void UnicoreDataMovement::__set_securityProtocol(const SecurityProtocol::type 
val) {
-  this->securityProtocol = val;
-}
-
-void UnicoreDataMovement::__set_unicoreEndPointURL(const std::string& val) {
-  this->unicoreEndPointURL = val;
-}
-
-uint32_t UnicoreDataMovement::read(::apache::thrift::protocol::TProtocol* 
iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*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_dataMovementInterfaceId = false;
-  bool isset_securityProtocol = false;
-  bool isset_unicoreEndPointURL = 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->dataMovementInterfaceId);
-          isset_dataMovementInterfaceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast12;
-          xfer += iprot->readI32(ecast12);
-          this->securityProtocol = (SecurityProtocol::type)ecast12;
-          isset_securityProtocol = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->unicoreEndPointURL);
-          isset_unicoreEndPointURL = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_dataMovementInterfaceId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_securityProtocol)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_unicoreEndPointURL)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t UnicoreDataMovement::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("UnicoreDataMovement");
-
-  xfer += oprot->writeFieldBegin("dataMovementInterfaceId", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dataMovementInterfaceId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("securityProtocol", 
::apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32((int32_t)this->securityProtocol);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("unicoreEndPointURL", 
::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->unicoreEndPointURL);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(UnicoreDataMovement &a, UnicoreDataMovement &b) {
-  using ::std::swap;
-  swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
-  swap(a.securityProtocol, b.securityProtocol);
-  swap(a.unicoreEndPointURL, b.unicoreEndPointURL);
-}
-
-UnicoreDataMovement::UnicoreDataMovement(const UnicoreDataMovement& other13) {
-  dataMovementInterfaceId = other13.dataMovementInterfaceId;
-  securityProtocol = other13.securityProtocol;
-  unicoreEndPointURL = other13.unicoreEndPointURL;
-}
-UnicoreDataMovement& UnicoreDataMovement::operator=(const UnicoreDataMovement& 
other14) {
-  dataMovementInterfaceId = other14.dataMovementInterfaceId;
-  securityProtocol = other14.securityProtocol;
-  unicoreEndPointURL = other14.unicoreEndPointURL;
-  return *this;
-}
-void UnicoreDataMovement::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "UnicoreDataMovement(";
-  out << "dataMovementInterfaceId=" << to_string(dataMovementInterfaceId);
-  out << ", " << "securityProtocol=" << to_string(securityProtocol);
-  out << ", " << "unicoreEndPointURL=" << to_string(unicoreEndPointURL);
-  out << ")";
-}
-
-
-LOCALDataMovement::~LOCALDataMovement() throw() {
-}
-
-
-void LOCALDataMovement::__set_dataMovementInterfaceId(const std::string& val) {
-  this->dataMovementInterfaceId = val;
-}
-
-uint32_t LOCALDataMovement::read(::apache::thrift::protocol::TProtocol* iprot) 
{
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*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_dataMovementInterfaceId = 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->dataMovementInterfaceId);
-          isset_dataMovementInterfaceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_dataMovementInterfaceId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t LOCALDataMovement::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("LOCALDataMovement");
-
-  xfer += oprot->writeFieldBegin("dataMovementInterfaceId", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dataMovementInterfaceId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(LOCALDataMovement &a, LOCALDataMovement &b) {
-  using ::std::swap;
-  swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
-}
-
-LOCALDataMovement::LOCALDataMovement(const LOCALDataMovement& other15) {
-  dataMovementInterfaceId = other15.dataMovementInterfaceId;
-}
-LOCALDataMovement& LOCALDataMovement::operator=(const LOCALDataMovement& 
other16) {
-  dataMovementInterfaceId = other16.dataMovementInterfaceId;
-  return *this;
-}
-void LOCALDataMovement::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "LOCALDataMovement(";
-  out << "dataMovementInterfaceId=" << to_string(dataMovementInterfaceId);
-  out << ")";
-}
-
-
-DataMovementInterface::~DataMovementInterface() throw() {
-}
-
-
-void DataMovementInterface::__set_dataMovementInterfaceId(const std::string& 
val) {
-  this->dataMovementInterfaceId = val;
-}
-
-void DataMovementInterface::__set_dataMovementProtocol(const 
DataMovementProtocol::type val) {
-  this->dataMovementProtocol = val;
-}
-
-void DataMovementInterface::__set_priorityOrder(const int32_t val) {
-  this->priorityOrder = val;
-}
-
-uint32_t DataMovementInterface::read(::apache::thrift::protocol::TProtocol* 
iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*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_dataMovementInterfaceId = false;
-  bool isset_dataMovementProtocol = false;
-  bool isset_priorityOrder = 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->dataMovementInterfaceId);
-          isset_dataMovementInterfaceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast17;
-          xfer += iprot->readI32(ecast17);
-          this->dataMovementProtocol = (DataMovementProtocol::type)ecast17;
-          isset_dataMovementProtocol = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          xfer += iprot->readI32(this->priorityOrder);
-          isset_priorityOrder = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_dataMovementInterfaceId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_dataMovementProtocol)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_priorityOrder)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t DataMovementInterface::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("DataMovementInterface");
-
-  xfer += oprot->writeFieldBegin("dataMovementInterfaceId", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dataMovementInterfaceId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("dataMovementProtocol", 
::apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32((int32_t)this->dataMovementProtocol);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("priorityOrder", 
::apache::thrift::protocol::T_I32, 3);
-  xfer += oprot->writeI32(this->priorityOrder);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(DataMovementInterface &a, DataMovementInterface &b) {
-  using ::std::swap;
-  swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
-  swap(a.dataMovementProtocol, b.dataMovementProtocol);
-  swap(a.priorityOrder, b.priorityOrder);
-}
-
-DataMovementInterface::DataMovementInterface(const DataMovementInterface& 
other18) {
-  dataMovementInterfaceId = other18.dataMovementInterfaceId;
-  dataMovementProtocol = other18.dataMovementProtocol;
-  priorityOrder = other18.priorityOrder;
-}
-DataMovementInterface& DataMovementInterface::operator=(const 
DataMovementInterface& other19) {
-  dataMovementInterfaceId = other19.dataMovementInterfaceId;
-  dataMovementProtocol = other19.dataMovementProtocol;
-  priorityOrder = other19.priorityOrder;
-  return *this;
-}
-void DataMovementInterface::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "DataMovementInterface(";
-  out << "dataMovementInterfaceId=" << to_string(dataMovementInterfaceId);
-  out << ", " << "dataMovementProtocol=" << to_string(dataMovementProtocol);
-  out << ", " << "priorityOrder=" << to_string(priorityOrder);
-  out << ")";
-}
-
-}}}}} // namespace

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.h
deleted file mode 100644
index a7c1f0e..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_movement_models_types.h
+++ /dev/null
@@ -1,342 +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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef data_movement_models_TYPES_H
-#define data_movement_models_TYPES_H
-
-#include <iosfwd>
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "airavata_commons_types.h"
-
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace movement {
-
-struct DMType {
-  enum type {
-    COMPUTE_RESOURCE = 0,
-    STORAGE_RESOURCE = 1
-  };
-};
-
-extern const std::map<int, const char*> _DMType_VALUES_TO_NAMES;
-
-struct SecurityProtocol {
-  enum type {
-    USERNAME_PASSWORD = 0,
-    SSH_KEYS = 1,
-    GSI = 2,
-    KERBEROS = 3,
-    OAUTH = 4,
-    LOCAL = 5
-  };
-};
-
-extern const std::map<int, const char*> _SecurityProtocol_VALUES_TO_NAMES;
-
-struct DataMovementProtocol {
-  enum type {
-    LOCAL = 0,
-    SCP = 1,
-    SFTP = 2,
-    GridFTP = 3,
-    UNICORE_STORAGE_SERVICE = 4
-  };
-};
-
-extern const std::map<int, const char*> _DataMovementProtocol_VALUES_TO_NAMES;
-
-class SCPDataMovement;
-
-class GridFTPDataMovement;
-
-class UnicoreDataMovement;
-
-class LOCALDataMovement;
-
-class DataMovementInterface;
-
-typedef struct _SCPDataMovement__isset {
-  _SCPDataMovement__isset() : alternativeSCPHostName(false), sshPort(true) {}
-  bool alternativeSCPHostName :1;
-  bool sshPort :1;
-} _SCPDataMovement__isset;
-
-class SCPDataMovement {
- public:
-
-  SCPDataMovement(const SCPDataMovement&);
-  SCPDataMovement& operator=(const SCPDataMovement&);
-  SCPDataMovement() : dataMovementInterfaceId("DO_NOT_SET_AT_CLIENTS"), 
securityProtocol((SecurityProtocol::type)0), alternativeSCPHostName(), 
sshPort(22) {
-  }
-
-  virtual ~SCPDataMovement() throw();
-  std::string dataMovementInterfaceId;
-  SecurityProtocol::type securityProtocol;
-  std::string alternativeSCPHostName;
-  int32_t sshPort;
-
-  _SCPDataMovement__isset __isset;
-
-  void __set_dataMovementInterfaceId(const std::string& val);
-
-  void __set_securityProtocol(const SecurityProtocol::type val);
-
-  void __set_alternativeSCPHostName(const std::string& val);
-
-  void __set_sshPort(const int32_t val);
-
-  bool operator == (const SCPDataMovement & rhs) const
-  {
-    if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
-      return false;
-    if (!(securityProtocol == rhs.securityProtocol))
-      return false;
-    if (__isset.alternativeSCPHostName != rhs.__isset.alternativeSCPHostName)
-      return false;
-    else if (__isset.alternativeSCPHostName && !(alternativeSCPHostName == 
rhs.alternativeSCPHostName))
-      return false;
-    if (__isset.sshPort != rhs.__isset.sshPort)
-      return false;
-    else if (__isset.sshPort && !(sshPort == rhs.sshPort))
-      return false;
-    return true;
-  }
-  bool operator != (const SCPDataMovement &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const SCPDataMovement & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(SCPDataMovement &a, SCPDataMovement &b);
-
-inline std::ostream& operator<<(std::ostream& out, const SCPDataMovement& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class GridFTPDataMovement {
- public:
-
-  GridFTPDataMovement(const GridFTPDataMovement&);
-  GridFTPDataMovement& operator=(const GridFTPDataMovement&);
-  GridFTPDataMovement() : dataMovementInterfaceId("DO_NOT_SET_AT_CLIENTS"), 
securityProtocol((SecurityProtocol::type)0) {
-  }
-
-  virtual ~GridFTPDataMovement() throw();
-  std::string dataMovementInterfaceId;
-  SecurityProtocol::type securityProtocol;
-  std::vector<std::string>  gridFTPEndPoints;
-
-  void __set_dataMovementInterfaceId(const std::string& val);
-
-  void __set_securityProtocol(const SecurityProtocol::type val);
-
-  void __set_gridFTPEndPoints(const std::vector<std::string> & val);
-
-  bool operator == (const GridFTPDataMovement & rhs) const
-  {
-    if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
-      return false;
-    if (!(securityProtocol == rhs.securityProtocol))
-      return false;
-    if (!(gridFTPEndPoints == rhs.gridFTPEndPoints))
-      return false;
-    return true;
-  }
-  bool operator != (const GridFTPDataMovement &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const GridFTPDataMovement & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(GridFTPDataMovement &a, GridFTPDataMovement &b);
-
-inline std::ostream& operator<<(std::ostream& out, const GridFTPDataMovement& 
obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class UnicoreDataMovement {
- public:
-
-  UnicoreDataMovement(const UnicoreDataMovement&);
-  UnicoreDataMovement& operator=(const UnicoreDataMovement&);
-  UnicoreDataMovement() : dataMovementInterfaceId("DO_NOT_SET_AT_CLIENTS"), 
securityProtocol((SecurityProtocol::type)0), unicoreEndPointURL() {
-  }
-
-  virtual ~UnicoreDataMovement() throw();
-  std::string dataMovementInterfaceId;
-  SecurityProtocol::type securityProtocol;
-  std::string unicoreEndPointURL;
-
-  void __set_dataMovementInterfaceId(const std::string& val);
-
-  void __set_securityProtocol(const SecurityProtocol::type val);
-
-  void __set_unicoreEndPointURL(const std::string& val);
-
-  bool operator == (const UnicoreDataMovement & rhs) const
-  {
-    if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
-      return false;
-    if (!(securityProtocol == rhs.securityProtocol))
-      return false;
-    if (!(unicoreEndPointURL == rhs.unicoreEndPointURL))
-      return false;
-    return true;
-  }
-  bool operator != (const UnicoreDataMovement &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const UnicoreDataMovement & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(UnicoreDataMovement &a, UnicoreDataMovement &b);
-
-inline std::ostream& operator<<(std::ostream& out, const UnicoreDataMovement& 
obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class LOCALDataMovement {
- public:
-
-  LOCALDataMovement(const LOCALDataMovement&);
-  LOCALDataMovement& operator=(const LOCALDataMovement&);
-  LOCALDataMovement() : dataMovementInterfaceId("DO_NOT_SET_AT_CLIENTS") {
-  }
-
-  virtual ~LOCALDataMovement() throw();
-  std::string dataMovementInterfaceId;
-
-  void __set_dataMovementInterfaceId(const std::string& val);
-
-  bool operator == (const LOCALDataMovement & rhs) const
-  {
-    if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
-      return false;
-    return true;
-  }
-  bool operator != (const LOCALDataMovement &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const LOCALDataMovement & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(LOCALDataMovement &a, LOCALDataMovement &b);
-
-inline std::ostream& operator<<(std::ostream& out, const LOCALDataMovement& 
obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class DataMovementInterface {
- public:
-
-  DataMovementInterface(const DataMovementInterface&);
-  DataMovementInterface& operator=(const DataMovementInterface&);
-  DataMovementInterface() : dataMovementInterfaceId(), 
dataMovementProtocol((DataMovementProtocol::type)0), priorityOrder(0) {
-  }
-
-  virtual ~DataMovementInterface() throw();
-  std::string dataMovementInterfaceId;
-  DataMovementProtocol::type dataMovementProtocol;
-  int32_t priorityOrder;
-
-  void __set_dataMovementInterfaceId(const std::string& val);
-
-  void __set_dataMovementProtocol(const DataMovementProtocol::type val);
-
-  void __set_priorityOrder(const int32_t val);
-
-  bool operator == (const DataMovementInterface & rhs) const
-  {
-    if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
-      return false;
-    if (!(dataMovementProtocol == rhs.dataMovementProtocol))
-      return false;
-    if (!(priorityOrder == rhs.priorityOrder))
-      return false;
-    return true;
-  }
-  bool operator != (const DataMovementInterface &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const DataMovementInterface & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(DataMovementInterface &a, DataMovementInterface &b);
-
-inline std::ostream& operator<<(std::ostream& out, const 
DataMovementInterface& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-}}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.cpp
deleted file mode 100644
index c4fb5fd..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.cpp
+++ /dev/null
@@ -1,34 +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.2)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "data_resource_models_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace resource {
-
-const data_resource_modelsConstants g_data_resource_models_constants;
-
-data_resource_modelsConstants::data_resource_modelsConstants() {
-}
-
-}}}}} // namespace
-

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.h
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.h
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.h
deleted file mode 100644
index 62881c7..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_constants.h
+++ /dev/null
@@ -1,41 +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.2)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef data_resource_models_CONSTANTS_H
-#define data_resource_models_CONSTANTS_H
-
-#include "data_resource_models_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace resource {
-
-class data_resource_modelsConstants {
- public:
-  data_resource_modelsConstants();
-
-};
-
-extern const data_resource_modelsConstants g_data_resource_models_constants;
-
-}}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_types.cpp
----------------------------------------------------------------------
diff --git 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_types.cpp
 
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_types.cpp
deleted file mode 100644
index 863c082..0000000
--- 
a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/data_resource_models_types.cpp
+++ /dev/null
@@ -1,707 +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.2)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "data_resource_models_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace model { namespace data { 
namespace resource {
-
-int _kReplicaLocationCategoryValues[] = {
-  ReplicaLocationCategory::GATEWAY_DATA_STORE,
-  ReplicaLocationCategory::COMPUTE_RESOURCE,
-  ReplicaLocationCategory::LONG_TERM_STORAGE_RESOURCE,
-  ReplicaLocationCategory::OTHER
-};
-const char* _kReplicaLocationCategoryNames[] = {
-  "GATEWAY_DATA_STORE",
-  "COMPUTE_RESOURCE",
-  "LONG_TERM_STORAGE_RESOURCE",
-  "OTHER"
-};
-const std::map<int, const char*> 
_ReplicaLocationCategory_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, 
_kReplicaLocationCategoryValues, _kReplicaLocationCategoryNames), 
::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-int _kReplicaPersistentTypeValues[] = {
-  ReplicaPersistentType::TRANSIENT,
-  ReplicaPersistentType::PERSISTENT
-};
-const char* _kReplicaPersistentTypeNames[] = {
-  "TRANSIENT",
-  "PERSISTENT"
-};
-const std::map<int, const char*> 
_ReplicaPersistentType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, 
_kReplicaPersistentTypeValues, _kReplicaPersistentTypeNames), 
::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-
-DataResourceModel::~DataResourceModel() throw() {
-}
-
-
-void DataResourceModel::__set_resourceId(const std::string& val) {
-  this->resourceId = val;
-__isset.resourceId = true;
-}
-
-void DataResourceModel::__set_resourceName(const std::string& val) {
-  this->resourceName = val;
-__isset.resourceName = true;
-}
-
-void DataResourceModel::__set_resourceDescription(const std::string& val) {
-  this->resourceDescription = val;
-__isset.resourceDescription = true;
-}
-
-void DataResourceModel::__set_ownerName(const std::string& val) {
-  this->ownerName = val;
-__isset.ownerName = true;
-}
-
-void DataResourceModel::__set_resourceSize(const int32_t val) {
-  this->resourceSize = val;
-__isset.resourceSize = true;
-}
-
-void DataResourceModel::__set_creationTime(const int64_t val) {
-  this->creationTime = val;
-__isset.creationTime = true;
-}
-
-void DataResourceModel::__set_lastModifiedTime(const int64_t val) {
-  this->lastModifiedTime = val;
-__isset.lastModifiedTime = true;
-}
-
-void DataResourceModel::__set_resourceMetadata(const std::map<std::string, 
std::string> & val) {
-  this->resourceMetadata = val;
-__isset.resourceMetadata = true;
-}
-
-void DataResourceModel::__set_dataReplicaLocations(const 
std::vector<DataReplicaLocationModel> & val) {
-  this->dataReplicaLocations = val;
-__isset.dataReplicaLocations = true;
-}
-
-const char* DataResourceModel::ascii_fingerprint = 
"1320CB0B65DC2E766D01B7D3255179F7";
-const uint8_t DataResourceModel::binary_fingerprint[16] = 
{0x13,0x20,0xCB,0x0B,0x65,0xDC,0x2E,0x76,0x6D,0x01,0xB7,0xD3,0x25,0x51,0x79,0xF7};
-
-uint32_t DataResourceModel::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;
-
-
-  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->resourceId);
-          this->__isset.resourceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->resourceName);
-          this->__isset.resourceName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->resourceDescription);
-          this->__isset.resourceDescription = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->ownerName);
-          this->__isset.ownerName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          xfer += iprot->readI32(this->resourceSize);
-          this->__isset.resourceSize = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->creationTime);
-          this->__isset.creationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->lastModifiedTime);
-          this->__isset.lastModifiedTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_MAP) {
-          {
-            this->resourceMetadata.clear();
-            uint32_t _size0;
-            ::apache::thrift::protocol::TType _ktype1;
-            ::apache::thrift::protocol::TType _vtype2;
-            xfer += iprot->readMapBegin(_ktype1, _vtype2, _size0);
-            uint32_t _i4;
-            for (_i4 = 0; _i4 < _size0; ++_i4)
-            {
-              std::string _key5;
-              xfer += iprot->readString(_key5);
-              std::string& _val6 = this->resourceMetadata[_key5];
-              xfer += iprot->readString(_val6);
-            }
-            xfer += iprot->readMapEnd();
-          }
-          this->__isset.resourceMetadata = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 9:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->dataReplicaLocations.clear();
-            uint32_t _size7;
-            ::apache::thrift::protocol::TType _etype10;
-            xfer += iprot->readListBegin(_etype10, _size7);
-            this->dataReplicaLocations.resize(_size7);
-            uint32_t _i11;
-            for (_i11 = 0; _i11 < _size7; ++_i11)
-            {
-              xfer += this->dataReplicaLocations[_i11].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.dataReplicaLocations = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t DataResourceModel::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
-  uint32_t xfer = 0;
-  oprot->incrementRecursionDepth();
-  xfer += oprot->writeStructBegin("DataResourceModel");
-
-  if (this->__isset.resourceId) {
-    xfer += oprot->writeFieldBegin("resourceId", 
::apache::thrift::protocol::T_STRING, 1);
-    xfer += oprot->writeString(this->resourceId);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.resourceName) {
-    xfer += oprot->writeFieldBegin("resourceName", 
::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->resourceName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.resourceDescription) {
-    xfer += oprot->writeFieldBegin("resourceDescription", 
::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->resourceDescription);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.ownerName) {
-    xfer += oprot->writeFieldBegin("ownerName", 
::apache::thrift::protocol::T_STRING, 4);
-    xfer += oprot->writeString(this->ownerName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.resourceSize) {
-    xfer += oprot->writeFieldBegin("resourceSize", 
::apache::thrift::protocol::T_I32, 5);
-    xfer += oprot->writeI32(this->resourceSize);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.creationTime) {
-    xfer += oprot->writeFieldBegin("creationTime", 
::apache::thrift::protocol::T_I64, 6);
-    xfer += oprot->writeI64(this->creationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.lastModifiedTime) {
-    xfer += oprot->writeFieldBegin("lastModifiedTime", 
::apache::thrift::protocol::T_I64, 7);
-    xfer += oprot->writeI64(this->lastModifiedTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.resourceMetadata) {
-    xfer += oprot->writeFieldBegin("resourceMetadata", 
::apache::thrift::protocol::T_MAP, 8);
-    {
-      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, 
::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->resourceMetadata.size()));
-      std::map<std::string, std::string> ::const_iterator _iter12;
-      for (_iter12 = this->resourceMetadata.begin(); _iter12 != 
this->resourceMetadata.end(); ++_iter12)
-      {
-        xfer += oprot->writeString(_iter12->first);
-        xfer += oprot->writeString(_iter12->second);
-      }
-      xfer += oprot->writeMapEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.dataReplicaLocations) {
-    xfer += oprot->writeFieldBegin("dataReplicaLocations", 
::apache::thrift::protocol::T_LIST, 9);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, 
static_cast<uint32_t>(this->dataReplicaLocations.size()));
-      std::vector<DataReplicaLocationModel> ::const_iterator _iter13;
-      for (_iter13 = this->dataReplicaLocations.begin(); _iter13 != 
this->dataReplicaLocations.end(); ++_iter13)
-      {
-        xfer += (*_iter13).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  oprot->decrementRecursionDepth();
-  return xfer;
-}
-
-void swap(DataResourceModel &a, DataResourceModel &b) {
-  using ::std::swap;
-  swap(a.resourceId, b.resourceId);
-  swap(a.resourceName, b.resourceName);
-  swap(a.resourceDescription, b.resourceDescription);
-  swap(a.ownerName, b.ownerName);
-  swap(a.resourceSize, b.resourceSize);
-  swap(a.creationTime, b.creationTime);
-  swap(a.lastModifiedTime, b.lastModifiedTime);
-  swap(a.resourceMetadata, b.resourceMetadata);
-  swap(a.dataReplicaLocations, b.dataReplicaLocations);
-  swap(a.__isset, b.__isset);
-}
-
-DataResourceModel::DataResourceModel(const DataResourceModel& other14) {
-  resourceId = other14.resourceId;
-  resourceName = other14.resourceName;
-  resourceDescription = other14.resourceDescription;
-  ownerName = other14.ownerName;
-  resourceSize = other14.resourceSize;
-  creationTime = other14.creationTime;
-  lastModifiedTime = other14.lastModifiedTime;
-  resourceMetadata = other14.resourceMetadata;
-  dataReplicaLocations = other14.dataReplicaLocations;
-  __isset = other14.__isset;
-}
-DataResourceModel& DataResourceModel::operator=(const DataResourceModel& 
other15) {
-  resourceId = other15.resourceId;
-  resourceName = other15.resourceName;
-  resourceDescription = other15.resourceDescription;
-  ownerName = other15.ownerName;
-  resourceSize = other15.resourceSize;
-  creationTime = other15.creationTime;
-  lastModifiedTime = other15.lastModifiedTime;
-  resourceMetadata = other15.resourceMetadata;
-  dataReplicaLocations = other15.dataReplicaLocations;
-  __isset = other15.__isset;
-  return *this;
-}
-std::ostream& operator<<(std::ostream& out, const DataResourceModel& obj) {
-  using apache::thrift::to_string;
-  out << "DataResourceModel(";
-  out << "resourceId="; (obj.__isset.resourceId ? (out << 
to_string(obj.resourceId)) : (out << "<null>"));
-  out << ", " << "resourceName="; (obj.__isset.resourceName ? (out << 
to_string(obj.resourceName)) : (out << "<null>"));
-  out << ", " << "resourceDescription="; (obj.__isset.resourceDescription ? 
(out << to_string(obj.resourceDescription)) : (out << "<null>"));
-  out << ", " << "ownerName="; (obj.__isset.ownerName ? (out << 
to_string(obj.ownerName)) : (out << "<null>"));
-  out << ", " << "resourceSize="; (obj.__isset.resourceSize ? (out << 
to_string(obj.resourceSize)) : (out << "<null>"));
-  out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << 
to_string(obj.creationTime)) : (out << "<null>"));
-  out << ", " << "lastModifiedTime="; (obj.__isset.lastModifiedTime ? (out << 
to_string(obj.lastModifiedTime)) : (out << "<null>"));
-  out << ", " << "resourceMetadata="; (obj.__isset.resourceMetadata ? (out << 
to_string(obj.resourceMetadata)) : (out << "<null>"));
-  out << ", " << "dataReplicaLocations="; (obj.__isset.dataReplicaLocations ? 
(out << to_string(obj.dataReplicaLocations)) : (out << "<null>"));
-  out << ")";
-  return out;
-}
-
-
-DataReplicaLocationModel::~DataReplicaLocationModel() throw() {
-}
-
-
-void DataReplicaLocationModel::__set_replicaId(const std::string& val) {
-  this->replicaId = val;
-__isset.replicaId = true;
-}
-
-void DataReplicaLocationModel::__set_resourceId(const std::string& val) {
-  this->resourceId = val;
-__isset.resourceId = true;
-}
-
-void DataReplicaLocationModel::__set_replicaName(const std::string& val) {
-  this->replicaName = val;
-__isset.replicaName = true;
-}
-
-void DataReplicaLocationModel::__set_replicaDescription(const std::string& 
val) {
-  this->replicaDescription = val;
-__isset.replicaDescription = true;
-}
-
-void DataReplicaLocationModel::__set_creationTime(const int64_t val) {
-  this->creationTime = val;
-__isset.creationTime = true;
-}
-
-void DataReplicaLocationModel::__set_lastModifiedTime(const int64_t val) {
-  this->lastModifiedTime = val;
-__isset.lastModifiedTime = true;
-}
-
-void DataReplicaLocationModel::__set_replicaLocationCategory(const 
ReplicaLocationCategory::type val) {
-  this->replicaLocationCategory = val;
-__isset.replicaLocationCategory = true;
-}
-
-void DataReplicaLocationModel::__set_replicaPersistentType(const 
ReplicaPersistentType::type val) {
-  this->replicaPersistentType = val;
-__isset.replicaPersistentType = true;
-}
-
-void DataReplicaLocationModel::__set_dataLocations(const 
std::vector<std::string> & val) {
-  this->dataLocations = val;
-__isset.dataLocations = true;
-}
-
-void DataReplicaLocationModel::__set_replicaMetadata(const 
std::map<std::string, std::string> & val) {
-  this->replicaMetadata = val;
-__isset.replicaMetadata = true;
-}
-
-const char* DataReplicaLocationModel::ascii_fingerprint = 
"781A1748A91BB45A79F33F79DC9474F1";
-const uint8_t DataReplicaLocationModel::binary_fingerprint[16] = 
{0x78,0x1A,0x17,0x48,0xA9,0x1B,0xB4,0x5A,0x79,0xF3,0x3F,0x79,0xDC,0x94,0x74,0xF1};
-
-uint32_t DataReplicaLocationModel::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;
-
-
-  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->replicaId);
-          this->__isset.replicaId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->resourceId);
-          this->__isset.resourceId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->replicaName);
-          this->__isset.replicaName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->replicaDescription);
-          this->__isset.replicaDescription = 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_I64) {
-          xfer += iprot->readI64(this->lastModifiedTime);
-          this->__isset.lastModifiedTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast16;
-          xfer += iprot->readI32(ecast16);
-          this->replicaLocationCategory = 
(ReplicaLocationCategory::type)ecast16;
-          this->__isset.replicaLocationCategory = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast17;
-          xfer += iprot->readI32(ecast17);
-          this->replicaPersistentType = (ReplicaPersistentType::type)ecast17;
-          this->__isset.replicaPersistentType = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 9:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->dataLocations.clear();
-            uint32_t _size18;
-            ::apache::thrift::protocol::TType _etype21;
-            xfer += iprot->readListBegin(_etype21, _size18);
-            this->dataLocations.resize(_size18);
-            uint32_t _i22;
-            for (_i22 = 0; _i22 < _size18; ++_i22)
-            {
-              xfer += iprot->readString(this->dataLocations[_i22]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.dataLocations = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 10:
-        if (ftype == ::apache::thrift::protocol::T_MAP) {
-          {
-            this->replicaMetadata.clear();
-            uint32_t _size23;
-            ::apache::thrift::protocol::TType _ktype24;
-            ::apache::thrift::protocol::TType _vtype25;
-            xfer += iprot->readMapBegin(_ktype24, _vtype25, _size23);
-            uint32_t _i27;
-            for (_i27 = 0; _i27 < _size23; ++_i27)
-            {
-              std::string _key28;
-              xfer += iprot->readString(_key28);
-              std::string& _val29 = this->replicaMetadata[_key28];
-              xfer += iprot->readString(_val29);
-            }
-            xfer += iprot->readMapEnd();
-          }
-          this->__isset.replicaMetadata = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t 
DataReplicaLocationModel::write(::apache::thrift::protocol::TProtocol* oprot) 
const {
-  uint32_t xfer = 0;
-  oprot->incrementRecursionDepth();
-  xfer += oprot->writeStructBegin("DataReplicaLocationModel");
-
-  if (this->__isset.replicaId) {
-    xfer += oprot->writeFieldBegin("replicaId", 
::apache::thrift::protocol::T_STRING, 1);
-    xfer += oprot->writeString(this->replicaId);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.resourceId) {
-    xfer += oprot->writeFieldBegin("resourceId", 
::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->resourceId);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.replicaName) {
-    xfer += oprot->writeFieldBegin("replicaName", 
::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->replicaName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.replicaDescription) {
-    xfer += oprot->writeFieldBegin("replicaDescription", 
::apache::thrift::protocol::T_STRING, 4);
-    xfer += oprot->writeString(this->replicaDescription);
-    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.lastModifiedTime) {
-    xfer += oprot->writeFieldBegin("lastModifiedTime", 
::apache::thrift::protocol::T_I64, 6);
-    xfer += oprot->writeI64(this->lastModifiedTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.replicaLocationCategory) {
-    xfer += oprot->writeFieldBegin("replicaLocationCategory", 
::apache::thrift::protocol::T_I32, 7);
-    xfer += oprot->writeI32((int32_t)this->replicaLocationCategory);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.replicaPersistentType) {
-    xfer += oprot->writeFieldBegin("replicaPersistentType", 
::apache::thrift::protocol::T_I32, 8);
-    xfer += oprot->writeI32((int32_t)this->replicaPersistentType);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.dataLocations) {
-    xfer += oprot->writeFieldBegin("dataLocations", 
::apache::thrift::protocol::T_LIST, 9);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->dataLocations.size()));
-      std::vector<std::string> ::const_iterator _iter30;
-      for (_iter30 = this->dataLocations.begin(); _iter30 != 
this->dataLocations.end(); ++_iter30)
-      {
-        xfer += oprot->writeString((*_iter30));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.replicaMetadata) {
-    xfer += oprot->writeFieldBegin("replicaMetadata", 
::apache::thrift::protocol::T_MAP, 10);
-    {
-      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, 
::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->replicaMetadata.size()));
-      std::map<std::string, std::string> ::const_iterator _iter31;
-      for (_iter31 = this->replicaMetadata.begin(); _iter31 != 
this->replicaMetadata.end(); ++_iter31)
-      {
-        xfer += oprot->writeString(_iter31->first);
-        xfer += oprot->writeString(_iter31->second);
-      }
-      xfer += oprot->writeMapEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  oprot->decrementRecursionDepth();
-  return xfer;
-}
-
-void swap(DataReplicaLocationModel &a, DataReplicaLocationModel &b) {
-  using ::std::swap;
-  swap(a.replicaId, b.replicaId);
-  swap(a.resourceId, b.resourceId);
-  swap(a.replicaName, b.replicaName);
-  swap(a.replicaDescription, b.replicaDescription);
-  swap(a.creationTime, b.creationTime);
-  swap(a.lastModifiedTime, b.lastModifiedTime);
-  swap(a.replicaLocationCategory, b.replicaLocationCategory);
-  swap(a.replicaPersistentType, b.replicaPersistentType);
-  swap(a.dataLocations, b.dataLocations);
-  swap(a.replicaMetadata, b.replicaMetadata);
-  swap(a.__isset, b.__isset);
-}
-
-DataReplicaLocationModel::DataReplicaLocationModel(const 
DataReplicaLocationModel& other32) {
-  replicaId = other32.replicaId;
-  resourceId = other32.resourceId;
-  replicaName = other32.replicaName;
-  replicaDescription = other32.replicaDescription;
-  creationTime = other32.creationTime;
-  lastModifiedTime = other32.lastModifiedTime;
-  replicaLocationCategory = other32.replicaLocationCategory;
-  replicaPersistentType = other32.replicaPersistentType;
-  dataLocations = other32.dataLocations;
-  replicaMetadata = other32.replicaMetadata;
-  __isset = other32.__isset;
-}
-DataReplicaLocationModel& DataReplicaLocationModel::operator=(const 
DataReplicaLocationModel& other33) {
-  replicaId = other33.replicaId;
-  resourceId = other33.resourceId;
-  replicaName = other33.replicaName;
-  replicaDescription = other33.replicaDescription;
-  creationTime = other33.creationTime;
-  lastModifiedTime = other33.lastModifiedTime;
-  replicaLocationCategory = other33.replicaLocationCategory;
-  replicaPersistentType = other33.replicaPersistentType;
-  dataLocations = other33.dataLocations;
-  replicaMetadata = other33.replicaMetadata;
-  __isset = other33.__isset;
-  return *this;
-}
-std::ostream& operator<<(std::ostream& out, const DataReplicaLocationModel& 
obj) {
-  using apache::thrift::to_string;
-  out << "DataReplicaLocationModel(";
-  out << "replicaId="; (obj.__isset.replicaId ? (out << 
to_string(obj.replicaId)) : (out << "<null>"));
-  out << ", " << "resourceId="; (obj.__isset.resourceId ? (out << 
to_string(obj.resourceId)) : (out << "<null>"));
-  out << ", " << "replicaName="; (obj.__isset.replicaName ? (out << 
to_string(obj.replicaName)) : (out << "<null>"));
-  out << ", " << "replicaDescription="; (obj.__isset.replicaDescription ? (out 
<< to_string(obj.replicaDescription)) : (out << "<null>"));
-  out << ", " << "creationTime="; (obj.__isset.creationTime ? (out << 
to_string(obj.creationTime)) : (out << "<null>"));
-  out << ", " << "lastModifiedTime="; (obj.__isset.lastModifiedTime ? (out << 
to_string(obj.lastModifiedTime)) : (out << "<null>"));
-  out << ", " << "replicaLocationCategory="; 
(obj.__isset.replicaLocationCategory ? (out << 
to_string(obj.replicaLocationCategory)) : (out << "<null>"));
-  out << ", " << "replicaPersistentType="; (obj.__isset.replicaPersistentType 
? (out << to_string(obj.replicaPersistentType)) : (out << "<null>"));
-  out << ", " << "dataLocations="; (obj.__isset.dataLocations ? (out << 
to_string(obj.dataLocations)) : (out << "<null>"));
-  out << ", " << "replicaMetadata="; (obj.__isset.replicaMetadata ? (out << 
to_string(obj.replicaMetadata)) : (out << "<null>"));
-  out << ")";
-  return out;
-}
-
-}}}}} // namespace

Reply via email to