http://git-wip-us.apache.org/repos/asf/airavata/blob/33b403fc/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 15015ba..d1dc67c 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 @@ -1583,7 +1583,7 @@ uint32_t Airavata_isGatewayExist_presult::read(::apache::thrift::protocol::TProt return xfer; } -uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_generateAndRegisterSSHKeys_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -1594,7 +1594,8 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol using ::apache::thrift::protocol::TProtocolException; - bool isset_project = false; + bool isset_gatewayId = false; + bool isset_userName = false; while (true) { @@ -1605,9 +1606,17 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol switch (fid) { case 1: - 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); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userName); + isset_userName = true; } else { xfer += iprot->skip(ftype); } @@ -1621,17 +1630,23 @@ uint32_t Airavata_createProject_args::read(::apache::thrift::protocol::TProtocol xfer += iprot->readStructEnd(); - if (!isset_project) + if (!isset_gatewayId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userName) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_generateAndRegisterSSHKeys_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_createProject_args"); + xfer += oprot->writeStructBegin("Airavata_generateAndRegisterSSHKeys_args"); - xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->project.write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->gatewayId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->userName); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -1639,12 +1654,16 @@ uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtoco return xfer; } -uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_generateAndRegisterSSHKeys_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_createProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_generateAndRegisterSSHKeys_pargs"); - xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->project)).write(oprot); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->gatewayId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->userName))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -1652,7 +1671,7 @@ uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_generateAndRegisterSSHKeys_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -1716,11 +1735,11 @@ 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_generateAndRegisterSSHKeys_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_createProject_result"); + xfer += oprot->writeStructBegin("Airavata_generateAndRegisterSSHKeys_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0); @@ -1744,7 +1763,7 @@ uint32_t Airavata_createProject_result::write(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_generateAndRegisterSSHKeys_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -1808,7 +1827,7 @@ uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getSSHPubKey_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -1819,8 +1838,7 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol using ::apache::thrift::protocol::TProtocolException; - bool isset_projectId = false; - bool isset_updatedProject = false; + bool isset_airavataCredStoreToken = false; while (true) { @@ -1832,16 +1850,8 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol { case 1: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->projectId); - isset_projectId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->updatedProject.read(iprot); - isset_updatedProject = true; + xfer += iprot->readString(this->airavataCredStoreToken); + isset_airavataCredStoreToken = true; } else { xfer += iprot->skip(ftype); } @@ -1855,23 +1865,17 @@ uint32_t Airavata_updateProject_args::read(::apache::thrift::protocol::TProtocol xfer += iprot->readStructEnd(); - if (!isset_projectId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_updatedProject) + if (!isset_airavataCredStoreToken) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getSSHPubKey_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateProject_args"); - - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->projectId); - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("Airavata_getSSHPubKey_args"); - xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->updatedProject.write(oprot); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->airavataCredStoreToken); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -1879,16 +1883,12 @@ uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtoco return xfer; } -uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getSSHPubKey_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateProject_pargs"); - - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString((*(this->projectId))); - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("Airavata_getSSHPubKey_pargs"); - xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += (*(this->updatedProject)).write(oprot); + xfer += oprot->writeFieldBegin("airavataCredStoreToken", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->airavataCredStoreToken))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -1896,7 +1896,7 @@ uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getSSHPubKey_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -1916,6 +1916,14 @@ uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtoc } 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); @@ -1940,14 +1948,6 @@ uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtoc 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; default: xfer += iprot->skip(ftype); break; @@ -1960,13 +1960,17 @@ uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtoc return xfer; } -uint32_t Airavata_updateProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getSSHPubKey_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateProject_result"); + xfer += oprot->writeStructBegin("Airavata_getSSHPubKey_result"); - if (this->__isset.ire) { + 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(); @@ -1978,17 +1982,13 @@ uint32_t Airavata_updateProject_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.pnfe) { - xfer += oprot->writeFieldBegin("pnfe", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->pnfe.write(oprot); - xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getSSHPubKey_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -2008,6 +2008,14 @@ uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProto } 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); @@ -2032,14 +2040,6 @@ uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProto 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; default: xfer += iprot->skip(ftype); break; @@ -2052,7 +2052,7 @@ uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserSSHPubKeys_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -2063,7 +2063,7 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i using ::apache::thrift::protocol::TProtocolException; - bool isset_projectId = false; + bool isset_userName = false; while (true) { @@ -2075,8 +2075,8 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i { case 1: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->projectId); - isset_projectId = true; + xfer += iprot->readString(this->userName); + isset_userName = true; } else { xfer += iprot->skip(ftype); } @@ -2090,17 +2090,17 @@ uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* i xfer += iprot->readStructEnd(); - if (!isset_projectId) + if (!isset_userName) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserSSHPubKeys_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getProject_args"); + xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_args"); - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->projectId); + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->userName); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -2108,12 +2108,12 @@ uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* return xfer; } -uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserSSHPubKeys_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getProject_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_pargs"); - xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString((*(this->projectId))); + xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->userName))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -2121,7 +2121,7 @@ uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* return xfer; } -uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserSSHPubKeys_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -2142,8 +2142,741 @@ uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* switch (fid) { case 0: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + this->success.clear(); + uint32_t _size11; + ::apache::thrift::protocol::TType _ktype12; + ::apache::thrift::protocol::TType _vtype13; + xfer += iprot->readMapBegin(_ktype12, _vtype13, _size11); + uint32_t _i15; + for (_i15 = 0; _i15 < _size11; ++_i15) + { + std::string _key16; + xfer += iprot->readString(_key16); + std::string& _val17 = this->success[_key16]; + xfer += iprot->readString(_val17); + } + xfer += iprot->readMapEnd(); + } + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); + 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_getAllUserSSHPubKeys_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_result"); + + if (this->__isset.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 _iter18; + for (_iter18 = this->success.begin(); _iter18 != this->success.end(); ++_iter18) + { + xfer += oprot->writeString(_iter18->first); + xfer += oprot->writeString(_iter18->second); + } + xfer += oprot->writeMapEnd(); + } + 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; +} + +uint32_t Airavata_getAllUserSSHPubKeys_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_MAP) { + { + (*(this->success)).clear(); + uint32_t _size19; + ::apache::thrift::protocol::TType _ktype20; + ::apache::thrift::protocol::TType _vtype21; + xfer += iprot->readMapBegin(_ktype20, _vtype21, _size19); + uint32_t _i23; + for (_i23 = 0; _i23 < _size19; ++_i23) + { + std::string _key24; + xfer += iprot->readString(_key24); + std::string& _val25 = (*(this->success))[_key24]; + xfer += iprot->readString(_val25); + } + xfer += iprot->readMapEnd(); + } + 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_createProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_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->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_project) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_createProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_createProject_args"); + + xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->project.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_createProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_createProject_pargs"); + + xfer += oprot->writeFieldBegin("project", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->project)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_createProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 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_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(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_createProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 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_updateProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_projectId = false; + bool isset_updatedProject = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->projectId); + isset_projectId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->updatedProject.read(iprot); + isset_updatedProject = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_projectId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_updatedProject) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_updateProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_updateProject_args"); + + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->projectId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->updatedProject.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_updateProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_updateProject_pargs"); + + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->projectId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("updatedProject", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += (*(this->updatedProject)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_updateProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_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; + 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(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_updateProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_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; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t Airavata_getProject_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_projectId = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->projectId); + isset_projectId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_projectId) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t Airavata_getProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_getProject_args"); + + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->projectId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_getProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("Airavata_getProject_pargs"); + + xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->projectId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t Airavata_getProject_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -2390,14 +3123,14 @@ uint32_t Airavata_getAllUserProjects_result::read(::apache::thrift::protocol::TP 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 _size26; + ::apache::thrift::protocol::TType _etype29; + xfer += iprot->readListBegin(_etype29, _size26); + this->success.resize(_size26); + uint32_t _i30; + for (_i30 = 0; _i30 < _size26; ++_i30) { - xfer += this->success[_i15].read(iprot); + xfer += this->success[_i30].read(iprot); } xfer += iprot->readListEnd(); } @@ -2452,10 +3185,10 @@ uint32_t Airavata_getAllUserProjects_result::write(::apache::thrift::protocol::T 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 _iter16; - for (_iter16 = this->success.begin(); _iter16 != this->success.end(); ++_iter16) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter31; + for (_iter31 = this->success.begin(); _iter31 != this->success.end(); ++_iter31) { - xfer += (*_iter16).write(oprot); + xfer += (*_iter31).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2502,14 +3235,14 @@ uint32_t Airavata_getAllUserProjects_presult::read(::apache::thrift::protocol::T 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 _size32; + ::apache::thrift::protocol::TType _etype35; + xfer += iprot->readListBegin(_etype35, _size32); + (*(this->success)).resize(_size32); + uint32_t _i36; + for (_i36 = 0; _i36 < _size32; ++_i36) { - xfer += (*(this->success))[_i21].read(iprot); + xfer += (*(this->success))[_i36].read(iprot); } xfer += iprot->readListEnd(); } @@ -2666,14 +3399,14 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size37; + ::apache::thrift::protocol::TType _etype40; + xfer += iprot->readListBegin(_etype40, _size37); + this->success.resize(_size37); + uint32_t _i41; + for (_i41 = 0; _i41 < _size37; ++_i41) { - xfer += this->success[_i26].read(iprot); + xfer += this->success[_i41].read(iprot); } xfer += iprot->readListEnd(); } @@ -2728,10 +3461,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 _iter27; - for (_iter27 = this->success.begin(); _iter27 != this->success.end(); ++_iter27) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter42; + for (_iter42 = this->success.begin(); _iter42 != this->success.end(); ++_iter42) { - xfer += (*_iter27).write(oprot); + xfer += (*_iter42).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2778,14 +3511,14 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size43; + ::apache::thrift::protocol::TType _etype46; + xfer += iprot->readListBegin(_etype46, _size43); + (*(this->success)).resize(_size43); + uint32_t _i47; + for (_i47 = 0; _i47 < _size43; ++_i47) { - xfer += (*(this->success))[_i32].read(iprot); + xfer += (*(this->success))[_i47].read(iprot); } xfer += iprot->readListEnd(); } @@ -2942,14 +3675,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size33; - ::apache::thrift::protocol::TType _etype36; - xfer += iprot->readListBegin(_etype36, _size33); - this->success.resize(_size33); - uint32_t _i37; - for (_i37 = 0; _i37 < _size33; ++_i37) + uint32_t _size48; + ::apache::thrift::protocol::TType _etype51; + xfer += iprot->readListBegin(_etype51, _size48); + this->success.resize(_size48); + uint32_t _i52; + for (_i52 = 0; _i52 < _size48; ++_i52) { - xfer += this->success[_i37].read(iprot); + xfer += this->success[_i52].read(iprot); } xfer += iprot->readListEnd(); } @@ -3004,10 +3737,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 _iter38; - for (_iter38 = this->success.begin(); _iter38 != this->success.end(); ++_iter38) + std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter53; + for (_iter53 = this->success.begin(); _iter53 != this->success.end(); ++_iter53) { - xfer += (*_iter38).write(oprot); + xfer += (*_iter53).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3054,14 +3787,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size39; - ::apache::thrift::protocol::TType _etype42; - xfer += iprot->readListBegin(_etype42, _size39); - (*(this->success)).resize(_size39); - uint32_t _i43; - for (_i43 = 0; _i43 < _size39; ++_i43) + uint32_t _size54; + ::apache::thrift::protocol::TType _etype57; + xfer += iprot->readListBegin(_etype57, _size54); + (*(this->success)).resize(_size54); + uint32_t _i58; + for (_i58 = 0; _i58 < _size54; ++_i58) { - xfer += (*(this->success))[_i43].read(iprot); + xfer += (*(this->success))[_i58].read(iprot); } xfer += iprot->readListEnd(); } @@ -3218,14 +3951,14 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size44; - ::apache::thrift::protocol::TType _etype47; - xfer += iprot->readListBegin(_etype47, _size44); - this->success.resize(_size44); - uint32_t _i48; - for (_i48 = 0; _i48 < _size44; ++_i48) + uint32_t _size59; + ::apache::thrift::protocol::TType _etype62; + xfer += iprot->readListBegin(_etype62, _size59); + this->success.resize(_size59); + uint32_t _i63; + for (_i63 = 0; _i63 < _size59; ++_i63) { - xfer += this->success[_i48].read(iprot); + xfer += this->success[_i63].read(iprot); } xfer += iprot->readListEnd(); } @@ -3280,10 +4013,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::workspace::experiment::ExperimentSummary> ::const_iterator _iter49; - for (_iter49 = this->success.begin(); _iter49 != this->success.end(); ++_iter49) + std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter64; + for (_iter64 = this->success.begin(); _iter64 != this->success.end(); ++_iter64) { - xfer += (*_iter49).write(oprot); + xfer += (*_iter64).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3330,14 +4063,14 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size50; - ::apache::thrift::protocol::TType _etype53; - xfer += iprot->readListBegin(_etype53, _size50); - (*(this->success)).resize(_size50); - uint32_t _i54; - for (_i54 = 0; _i54 < _size50; ++_i54) + uint32_t _size65; + ::apache::thrift::protocol::TType _etype68; + xfer += iprot->readListBegin(_etype68, _size65); + (*(this->success)).resize(_size65); + uint32_t _i69; + for (_i69 = 0; _i69 < _size65; ++_i69) { - xfer += (*(this->success))[_i54].read(iprot); + xfer += (*(this->success))[_i69].read(iprot); } xfer += iprot->readListEnd(); } @@ -3494,14 +4227,14 @@ uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size55; - ::apache::thrift::protocol::TType _etype58; - xfer += iprot->readListBegin(_etype58, _size55); - this->success.resize(_size55); - uint32_t _i59; - for (_i59 = 0; _i59 < _size55; ++_i59) + uint32_t _size70; + ::apache::thrift::protocol::TType _etype73; + xfer += iprot->readListBegin(_etype73, _size70); + this->success.resize(_size70); + uint32_t _i74; + for (_i74 = 0; _i74 < _size70; ++_i74) { - xfer += this->success[_i59].read(iprot); + xfer += this->success[_i74].read(iprot); } xfer += iprot->readListEnd(); } @@ -3556,10 +4289,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::workspace::experiment::ExperimentSummary> ::const_iterator _iter60; - for (_iter60 = this->success.begin(); _iter60 != this->success.end(); ++_iter60) + std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter75; + for (_iter75 = this->success.begin(); _iter75 != this->success.end(); ++_iter75) { - xfer += (*_iter60).write(oprot); + xfer += (*_iter75).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3606,14 +4339,14 @@ uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size61; - ::apache::thrift::protocol::TType _etype64; - xfer += iprot->readListBegin(_etype64, _size61); - (*(this->success)).resize(_size61); - uint32_t _i65; - for (_i65 = 0; _i65 < _size61; ++_i65) + uint32_t _size76; + ::apache::thrift::protocol::TType _etype79; + xfer += iprot->readListBegin(_etype79, _size76); + (*(this->success)).resize(_size76); + uint32_t _i80; + for (_i80 = 0; _i80 < _size76; ++_i80) { - xfer += (*(this->success))[_i65].read(iprot); + xfer += (*(this->success))[_i80].read(iprot); } xfer += iprot->readListEnd(); } @@ -3770,14 +4503,14 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size66; - ::apache::thrift::protocol::TType _etype69; - xfer += iprot->readListBegin(_etype69, _size66); - this->success.resize(_size66); - uint32_t _i70; - for (_i70 = 0; _i70 < _size66; ++_i70) + uint32_t _size81; + ::apache::thrift::protocol::TType _etype84; + xfer += iprot->readListBegin(_etype84, _size81); + this->success.resize(_size81); + uint32_t _i85; + for (_i85 = 0; _i85 < _size81; ++_i85) { - xfer += this->success[_i70].read(iprot); + xfer += this->success[_i85].read(iprot); } xfer += iprot->readListEnd(); } @@ -3832,10 +4565,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::workspace::experiment::ExperimentSummary> ::const_iterator _iter71; - for (_iter71 = this->success.begin(); _iter71 != this->success.end(); ++_iter71) + std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter86; + for (_iter86 = this->success.begin(); _iter86 != this->success.end(); ++_iter86) { - xfer += (*_iter71).write(oprot); + xfer += (*_iter86).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3882,14 +4615,14 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size72; - ::apache::thrift::protocol::TType _etype75; - xfer += iprot->readListBegin(_etype75, _size72); - (*(this->success)).resize(_size72); - uint32_t _i76; - for (_i76 = 0; _i76 < _size72; ++_i76) + uint32_t _size87; + ::apache::thrift::protocol::TType _etype90; + xfer += iprot->readListBegin(_etype90, _size87); + (*(this->success)).resize(_size87); + uint32_t _i91; + for (_i91 = 0; _i91 < _size87; ++_i91) { - xfer += (*(this->success))[_i76].read(iprot); + xfer += (*(this->success))[_i91].read(iprot); } xfer += iprot->readListEnd(); } @@ -3966,9 +4699,9 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast77; - xfer += iprot->readI32(ecast77); - this->experimentState = ( ::apache::airavata::model::workspace::experiment::ExperimentState::type)ecast77; + int32_t ecast92; + xfer += iprot->readI32(ecast92); + this->experimentState = ( ::apache::airavata::model::workspace::experiment::ExperimentState::type)ecast92; isset_experimentState = true; } else { xfer += iprot->skip(ftype); @@ -4048,14 +4781,14 @@ uint32_t Airavata_searchExperimentsByStatus_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size78; - ::apache::thrift::protocol::TType _etype81; - xfer += iprot->readListBegin(_etype81, _size78); - this->success.resize(_size78); - uint32_t _i82; - for (_i82 = 0; _i82 < _size78; ++_i82) + uint32_t _size93; + ::apache::thrift::protocol::TType _etype96; + xfer += iprot->readListBegin(_etype96, _size93); + this->success.resize(_size93); + uint32_t _i97; + for (_i97 = 0; _i97 < _size93; ++_i97) { - xfer += this->success[_i82].read(iprot); + xfer += this->success[_i97].read(iprot); } xfer += iprot->readListEnd(); } @@ -4110,10 +4843,10 @@ uint32_t Airavata_searchExperimentsByStatus_result::write(::apache::thrift::prot 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::experiment::ExperimentSummary> ::const_iterator _iter83; - for (_iter83 = this->success.begin(); _iter83 != this->success.end(); ++_iter83) + std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter98; + for (_iter98 = this->success.begin(); _iter98 != this->success.end(); ++_iter98) { - xfer += (*_iter83).write(oprot); + xfer += (*_iter98).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4160,14 +4893,14 @@ uint32_t Airavata_searchExperimentsByStatus_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size84; - ::apache::thrift::protocol::TType _etype87; - xfer += iprot->readListBegin(_etype87, _size84); - (*(this->success)).resize(_size84); - uint32_t _i88; - for (_i88 = 0; _i88 < _size84; ++_i88) + uint32_t _size99; + ::apache::thrift::protocol::TType _etype102; + xfer += iprot->readListBegin(_etype102, _size99); + (*(this->success)).resize(_size99); + uint32_t _i103; + for (_i103 = 0; _i103 < _size99; ++_i103) { - xfer += (*(this->success))[_i88].read(iprot); + xfer += (*(this->success))[_i103].read(iprot); } xfer += iprot->readListEnd(); } @@ -4343,14 +5076,14 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size89; - ::apache::thrift::protocol::TType _etype92; - xfer += iprot->readListBegin(_etype92, _size89); - this->success.resize(_size89); - uint32_t _i93; - for (_i93 = 0; _i93 < _size89; ++_i93) + uint32_t _size104; + ::apache::thrift::protocol::TType _etype107; + xfer += iprot->readListBegin(_etype107, _size104); + this->success.resize(_size104); + uint32_t _i108; + for (_i108 = 0; _i108 < _size104; ++_i108) { - xfer += this->success[_i93].read(iprot); + xfer += this->success[_i108].read(iprot); } xfer += iprot->readListEnd(); } @@ -4405,10 +5138,10 @@ uint32_t Airavata_searchExperimentsByCreationTime_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::workspace::experiment::ExperimentSummary> ::const_iterator _iter94; - for (_iter94 = this->success.begin(); _iter94 != this->success.end(); ++_iter94) + std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter109; + for (_iter109 = this->success.begin(); _iter109 != this->success.end(); ++_iter109) { - xfer += (*_iter94).write(oprot); + xfer += (*_iter109).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4455,14 +5188,14 @@ uint32_t Airavata_searchExperimentsByCreationTime_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size95; - ::apache::thrift::protocol::TType _etype98; - xfer += iprot->readListBegin(_etype98, _size95); - (*(this->success)).resize(_size95); - uint32_t _i99; - for (_i99 = 0; _i99 < _size95; ++_i99) + uint32_t _size110; + ::apache::thrift::protocol::TType _etype113; + xfer += iprot->readListBegin(_etype113, _size110); + (*(this->success)).resize(_size110); + uint32_t _i114; + for (_i114 = 0; _i114 < _size110; ++_i114) { - xfer += (*(this->success))[_i99].read(iprot); + xfer += (*(this->success))[_i114].read(iprot); } xfer += iprot->readListEnd(); } @@ -4600,14 +5333,14 @@ uint32_t Airavata_getAllExperimentsInProject_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size100; - ::apache::thrift::protocol::TType _etype103; - xfer += iprot->readListBegin(_etype103, _size100); - this->success.resize(_size100); - uint32_t _i104; - for (_i104 = 0; _i104 < _size100; ++_i104) + uint32_t _size115; + ::apache::thrift::protocol::TType _etype118; + xfer += iprot->readListBegin(_etype118, _size115); + this->success.resize(_size115); + uint32_t _i119; + for (_i119 = 0; _i119 < _size115; ++_i119) { - xfer += this->success[_i104].read(iprot); + xfer += this->success[_i119].read(iprot); } xfer += iprot->readListEnd(); } @@ -4670,10 +5403,10 @@ uint32_t Airavata_getAllExperimentsInProject_result::write(::apache::thrift::pro 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::experiment::Experiment> ::const_iterator _iter105; - for (_iter105 = this->success.begin(); _iter105 != this->success.end(); ++_iter105) + std::vector< ::apache::airavata::model::workspace::experiment::Experiment> ::const_iterator _iter120; + for (_iter120 = this->success.begin(); _iter120 != this->success.end(); ++_iter120) { - xfer += (*_iter105).write(oprot); + xfer += (*_iter120).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4724,14 +5457,14 @@ uint32_t Airavata_getAllExperimentsInProject_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size106; - ::apache::thrift::protocol::TType _etype109; - xfer += iprot->readListBegin(_etype109, _size106); - (*(this->success)).resize(_size106); - uint32_t _i110; - for (_i110 = 0; _i110 < _size106; ++_i110) + uint32_t _size121; + ::apache::thrift::protocol::TType _etype124; + xfer += iprot->readListBegin(_etype124, _size121); + (*(this->success)).resize(_size121); + uint32_t _i125; + for (_i125 = 0; _i125 < _size121; ++_i125) { - xfer += (*(this->success))[_i110].read(iprot); + xfer += (*(this->success))[_i125].read(iprot); } xfer += iprot->readListEnd(); } @@ -4877,14 +5610,14 @@ uint32_t Airavata_getAllUserExperiments_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size111; - ::apache::thrift::protocol::TType _etype114; - xfer += iprot->readListBegin(_etype114, _size111); - this->success.resize(_size111); - uint32_t _i115; - for (_i115 = 0; _i115 < _size111; ++_i115) + uint32_t _size126; + ::apache::thrift::protocol::TType _etype129; + xfer += iprot->readListBegin(_etype129, _size126); + this->success.resize(_size126); + uint32_t _i130; + for (_i130 = 0; _i130 < _size126; ++_i130) { - xfer += this->success[_i115].read(iprot); + xfer += this->success[_i130].read(iprot); } xfer += iprot->readListEnd(); } @@ -4939,10 +5672,10 @@ uint32_t Airavata_getAllUserExperiments_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::experiment::Experiment> ::const_iterator _iter116; - for (_iter116 = this->success.begin(); _iter116 != this->success.end(); ++_iter116) + std::vector< ::apache::airavata::model::workspace::experiment::Experiment> ::const_iterator _iter131; + for (_iter131 = this->success.begin(); _iter131 != this->success.end(); ++_iter131) { - xfer += (*_iter116).write(oprot); + xfer += (*_iter131).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4989,14 +5722,14 @@ uint32_t Airavata_getAllUserExperiments_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size117; - ::apache::thrift::protocol::TType _etype120; - xfer += iprot->readListBegin(_etype120, _size117); - (*(this->success)).resize(_size117); - uint32_t _i121; - for (_i121 = 0; _i121 < _size117; ++_i121) + uint32_t _size132; + ::apache::thrift::protocol::TType _etype135; + xfer += iprot->readListBegin(_etype135, _size132); + (*(this->success)).resize(_size132); + uint32_t _i136; + for (_i136 = 0; _i136 < _size132; ++_i136) { - xfer += (*(this->success))[_i121].read(iprot); + xfer += (*(this->success))[_i136].read(iprot); } xfer += iprot->readListEnd(); } @@ -6908,14 +7641,14 @@ uint32_t Airavata_getExperimentOutputs_result::read(::apache::thrift::protocol:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size122; - ::apache::thrift::protocol::TType _etype125; - xfer += iprot->readListBegin(_etype125, _size122); - this->success.resize(_size122); - uint32_t _i126; - for (_i126 = 0; _i126 < _size122; ++_i126) + uint32_t _size137; + ::apache::thrift::protocol::TType _etype140; + xfer += iprot->readListBegin(_etype140, _size137); + this->success.resize(_size137); + uint32_t _i141; + for (_i141 = 0; _i141 < _size137; ++_i141) { - xfer += this->success[_i126].read(iprot); + xfer += this->success[_i141].read(iprot); } xfer += iprot->readListEnd(); } @@ -6978,10 +7711,10 @@ uint32_t Airavata_getExperimentOutputs_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::appcatalog::appinterface::OutputDataObjectType> ::const_iterator _iter127; - for (_iter127 = this->success.begin(); _iter127 != this->success.end(); ++_iter127) + std::vector< ::apache::airavata::model::appcatalog::appinterface::OutputDataObjectType> ::const_iterator _iter142; + for (_iter142 = this->success.begin(); _iter142 != this->success.end(); ++_iter142) { - xfer += (*_iter127).write(oprot); + xfer += (*_iter142).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7032,14 +7765,14 @@ uint32_t Airavata_getExperimentOutputs_presult::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size128; - ::apache::thrift::protocol::TType _etype131; - xfer += iprot->readListBegin(_etype131, _size128); - (*(this->success)).resize(_size128); - uint32_t _i132; - for (_i132 = 0; _i132 < _size128; ++_i132) + uint32_t _size143; + ::apache::thrift::protocol::TType _etype146; + xfer += iprot->readListBegin(_etype146, _size143); + (*(this->success)).resize(_size143); + uint32_t _i147; + for (_i147 = 0; _i147 < _size143; ++_i147) { - xfer += (*(this->success))[_i132].read(iprot); + xfer += (*(this->success))[_i147].read(iprot); } xfer += iprot->readListEnd(); } @@ -7185,14 +7918,14 @@ uint32_t Airavata_getIntermediateOutputs_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size133; - ::apache::thrift::protocol::TType _etype136; - xfer += iprot->readListBegin(_etype136, _size133); - this->success.resize(_size133); - uint32_t _i137; - for (_i137 = 0; _i137 < _size133; ++_i137) + uint32_t _size148; + ::apache::thrift::protocol::TType _etype151; + xfer += iprot->readListBegin(_etype151, _size148); + this->success.resize(_size148); + uint32_t _i152; + for (_i152 = 0; _i152 < _size148; ++_i152) { - xfer += this->success[_i137].read(iprot); + xfer += this->success[_i152].read(iprot); } xfer += iprot->readListEnd(); } @@ -7255,10 +7988,10 @@ uint32_t Airavata_getIntermediateOutputs_result::write(::apache::thrift::protoco 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::appcatalog::appinterface::OutputDataObjectType> ::const_iterator _iter138; - for (_iter138 = this->success.begin(); _iter138 != this->success.end(); ++_iter138) + std::vector< ::apache::airavata::model::appcatalog::appinterface::OutputDataObjectType> ::const_iterator _iter153; + for (_iter153 = this->success.begin(); _iter153 != this->success.end(); ++_iter153) { - xfer += (*_iter138).write(oprot); + xfer += (*_iter153).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7309,14 +8042,14 @@ uint32_t Airavata_getIntermediateOutputs_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size139; - ::apache::thrift::protocol::TType _etype142; - xfer += iprot->readListBegin(_etype142, _size139); - (*(this->success)).resize(_size139); - uint32_t _i143; - for (_i143 = 0; _i143 < _size139; ++_i143) + uint32_t _size154; + ::apache::thrift::protocol::TType _etype157; + xfer += iprot->readListBegin(_etype157, _size154); + (*(this->success)).resize(_size154); + uint32_t _i158; + for (_i158 = 0; _i158 < _size154; ++_i158) { - xfer += (*(this->success))[_i143].read(iprot); + xfer += (*(this->success))[_i158].read(iprot); } xfer += iprot->readListEnd(); } @@ -7462,17 +8195,17 @@ uint32_t Airavata_getJobStatuses_result::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size144; - ::apache::thrift::protocol::TType _ktype145; - ::apache::thrift::protocol::TType _vtype146; - xfer += iprot->readMapBegin(_ktype145, _vtype146, _size144); - uint32_t _i148; - for (_i148 = 0; _i148 < _size144; ++_i148) + uint32_t _size159; + ::apache::thrift::protocol::TType _ktype160; + ::apache::thrift::protocol::TType _vtype161; + xfer += iprot->readMapBegin(_ktype160, _vtype161, _size159); + uint32_t _i163; + for (_i163 = 0; _i163 < _size159; ++_i163) { - std::string _key149; - xfer += iprot->readString(_key149); - ::apache::airavata::model::workspace::experiment::JobStatus& _val150 = this->success[_key149]; - xfer += _val150.read(iprot); + std::string _key164; + xfer += iprot->readString(_key164); + ::apache::airavata::model::workspace::experiment::JobStatus& _val165 = this->success[_key164]; + xfer += _val165.read(iprot); } xfer += iprot->readMapEnd(); } @@ -7535,11 +8268,11 @@ uint32_t Airavata_getJobStatuses_result::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size())); - std::map<std::string, ::apache::airavata::model::workspace::experiment::JobStatus> ::const_iterator _iter151; - for (_iter151 = this->success.begin(); _iter151 != this->success.end(); ++_iter151) + std::map<std::string, ::apache::airavata::model::workspace::experiment::JobStatus> ::const_iterator _iter166; + for (_iter166 = this->success.begin(); _iter166 != this->success.end(); ++_iter166) { - xfer += oprot->writeString(_iter151->first); - xfer += _iter151->second.write(oprot); + xfer += oprot->writeString(_iter166->first); + xfer += _iter166->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -7590,17 +8323,17 @@ uint32_t Airavata_getJobStatuses_presult::read(::apache::thrift::protocol::TProt if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size152; - ::apache::thrift::protocol::TType _ktype153; - ::apache::thrift::protocol::TType _vtype154; - xfer += iprot->readMapBegin(_ktype153, _vtype154, _size152); - uint32_t _i156; - for (_i156 = 0; _i156 < _size152; ++_i156) + uint32_t _size167; + ::apache::thrift::protocol::TType _ktype168; + ::apache::thrift::protocol::TType _vtype169; + xfer += iprot->readMapBegin(_ktype168, _vtype169, _size167); + uint32_t _i171; + for (_i171 = 0; _i171 < _size167; ++_i171) { - std::string _key157; - xfer += iprot->readString(_key157); - ::apache::airavata::model::workspace::experiment::JobStatus& _val158 = (*(this->success))[_key157]; - xfer += _val158.read(iprot); + std::string _key172; + xfer += iprot->readString(_key172); + ::apache::airavata::model::workspace::experiment::JobStatus& _val173 = (*(this->success))[_key172]; + xfer += _val173.read(iprot); } xfer += iprot->readMapEnd(); } @@ -7746,14 +8479,14 @@ uint32_t Airavata_getJobDetails_result::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size159; - ::apache::thrift::protocol::TType _etype162; - xfer += iprot->readListBegin(_etype162, _size159); - this->success.resize(_size159); - uint32_t _i163; - for (_i163 = 0; _i163 < _size159; ++_i163) + uint32_t _size174; + ::apache::thrift::protocol::TType _etype177; + xfer += iprot->readListBegin(_etype177, _size174); + this->success.resize(_size174); + uint32_t _i178; + for (_i178 = 0; _i178 < _size174; ++_i178) { - xfer += this->success[_i163].read(iprot); + xfer += this->success[_i178].read(iprot); } xfer += iprot->readListEnd(); } @@ -7816,10 +8549,10 @@ uint32_t Airavata_getJobDetails_result::write(::apache::thrift::protocol::TProto 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::experiment::JobDetails> ::const_iterator _iter164; - for (_iter164 = this->success.begin(); _iter164 != this->success.end(); ++_iter164) + std::vector< ::apache::airavata::model::workspace::experiment::JobDetails> ::const_iterator _iter179; + for (_iter179 = this->success.begin(); _iter179 != this->success.end(); ++_iter179) { - xfer += (*_iter164).write(oprot); + xfer += (*_iter179).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7870,14 +8603,14 @@ uint32_t Airavata_getJobDetails_presult::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size165; - ::apache::thrift::protocol::TType _etype168; - xfer += iprot->readListBegin(_etype168, _size165); - (*(this->success)).resize(_size165); - uint32_t _i169; - for (_i169 = 0; _i169 < _size165; ++_i169) + uint32_t _size180; + ::apache::thrift::protocol::TType _etype183; + xfer += iprot->readListBegin(_etype183, _size180); + (*(this->success)).resize(_size180); + uint32_t _i184; + for (_i184 = 0; _i184 < _size180; ++_i184) { - xfer += (*(this->success))[_i169].read(iprot); + xfer += (*(this->success))[_i184].read(iprot); } xfer += iprot->readListEnd(); } @@ -8023,14 +8756,14 @@ uint32_t Airavata_getDataTransferDetails_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size170; - ::apache::thrift::protocol::TType _etype173; - xfer += iprot->readListBegin(_etype173, _size170); - this->success.resize(_size170); - uint32_t _i174; - for (_i174 = 0; _i174 < _size170; ++_i174) + uint32_t _size185; + ::apache::thrift::protocol::TType _etype188; + xfer += iprot->readListBegin(_etype188, _size185); + this->success.resize(_size185); + uint32_t _i189; + for (_i189 = 0; _i189 < _size185; ++_i189) { - xfer += this->success[_i174].read(iprot); + xfer += this->success[_i189].read(iprot); } xfer += iprot->readListEnd(); } @@ -8093,10 +8826,10 @@ uint32_t Airavata_getDataTransferDetails_result::write(::apache::thrift::protoco 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::experiment::DataTransferDetails> ::const_iterator _iter175; - for (_iter175 = this->success.begin(); _iter175 != this->success.end(); ++_iter175) + std::vector< ::apache::airavata::model::workspace::experiment::DataTransferDetails> ::const_iterator _iter190; + for (_iter190 = this->success.begin(); _iter190 != this->success.end(); ++_iter190) { - xfer += (*_iter175).write(oprot); + xfer += (*_iter190).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8147,14 +8880,14 @@ uint32_t Airavata_getDataTransferDetails_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size176; - ::apache::thrift::protocol::TType _etype179; - xfer += iprot->readListBegin(_etype179, _size176); - (*(this->success)).resize(_size176); - uint32_t _i180; - for (_i180 = 0; _i180 < _size176; ++_i180) + uint32_t _size191; + ::apache::thrift::protocol::TType _etype194; + xfer += iprot->readListBegin(_etype194, _size191); + (*(this->success)).resize(_size191); + uint32_t _i195; + for (_i195 = 0; _i195 < _size191; ++_i195) { - xfer += (*(this->success))[_i180].read(iprot); + xfer += (*(this->success))[_i195].read(iprot); } xfer += iprot->readListEnd(); } @@ -9450,14 +10183,14 @@ uint32_t Airavata_getAllAppModules_result::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size181; - ::apache::thrift::protocol::TType _etype184; - xfer += iprot->readListBegin(_etype184, _size181); - this->success.resize(_size181); - uint32_t _i185; - for (_i185 = 0; _i185 < _size181; ++_i185) + uint32_t _size196; + ::apache::thrift::protocol::TType _etype199; + xfer += iprot->readListBegin(_etype199, _size196); + this->success.resize(_size196); + uint32_t _i200; + for (_i200 = 0; _i200 < _size196; ++_i200) { - xfer += this->success[_i185].read(iprot); + xfer += this->success[_i200].read(iprot); } xfer += iprot->readListEnd(); } @@ -9512,10 +10245,10 @@ uint32_t Airavata_getAllAppModules_result::write(::apache::thrift::protocol::TPr 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::appcatalog::appdeployment::ApplicationModule> ::const_iterator _iter186; - for (_iter186 = this->success.begin(); _iter186 != this->success.end(); ++_iter186) + std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationModule> ::const_iterator _iter201; + for (_iter201 = this->success.begin(); _iter201 != this->success.end(); ++_iter201) { - xfer += (*_iter186).write(oprot); + xfer += (*_iter201).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9562,14 +10295,14 @@ uint32_t Airavata_getAllAppModules_presult::read(::apache::thrift::protocol::TPr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size187; - ::apache::thrift::protocol::TType _etype190; - xfer += iprot->readListBegin(_etype190, _size187); - (*(this->success)).resize(_size187); - uint32_t _i191; - for (_i191 = 0; _i191 < _size187; ++_i191) + uint32_t _size202; + ::apache::thrift::protocol::TType _etype205; + xfer += iprot->readListBegin(_etype205, _size202); + (*(this->success)).resize(_size202); + uint32_t _i206; + for (_i206 = 0; _i206 < _size202; ++_i206) { - xfer += (*(this->success))[_i191].read(iprot); + xfer += (*(this->success))[_i206].read(iprot); } xfer += iprot->readListEnd(); } @@ -10827,14 +11560,14 @@ uint32_t Airavata_getAllApplicationDeployments_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size192; - ::apache::thrift::protocol::TType _etype195; - xfer += iprot->readListBegin(_etype195, _size192); - this->success.resize(_size192); - uint32_t _i196; - for (_i196 = 0; _i196 < _size192; ++_i196) + uint32_t _size207; + ::apache::thrift::protocol::TType _etype210; + xfer += iprot->readListBegin(_etype210, _size207); + this->success.resize(_size207); + uint32_t _i211; + for (_i211 = 0; _i211 < _size207; ++_i211) { - xfer += this->success[_i196].read(iprot); + xfer += this->success[_i211].read(iprot); } xfer += iprot->readListEnd(); } @@ -10889,10 +11622,10 @@ uint32_t Airavata_getAllApplicationDeployments_result::write(::apache::thrift::p 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::appcatalog::appdeployment::ApplicationDeploymentDescription> ::const_iterator _iter197; - for (_iter197 = this->success.begin(); _iter197 != this->success.end(); ++_iter197) + std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationDeploymentDescription> ::const_iterator _iter212; + for (_iter212 = this->success.begin(); _iter212 != this->success.end(); ++_iter212) { - xfer += (*_iter197).write(oprot); + xfer += (*_iter212).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10939,14 +11672,14 @@ uint32_t Airavata_getAllApplicationDeployments_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size198; - ::apache::thrift::protocol::TType _etype201; - xfer += iprot->readListBegin(_etype201, _size198); - (*(this->success)).resize(_size198); - uint32_t _i202; - for (_i202 = 0; _i202 < _size198; ++_i202) + uint32_t _size213; + ::apache::thrift::protocol::TType _etype216; + xfer += iprot->readListBegin(_etype216, _size213); + (*(this->success)).resize(_size213); + uint32_t _i217; + for (_i217 = 0; _i217 < _size213; ++_i217) { - xfer += (*(this->success))[_i202].read(iprot); + xfer += (*(this->success))[_i217].read(iprot); } xfer += iprot->readListEnd(); } @@ -11084,14 +11817,14 @@ uint32_t Airavata_getAppModuleDeployedResources_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size203; - ::apache::thrift::protocol::TType _etype206; - xfer += iprot->readListBegin(_etype206, _size203); - this->success.resize(_size203); - uint32_t _i207; - for (_i207 = 0; _i207 < _size203; ++_i207) + uint32_t _size218; + ::apache::thrift::protocol::TType _etype221; + xfer += iprot->readListBegin(_etype221, _size218); + this->success.resize(_size218); + uint32_t _i222; + for (_i222 = 0; _i222 < _size218; ++_i222) { - xfer += iprot->readString(this->success[_i207]); + xfer += iprot->readString(this->success[_i222]); } xfer += iprot->readListEnd(); } @@ -11146,10 +11879,10 @@ uint32_t Airavata_getAppModuleDeployedResources_result::write(::apache::thrift:: xfer += oprot->writeFieldBegin("
<TRUNCATED>
