http://git-wip-us.apache.org/repos/asf/airavata/blob/3bb7f493/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.cpp index 5eca1b0..1b8f4c3 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.cpp @@ -4153,6 +4153,313 @@ uint32_t Airavata_generateAndRegisterSSHKeys_presult::read(::apache::thrift::pro } +Airavata_registerPwdCredential_args::~Airavata_registerPwdCredential_args() throw() { +} + + +uint32_t Airavata_registerPwdCredential_args::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_authzToken = false; + bool isset_gatewayId = false; + bool isset_userName = false; + bool isset_password = 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->authzToken.read(iprot); + isset_authzToken = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userName); + isset_userName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->password); + isset_password = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_authzToken) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_password) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_registerPwdCredential_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_registerPwdCredential_args"); + + xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->authzToken.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->gatewayId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->userName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("password", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->password); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_registerPwdCredential_pargs::~Airavata_registerPwdCredential_pargs() throw() { +} + + +uint32_t Airavata_registerPwdCredential_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_registerPwdCredential_pargs"); + + xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->authzToken)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->gatewayId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->userName))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("password", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->password))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_registerPwdCredential_result::~Airavata_registerPwdCredential_result() throw() { +} + + +uint32_t Airavata_registerPwdCredential_result::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; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->success); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ire.read(iprot); + this->__isset.ire = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ace.read(iprot); + this->__isset.ace = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ase.read(iprot); + this->__isset.ase = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Airavata_registerPwdCredential_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Airavata_registerPwdCredential_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0); + xfer += oprot->writeString(this->success); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ire) { + xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ire.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ace) { + xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ace.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ase) { + xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ase.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_registerPwdCredential_presult::~Airavata_registerPwdCredential_presult() throw() { +} + + +uint32_t Airavata_registerPwdCredential_presult::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; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString((*(this->success))); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ire.read(iprot); + this->__isset.ire = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ace.read(iprot); + this->__isset.ace = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ase.read(iprot); + this->__isset.ase = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + Airavata_getSSHPubKey_args::~Airavata_getSSHPubKey_args() throw() { } @@ -5057,11 +5364,11 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_presult::read(::apache::thrift::protoc } -Airavata_deleteSSHPubKey_args::~Airavata_deleteSSHPubKey_args() throw() { +Airavata_getAllGatewayPWDCredentials_args::~Airavata_getAllGatewayPWDCredentials_args() throw() { } -uint32_t Airavata_deleteSSHPubKey_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGatewayPWDCredentials_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5074,7 +5381,6 @@ uint32_t Airavata_deleteSSHPubKey_args::read(::apache::thrift::protocol::TProtoc using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_airavataCredStoreToken = false; bool isset_gatewayId = false; while (true) @@ -5095,14 +5401,6 @@ uint32_t Airavata_deleteSSHPubKey_args::read(::apache::thrift::protocol::TProtoc break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->airavataCredStoreToken); - isset_airavataCredStoreToken = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { xfer += iprot->readString(this->gatewayId); isset_gatewayId = true; } else { @@ -5120,27 +5418,21 @@ uint32_t Airavata_deleteSSHPubKey_args::read(::apache::thrift::protocol::TProtoc if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_airavataCredStoreToken) - throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_deleteSSHPubKey_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGatewayPWDCredentials_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_args"); + xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->airavataCredStoreToken); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); @@ -5150,24 +5442,20 @@ uint32_t Airavata_deleteSSHPubKey_args::write(::apache::thrift::protocol::TProto } -Airavata_deleteSSHPubKey_pargs::~Airavata_deleteSSHPubKey_pargs() throw() { +Airavata_getAllGatewayPWDCredentials_pargs::~Airavata_getAllGatewayPWDCredentials_pargs() throw() { } -uint32_t Airavata_deleteSSHPubKey_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGatewayPWDCredentials_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->airavataCredStoreToken))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); @@ -5177,11 +5465,11 @@ uint32_t Airavata_deleteSSHPubKey_pargs::write(::apache::thrift::protocol::TProt } -Airavata_deleteSSHPubKey_result::~Airavata_deleteSSHPubKey_result() throw() { +Airavata_getAllGatewayPWDCredentials_result::~Airavata_getAllGatewayPWDCredentials_result() throw() { } -uint32_t Airavata_deleteSSHPubKey_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGatewayPWDCredentials_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5203,8 +5491,23 @@ uint32_t Airavata_deleteSSHPubKey_result::read(::apache::thrift::protocol::TProt switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->success); + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->success.clear(); + uint32_t _size52; + ::apache::thrift::protocol::TType _ktype53; + ::apache::thrift::protocol::TType _vtype54; + xfer += iprot->readMapBegin(_ktype53, _vtype54, _size52); + uint32_t _i56; + for (_i56 = 0; _i56 < _size52; ++_i56) + { + std::string _key57; + xfer += iprot->readString(_key57); + std::string& _val58 = this->success[_key57]; + xfer += iprot->readString(_val58); + } + xfer += iprot->readMapEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -5246,15 +5549,24 @@ uint32_t Airavata_deleteSSHPubKey_result::read(::apache::thrift::protocol::TProt return xfer; } -uint32_t Airavata_deleteSSHPubKey_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGatewayPWDCredentials_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_result"); + xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_result"); if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); - xfer += oprot->writeBool(this->success); + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); + { + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size())); + std::map<std::string, std::string> ::const_iterator _iter59; + for (_iter59 = this->success.begin(); _iter59 != this->success.end(); ++_iter59) + { + xfer += oprot->writeString(_iter59->first); + xfer += oprot->writeString(_iter59->second); + } + xfer += oprot->writeMapEnd(); + } xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5275,11 +5587,11 @@ uint32_t Airavata_deleteSSHPubKey_result::write(::apache::thrift::protocol::TPro } -Airavata_deleteSSHPubKey_presult::~Airavata_deleteSSHPubKey_presult() throw() { +Airavata_getAllGatewayPWDCredentials_presult::~Airavata_getAllGatewayPWDCredentials_presult() throw() { } -uint32_t Airavata_deleteSSHPubKey_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGatewayPWDCredentials_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5301,8 +5613,23 @@ uint32_t Airavata_deleteSSHPubKey_presult::read(::apache::thrift::protocol::TPro switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool((*(this->success))); + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + (*(this->success)).clear(); + uint32_t _size60; + ::apache::thrift::protocol::TType _ktype61; + ::apache::thrift::protocol::TType _vtype62; + xfer += iprot->readMapBegin(_ktype61, _vtype62, _size60); + uint32_t _i64; + for (_i64 = 0; _i64 < _size60; ++_i64) + { + std::string _key65; + xfer += iprot->readString(_key65); + std::string& _val66 = (*(this->success))[_key65]; + xfer += iprot->readString(_val66); + } + xfer += iprot->readMapEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -5345,11 +5672,11 @@ uint32_t Airavata_deleteSSHPubKey_presult::read(::apache::thrift::protocol::TPro } -Airavata_createProject_args::~Airavata_createProject_args() throw() { +Airavata_deleteSSHPubKey_args::~Airavata_deleteSSHPubKey_args() throw() { } -uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteSSHPubKey_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5362,8 +5689,8 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; + bool isset_airavataCredStoreToken = false; bool isset_gatewayId = false; - bool isset_project = false; while (true) { @@ -5383,16 +5710,16 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->gatewayId); - isset_gatewayId = true; + xfer += iprot->readString(this->airavataCredStoreToken); + isset_airavataCredStoreToken = true; } else { xfer += iprot->skip(ftype); } break; case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->project.read(iprot); - isset_project = true; + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; } else { xfer += iprot->skip(ftype); } @@ -5408,28 +5735,28 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_gatewayId) + if (!isset_airavataCredStoreToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_project) + if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteSSHPubKey_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_createProject_args"); + xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->gatewayId); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->airavataCredStoreToken); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->project.write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -5438,25 +5765,25 @@ uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtoco } -Airavata_createProject_pargs::~Airavata_createProject_pargs() throw() { +Airavata_deleteSSHPubKey_pargs::~Airavata_deleteSSHPubKey_pargs() throw() { } -uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteSSHPubKey_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_createProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->gatewayId))); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->airavataCredStoreToken))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += (*(this->project)).write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -5465,11 +5792,11 @@ uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtoc } -Airavata_createProject_result::~Airavata_createProject_result() throw() { +Airavata_deleteSSHPubKey_result::~Airavata_deleteSSHPubKey_result() throw() { } -uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteSSHPubKey_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5491,8 +5818,8 @@ uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtoc switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->success); + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->success); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -5522,14 +5849,6 @@ uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtoc xfer += iprot->skip(ftype); } break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ae.read(iprot); - this->__isset.ae = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -5542,15 +5861,15 @@ uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_createProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteSSHPubKey_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_createProject_result"); + xfer += oprot->writeStructBegin("Airavata_deleteSSHPubKey_result"); if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0); - xfer += oprot->writeString(this->success); + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); + xfer += oprot->writeBool(this->success); xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5564,10 +5883,6 @@ uint32_t Airavata_createProject_result::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); xfer += this->ase.write(oprot); xfer += oprot->writeFieldEnd(); - } else if (this->__isset.ae) { - xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->ae.write(oprot); - xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); @@ -5575,11 +5890,11 @@ uint32_t Airavata_createProject_result::write(::apache::thrift::protocol::TProto } -Airavata_createProject_presult::~Airavata_createProject_presult() throw() { +Airavata_deleteSSHPubKey_presult::~Airavata_deleteSSHPubKey_presult() throw() { } -uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteSSHPubKey_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5601,8 +5916,8 @@ uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProto switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString((*(this->success))); + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -5632,14 +5947,6 @@ uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProto xfer += iprot->skip(ftype); } break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ae.read(iprot); - this->__isset.ae = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -5653,11 +5960,11 @@ uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProto } -Airavata_updateProject_args::~Airavata_updateProject_args() throw() { +Airavata_deletePWDCredential_args::~Airavata_deletePWDCredential_args() throw() { } -uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deletePWDCredential_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5670,8 +5977,8 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_projectId = false; - bool isset_updatedProject = false; + bool isset_airavataCredStoreToken = false; + bool isset_gatewayId = false; while (true) { @@ -5691,16 +5998,16 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->projectId); - isset_projectId = true; + xfer += iprot->readString(this->airavataCredStoreToken); + isset_airavataCredStoreToken = true; } else { xfer += iprot->skip(ftype); } break; case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->updatedProject.read(iprot); - isset_updatedProject = true; + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; } else { xfer += iprot->skip(ftype); } @@ -5716,28 +6023,28 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_projectId) + if (!isset_airavataCredStoreToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_updatedProject) + if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deletePWDCredential_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateProject_args"); + xfer += oprot->writeStructBegin("Airavata_deletePWDCredential_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->projectId); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->airavataCredStoreToken); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->updatedProject.write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -5746,25 +6053,25 @@ uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtoco } -Airavata_updateProject_pargs::~Airavata_updateProject_pargs() throw() { +Airavata_deletePWDCredential_pargs::~Airavata_deletePWDCredential_pargs() throw() { } -uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deletePWDCredential_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_deletePWDCredential_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->projectId))); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->airavataCredStoreToken))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += (*(this->updatedProject)).write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -5773,11 +6080,11 @@ uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtoc } -Airavata_updateProject_result::~Airavata_updateProject_result() throw() { +Airavata_deletePWDCredential_result::~Airavata_deletePWDCredential_result() throw() { } -uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deletePWDCredential_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5798,116 +6105,302 @@ uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtoc } switch (fid) { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ire.read(iprot); - this->__isset.ire = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ace.read(iprot); - this->__isset.ace = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ase.read(iprot); - this->__isset.ase = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->pnfe.read(iprot); - this->__isset.pnfe = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->ae.read(iprot); - this->__isset.ae = true; + case 0: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->success); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ire.read(iprot); + this->__isset.ire = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ace.read(iprot); + this->__isset.ace = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ase.read(iprot); + this->__isset.ase = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Airavata_deletePWDCredential_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Airavata_deletePWDCredential_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); + xfer += oprot->writeBool(this->success); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ire) { + xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ire.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ace) { + xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ace.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ase) { + xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ase.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_deletePWDCredential_presult::~Airavata_deletePWDCredential_presult() throw() { +} + + +uint32_t Airavata_deletePWDCredential_presult::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; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool((*(this->success))); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ire.read(iprot); + this->__isset.ire = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ace.read(iprot); + this->__isset.ace = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ase.read(iprot); + this->__isset.ase = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Airavata_createProject_args::~Airavata_createProject_args() throw() { +} + + +uint32_t Airavata_createProject_args::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_authzToken = false; + bool isset_gatewayId = false; + bool isset_project = 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->authzToken.read(iprot); + isset_authzToken = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->project.read(iprot); + isset_project = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_authzToken) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_project) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_createProject_args"); + + xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->authzToken.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->gatewayId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->project.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_createProject_pargs::~Airavata_createProject_pargs() throw() { +} + + +uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_createProject_pargs"); + + xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->authzToken)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->gatewayId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += (*(this->project)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_createProject_result::~Airavata_createProject_result() throw() { +} + + +uint32_t Airavata_createProject_result::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; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->success); + this->__isset.success = true; } else { xfer += iprot->skip(ftype); } break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t Airavata_updateProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("Airavata_updateProject_result"); - - if (this->__isset.ire) { - xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->ire.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.ace) { - xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->ace.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.ase) { - xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->ase.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.pnfe) { - xfer += oprot->writeFieldBegin("pnfe", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->pnfe.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.ae) { - xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 5); - xfer += this->ae.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -Airavata_updateProject_presult::~Airavata_updateProject_presult() throw() { -} - - -uint32_t Airavata_updateProject_presult::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; - } - switch (fid) - { case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ire.read(iprot); @@ -5934,13 +6427,115 @@ uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProto break; case 4: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->pnfe.read(iprot); - this->__isset.pnfe = true; + xfer += this->ae.read(iprot); + this->__isset.ae = true; } else { xfer += iprot->skip(ftype); } break; - case 5: + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Airavata_createProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Airavata_createProject_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0); + xfer += oprot->writeString(this->success); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ire) { + xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->ire.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ace) { + xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->ace.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ase) { + xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->ase.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.ae) { + xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->ae.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_createProject_presult::~Airavata_createProject_presult() throw() { +} + + +uint32_t Airavata_createProject_presult::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; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString((*(this->success))); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ire.read(iprot); + this->__isset.ire = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ace.read(iprot); + this->__isset.ace = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->ase.read(iprot); + this->__isset.ase = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ae.read(iprot); this->__isset.ae = true; @@ -5961,11 +6556,11 @@ uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProto } -Airavata_getProject_args::~Airavata_getProject_args() throw() { +Airavata_updateProject_args::~Airavata_updateProject_args() throw() { } -uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -5979,6 +6574,7 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i bool isset_authzToken = false; bool isset_projectId = false; + bool isset_updatedProject = false; while (true) { @@ -6004,6 +6600,14 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->updatedProject.read(iprot); + isset_updatedProject = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -6017,13 +6621,15 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_projectId) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_updatedProject) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getProject_args"); + xfer += oprot->writeStructBegin("Airavata_updateProject_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -6033,20 +6639,24 @@ uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeString(this->projectId); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->updatedProject.write(oprot); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getProject_pargs::~Airavata_getProject_pargs() throw() { +Airavata_updateProject_pargs::~Airavata_updateProject_pargs() throw() { } -uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_updateProject_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -6056,17 +6666,21 @@ uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeString((*(this->projectId))); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += (*(this->updatedProject)).write(oprot); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getProject_result::~Airavata_getProject_result() throw() { +Airavata_updateProject_result::~Airavata_updateProject_result() throw() { } -uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6087,14 +6701,6 @@ uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* } switch (fid) { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ire.read(iprot); @@ -6147,17 +6753,13 @@ uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* return xfer; } -uint32_t Airavata_getProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getProject_result"); + xfer += oprot->writeStructBegin("Airavata_updateProject_result"); - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.ire) { + if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->ire.write(oprot); xfer += oprot->writeFieldEnd(); @@ -6184,11 +6786,11 @@ uint32_t Airavata_getProject_result::write(::apache::thrift::protocol::TProtocol } -Airavata_getProject_presult::~Airavata_getProject_presult() throw() { +Airavata_updateProject_presult::~Airavata_updateProject_presult() throw() { } -uint32_t Airavata_getProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6209,14 +6811,6 @@ uint32_t Airavata_getProject_presult::read(::apache::thrift::protocol::TProtocol } switch (fid) { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ire.read(iprot); @@ -6270,11 +6864,11 @@ uint32_t Airavata_getProject_presult::read(::apache::thrift::protocol::TProtocol } -Airavata_deleteProject_args::~Airavata_deleteProject_args() throw() { +Airavata_getProject_args::~Airavata_getProject_args() throw() { } -uint32_t Airavata_deleteProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6329,10 +6923,10 @@ uint32_t Airavata_deleteProject_args::read(::apache::thrift::protocol::TProtocol return xfer; } -uint32_t Airavata_deleteProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteProject_args"); + xfer += oprot->writeStructBegin("Airavata_getProject_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -6348,14 +6942,14 @@ uint32_t Airavata_deleteProject_args::write(::apache::thrift::protocol::TProtoco } -Airavata_deleteProject_pargs::~Airavata_deleteProject_pargs() throw() { +Airavata_getProject_pargs::~Airavata_getProject_pargs() throw() { } -uint32_t Airavata_deleteProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_getProject_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -6371,11 +6965,11 @@ uint32_t Airavata_deleteProject_pargs::write(::apache::thrift::protocol::TProtoc } -Airavata_deleteProject_result::~Airavata_deleteProject_result() throw() { +Airavata_getProject_result::~Airavata_getProject_result() throw() { } -uint32_t Airavata_deleteProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6397,8 +6991,8 @@ uint32_t Airavata_deleteProject_result::read(::apache::thrift::protocol::TProtoc switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->success); + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -6456,15 +7050,15 @@ uint32_t Airavata_deleteProject_result::read(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_deleteProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteProject_result"); + xfer += oprot->writeStructBegin("Airavata_getProject_result"); if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); - xfer += oprot->writeBool(this->success); + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6493,11 +7087,11 @@ uint32_t Airavata_deleteProject_result::write(::apache::thrift::protocol::TProto } -Airavata_deleteProject_presult::~Airavata_deleteProject_presult() throw() { +Airavata_getProject_presult::~Airavata_getProject_presult() throw() { } -uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6519,8 +7113,8 @@ uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProto switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool((*(this->success))); + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -6579,11 +7173,11 @@ uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProto } -Airavata_getUserProjects_args::~Airavata_getUserProjects_args() throw() { +Airavata_deleteProject_args::~Airavata_deleteProject_args() throw() { } -uint32_t Airavata_getUserProjects_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6596,10 +7190,7 @@ uint32_t Airavata_getUserProjects_args::read(::apache::thrift::protocol::TProtoc using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_gatewayId = false; - bool isset_userName = false; - bool isset_limit = false; - bool isset_offset = false; + bool isset_projectId = false; while (true) { @@ -6619,32 +7210,8 @@ uint32_t Airavata_getUserProjects_args::read(::apache::thrift::protocol::TProtoc break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->gatewayId); - isset_gatewayId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->userName); - isset_userName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->limit); - isset_limit = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_I32) { - xfer += iprot->readI32(this->offset); - isset_offset = true; + xfer += iprot->readString(this->projectId); + isset_projectId = true; } else { xfer += iprot->skip(ftype); } @@ -6660,40 +7227,22 @@ uint32_t Airavata_getUserProjects_args::read(::apache::thrift::protocol::TProtoc if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_gatewayId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_userName) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_limit) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_offset) + if (!isset_projectId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getUserProjects_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getUserProjects_args"); + xfer += oprot->writeStructBegin("Airavata_deleteProject_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->gatewayId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->userName); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32(this->limit); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32(this->offset); + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->projectId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -6702,33 +7251,21 @@ uint32_t Airavata_getUserProjects_args::write(::apache::thrift::protocol::TProto } -Airavata_getUserProjects_pargs::~Airavata_getUserProjects_pargs() throw() { +Airavata_deleteProject_pargs::~Airavata_deleteProject_pargs() throw() { } -uint32_t Airavata_getUserProjects_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getUserProjects_pargs"); + xfer += oprot->writeStructBegin("Airavata_deleteProject_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->gatewayId))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->userName))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4); - xfer += oprot->writeI32((*(this->limit))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5); - xfer += oprot->writeI32((*(this->offset))); + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->projectId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -6737,11 +7274,11 @@ uint32_t Airavata_getUserProjects_pargs::write(::apache::thrift::protocol::TProt } -Airavata_getUserProjects_result::~Airavata_getUserProjects_result() throw() { +Airavata_deleteProject_result::~Airavata_deleteProject_result() throw() { } -uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6763,20 +7300,8 @@ uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProt switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->success.clear(); - uint32_t _size52; - ::apache::thrift::protocol::TType _etype55; - xfer += iprot->readListBegin(_etype55, _size52); - this->success.resize(_size52); - uint32_t _i56; - for (_i56 = 0; _i56 < _size52; ++_i56) - { - xfer += this->success[_i56].read(iprot); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->success); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -6808,6 +7333,14 @@ uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProt break; case 4: if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->pnfe.read(iprot); + this->__isset.pnfe = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ae.read(iprot); this->__isset.ae = true; } else { @@ -6826,23 +7359,15 @@ uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProt return xfer; } -uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getUserProjects_result"); + xfer += oprot->writeStructBegin("Airavata_deleteProject_result"); if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size())); - std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter57; - for (_iter57 = this->success.begin(); _iter57 != this->success.end(); ++_iter57) - { - xfer += (*_iter57).write(oprot); - } - xfer += oprot->writeListEnd(); - } + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); + xfer += oprot->writeBool(this->success); xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6856,8 +7381,12 @@ uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3); xfer += this->ase.write(oprot); xfer += oprot->writeFieldEnd(); + } else if (this->__isset.pnfe) { + xfer += oprot->writeFieldBegin("pnfe", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->pnfe.write(oprot); + xfer += oprot->writeFieldEnd(); } else if (this->__isset.ae) { - xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 5); xfer += this->ae.write(oprot); xfer += oprot->writeFieldEnd(); } @@ -6867,11 +7396,11 @@ uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TPro } -Airavata_getUserProjects_presult::~Airavata_getUserProjects_presult() throw() { +Airavata_deleteProject_presult::~Airavata_deleteProject_presult() throw() { } -uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6893,20 +7422,8 @@ uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TPro switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - (*(this->success)).clear(); - uint32_t _size58; - ::apache::thrift::protocol::TType _etype61; - xfer += iprot->readListBegin(_etype61, _size58); - (*(this->success)).resize(_size58); - uint32_t _i62; - for (_i62 = 0; _i62 < _size58; ++_i62) - { - xfer += (*(this->success))[_i62].read(iprot); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -6938,6 +7455,14 @@ uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TPro break; case 4: if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->pnfe.read(iprot); + this->__isset.pnfe = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ae.read(iprot); this->__isset.ae = true; } else { @@ -6957,11 +7482,11 @@ uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TPro } -Airavata_searchProjectsByProjectName_args::~Airavata_searchProjectsByProjectName_args() throw() { +Airavata_getUserProjects_args::~Airavata_getUserProjects_args() throw() { } -uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getUserProjects_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -6976,7 +7501,6 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto bool isset_authzToken = false; bool isset_gatewayId = false; bool isset_userName = false; - bool isset_projectName = false; bool isset_limit = false; bool isset_offset = false; @@ -7013,14 +7537,6 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto } break; case 4: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->projectName); - isset_projectName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: if (ftype == ::apache::thrift::protocol::T_I32) { xfer += iprot->readI32(this->limit); isset_limit = true; @@ -7028,7 +7544,7 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto xfer += iprot->skip(ftype); } break; - case 6: + case 5: if (ftype == ::apache::thrift::protocol::T_I32) { xfer += iprot->readI32(this->offset); isset_offset = true; @@ -7051,8 +7567,6 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userName) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_projectName) - throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_limit) throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_offset) @@ -7060,10 +7574,10 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto return xfer; } -uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getUserProjects_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_args"); + xfer += oprot->writeStructBegin("Airavata_getUserProjects_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -7077,15 +7591,11 @@ uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::prot xfer += oprot->writeString(this->userName); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->projectName); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4); xfer += oprot->writeI32(this->limit); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5); xfer += oprot->writeI32(this->offset); xfer += oprot->writeFieldEnd(); @@ -7095,14 +7605,14 @@ uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::prot } -Airavata_searchProjectsByProjectName_pargs::~Airavata_searchProjectsByProjectName_pargs() throw() { +Airavata_getUserProjects_pargs::~Airavata_getUserProjects_pargs() throw() { } -uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getUserProjects_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_pargs"); + xfer += oprot->writeStructBegin("Airavata_getUserProjects_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -7116,15 +7626,11 @@ uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::pro xfer += oprot->writeString((*(this->userName))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString((*(this->projectName))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4); xfer += oprot->writeI32((*(this->limit))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5); xfer += oprot->writeI32((*(this->offset))); xfer += oprot->writeFieldEnd(); @@ -7134,11 +7640,11 @@ uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::pro } -Airavata_searchProjectsByProjectName_result::~Airavata_searchProjectsByProjectName_result() throw() { +Airavata_getUserProjects_result::~Airavata_getUserProjects_result() throw() { } -uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -7163,14 +7669,14 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size63; - ::apache::thrift::protocol::TType _etype66; - xfer += iprot->readListBegin(_etype66, _size63); - this->success.resize(_size63); - uint32_t _i67; - for (_i67 = 0; _i67 < _size63; ++_i67) + uint32_t _size67; + ::apache::thrift::protocol::TType _etype70; + xfer += iprot->readListBegin(_etype70, _size67); + this->success.resize(_size67); + uint32_t _i71; + for (_i71 = 0; _i71 < _size67; ++_i71) { - xfer += this->success[_i67].read(iprot); + xfer += this->success[_i71].read(iprot); } xfer += iprot->readListEnd(); } @@ -7223,20 +7729,20 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro return xfer; } -uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_result"); + xfer += oprot->writeStructBegin("Airavata_getUserProjects_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size())); - std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter68; - for (_iter68 = this->success.begin(); _iter68 != this->success.end(); ++_iter68) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter72; + for (_iter72 = this->success.begin(); _iter72 != this->success.end(); ++_iter72) { - xfer += (*_iter68).write(oprot); + xfer += (*_iter72).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7264,11 +7770,11 @@ uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::pr } -Airavata_searchProjectsByProjectName_presult::~Airavata_searchProjectsByProjectName_presult() throw() { +Airavata_getUserProjects_presult::~Airavata_getUserProjects_presult() throw() { } -uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -7293,14 +7799,14 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size69; - ::apache::thrift::protocol::TType _etype72; - xfer += iprot->readListBegin(_etype72, _size69); - (*(this->success)).resize(_size69); - uint32_t _i73; - for (_i73 = 0; _i73 < _size69; ++_i73) + uint32_t _size73; + ::apache::thrift::protocol::TType _etype76; + xfer += iprot->readListBegin(_etype76, _size73); + (*(this->success)).resize(_size73); + uint32_t _i77; + for (_i77 = 0; _i77 < _size73; ++_i77) { - xfer += (*(this->success))[_i73].read(iprot); + xfer += (*(this->success))[_i77].read(iprot); } xfer += iprot->readListEnd(); } @@ -7354,11 +7860,11 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr } -Airavata_searchProjectsByProjectDesc_args::~Airavata_searchProjectsByProjectDesc_args() throw() { +Airavata_searchProjectsByProjectName_args::~Airavata_searchProjectsByProjectName_args() throw() { } -uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -7373,7 +7879,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto bool isset_authzToken = false; bool isset_gatewayId = false; bool isset_userName = false; - bool isset_description = false; + bool isset_projectName = false; bool isset_limit = false; bool isset_offset = false; @@ -7411,8 +7917,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto break; case 4: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->description); - isset_description = true; + xfer += iprot->readString(this->projectName); + isset_projectName = true; } else { xfer += iprot->skip(ftype); } @@ -7448,7 +7954,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userName) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_description) + if (!isset_projectName) throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_limit) throw TProtocolException(TProtocolException::INVALID_DATA); @@ -7457,10 +7963,10 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto return xfer; } -uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_args"); + xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -7474,8 +7980,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::prot xfer += oprot->writeString(this->userName); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString(this->description); + xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->projectName); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5); @@ -7492,14 +7998,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::prot } -Airavata_searchProjectsByProjectDesc_pargs::~Airavata_searchProjectsByProjectDesc_pargs() throw() { +Airavata_searchProjectsByProjectName_pargs::~Airavata_searchProjectsByProjectName_pargs() throw() { } -uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_pargs"); + xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -7513,8 +8019,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::pro xfer += oprot->writeString((*(this->userName))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 4); - xfer += oprot->writeString((*(this->description))); + xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->projectName))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5); @@ -7531,11 +8037,11 @@ uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::pro } -Airavata_searchProjectsByProjectDesc_result::~Airavata_searchProjectsByProjectDesc_result() throw() { +Airavata_searchProjectsByProjectName_result::~Airavata_searchProjectsByProjectName_result() throw() { } -uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -7560,14 +8066,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear();
<TRUNCATED>
