http://git-wip-us.apache.org/repos/asf/airavata/blob/9dd7c14a/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 ffd20c7..553f1e5 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 @@ -893,11 +893,11 @@ uint32_t Airavata_addGateway_presult::read(::apache::thrift::protocol::TProtocol } -Airavata_updateGateway_args::~Airavata_updateGateway_args() throw() { +Airavata_getAllUsersInGateway_args::~Airavata_getAllUsersInGateway_args() throw() { } -uint32_t Airavata_updateGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUsersInGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -911,7 +911,6 @@ uint32_t Airavata_updateGateway_args::read(::apache::thrift::protocol::TProtocol bool isset_authzToken = false; bool isset_gatewayId = false; - bool isset_updatedGateway = false; while (true) { @@ -937,14 +936,6 @@ uint32_t Airavata_updateGateway_args::read(::apache::thrift::protocol::TProtocol xfer += iprot->skip(ftype); } break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->updatedGateway.read(iprot); - isset_updatedGateway = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -958,15 +949,13 @@ uint32_t Airavata_updateGateway_args::read(::apache::thrift::protocol::TProtocol throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_updatedGateway) - throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_updateGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUsersInGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateGateway_args"); + xfer += oprot->writeStructBegin("Airavata_getAllUsersInGateway_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -976,24 +965,20 @@ uint32_t Airavata_updateGateway_args::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("updatedGateway", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->updatedGateway.write(oprot); - xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_updateGateway_pargs::~Airavata_updateGateway_pargs() throw() { +Airavata_getAllUsersInGateway_pargs::~Airavata_getAllUsersInGateway_pargs() throw() { } -uint32_t Airavata_updateGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUsersInGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateGateway_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllUsersInGateway_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -1003,21 +988,17 @@ uint32_t Airavata_updateGateway_pargs::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("updatedGateway", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += (*(this->updatedGateway)).write(oprot); - xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_updateGateway_result::~Airavata_updateGateway_result() throw() { +Airavata_getAllUsersInGateway_result::~Airavata_getAllUsersInGateway_result() throw() { } -uint32_t Airavata_updateGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUsersInGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1038,6 +1019,26 @@ uint32_t Airavata_updateGateway_result::read(::apache::thrift::protocol::TProtoc } switch (fid) { + case 0: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->success.clear(); + uint32_t _size0; + ::apache::thrift::protocol::TType _etype3; + xfer += iprot->readListBegin(_etype3, _size0); + this->success.resize(_size0); + uint32_t _i4; + for (_i4 = 0; _i4 < _size0; ++_i4) + { + xfer += iprot->readString(this->success[_i4]); + } + xfer += iprot->readListEnd(); + } + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ire.read(iprot); @@ -1082,13 +1083,25 @@ uint32_t Airavata_updateGateway_result::read(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_updateGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUsersInGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateGateway_result"); + xfer += oprot->writeStructBegin("Airavata_getAllUsersInGateway_result"); - if (this->__isset.ire) { + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size())); + std::vector<std::string> ::const_iterator _iter5; + for (_iter5 = this->success.begin(); _iter5 != this->success.end(); ++_iter5) + { + xfer += oprot->writeString((*_iter5)); + } + xfer += oprot->writeListEnd(); + } + 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(); @@ -1111,11 +1124,11 @@ uint32_t Airavata_updateGateway_result::write(::apache::thrift::protocol::TProto } -Airavata_updateGateway_presult::~Airavata_updateGateway_presult() throw() { +Airavata_getAllUsersInGateway_presult::~Airavata_getAllUsersInGateway_presult() throw() { } -uint32_t Airavata_updateGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUsersInGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1136,6 +1149,26 @@ uint32_t Airavata_updateGateway_presult::read(::apache::thrift::protocol::TProto } switch (fid) { + case 0: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + (*(this->success)).clear(); + uint32_t _size6; + ::apache::thrift::protocol::TType _etype9; + xfer += iprot->readListBegin(_etype9, _size6); + (*(this->success)).resize(_size6); + uint32_t _i10; + for (_i10 = 0; _i10 < _size6; ++_i10) + { + xfer += iprot->readString((*(this->success))[_i10]); + } + xfer += iprot->readListEnd(); + } + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->ire.read(iprot); @@ -1181,11 +1214,11 @@ uint32_t Airavata_updateGateway_presult::read(::apache::thrift::protocol::TProto } -Airavata_getGateway_args::~Airavata_getGateway_args() throw() { +Airavata_updateGateway_args::~Airavata_updateGateway_args() throw() { } -uint32_t Airavata_getGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1199,6 +1232,7 @@ uint32_t Airavata_getGateway_args::read(::apache::thrift::protocol::TProtocol* i bool isset_authzToken = false; bool isset_gatewayId = false; + bool isset_updatedGateway = false; while (true) { @@ -1224,6 +1258,14 @@ uint32_t Airavata_getGateway_args::read(::apache::thrift::protocol::TProtocol* i xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->updatedGateway.read(iprot); + isset_updatedGateway = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -1237,13 +1279,15 @@ uint32_t Airavata_getGateway_args::read(::apache::thrift::protocol::TProtocol* i throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_updatedGateway) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getGateway_args"); + xfer += oprot->writeStructBegin("Airavata_updateGateway_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -1253,20 +1297,24 @@ uint32_t Airavata_getGateway_args::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("updatedGateway", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->updatedGateway.write(oprot); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getGateway_pargs::~Airavata_getGateway_pargs() throw() { +Airavata_updateGateway_pargs::~Airavata_updateGateway_pargs() throw() { } -uint32_t Airavata_getGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getGateway_pargs"); + xfer += oprot->writeStructBegin("Airavata_updateGateway_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -1276,17 +1324,21 @@ uint32_t Airavata_getGateway_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("updatedGateway", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += (*(this->updatedGateway)).write(oprot); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getGateway_result::~Airavata_getGateway_result() throw() { +Airavata_updateGateway_result::~Airavata_updateGateway_result() throw() { } -uint32_t Airavata_getGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1307,14 +1359,6 @@ uint32_t Airavata_getGateway_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); @@ -1359,17 +1403,13 @@ uint32_t Airavata_getGateway_result::read(::apache::thrift::protocol::TProtocol* return xfer; } -uint32_t Airavata_getGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getGateway_result"); + xfer += oprot->writeStructBegin("Airavata_updateGateway_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(); @@ -1392,11 +1432,11 @@ uint32_t Airavata_getGateway_result::write(::apache::thrift::protocol::TProtocol } -Airavata_getGateway_presult::~Airavata_getGateway_presult() throw() { +Airavata_updateGateway_presult::~Airavata_updateGateway_presult() throw() { } -uint32_t Airavata_getGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1417,14 +1457,6 @@ uint32_t Airavata_getGateway_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); @@ -1470,11 +1502,11 @@ uint32_t Airavata_getGateway_presult::read(::apache::thrift::protocol::TProtocol } -Airavata_deleteGateway_args::~Airavata_deleteGateway_args() throw() { +Airavata_getGateway_args::~Airavata_getGateway_args() throw() { } -uint32_t Airavata_deleteGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1529,10 +1561,10 @@ uint32_t Airavata_deleteGateway_args::read(::apache::thrift::protocol::TProtocol return xfer; } -uint32_t Airavata_deleteGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteGateway_args"); + xfer += oprot->writeStructBegin("Airavata_getGateway_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -1548,14 +1580,14 @@ uint32_t Airavata_deleteGateway_args::write(::apache::thrift::protocol::TProtoco } -Airavata_deleteGateway_pargs::~Airavata_deleteGateway_pargs() throw() { +Airavata_getGateway_pargs::~Airavata_getGateway_pargs() throw() { } -uint32_t Airavata_deleteGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteGateway_pargs"); + xfer += oprot->writeStructBegin("Airavata_getGateway_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -1571,11 +1603,11 @@ uint32_t Airavata_deleteGateway_pargs::write(::apache::thrift::protocol::TProtoc } -Airavata_deleteGateway_result::~Airavata_deleteGateway_result() throw() { +Airavata_getGateway_result::~Airavata_getGateway_result() throw() { } -uint32_t Airavata_deleteGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1597,8 +1629,8 @@ uint32_t Airavata_deleteGateway_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); @@ -1648,15 +1680,15 @@ uint32_t Airavata_deleteGateway_result::read(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_deleteGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteGateway_result"); + xfer += oprot->writeStructBegin("Airavata_getGateway_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); @@ -1681,11 +1713,11 @@ uint32_t Airavata_deleteGateway_result::write(::apache::thrift::protocol::TProto } -Airavata_deleteGateway_presult::~Airavata_deleteGateway_presult() throw() { +Airavata_getGateway_presult::~Airavata_getGateway_presult() throw() { } -uint32_t Airavata_deleteGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1707,8 +1739,8 @@ uint32_t Airavata_deleteGateway_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); @@ -1759,11 +1791,11 @@ uint32_t Airavata_deleteGateway_presult::read(::apache::thrift::protocol::TProto } -Airavata_getAllGateways_args::~Airavata_getAllGateways_args() throw() { +Airavata_deleteGateway_args::~Airavata_deleteGateway_args() throw() { } -uint32_t Airavata_getAllGateways_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteGateway_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1776,6 +1808,7 @@ uint32_t Airavata_getAllGateways_args::read(::apache::thrift::protocol::TProtoco using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; + bool isset_gatewayId = false; while (true) { @@ -1793,6 +1826,14 @@ uint32_t Airavata_getAllGateways_args::read(::apache::thrift::protocol::TProtoco 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; default: xfer += iprot->skip(ftype); break; @@ -1804,48 +1845,58 @@ uint32_t Airavata_getAllGateways_args::read(::apache::thrift::protocol::TProtoco if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayId) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getAllGateways_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteGateway_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllGateways_args"); + xfer += oprot->writeStructBegin("Airavata_deleteGateway_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->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getAllGateways_pargs::~Airavata_getAllGateways_pargs() throw() { +Airavata_deleteGateway_pargs::~Airavata_deleteGateway_pargs() throw() { } -uint32_t Airavata_getAllGateways_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteGateway_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllGateways_pargs"); + xfer += oprot->writeStructBegin("Airavata_deleteGateway_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->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getAllGateways_result::~Airavata_getAllGateways_result() throw() { +Airavata_deleteGateway_result::~Airavata_deleteGateway_result() throw() { } -uint32_t Airavata_getAllGateways_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteGateway_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1867,20 +1918,8 @@ uint32_t Airavata_getAllGateways_result::read(::apache::thrift::protocol::TProto switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->success.clear(); - uint32_t _size0; - ::apache::thrift::protocol::TType _etype3; - xfer += iprot->readListBegin(_etype3, _size0); - this->success.resize(_size0); - uint32_t _i4; - for (_i4 = 0; _i4 < _size0; ++_i4) - { - xfer += this->success[_i4].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); @@ -1930,23 +1969,15 @@ uint32_t Airavata_getAllGateways_result::read(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_getAllGateways_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteGateway_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getAllGateways_result"); + xfer += oprot->writeStructBegin("Airavata_deleteGateway_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::Gateway> ::const_iterator _iter5; - for (_iter5 = this->success.begin(); _iter5 != this->success.end(); ++_iter5) - { - xfer += (*_iter5).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); @@ -1971,11 +2002,11 @@ uint32_t Airavata_getAllGateways_result::write(::apache::thrift::protocol::TProt } -Airavata_getAllGateways_presult::~Airavata_getAllGateways_presult() throw() { +Airavata_deleteGateway_presult::~Airavata_deleteGateway_presult() throw() { } -uint32_t Airavata_getAllGateways_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteGateway_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -1997,20 +2028,8 @@ uint32_t Airavata_getAllGateways_presult::read(::apache::thrift::protocol::TProt switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - (*(this->success)).clear(); - uint32_t _size6; - ::apache::thrift::protocol::TType _etype9; - xfer += iprot->readListBegin(_etype9, _size6); - (*(this->success)).resize(_size6); - uint32_t _i10; - for (_i10 = 0; _i10 < _size6; ++_i10) - { - xfer += (*(this->success))[_i10].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); @@ -2061,11 +2080,11 @@ uint32_t Airavata_getAllGateways_presult::read(::apache::thrift::protocol::TProt } -Airavata_isGatewayExist_args::~Airavata_isGatewayExist_args() throw() { +Airavata_getAllGateways_args::~Airavata_getAllGateways_args() throw() { } -uint32_t Airavata_isGatewayExist_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGateways_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2078,7 +2097,6 @@ uint32_t Airavata_isGatewayExist_args::read(::apache::thrift::protocol::TProtoco using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_gatewayId = false; while (true) { @@ -2096,14 +2114,6 @@ uint32_t Airavata_isGatewayExist_args::read(::apache::thrift::protocol::TProtoco 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; default: xfer += iprot->skip(ftype); break; @@ -2115,58 +2125,48 @@ uint32_t Airavata_isGatewayExist_args::read(::apache::thrift::protocol::TProtoco if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_gatewayId) - throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_isGatewayExist_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGateways_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_isGatewayExist_args"); + xfer += oprot->writeStructBegin("Airavata_getAllGateways_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->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_isGatewayExist_pargs::~Airavata_isGatewayExist_pargs() throw() { +Airavata_getAllGateways_pargs::~Airavata_getAllGateways_pargs() throw() { } -uint32_t Airavata_isGatewayExist_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGateways_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_isGatewayExist_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllGateways_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->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_isGatewayExist_result::~Airavata_isGatewayExist_result() throw() { +Airavata_getAllGateways_result::~Airavata_getAllGateways_result() throw() { } -uint32_t Airavata_isGatewayExist_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGateways_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2188,8 +2188,20 @@ uint32_t Airavata_isGatewayExist_result::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_LIST) { + { + this->success.clear(); + uint32_t _size11; + ::apache::thrift::protocol::TType _etype14; + xfer += iprot->readListBegin(_etype14, _size11); + this->success.resize(_size11); + uint32_t _i15; + for (_i15 = 0; _i15 < _size11; ++_i15) + { + xfer += this->success[_i15].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -2239,15 +2251,23 @@ uint32_t Airavata_isGatewayExist_result::read(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_isGatewayExist_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllGateways_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_isGatewayExist_result"); + xfer += oprot->writeStructBegin("Airavata_getAllGateways_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_LIST, 0); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size())); + std::vector< ::apache::airavata::model::workspace::Gateway> ::const_iterator _iter16; + for (_iter16 = this->success.begin(); _iter16 != this->success.end(); ++_iter16) + { + xfer += (*_iter16).write(oprot); + } + xfer += oprot->writeListEnd(); + } xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2272,11 +2292,11 @@ uint32_t Airavata_isGatewayExist_result::write(::apache::thrift::protocol::TProt } -Airavata_isGatewayExist_presult::~Airavata_isGatewayExist_presult() throw() { +Airavata_getAllGateways_presult::~Airavata_getAllGateways_presult() throw() { } -uint32_t Airavata_isGatewayExist_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllGateways_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2298,8 +2318,20 @@ uint32_t Airavata_isGatewayExist_presult::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_LIST) { + { + (*(this->success)).clear(); + uint32_t _size17; + ::apache::thrift::protocol::TType _etype20; + xfer += iprot->readListBegin(_etype20, _size17); + (*(this->success)).resize(_size17); + uint32_t _i21; + for (_i21 = 0; _i21 < _size17; ++_i21) + { + xfer += (*(this->success))[_i21].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -2350,11 +2382,11 @@ uint32_t Airavata_isGatewayExist_presult::read(::apache::thrift::protocol::TProt } -Airavata_createNotification_args::~Airavata_createNotification_args() throw() { +Airavata_isGatewayExist_args::~Airavata_isGatewayExist_args() throw() { } -uint32_t Airavata_createNotification_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_isGatewayExist_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2367,7 +2399,7 @@ uint32_t Airavata_createNotification_args::read(::apache::thrift::protocol::TPro using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_notification = false; + bool isset_gatewayId = false; while (true) { @@ -2386,9 +2418,9 @@ uint32_t Airavata_createNotification_args::read(::apache::thrift::protocol::TPro } break; case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->notification.read(iprot); - isset_notification = true; + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; } else { xfer += iprot->skip(ftype); } @@ -2404,22 +2436,22 @@ uint32_t Airavata_createNotification_args::read(::apache::thrift::protocol::TPro if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_notification) + if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_createNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_isGatewayExist_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_createNotification_args"); + xfer += oprot->writeStructBegin("Airavata_isGatewayExist_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("notification", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->notification.write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -2428,21 +2460,21 @@ uint32_t Airavata_createNotification_args::write(::apache::thrift::protocol::TPr } -Airavata_createNotification_pargs::~Airavata_createNotification_pargs() throw() { +Airavata_isGatewayExist_pargs::~Airavata_isGatewayExist_pargs() throw() { } -uint32_t Airavata_createNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_isGatewayExist_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_createNotification_pargs"); + xfer += oprot->writeStructBegin("Airavata_isGatewayExist_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("notification", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += (*(this->notification)).write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -2451,11 +2483,11 @@ uint32_t Airavata_createNotification_pargs::write(::apache::thrift::protocol::TP } -Airavata_createNotification_result::~Airavata_createNotification_result() throw() { +Airavata_isGatewayExist_result::~Airavata_isGatewayExist_result() throw() { } -uint32_t Airavata_createNotification_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_isGatewayExist_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2477,8 +2509,8 @@ uint32_t Airavata_createNotification_result::read(::apache::thrift::protocol::TP 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); @@ -2528,15 +2560,15 @@ uint32_t Airavata_createNotification_result::read(::apache::thrift::protocol::TP return xfer; } -uint32_t Airavata_createNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_isGatewayExist_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_createNotification_result"); + xfer += oprot->writeStructBegin("Airavata_isGatewayExist_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); @@ -2561,11 +2593,11 @@ uint32_t Airavata_createNotification_result::write(::apache::thrift::protocol::T } -Airavata_createNotification_presult::~Airavata_createNotification_presult() throw() { +Airavata_isGatewayExist_presult::~Airavata_isGatewayExist_presult() throw() { } -uint32_t Airavata_createNotification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_isGatewayExist_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2587,8 +2619,8 @@ uint32_t Airavata_createNotification_presult::read(::apache::thrift::protocol::T 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); @@ -2639,11 +2671,11 @@ uint32_t Airavata_createNotification_presult::read(::apache::thrift::protocol::T } -Airavata_updateNotification_args::~Airavata_updateNotification_args() throw() { +Airavata_createNotification_args::~Airavata_createNotification_args() throw() { } -uint32_t Airavata_updateNotification_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_createNotification_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2698,10 +2730,10 @@ uint32_t Airavata_updateNotification_args::read(::apache::thrift::protocol::TPro return xfer; } -uint32_t Airavata_updateNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_createNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateNotification_args"); + xfer += oprot->writeStructBegin("Airavata_createNotification_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -2717,14 +2749,14 @@ uint32_t Airavata_updateNotification_args::write(::apache::thrift::protocol::TPr } -Airavata_updateNotification_pargs::~Airavata_updateNotification_pargs() throw() { +Airavata_createNotification_pargs::~Airavata_createNotification_pargs() throw() { } -uint32_t Airavata_updateNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_createNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateNotification_pargs"); + xfer += oprot->writeStructBegin("Airavata_createNotification_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -2740,11 +2772,11 @@ uint32_t Airavata_updateNotification_pargs::write(::apache::thrift::protocol::TP } -Airavata_updateNotification_result::~Airavata_updateNotification_result() throw() { +Airavata_createNotification_result::~Airavata_createNotification_result() throw() { } -uint32_t Airavata_updateNotification_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_createNotification_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2766,8 +2798,8 @@ uint32_t Airavata_updateNotification_result::read(::apache::thrift::protocol::TP switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->success); + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->success); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -2817,15 +2849,15 @@ uint32_t Airavata_updateNotification_result::read(::apache::thrift::protocol::TP return xfer; } -uint32_t Airavata_updateNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_createNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateNotification_result"); + xfer += oprot->writeStructBegin("Airavata_createNotification_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_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); @@ -2850,11 +2882,11 @@ uint32_t Airavata_updateNotification_result::write(::apache::thrift::protocol::T } -Airavata_updateNotification_presult::~Airavata_updateNotification_presult() throw() { +Airavata_createNotification_presult::~Airavata_createNotification_presult() throw() { } -uint32_t Airavata_updateNotification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_createNotification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2876,8 +2908,8 @@ uint32_t Airavata_updateNotification_presult::read(::apache::thrift::protocol::T switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool((*(this->success))); + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -2928,11 +2960,11 @@ uint32_t Airavata_updateNotification_presult::read(::apache::thrift::protocol::T } -Airavata_deleteNotification_args::~Airavata_deleteNotification_args() throw() { +Airavata_updateNotification_args::~Airavata_updateNotification_args() throw() { } -uint32_t Airavata_deleteNotification_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateNotification_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -2945,8 +2977,7 @@ uint32_t Airavata_deleteNotification_args::read(::apache::thrift::protocol::TPro using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_gatewayId = false; - bool isset_notificationId = false; + bool isset_notification = false; while (true) { @@ -2965,17 +2996,9 @@ uint32_t Airavata_deleteNotification_args::read(::apache::thrift::protocol::TPro } 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->notificationId); - isset_notificationId = true; + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->notification.read(iprot); + isset_notification = true; } else { xfer += iprot->skip(ftype); } @@ -2991,28 +3014,22 @@ uint32_t Airavata_deleteNotification_args::read(::apache::thrift::protocol::TPro if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_gatewayId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_notificationId) + if (!isset_notification) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_deleteNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteNotification_args"); + xfer += oprot->writeStructBegin("Airavata_updateNotification_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("notificationId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->notificationId); + xfer += oprot->writeFieldBegin("notification", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->notification.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -3021,25 +3038,21 @@ uint32_t Airavata_deleteNotification_args::write(::apache::thrift::protocol::TPr } -Airavata_deleteNotification_pargs::~Airavata_deleteNotification_pargs() throw() { +Airavata_updateNotification_pargs::~Airavata_updateNotification_pargs() throw() { } -uint32_t Airavata_deleteNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteNotification_pargs"); + xfer += oprot->writeStructBegin("Airavata_updateNotification_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("notificationId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->notificationId))); + xfer += oprot->writeFieldBegin("notification", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += (*(this->notification)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -3048,11 +3061,11 @@ uint32_t Airavata_deleteNotification_pargs::write(::apache::thrift::protocol::TP } -Airavata_deleteNotification_result::~Airavata_deleteNotification_result() throw() { +Airavata_updateNotification_result::~Airavata_updateNotification_result() throw() { } -uint32_t Airavata_deleteNotification_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateNotification_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -3125,11 +3138,11 @@ uint32_t Airavata_deleteNotification_result::read(::apache::thrift::protocol::TP return xfer; } -uint32_t Airavata_deleteNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteNotification_result"); + xfer += oprot->writeStructBegin("Airavata_updateNotification_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); @@ -3158,11 +3171,319 @@ uint32_t Airavata_deleteNotification_result::write(::apache::thrift::protocol::T } -Airavata_deleteNotification_presult::~Airavata_deleteNotification_presult() throw() { +Airavata_updateNotification_presult::~Airavata_updateNotification_presult() throw() { } -uint32_t Airavata_deleteNotification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateNotification_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; + 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; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +Airavata_deleteNotification_args::~Airavata_deleteNotification_args() throw() { +} + + +uint32_t Airavata_deleteNotification_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_notificationId = 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->notificationId); + isset_notificationId = 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_notificationId) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_deleteNotification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_deleteNotification_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("notificationId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->notificationId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_deleteNotification_pargs::~Airavata_deleteNotification_pargs() throw() { +} + + +uint32_t Airavata_deleteNotification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("Airavata_deleteNotification_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("notificationId", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->notificationId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +Airavata_deleteNotification_result::~Airavata_deleteNotification_result() throw() { +} + + +uint32_t Airavata_deleteNotification_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_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; + 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; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Airavata_deleteNotification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Airavata_deleteNotification_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(); + } 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_deleteNotification_presult::~Airavata_deleteNotification_presult() throw() { +} + + +uint32_t Airavata_deleteNotification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -3674,14 +3995,14 @@ uint32_t Airavata_getAllNotifications_result::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size11; - ::apache::thrift::protocol::TType _etype14; - xfer += iprot->readListBegin(_etype14, _size11); - this->success.resize(_size11); - uint32_t _i15; - for (_i15 = 0; _i15 < _size11; ++_i15) + uint32_t _size22; + ::apache::thrift::protocol::TType _etype25; + xfer += iprot->readListBegin(_etype25, _size22); + this->success.resize(_size22); + uint32_t _i26; + for (_i26 = 0; _i26 < _size22; ++_i26) { - xfer += this->success[_i15].read(iprot); + xfer += this->success[_i26].read(iprot); } xfer += iprot->readListEnd(); } @@ -3744,10 +4065,10 @@ uint32_t Airavata_getAllNotifications_result::write(::apache::thrift::protocol:: 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::Notification> ::const_iterator _iter16; - for (_iter16 = this->success.begin(); _iter16 != this->success.end(); ++_iter16) + std::vector< ::apache::airavata::model::workspace::Notification> ::const_iterator _iter27; + for (_iter27 = this->success.begin(); _iter27 != this->success.end(); ++_iter27) { - xfer += (*_iter16).write(oprot); + xfer += (*_iter27).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3804,14 +4125,14 @@ uint32_t Airavata_getAllNotifications_presult::read(::apache::thrift::protocol:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size17; - ::apache::thrift::protocol::TType _etype20; - xfer += iprot->readListBegin(_etype20, _size17); - (*(this->success)).resize(_size17); - uint32_t _i21; - for (_i21 = 0; _i21 < _size17; ++_i21) + uint32_t _size28; + ::apache::thrift::protocol::TType _etype31; + xfer += iprot->readListBegin(_etype31, _size28); + (*(this->success)).resize(_size28); + uint32_t _i32; + for (_i32 = 0; _i32 < _size28; ++_i32) { - xfer += (*(this->success))[_i21].read(iprot); + xfer += (*(this->success))[_i32].read(iprot); } xfer += iprot->readListEnd(); } @@ -4916,17 +5237,17 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size22; - ::apache::thrift::protocol::TType _ktype23; - ::apache::thrift::protocol::TType _vtype24; - xfer += iprot->readMapBegin(_ktype23, _vtype24, _size22); - uint32_t _i26; - for (_i26 = 0; _i26 < _size22; ++_i26) + uint32_t _size33; + ::apache::thrift::protocol::TType _ktype34; + ::apache::thrift::protocol::TType _vtype35; + xfer += iprot->readMapBegin(_ktype34, _vtype35, _size33); + uint32_t _i37; + for (_i37 = 0; _i37 < _size33; ++_i37) { - std::string _key27; - xfer += iprot->readString(_key27); - std::string& _val28 = this->success[_key27]; - xfer += iprot->readString(_val28); + std::string _key38; + xfer += iprot->readString(_key38); + std::string& _val39 = this->success[_key38]; + xfer += iprot->readString(_val39); } xfer += iprot->readMapEnd(); } @@ -4981,11 +5302,11 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_result::write(::apache::thrift::protoc 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 _iter29; - for (_iter29 = this->success.begin(); _iter29 != this->success.end(); ++_iter29) + std::map<std::string, std::string> ::const_iterator _iter40; + for (_iter40 = this->success.begin(); _iter40 != this->success.end(); ++_iter40) { - xfer += oprot->writeString(_iter29->first); - xfer += oprot->writeString(_iter29->second); + xfer += oprot->writeString(_iter40->first); + xfer += oprot->writeString(_iter40->second); } xfer += oprot->writeMapEnd(); } @@ -5038,17 +5359,17 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size30; - ::apache::thrift::protocol::TType _ktype31; - ::apache::thrift::protocol::TType _vtype32; - xfer += iprot->readMapBegin(_ktype31, _vtype32, _size30); - uint32_t _i34; - for (_i34 = 0; _i34 < _size30; ++_i34) + uint32_t _size41; + ::apache::thrift::protocol::TType _ktype42; + ::apache::thrift::protocol::TType _vtype43; + xfer += iprot->readMapBegin(_ktype42, _vtype43, _size41); + uint32_t _i45; + for (_i45 = 0; _i45 < _size41; ++_i45) { - std::string _key35; - xfer += iprot->readString(_key35); - std::string& _val36 = (*(this->success))[_key35]; - xfer += iprot->readString(_val36); + std::string _key46; + xfer += iprot->readString(_key46); + std::string& _val47 = (*(this->success))[_key46]; + xfer += iprot->readString(_val47); } xfer += iprot->readMapEnd(); } @@ -5224,17 +5545,17 @@ uint32_t Airavata_getAllGatewayPWDCredentials_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size37; - ::apache::thrift::protocol::TType _ktype38; - ::apache::thrift::protocol::TType _vtype39; - xfer += iprot->readMapBegin(_ktype38, _vtype39, _size37); - uint32_t _i41; - for (_i41 = 0; _i41 < _size37; ++_i41) + uint32_t _size48; + ::apache::thrift::protocol::TType _ktype49; + ::apache::thrift::protocol::TType _vtype50; + xfer += iprot->readMapBegin(_ktype49, _vtype50, _size48); + uint32_t _i52; + for (_i52 = 0; _i52 < _size48; ++_i52) { - std::string _key42; - xfer += iprot->readString(_key42); - std::string& _val43 = this->success[_key42]; - xfer += iprot->readString(_val43); + std::string _key53; + xfer += iprot->readString(_key53); + std::string& _val54 = this->success[_key53]; + xfer += iprot->readString(_val54); } xfer += iprot->readMapEnd(); } @@ -5289,11 +5610,11 @@ uint32_t Airavata_getAllGatewayPWDCredentials_result::write(::apache::thrift::pr 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 _iter44; - for (_iter44 = this->success.begin(); _iter44 != this->success.end(); ++_iter44) + std::map<std::string, std::string> ::const_iterator _iter55; + for (_iter55 = this->success.begin(); _iter55 != this->success.end(); ++_iter55) { - xfer += oprot->writeString(_iter44->first); - xfer += oprot->writeString(_iter44->second); + xfer += oprot->writeString(_iter55->first); + xfer += oprot->writeString(_iter55->second); } xfer += oprot->writeMapEnd(); } @@ -5346,17 +5667,17 @@ uint32_t Airavata_getAllGatewayPWDCredentials_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size45; - ::apache::thrift::protocol::TType _ktype46; - ::apache::thrift::protocol::TType _vtype47; - xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); - uint32_t _i49; - for (_i49 = 0; _i49 < _size45; ++_i49) + uint32_t _size56; + ::apache::thrift::protocol::TType _ktype57; + ::apache::thrift::protocol::TType _vtype58; + xfer += iprot->readMapBegin(_ktype57, _vtype58, _size56); + uint32_t _i60; + for (_i60 = 0; _i60 < _size56; ++_i60) { - std::string _key50; - xfer += iprot->readString(_key50); - std::string& _val51 = (*(this->success))[_key50]; - xfer += iprot->readString(_val51); + std::string _key61; + xfer += iprot->readString(_key61); + std::string& _val62 = (*(this->success))[_key61]; + xfer += iprot->readString(_val62); } xfer += iprot->readMapEnd(); } @@ -7399,14 +7720,14 @@ uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProt 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) + 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) { - xfer += this->success[_i56].read(iprot); + xfer += this->success[_i67].read(iprot); } xfer += iprot->readListEnd(); } @@ -7469,10 +7790,10 @@ uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TPro 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) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter68; + for (_iter68 = this->success.begin(); _iter68 != this->success.end(); ++_iter68) { - xfer += (*_iter57).write(oprot); + xfer += (*_iter68).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7529,14 +7850,14 @@ uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TPro 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) + 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) { - xfer += (*(this->success))[_i62].read(iprot); + xfer += (*(this->success))[_i73].read(iprot); } xfer += iprot->readListEnd(); } @@ -7796,14 +8117,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 _size74; + ::apache::thrift::protocol::TType _etype77; + xfer += iprot->readListBegin(_etype77, _size74); + this->success.resize(_size74); + uint32_t _i78; + for (_i78 = 0; _i78 < _size74; ++_i78) { - xfer += this->success[_i67].read(iprot); + xfer += this->success[_i78].read(iprot); } xfer += iprot->readListEnd(); } @@ -7866,10 +8187,10 @@ uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::pr 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 _iter79; + for (_iter79 = this->success.begin(); _iter79 != this->success.end(); ++_iter79) { - xfer += (*_iter68).write(oprot); + xfer += (*_iter79).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7926,14 +8247,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 _size80; + ::apache::thrift::protocol::TType _etype83; + xfer += iprot->readListBegin(_etype83, _size80); + (*(this->success)).resize(_size80); + uint32_t _i84; + for (_i84 = 0; _i84 < _size80; ++_i84) { - xfer += (*(this->success))[_i73].read(iprot); + xfer += (*(this->success))[_i84].read(iprot); } xfer += iprot->readListEnd(); } @@ -8193,14 +8514,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size74; - ::apache::thrift::protocol::TType _etype77; - xfer += iprot->readListBegin(_etype77, _size74); - this->success.resize(_size74); - uint32_t _i78; - for (_i78 = 0; _i78 < _size74; ++_i78) + uint32_t _size85; + ::apache::thrift::protocol::TType _etype88; + xfer += iprot->readListBegin(_etype88, _size85); + this->success.resize(_size85); + uint32_t _i89; + for (_i89 = 0; _i89 < _size85; ++_i89) { - xfer += this->success[_i78].read(iprot); + xfer += this->success[_i89].read(iprot); } xfer += iprot->readListEnd(); } @@ -8263,10 +8584,10 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::write(::apache::thrift::pr 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 _iter79; - for (_iter79 = this->success.begin(); _iter79 != this->success.end(); ++_iter79) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter90; + for (_iter90 = this->success.begin(); _iter90 != this->success.end(); ++_iter90) { - xfer += (*_iter79).write(oprot); + xfer += (*_iter90).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8323,14 +8644,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size80; - ::apache::thrift::protocol::TType _etype83; - xfer += iprot->readListBegin(_etype83, _size80); - (*(this->success)).resize(_size80); - uint32_t _i84; - for (_i84 = 0; _i84 < _size80; ++_i84) + uint32_t _size91; + ::apache::thrift::protocol::TType _etype94; + xfer += iprot->readListBegin(_etype94, _size91); + (*(this->success)).resize(_size91); + uint32_t _i95; + for (_i95 = 0; _i95 < _size91; ++_i95) { - xfer += (*(this->success))[_i84].read(iprot); + xfer += (*(this->success))[_i95].read(iprot); } xfer += iprot->readListEnd(); } @@ -8590,14 +8911,14 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size85; - ::apache::thrift::protocol::TType _etype88; - xfer += iprot->readListBegin(_etype88, _size85); - this->success.resize(_size85); - uint32_t _i89; - for (_i89 = 0; _i89 < _size85; ++_i89) + uint32_t _size96; + ::apache::thrift::protocol::TType _etype99; + xfer += iprot->readListBegin(_etype99, _size96); + this->success.resize(_size96); + uint32_t _i100; + for (_i100 = 0; _i100 < _size96; ++_i100) { - xfer += this->success[_i89].read(iprot); + xfer += this->success[_i100].read(iprot); } xfer += iprot->readListEnd(); } @@ -8660,10 +8981,10 @@ uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protoc 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::experiment::ExperimentSummaryModel> ::const_iterator _iter90; - for (_iter90 = this->success.begin(); _iter90 != this->success.end(); ++_iter90) + std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter101; + for (_iter101 = this->success.begin(); _iter101 != this->success.end(); ++_iter101) { - xfer += (*_iter90).write(oprot); + xfer += (*_iter101).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8720,14 +9041,14 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size91; - ::apache::thrift::protocol::TType _etype94; - xfer += iprot->readListBegin(_etype94, _size91); - (*(this->success)).resize(_size91); - uint32_t _i95; - for (_i95 = 0; _i95 < _size91; ++_i95) + uint32_t _size102; + ::apache::thrift::protocol::TType _etype105; + xfer += iprot->readListBegin(_etype105, _size102); + (*(this->success)).resize(_size102); + uint32_t _i106; + for (_i106 = 0; _i106 < _size102; ++_i106) { - xfer += (*(this->success))[_i95].read(iprot); + xfer += (*(this->success))[_i106].read(iprot); } xfer += iprot->readListEnd(); } @@ -8987,14 +9308,14 @@ uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size96; - ::apache::thrift::protocol::TType _etype99; - xfer += iprot->readListBegin(_etype99, _size96); - this->success.resize(_size96); - uint32_t _i100; - for (_i100 = 0; _i100 < _size96; ++_i100) + uint32_t _size107; + ::apache::thrift::protocol::TType _etype110; + xfer += iprot->readListBegin(_etype110, _size107); + this->success.resize(_size107); + uint32_t _i111; + for (_i111 = 0; _i111 < _size107; ++_i111) { - xfer += this->success[_i100].read(iprot); + xfer += this->success[_i111].read(iprot); } xfer += iprot->readListEnd(); } @@ -9057,10 +9378,10 @@ uint32_t Airavata_searchExperimentsByDesc_result::write(::apache::thrift::protoc 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::experiment::ExperimentSummaryModel> ::const_iterator _iter101; - for (_iter101 = this->success.begin(); _iter101 != this->success.end(); ++_iter101) + std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter112; + for (_iter112 = this->success.begin(); _iter112 != this->success.end(); ++_iter112) { - xfer += (*_iter101).write(oprot); + xfer += (*_iter112).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9117,14 +9438,14 @@ uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size102; - ::apache::thrift::protocol::TType _etype105; - xfer += iprot->readListBegin(_etype105, _size102); - (*(this->success)).resize(_size102); - uint32_t _i106; - for (_i106 = 0; _i106 < _size102; ++_i106) + uint32_t _size113; + ::apache::thrift::protocol::TType _etype116; + xfer += iprot->readListBegin(_etype116, _size113); + (*(this->success)).resize(_size113); + uint32_t _i117; + for (_i117 = 0; _i117 < _size113; ++_i117) { - xfer += (*(this->success))[_i106].read(iprot); + xfer += (*(this->success))[_i117].read(iprot); } xfer += iprot->readListEnd(); } @@ -9384,14 +9705,14 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size107; - ::apache::thrift::protocol::TType _etype110; - xfer += iprot->readListBegin(_etype110, _size107); - this->success.resize(_size107); - uint32_t _i111; - for (_i111 = 0; _i111 < _size107; ++_i111) + uint32_t _size118; + ::apache::thrift::protocol::TType _etype121; + xfer += iprot->readListBegin(_etype121, _size118); + this->success.resize(_size118); + uint32_t _i122; + for (_i122 = 0; _i122 < _size118; ++_i122) { - xfer += this->success[_i111].read(iprot); + xfer += this->success[_i122].read(iprot); } xfer += iprot->readListEnd(); } @@ -9454,10 +9775,10 @@ uint32_t Airavata_searchExperimentsByApplication_result::write(::apache::thrift: 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::experiment::ExperimentSummaryModel> ::const_iterator _iter112; - for (_iter112 = this->success.begin(); _iter112 != this->success.end(); ++_iter112) + std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter123; + for (_iter123 = this->success.begin(); _iter123 != this->success.end(); ++_iter123) { - xfer += (*_iter112).write(oprot); + xfer += (*_iter123).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9514,14 +9835,14 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size113; - ::apache::thrift::protocol::TType _etype11
<TRUNCATED>
