airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [37/51] [partial] airavata-php-gateway git commit: removing files from wrong merge
Date Tue, 13 Dec 2016 22:09:50 GMT
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/airavata_errors_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp
deleted file mode 100644
index 08c02cf..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.cpp
+++ /dev/null
@@ -1,1223 +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 "airavata_errors_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace api { namespace error {
-
-int _kAiravataErrorTypeValues[] = {
-  AiravataErrorType::UNKNOWN,
-  AiravataErrorType::PERMISSION_DENIED,
-  AiravataErrorType::INTERNAL_ERROR,
-  AiravataErrorType::AUTHENTICATION_FAILURE,
-  AiravataErrorType::INVALID_AUTHORIZATION,
-  AiravataErrorType::AUTHORIZATION_EXPIRED,
-  AiravataErrorType::UNKNOWN_GATEWAY_ID,
-  AiravataErrorType::UNSUPPORTED_OPERATION
-};
-const char* _kAiravataErrorTypeNames[] = {
-  "UNKNOWN",
-  "PERMISSION_DENIED",
-  "INTERNAL_ERROR",
-  "AUTHENTICATION_FAILURE",
-  "INVALID_AUTHORIZATION",
-  "AUTHORIZATION_EXPIRED",
-  "UNKNOWN_GATEWAY_ID",
-  "UNSUPPORTED_OPERATION"
-};
-const std::map<int, const char*> _AiravataErrorType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(8, _kAiravataErrorTypeValues, _kAiravataErrorTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-
-ExperimentNotFoundException::~ExperimentNotFoundException() throw() {
-}
-
-
-void ExperimentNotFoundException::__set_message(const std::string& val) {
-  this->message = val;
-}
-
-uint32_t ExperimentNotFoundException::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_message = 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->message);
-          isset_message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_message)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ExperimentNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ExperimentNotFoundException");
-
-  xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->message);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b) {
-  using ::std::swap;
-  swap(a.message, b.message);
-}
-
-ExperimentNotFoundException::ExperimentNotFoundException(const ExperimentNotFoundException& other0) : TException() {
-  message = other0.message;
-}
-ExperimentNotFoundException& ExperimentNotFoundException::operator=(const ExperimentNotFoundException& other1) {
-  message = other1.message;
-  return *this;
-}
-void ExperimentNotFoundException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "ExperimentNotFoundException(";
-  out << "message=" << to_string(message);
-  out << ")";
-}
-
-const char* ExperimentNotFoundException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: ExperimentNotFoundException";
-  }
-}
-
-
-ProjectNotFoundException::~ProjectNotFoundException() throw() {
-}
-
-
-void ProjectNotFoundException::__set_message(const std::string& val) {
-  this->message = val;
-}
-
-uint32_t ProjectNotFoundException::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_message = 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->message);
-          isset_message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_message)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ProjectNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ProjectNotFoundException");
-
-  xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->message);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ProjectNotFoundException &a, ProjectNotFoundException &b) {
-  using ::std::swap;
-  swap(a.message, b.message);
-}
-
-ProjectNotFoundException::ProjectNotFoundException(const ProjectNotFoundException& other2) : TException() {
-  message = other2.message;
-}
-ProjectNotFoundException& ProjectNotFoundException::operator=(const ProjectNotFoundException& other3) {
-  message = other3.message;
-  return *this;
-}
-void ProjectNotFoundException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "ProjectNotFoundException(";
-  out << "message=" << to_string(message);
-  out << ")";
-}
-
-const char* ProjectNotFoundException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: ProjectNotFoundException";
-  }
-}
-
-
-InvalidRequestException::~InvalidRequestException() throw() {
-}
-
-
-void InvalidRequestException::__set_message(const std::string& val) {
-  this->message = val;
-}
-
-uint32_t InvalidRequestException::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_message = 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->message);
-          isset_message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_message)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t InvalidRequestException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("InvalidRequestException");
-
-  xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->message);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(InvalidRequestException &a, InvalidRequestException &b) {
-  using ::std::swap;
-  swap(a.message, b.message);
-}
-
-InvalidRequestException::InvalidRequestException(const InvalidRequestException& other4) : TException() {
-  message = other4.message;
-}
-InvalidRequestException& InvalidRequestException::operator=(const InvalidRequestException& other5) {
-  message = other5.message;
-  return *this;
-}
-void InvalidRequestException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "InvalidRequestException(";
-  out << "message=" << to_string(message);
-  out << ")";
-}
-
-const char* InvalidRequestException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: InvalidRequestException";
-  }
-}
-
-
-TimedOutException::~TimedOutException() throw() {
-}
-
-
-uint32_t TimedOutException::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;
-
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    xfer += iprot->skip(ftype);
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t TimedOutException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("TimedOutException");
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(TimedOutException &a, TimedOutException &b) {
-  using ::std::swap;
-  (void) a;
-  (void) b;
-}
-
-TimedOutException::TimedOutException(const TimedOutException& other6) : TException() {
-  (void) other6;
-}
-TimedOutException& TimedOutException::operator=(const TimedOutException& other7) {
-  (void) other7;
-  return *this;
-}
-void TimedOutException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "TimedOutException(";
-  out << ")";
-}
-
-const char* TimedOutException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: TimedOutException";
-  }
-}
-
-
-AuthenticationException::~AuthenticationException() throw() {
-}
-
-
-void AuthenticationException::__set_message(const std::string& val) {
-  this->message = val;
-}
-
-uint32_t AuthenticationException::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_message = 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->message);
-          isset_message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_message)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t AuthenticationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("AuthenticationException");
-
-  xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->message);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(AuthenticationException &a, AuthenticationException &b) {
-  using ::std::swap;
-  swap(a.message, b.message);
-}
-
-AuthenticationException::AuthenticationException(const AuthenticationException& other8) : TException() {
-  message = other8.message;
-}
-AuthenticationException& AuthenticationException::operator=(const AuthenticationException& other9) {
-  message = other9.message;
-  return *this;
-}
-void AuthenticationException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "AuthenticationException(";
-  out << "message=" << to_string(message);
-  out << ")";
-}
-
-const char* AuthenticationException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: AuthenticationException";
-  }
-}
-
-
-AuthorizationException::~AuthorizationException() throw() {
-}
-
-
-void AuthorizationException::__set_message(const std::string& val) {
-  this->message = val;
-}
-
-uint32_t AuthorizationException::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_message = 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->message);
-          isset_message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_message)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t AuthorizationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("AuthorizationException");
-
-  xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->message);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(AuthorizationException &a, AuthorizationException &b) {
-  using ::std::swap;
-  swap(a.message, b.message);
-}
-
-AuthorizationException::AuthorizationException(const AuthorizationException& other10) : TException() {
-  message = other10.message;
-}
-AuthorizationException& AuthorizationException::operator=(const AuthorizationException& other11) {
-  message = other11.message;
-  return *this;
-}
-void AuthorizationException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "AuthorizationException(";
-  out << "message=" << to_string(message);
-  out << ")";
-}
-
-const char* AuthorizationException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: AuthorizationException";
-  }
-}
-
-
-AiravataClientException::~AiravataClientException() throw() {
-}
-
-
-void AiravataClientException::__set_airavataErrorType(const AiravataErrorType::type val) {
-  this->airavataErrorType = val;
-}
-
-void AiravataClientException::__set_parameter(const std::string& val) {
-  this->parameter = val;
-__isset.parameter = true;
-}
-
-uint32_t AiravataClientException::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_airavataErrorType = 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_I32) {
-          int32_t ecast12;
-          xfer += iprot->readI32(ecast12);
-          this->airavataErrorType = (AiravataErrorType::type)ecast12;
-          isset_airavataErrorType = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->parameter);
-          this->__isset.parameter = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_airavataErrorType)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t AiravataClientException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("AiravataClientException");
-
-  xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
-  xfer += oprot->writeI32((int32_t)this->airavataErrorType);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.parameter) {
-    xfer += oprot->writeFieldBegin("parameter", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->parameter);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(AiravataClientException &a, AiravataClientException &b) {
-  using ::std::swap;
-  swap(a.airavataErrorType, b.airavataErrorType);
-  swap(a.parameter, b.parameter);
-  swap(a.__isset, b.__isset);
-}
-
-AiravataClientException::AiravataClientException(const AiravataClientException& other13) : TException() {
-  airavataErrorType = other13.airavataErrorType;
-  parameter = other13.parameter;
-  __isset = other13.__isset;
-}
-AiravataClientException& AiravataClientException::operator=(const AiravataClientException& other14) {
-  airavataErrorType = other14.airavataErrorType;
-  parameter = other14.parameter;
-  __isset = other14.__isset;
-  return *this;
-}
-void AiravataClientException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "AiravataClientException(";
-  out << "airavataErrorType=" << to_string(airavataErrorType);
-  out << ", " << "parameter="; (__isset.parameter ? (out << to_string(parameter)) : (out << "<null>"));
-  out << ")";
-}
-
-const char* AiravataClientException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: AiravataClientException";
-  }
-}
-
-
-ValidatorResult::~ValidatorResult() throw() {
-}
-
-
-void ValidatorResult::__set_result(const bool val) {
-  this->result = val;
-}
-
-void ValidatorResult::__set_errorDetails(const std::string& val) {
-  this->errorDetails = val;
-__isset.errorDetails = true;
-}
-
-uint32_t ValidatorResult::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_result = 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_BOOL) {
-          xfer += iprot->readBool(this->result);
-          isset_result = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->errorDetails);
-          this->__isset.errorDetails = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_result)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ValidatorResult");
-
-  xfer += oprot->writeFieldBegin("result", ::apache::thrift::protocol::T_BOOL, 1);
-  xfer += oprot->writeBool(this->result);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.errorDetails) {
-    xfer += oprot->writeFieldBegin("errorDetails", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->errorDetails);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ValidatorResult &a, ValidatorResult &b) {
-  using ::std::swap;
-  swap(a.result, b.result);
-  swap(a.errorDetails, b.errorDetails);
-  swap(a.__isset, b.__isset);
-}
-
-ValidatorResult::ValidatorResult(const ValidatorResult& other15) {
-  result = other15.result;
-  errorDetails = other15.errorDetails;
-  __isset = other15.__isset;
-}
-ValidatorResult& ValidatorResult::operator=(const ValidatorResult& other16) {
-  result = other16.result;
-  errorDetails = other16.errorDetails;
-  __isset = other16.__isset;
-  return *this;
-}
-void ValidatorResult::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "ValidatorResult(";
-  out << "result=" << to_string(result);
-  out << ", " << "errorDetails="; (__isset.errorDetails ? (out << to_string(errorDetails)) : (out << "<null>"));
-  out << ")";
-}
-
-
-ValidationResults::~ValidationResults() throw() {
-}
-
-
-void ValidationResults::__set_validationState(const bool val) {
-  this->validationState = val;
-}
-
-void ValidationResults::__set_validationResultList(const std::vector<ValidatorResult> & val) {
-  this->validationResultList = val;
-}
-
-uint32_t ValidationResults::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_validationState = false;
-  bool isset_validationResultList = 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_BOOL) {
-          xfer += iprot->readBool(this->validationState);
-          isset_validationState = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->validationResultList.clear();
-            uint32_t _size17;
-            ::apache::thrift::protocol::TType _etype20;
-            xfer += iprot->readListBegin(_etype20, _size17);
-            this->validationResultList.resize(_size17);
-            uint32_t _i21;
-            for (_i21 = 0; _i21 < _size17; ++_i21)
-            {
-              xfer += this->validationResultList[_i21].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          isset_validationResultList = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_validationState)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_validationResultList)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ValidationResults");
-
-  xfer += oprot->writeFieldBegin("validationState", ::apache::thrift::protocol::T_BOOL, 1);
-  xfer += oprot->writeBool(this->validationState);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("validationResultList", ::apache::thrift::protocol::T_LIST, 2);
-  {
-    xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->validationResultList.size()));
-    std::vector<ValidatorResult> ::const_iterator _iter22;
-    for (_iter22 = this->validationResultList.begin(); _iter22 != this->validationResultList.end(); ++_iter22)
-    {
-      xfer += (*_iter22).write(oprot);
-    }
-    xfer += oprot->writeListEnd();
-  }
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ValidationResults &a, ValidationResults &b) {
-  using ::std::swap;
-  swap(a.validationState, b.validationState);
-  swap(a.validationResultList, b.validationResultList);
-}
-
-ValidationResults::ValidationResults(const ValidationResults& other23) {
-  validationState = other23.validationState;
-  validationResultList = other23.validationResultList;
-}
-ValidationResults& ValidationResults::operator=(const ValidationResults& other24) {
-  validationState = other24.validationState;
-  validationResultList = other24.validationResultList;
-  return *this;
-}
-void ValidationResults::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "ValidationResults(";
-  out << "validationState=" << to_string(validationState);
-  out << ", " << "validationResultList=" << to_string(validationResultList);
-  out << ")";
-}
-
-
-LaunchValidationException::~LaunchValidationException() throw() {
-}
-
-
-void LaunchValidationException::__set_validationResult(const ValidationResults& val) {
-  this->validationResult = val;
-}
-
-void LaunchValidationException::__set_errorMessage(const std::string& val) {
-  this->errorMessage = val;
-__isset.errorMessage = true;
-}
-
-uint32_t LaunchValidationException::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_validationResult = 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_STRUCT) {
-          xfer += this->validationResult.read(iprot);
-          isset_validationResult = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->errorMessage);
-          this->__isset.errorMessage = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_validationResult)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t LaunchValidationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("LaunchValidationException");
-
-  xfer += oprot->writeFieldBegin("validationResult", ::apache::thrift::protocol::T_STRUCT, 1);
-  xfer += this->validationResult.write(oprot);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.errorMessage) {
-    xfer += oprot->writeFieldBegin("errorMessage", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->errorMessage);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(LaunchValidationException &a, LaunchValidationException &b) {
-  using ::std::swap;
-  swap(a.validationResult, b.validationResult);
-  swap(a.errorMessage, b.errorMessage);
-  swap(a.__isset, b.__isset);
-}
-
-LaunchValidationException::LaunchValidationException(const LaunchValidationException& other25) : TException() {
-  validationResult = other25.validationResult;
-  errorMessage = other25.errorMessage;
-  __isset = other25.__isset;
-}
-LaunchValidationException& LaunchValidationException::operator=(const LaunchValidationException& other26) {
-  validationResult = other26.validationResult;
-  errorMessage = other26.errorMessage;
-  __isset = other26.__isset;
-  return *this;
-}
-void LaunchValidationException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "LaunchValidationException(";
-  out << "validationResult=" << to_string(validationResult);
-  out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "<null>"));
-  out << ")";
-}
-
-const char* LaunchValidationException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: LaunchValidationException";
-  }
-}
-
-
-AiravataSystemException::~AiravataSystemException() throw() {
-}
-
-
-void AiravataSystemException::__set_airavataErrorType(const AiravataErrorType::type val) {
-  this->airavataErrorType = val;
-}
-
-void AiravataSystemException::__set_message(const std::string& val) {
-  this->message = val;
-__isset.message = true;
-}
-
-uint32_t AiravataSystemException::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_airavataErrorType = 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_I32) {
-          int32_t ecast27;
-          xfer += iprot->readI32(ecast27);
-          this->airavataErrorType = (AiravataErrorType::type)ecast27;
-          isset_airavataErrorType = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->message);
-          this->__isset.message = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_airavataErrorType)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t AiravataSystemException::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("AiravataSystemException");
-
-  xfer += oprot->writeFieldBegin("airavataErrorType", ::apache::thrift::protocol::T_I32, 1);
-  xfer += oprot->writeI32((int32_t)this->airavataErrorType);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.message) {
-    xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->message);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(AiravataSystemException &a, AiravataSystemException &b) {
-  using ::std::swap;
-  swap(a.airavataErrorType, b.airavataErrorType);
-  swap(a.message, b.message);
-  swap(a.__isset, b.__isset);
-}
-
-AiravataSystemException::AiravataSystemException(const AiravataSystemException& other28) : TException() {
-  airavataErrorType = other28.airavataErrorType;
-  message = other28.message;
-  __isset = other28.__isset;
-}
-AiravataSystemException& AiravataSystemException::operator=(const AiravataSystemException& other29) {
-  airavataErrorType = other29.airavataErrorType;
-  message = other29.message;
-  __isset = other29.__isset;
-  return *this;
-}
-void AiravataSystemException::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "AiravataSystemException(";
-  out << "airavataErrorType=" << to_string(airavataErrorType);
-  out << ", " << "message="; (__isset.message ? (out << to_string(message)) : (out << "<null>"));
-  out << ")";
-}
-
-const char* AiravataSystemException::what() const throw() {
-  try {
-    std::stringstream ss;
-    ss << "TException - service has thrown: " << *this;
-    this->thriftTExceptionMessageHolder_ = ss.str();
-    return this->thriftTExceptionMessageHolder_.c_str();
-  } catch (const std::exception&) {
-    return "TException - service has thrown: AiravataSystemException";
-  }
-}
-
-}}}} // 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/airavata_errors_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h
deleted file mode 100644
index e756d0a..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_types.h
+++ /dev/null
@@ -1,589 +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 airavata_errors_TYPES_H
-#define airavata_errors_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 "experiment_model_types.h"
-
-
-namespace apache { namespace airavata { namespace api { namespace error {
-
-struct AiravataErrorType {
-  enum type {
-    UNKNOWN = 0,
-    PERMISSION_DENIED = 1,
-    INTERNAL_ERROR = 2,
-    AUTHENTICATION_FAILURE = 3,
-    INVALID_AUTHORIZATION = 4,
-    AUTHORIZATION_EXPIRED = 5,
-    UNKNOWN_GATEWAY_ID = 6,
-    UNSUPPORTED_OPERATION = 7
-  };
-};
-
-extern const std::map<int, const char*> _AiravataErrorType_VALUES_TO_NAMES;
-
-class ExperimentNotFoundException;
-
-class ProjectNotFoundException;
-
-class InvalidRequestException;
-
-class TimedOutException;
-
-class AuthenticationException;
-
-class AuthorizationException;
-
-class AiravataClientException;
-
-class ValidatorResult;
-
-class ValidationResults;
-
-class LaunchValidationException;
-
-class AiravataSystemException;
-
-
-class ExperimentNotFoundException : public ::apache::thrift::TException {
- public:
-
-  ExperimentNotFoundException(const ExperimentNotFoundException&);
-  ExperimentNotFoundException& operator=(const ExperimentNotFoundException&);
-  ExperimentNotFoundException() : message() {
-  }
-
-  virtual ~ExperimentNotFoundException() throw();
-  std::string message;
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const ExperimentNotFoundException & rhs) const
-  {
-    if (!(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const ExperimentNotFoundException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const ExperimentNotFoundException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ExperimentNotFoundException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class ProjectNotFoundException : public ::apache::thrift::TException {
- public:
-
-  ProjectNotFoundException(const ProjectNotFoundException&);
-  ProjectNotFoundException& operator=(const ProjectNotFoundException&);
-  ProjectNotFoundException() : message() {
-  }
-
-  virtual ~ProjectNotFoundException() throw();
-  std::string message;
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const ProjectNotFoundException & rhs) const
-  {
-    if (!(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const ProjectNotFoundException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const ProjectNotFoundException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(ProjectNotFoundException &a, ProjectNotFoundException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ProjectNotFoundException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class InvalidRequestException : public ::apache::thrift::TException {
- public:
-
-  InvalidRequestException(const InvalidRequestException&);
-  InvalidRequestException& operator=(const InvalidRequestException&);
-  InvalidRequestException() : message() {
-  }
-
-  virtual ~InvalidRequestException() throw();
-  std::string message;
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const InvalidRequestException & rhs) const
-  {
-    if (!(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const InvalidRequestException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const InvalidRequestException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(InvalidRequestException &a, InvalidRequestException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const InvalidRequestException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class TimedOutException : public ::apache::thrift::TException {
- public:
-
-  TimedOutException(const TimedOutException&);
-  TimedOutException& operator=(const TimedOutException&);
-  TimedOutException() {
-  }
-
-  virtual ~TimedOutException() throw();
-
-  bool operator == (const TimedOutException & /* rhs */) const
-  {
-    return true;
-  }
-  bool operator != (const TimedOutException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const TimedOutException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(TimedOutException &a, TimedOutException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const TimedOutException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class AuthenticationException : public ::apache::thrift::TException {
- public:
-
-  AuthenticationException(const AuthenticationException&);
-  AuthenticationException& operator=(const AuthenticationException&);
-  AuthenticationException() : message() {
-  }
-
-  virtual ~AuthenticationException() throw();
-  std::string message;
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const AuthenticationException & rhs) const
-  {
-    if (!(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const AuthenticationException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const AuthenticationException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(AuthenticationException &a, AuthenticationException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const AuthenticationException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class AuthorizationException : public ::apache::thrift::TException {
- public:
-
-  AuthorizationException(const AuthorizationException&);
-  AuthorizationException& operator=(const AuthorizationException&);
-  AuthorizationException() : message() {
-  }
-
-  virtual ~AuthorizationException() throw();
-  std::string message;
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const AuthorizationException & rhs) const
-  {
-    if (!(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const AuthorizationException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const AuthorizationException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(AuthorizationException &a, AuthorizationException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const AuthorizationException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _AiravataClientException__isset {
-  _AiravataClientException__isset() : parameter(false) {}
-  bool parameter :1;
-} _AiravataClientException__isset;
-
-class AiravataClientException : public ::apache::thrift::TException {
- public:
-
-  AiravataClientException(const AiravataClientException&);
-  AiravataClientException& operator=(const AiravataClientException&);
-  AiravataClientException() : airavataErrorType((AiravataErrorType::type)0), parameter() {
-  }
-
-  virtual ~AiravataClientException() throw();
-  AiravataErrorType::type airavataErrorType;
-  std::string parameter;
-
-  _AiravataClientException__isset __isset;
-
-  void __set_airavataErrorType(const AiravataErrorType::type val);
-
-  void __set_parameter(const std::string& val);
-
-  bool operator == (const AiravataClientException & rhs) const
-  {
-    if (!(airavataErrorType == rhs.airavataErrorType))
-      return false;
-    if (__isset.parameter != rhs.__isset.parameter)
-      return false;
-    else if (__isset.parameter && !(parameter == rhs.parameter))
-      return false;
-    return true;
-  }
-  bool operator != (const AiravataClientException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const AiravataClientException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(AiravataClientException &a, AiravataClientException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const AiravataClientException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _ValidatorResult__isset {
-  _ValidatorResult__isset() : errorDetails(false) {}
-  bool errorDetails :1;
-} _ValidatorResult__isset;
-
-class ValidatorResult {
- public:
-
-  ValidatorResult(const ValidatorResult&);
-  ValidatorResult& operator=(const ValidatorResult&);
-  ValidatorResult() : result(0), errorDetails() {
-  }
-
-  virtual ~ValidatorResult() throw();
-  bool result;
-  std::string errorDetails;
-
-  _ValidatorResult__isset __isset;
-
-  void __set_result(const bool val);
-
-  void __set_errorDetails(const std::string& val);
-
-  bool operator == (const ValidatorResult & rhs) const
-  {
-    if (!(result == rhs.result))
-      return false;
-    if (__isset.errorDetails != rhs.__isset.errorDetails)
-      return false;
-    else if (__isset.errorDetails && !(errorDetails == rhs.errorDetails))
-      return false;
-    return true;
-  }
-  bool operator != (const ValidatorResult &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const ValidatorResult & ) 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(ValidatorResult &a, ValidatorResult &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-
-class ValidationResults {
- public:
-
-  ValidationResults(const ValidationResults&);
-  ValidationResults& operator=(const ValidationResults&);
-  ValidationResults() : validationState(0) {
-  }
-
-  virtual ~ValidationResults() throw();
-  bool validationState;
-  std::vector<ValidatorResult>  validationResultList;
-
-  void __set_validationState(const bool val);
-
-  void __set_validationResultList(const std::vector<ValidatorResult> & val);
-
-  bool operator == (const ValidationResults & rhs) const
-  {
-    if (!(validationState == rhs.validationState))
-      return false;
-    if (!(validationResultList == rhs.validationResultList))
-      return false;
-    return true;
-  }
-  bool operator != (const ValidationResults &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const ValidationResults & ) 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(ValidationResults &a, ValidationResults &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ValidationResults& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _LaunchValidationException__isset {
-  _LaunchValidationException__isset() : errorMessage(false) {}
-  bool errorMessage :1;
-} _LaunchValidationException__isset;
-
-class LaunchValidationException : public ::apache::thrift::TException {
- public:
-
-  LaunchValidationException(const LaunchValidationException&);
-  LaunchValidationException& operator=(const LaunchValidationException&);
-  LaunchValidationException() : errorMessage() {
-  }
-
-  virtual ~LaunchValidationException() throw();
-  ValidationResults validationResult;
-  std::string errorMessage;
-
-  _LaunchValidationException__isset __isset;
-
-  void __set_validationResult(const ValidationResults& val);
-
-  void __set_errorMessage(const std::string& val);
-
-  bool operator == (const LaunchValidationException & rhs) const
-  {
-    if (!(validationResult == rhs.validationResult))
-      return false;
-    if (__isset.errorMessage != rhs.__isset.errorMessage)
-      return false;
-    else if (__isset.errorMessage && !(errorMessage == rhs.errorMessage))
-      return false;
-    return true;
-  }
-  bool operator != (const LaunchValidationException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const LaunchValidationException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(LaunchValidationException &a, LaunchValidationException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const LaunchValidationException& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _AiravataSystemException__isset {
-  _AiravataSystemException__isset() : message(false) {}
-  bool message :1;
-} _AiravataSystemException__isset;
-
-class AiravataSystemException : public ::apache::thrift::TException {
- public:
-
-  AiravataSystemException(const AiravataSystemException&);
-  AiravataSystemException& operator=(const AiravataSystemException&);
-  AiravataSystemException() : airavataErrorType((AiravataErrorType::type)0), message() {
-  }
-
-  virtual ~AiravataSystemException() throw();
-  AiravataErrorType::type airavataErrorType;
-  std::string message;
-
-  _AiravataSystemException__isset __isset;
-
-  void __set_airavataErrorType(const AiravataErrorType::type val);
-
-  void __set_message(const std::string& val);
-
-  bool operator == (const AiravataSystemException & rhs) const
-  {
-    if (!(airavataErrorType == rhs.airavataErrorType))
-      return false;
-    if (__isset.message != rhs.__isset.message)
-      return false;
-    else if (__isset.message && !(message == rhs.message))
-      return false;
-    return true;
-  }
-  bool operator != (const AiravataSystemException &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const AiravataSystemException & ) 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;
-  mutable std::string thriftTExceptionMessageHolder_;
-  const char* what() const throw();
-};
-
-void swap(AiravataSystemException &a, AiravataSystemException &b);
-
-inline std::ostream& operator<<(std::ostream& out, const AiravataSystemException& 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/applicationDeploymentModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
deleted file mode 100644
index 6ea1bac..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
+++ /dev/null
@@ -1,36 +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 "applicationDeploymentModel_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment {
-
-const applicationDeploymentModelConstants g_applicationDeploymentModel_constants;
-
-applicationDeploymentModelConstants::applicationDeploymentModelConstants() {
-  DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}
-
-}}}}} // 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/applicationDeploymentModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
deleted file mode 100644
index 7a4a998..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
+++ /dev/null
@@ -1,42 +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 applicationDeploymentModel_CONSTANTS_H
-#define applicationDeploymentModel_CONSTANTS_H
-
-#include "applicationDeploymentModel_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment {
-
-class applicationDeploymentModelConstants {
- public:
-  applicationDeploymentModelConstants();
-
-  std::string DEFAULT_ID;
-};
-
-extern const applicationDeploymentModelConstants g_applicationDeploymentModel_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/applicationDeploymentModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
deleted file mode 100644
index baea6c6..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
+++ /dev/null
@@ -1,582 +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 "applicationDeploymentModel_types.h"
-
-#include <algorithm>
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment {
-
-int _kApplicationParallelismTypeValues[] = {
-  ApplicationParallelismType::SERIAL,
-  ApplicationParallelismType::MPI,
-  ApplicationParallelismType::OPENMP,
-  ApplicationParallelismType::OPENMP_MPI
-};
-const char* _kApplicationParallelismTypeNames[] = {
-  "SERIAL",
-  "MPI",
-  "OPENMP",
-  "OPENMP_MPI"
-};
-const std::map<int, const char*> _ApplicationParallelismType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, _kApplicationParallelismTypeValues, _kApplicationParallelismTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-const char* SetEnvPaths::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
-const uint8_t SetEnvPaths::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-
-uint32_t SetEnvPaths::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_name = false;
-  bool isset_value = 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->name);
-          isset_name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->value);
-          isset_value = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_name)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_value)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t SetEnvPaths::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("SetEnvPaths");
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->name);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->value);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(SetEnvPaths &a, SetEnvPaths &b) {
-  using ::std::swap;
-  swap(a.name, b.name);
-  swap(a.value, b.value);
-}
-
-const char* ApplicationModule::ascii_fingerprint = "FED0FBEAA0C90D1589E8B650561B7675";
-const uint8_t ApplicationModule::binary_fingerprint[16] = {0xFE,0xD0,0xFB,0xEA,0xA0,0xC9,0x0D,0x15,0x89,0xE8,0xB6,0x50,0x56,0x1B,0x76,0x75};
-
-uint32_t ApplicationModule::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_appModuleId = false;
-  bool isset_appModuleName = 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->appModuleId);
-          isset_appModuleId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->appModuleName);
-          isset_appModuleName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->appModuleVersion);
-          this->__isset.appModuleVersion = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->appModuleDescription);
-          this->__isset.appModuleDescription = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_appModuleId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_appModuleName)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ApplicationModule::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("ApplicationModule");
-
-  xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->appModuleId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("appModuleName", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->appModuleName);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.appModuleVersion) {
-    xfer += oprot->writeFieldBegin("appModuleVersion", ::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->appModuleVersion);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.appModuleDescription) {
-    xfer += oprot->writeFieldBegin("appModuleDescription", ::apache::thrift::protocol::T_STRING, 4);
-    xfer += oprot->writeString(this->appModuleDescription);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ApplicationModule &a, ApplicationModule &b) {
-  using ::std::swap;
-  swap(a.appModuleId, b.appModuleId);
-  swap(a.appModuleName, b.appModuleName);
-  swap(a.appModuleVersion, b.appModuleVersion);
-  swap(a.appModuleDescription, b.appModuleDescription);
-  swap(a.__isset, b.__isset);
-}
-
-const char* ApplicationDeploymentDescription::ascii_fingerprint = "3B2F93AE9F0E6A621AF867419ADD9E5A";
-const uint8_t ApplicationDeploymentDescription::binary_fingerprint[16] = {0x3B,0x2F,0x93,0xAE,0x9F,0x0E,0x6A,0x62,0x1A,0xF8,0x67,0x41,0x9A,0xDD,0x9E,0x5A};
-
-uint32_t ApplicationDeploymentDescription::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_appDeploymentId = false;
-  bool isset_appModuleId = false;
-  bool isset_computeHostId = false;
-  bool isset_executablePath = false;
-  bool isset_parallelism = 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->appDeploymentId);
-          isset_appDeploymentId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->appModuleId);
-          isset_appModuleId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->computeHostId);
-          isset_computeHostId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->executablePath);
-          isset_executablePath = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast0;
-          xfer += iprot->readI32(ecast0);
-          this->parallelism = (ApplicationParallelismType::type)ecast0;
-          isset_parallelism = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->appDeploymentDescription);
-          this->__isset.appDeploymentDescription = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->moduleLoadCmds.clear();
-            uint32_t _size1;
-            ::apache::thrift::protocol::TType _etype4;
-            xfer += iprot->readListBegin(_etype4, _size1);
-            this->moduleLoadCmds.resize(_size1);
-            uint32_t _i5;
-            for (_i5 = 0; _i5 < _size1; ++_i5)
-            {
-              xfer += iprot->readString(this->moduleLoadCmds[_i5]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.moduleLoadCmds = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->libPrependPaths.clear();
-            uint32_t _size6;
-            ::apache::thrift::protocol::TType _etype9;
-            xfer += iprot->readListBegin(_etype9, _size6);
-            this->libPrependPaths.resize(_size6);
-            uint32_t _i10;
-            for (_i10 = 0; _i10 < _size6; ++_i10)
-            {
-              xfer += this->libPrependPaths[_i10].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.libPrependPaths = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 9:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->libAppendPaths.clear();
-            uint32_t _size11;
-            ::apache::thrift::protocol::TType _etype14;
-            xfer += iprot->readListBegin(_etype14, _size11);
-            this->libAppendPaths.resize(_size11);
-            uint32_t _i15;
-            for (_i15 = 0; _i15 < _size11; ++_i15)
-            {
-              xfer += this->libAppendPaths[_i15].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.libAppendPaths = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 10:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->setEnvironment.clear();
-            uint32_t _size16;
-            ::apache::thrift::protocol::TType _etype19;
-            xfer += iprot->readListBegin(_etype19, _size16);
-            this->setEnvironment.resize(_size16);
-            uint32_t _i20;
-            for (_i20 = 0; _i20 < _size16; ++_i20)
-            {
-              xfer += this->setEnvironment[_i20].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.setEnvironment = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 11:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->preJobCommands.clear();
-            uint32_t _size21;
-            ::apache::thrift::protocol::TType _etype24;
-            xfer += iprot->readListBegin(_etype24, _size21);
-            this->preJobCommands.resize(_size21);
-            uint32_t _i25;
-            for (_i25 = 0; _i25 < _size21; ++_i25)
-            {
-              xfer += iprot->readString(this->preJobCommands[_i25]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.preJobCommands = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 12:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->postJobCommands.clear();
-            uint32_t _size26;
-            ::apache::thrift::protocol::TType _etype29;
-            xfer += iprot->readListBegin(_etype29, _size26);
-            this->postJobCommands.resize(_size26);
-            uint32_t _i30;
-            for (_i30 = 0; _i30 < _size26; ++_i30)
-            {
-              xfer += iprot->readString(this->postJobCommands[_i30]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.postJobCommands = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_appDeploymentId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_appModuleId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_computeHostId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_executablePath)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_parallelism)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t ApplicationDeploymentDescription::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("ApplicationDeploymentDescription");
-
-  xfer += oprot->writeFieldBegin("appDeploymentId", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->appDeploymentId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->appModuleId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("computeHostId", ::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->computeHostId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("executablePath", ::apache::thrift::protocol::T_STRING, 4);
-  xfer += oprot->writeString(this->executablePath);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("parallelism", ::apache::thrift::protocol::T_I32, 5);
-  xfer += oprot->writeI32((int32_t)this->parallelism);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.appDeploymentDescription) {
-    xfer += oprot->writeFieldBegin("appDeploymentDescription", ::apache::thrift::protocol::T_STRING, 6);
-    xfer += oprot->writeString(this->appDeploymentDescription);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.moduleLoadCmds) {
-    xfer += oprot->writeFieldBegin("moduleLoadCmds", ::apache::thrift::protocol::T_LIST, 7);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->moduleLoadCmds.size()));
-      std::vector<std::string> ::const_iterator _iter31;
-      for (_iter31 = this->moduleLoadCmds.begin(); _iter31 != this->moduleLoadCmds.end(); ++_iter31)
-      {
-        xfer += oprot->writeString((*_iter31));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.libPrependPaths) {
-    xfer += oprot->writeFieldBegin("libPrependPaths", ::apache::thrift::protocol::T_LIST, 8);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libPrependPaths.size()));
-      std::vector<SetEnvPaths> ::const_iterator _iter32;
-      for (_iter32 = this->libPrependPaths.begin(); _iter32 != this->libPrependPaths.end(); ++_iter32)
-      {
-        xfer += (*_iter32).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.libAppendPaths) {
-    xfer += oprot->writeFieldBegin("libAppendPaths", ::apache::thrift::protocol::T_LIST, 9);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libAppendPaths.size()));
-      std::vector<SetEnvPaths> ::const_iterator _iter33;
-      for (_iter33 = this->libAppendPaths.begin(); _iter33 != this->libAppendPaths.end(); ++_iter33)
-      {
-        xfer += (*_iter33).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.setEnvironment) {
-    xfer += oprot->writeFieldBegin("setEnvironment", ::apache::thrift::protocol::T_LIST, 10);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->setEnvironment.size()));
-      std::vector<SetEnvPaths> ::const_iterator _iter34;
-      for (_iter34 = this->setEnvironment.begin(); _iter34 != this->setEnvironment.end(); ++_iter34)
-      {
-        xfer += (*_iter34).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.preJobCommands) {
-    xfer += oprot->writeFieldBegin("preJobCommands", ::apache::thrift::protocol::T_LIST, 11);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->preJobCommands.size()));
-      std::vector<std::string> ::const_iterator _iter35;
-      for (_iter35 = this->preJobCommands.begin(); _iter35 != this->preJobCommands.end(); ++_iter35)
-      {
-        xfer += oprot->writeString((*_iter35));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.postJobCommands) {
-    xfer += oprot->writeFieldBegin("postJobCommands", ::apache::thrift::protocol::T_LIST, 12);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->postJobCommands.size()));
-      std::vector<std::string> ::const_iterator _iter36;
-      for (_iter36 = this->postJobCommands.begin(); _iter36 != this->postJobCommands.end(); ++_iter36)
-      {
-        xfer += oprot->writeString((*_iter36));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(ApplicationDeploymentDescription &a, ApplicationDeploymentDescription &b) {
-  using ::std::swap;
-  swap(a.appDeploymentId, b.appDeploymentId);
-  swap(a.appModuleId, b.appModuleId);
-  swap(a.computeHostId, b.computeHostId);
-  swap(a.executablePath, b.executablePath);
-  swap(a.parallelism, b.parallelism);
-  swap(a.appDeploymentDescription, b.appDeploymentDescription);
-  swap(a.moduleLoadCmds, b.moduleLoadCmds);
-  swap(a.libPrependPaths, b.libPrependPaths);
-  swap(a.libAppendPaths, b.libAppendPaths);
-  swap(a.setEnvironment, b.setEnvironment);
-  swap(a.preJobCommands, b.preJobCommands);
-  swap(a.postJobCommands, b.postJobCommands);
-  swap(a.__isset, b.__isset);
-}
-
-}}}}} // namespace


Mime
View raw message