http://git-wip-us.apache.org/repos/asf/airavata/blob/82e57526/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 ed775e8..ebcf3b8 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 @@ -40372,6 +40372,7 @@ uint32_t Airavata_getUserResourceProfile_args::read(::apache::thrift::protocol:: bool isset_authzToken = false; bool isset_userId = false; + bool isset_gatewayID = false; while (true) { @@ -40397,6 +40398,14 @@ uint32_t Airavata_getUserResourceProfile_args::read(::apache::thrift::protocol:: xfer += iprot->skip(ftype); } break; + case 3: + 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; @@ -40410,6 +40419,8 @@ uint32_t Airavata_getUserResourceProfile_args::read(::apache::thrift::protocol:: throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -40426,6 +40437,10 @@ uint32_t Airavata_getUserResourceProfile_args::write(::apache::thrift::protocol: xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -40449,6 +40464,10 @@ uint32_t Airavata_getUserResourceProfile_pargs::write(::apache::thrift::protocol xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -40661,6 +40680,7 @@ uint32_t Airavata_updateUserResourceProfile_args::read(::apache::thrift::protoco bool isset_authzToken = false; bool isset_userId = false; + bool isset_gatewayID = false; bool isset_userResourceProfile = false; while (true) @@ -40688,6 +40708,14 @@ uint32_t Airavata_updateUserResourceProfile_args::read(::apache::thrift::protoco } break; case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->userResourceProfile.read(iprot); isset_userResourceProfile = true; @@ -40708,6 +40736,8 @@ uint32_t Airavata_updateUserResourceProfile_args::read(::apache::thrift::protoco throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userResourceProfile) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; @@ -40726,7 +40756,11 @@ uint32_t Airavata_updateUserResourceProfile_args::write(::apache::thrift::protoc xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("userResourceProfile", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userResourceProfile", ::apache::thrift::protocol::T_STRUCT, 4); xfer += this->userResourceProfile.write(oprot); xfer += oprot->writeFieldEnd(); @@ -40753,7 +40787,11 @@ uint32_t Airavata_updateUserResourceProfile_pargs::write(::apache::thrift::proto xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("userResourceProfile", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userResourceProfile", ::apache::thrift::protocol::T_STRUCT, 4); xfer += (*(this->userResourceProfile)).write(oprot); xfer += oprot->writeFieldEnd(); @@ -40969,6 +41007,7 @@ uint32_t Airavata_deleteUserResourceProfile_args::read(::apache::thrift::protoco bool isset_authzToken = false; bool isset_userId = false; + bool isset_gatewayID = false; while (true) { @@ -40994,6 +41033,14 @@ uint32_t Airavata_deleteUserResourceProfile_args::read(::apache::thrift::protoco xfer += iprot->skip(ftype); } break; + case 3: + 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; @@ -41007,6 +41054,8 @@ uint32_t Airavata_deleteUserResourceProfile_args::read(::apache::thrift::protoco throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -41023,6 +41072,10 @@ uint32_t Airavata_deleteUserResourceProfile_args::write(::apache::thrift::protoc xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -41046,6 +41099,10 @@ uint32_t Airavata_deleteUserResourceProfile_pargs::write(::apache::thrift::proto xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -41258,8 +41315,9 @@ uint32_t Airavata_addUserComputeResourcePreference_args::read(::apache::thrift:: bool isset_authzToken = false; bool isset_userId = false; - bool isset_computeResourceId = false; - bool isset_computeResourcePreference = false; + bool isset_gatewayID = false; + bool isset_userComputeResourceId = false; + bool isset_userComputeResourcePreference = false; while (true) { @@ -41287,16 +41345,24 @@ uint32_t Airavata_addUserComputeResourcePreference_args::read(::apache::thrift:: break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->computeResourceId); - isset_computeResourceId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; } else { xfer += iprot->skip(ftype); } break; case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userComputeResourceId); + isset_userComputeResourceId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->computeResourcePreference.read(iprot); - isset_computeResourcePreference = true; + xfer += this->userComputeResourcePreference.read(iprot); + isset_userComputeResourcePreference = true; } else { xfer += iprot->skip(ftype); } @@ -41314,9 +41380,11 @@ uint32_t Airavata_addUserComputeResourcePreference_args::read(::apache::thrift:: throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourceId) + if (!isset_gatewayID) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourcePreference) + if (!isset_userComputeResourceId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userComputeResourcePreference) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -41334,12 +41402,16 @@ uint32_t Airavata_addUserComputeResourcePreference_args::write(::apache::thrift: xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->computeResourceId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->computeResourcePreference.write(oprot); + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userComputeResourceId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->userComputeResourcePreference.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -41365,12 +41437,16 @@ uint32_t Airavata_addUserComputeResourcePreference_pargs::write(::apache::thrift xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->computeResourceId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += (*(this->computeResourcePreference)).write(oprot); + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userComputeResourceId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += (*(this->userComputeResourcePreference)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -41585,8 +41661,9 @@ uint32_t Airavata_addUserStoragePreference_args::read(::apache::thrift::protocol bool isset_authzToken = false; bool isset_userId = false; - bool isset_storageResourceId = false; - bool isset_storagePreference = false; + bool isset_gatewayID = false; + bool isset_userStorageResourceId = false; + bool isset_userStoragePreference = false; while (true) { @@ -41614,16 +41691,24 @@ uint32_t Airavata_addUserStoragePreference_args::read(::apache::thrift::protocol break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->storageResourceId); - isset_storageResourceId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; } else { xfer += iprot->skip(ftype); } break; case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userStorageResourceId); + isset_userStorageResourceId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->storagePreference.read(iprot); - isset_storagePreference = true; + xfer += this->userStoragePreference.read(iprot); + isset_userStoragePreference = true; } else { xfer += iprot->skip(ftype); } @@ -41641,9 +41726,11 @@ uint32_t Airavata_addUserStoragePreference_args::read(::apache::thrift::protocol throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storageResourceId) + if (!isset_gatewayID) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storagePreference) + if (!isset_userStorageResourceId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userStoragePreference) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -41661,12 +41748,16 @@ uint32_t Airavata_addUserStoragePreference_args::write(::apache::thrift::protoco xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->storageResourceId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storagePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->storagePreference.write(oprot); + xfer += oprot->writeFieldBegin("userStorageResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userStorageResourceId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStoragePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->userStoragePreference.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -41692,12 +41783,16 @@ uint32_t Airavata_addUserStoragePreference_pargs::write(::apache::thrift::protoc xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->storageResourceId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storagePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += (*(this->storagePreference)).write(oprot); + xfer += oprot->writeFieldBegin("userStorageResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userStorageResourceId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStoragePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += (*(this->userStoragePreference)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -41912,7 +42007,8 @@ uint32_t Airavata_getUserComputeResourcePreference_args::read(::apache::thrift:: bool isset_authzToken = false; bool isset_userId = false; - bool isset_computeResourceId = false; + bool isset_gatewayID = false; + bool isset_userComputeResourceId = false; while (true) { @@ -41940,8 +42036,16 @@ uint32_t Airavata_getUserComputeResourcePreference_args::read(::apache::thrift:: break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->computeResourceId); - isset_computeResourceId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userComputeResourceId); + isset_userComputeResourceId = true; } else { xfer += iprot->skip(ftype); } @@ -41959,7 +42063,9 @@ uint32_t Airavata_getUserComputeResourcePreference_args::read(::apache::thrift:: throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourceId) + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userComputeResourceId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -41977,8 +42083,12 @@ uint32_t Airavata_getUserComputeResourcePreference_args::write(::apache::thrift: xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->computeResourceId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userComputeResourceId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42004,8 +42114,12 @@ uint32_t Airavata_getUserComputeResourcePreference_pargs::write(::apache::thrift xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->computeResourceId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userComputeResourceId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42220,7 +42334,8 @@ uint32_t Airavata_getUserStoragePreference_args::read(::apache::thrift::protocol bool isset_authzToken = false; bool isset_userId = false; - bool isset_storageResourceId = false; + bool isset_gatewayID = false; + bool isset_userStorageResourceId = false; while (true) { @@ -42248,8 +42363,16 @@ uint32_t Airavata_getUserStoragePreference_args::read(::apache::thrift::protocol break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->storageResourceId); - isset_storageResourceId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userStorageResourceId); + isset_userStorageResourceId = true; } else { xfer += iprot->skip(ftype); } @@ -42267,7 +42390,9 @@ uint32_t Airavata_getUserStoragePreference_args::read(::apache::thrift::protocol throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storageResourceId) + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userStorageResourceId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } @@ -42285,8 +42410,12 @@ uint32_t Airavata_getUserStoragePreference_args::write(::apache::thrift::protoco xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->storageResourceId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userStorageResourceId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42312,8 +42441,12 @@ uint32_t Airavata_getUserStoragePreference_pargs::write(::apache::thrift::protoc xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->storageResourceId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userStorageResourceId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42510,11 +42643,11 @@ uint32_t Airavata_getUserStoragePreference_presult::read(::apache::thrift::proto } -Airavata_getAllUserResourceProfiles_args::~Airavata_getAllUserResourceProfiles_args() throw() { +Airavata_getAllUserComputeResourcePreferences_args::~Airavata_getAllUserComputeResourcePreferences_args() throw() { } -uint32_t Airavata_getAllUserResourceProfiles_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserComputeResourcePreferences_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -42527,6 +42660,8 @@ uint32_t Airavata_getAllUserResourceProfiles_args::read(::apache::thrift::protoc using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; + bool isset_userId = false; + bool isset_gatewayID = false; while (true) { @@ -42544,6 +42679,22 @@ uint32_t Airavata_getAllUserResourceProfiles_args::read(::apache::thrift::protoc xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userId); + isset_userId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -42555,48 +42706,68 @@ uint32_t Airavata_getAllUserResourceProfiles_args::read(::apache::thrift::protoc if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getAllUserResourceProfiles_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserComputeResourcePreferences_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_args"); + xfer += oprot->writeStructBegin("Airavata_getAllUserComputeResourcePreferences_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->userId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getAllUserResourceProfiles_pargs::~Airavata_getAllUserResourceProfiles_pargs() throw() { +Airavata_getAllUserComputeResourcePreferences_pargs::~Airavata_getAllUserComputeResourcePreferences_pargs() throw() { } -uint32_t Airavata_getAllUserResourceProfiles_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserComputeResourcePreferences_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllUserComputeResourcePreferences_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->userId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_getAllUserResourceProfiles_result::~Airavata_getAllUserResourceProfiles_result() throw() { +Airavata_getAllUserComputeResourcePreferences_result::~Airavata_getAllUserComputeResourcePreferences_result() throw() { } -uint32_t Airavata_getAllUserResourceProfiles_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserComputeResourcePreferences_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -42681,17 +42852,17 @@ uint32_t Airavata_getAllUserResourceProfiles_result::read(::apache::thrift::prot return xfer; } -uint32_t Airavata_getAllUserResourceProfiles_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserComputeResourcePreferences_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_result"); + xfer += oprot->writeStructBegin("Airavata_getAllUserComputeResourcePreferences_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::appcatalog::userresourceprofile::UserResourceProfile> ::const_iterator _iter373; + std::vector< ::apache::airavata::model::appcatalog::userresourceprofile::UserComputeResourcePreference> ::const_iterator _iter373; for (_iter373 = this->success.begin(); _iter373 != this->success.end(); ++_iter373) { xfer += (*_iter373).write(oprot); @@ -42722,11 +42893,11 @@ uint32_t Airavata_getAllUserResourceProfiles_result::write(::apache::thrift::pro } -Airavata_getAllUserResourceProfiles_presult::~Airavata_getAllUserResourceProfiles_presult() throw() { +Airavata_getAllUserComputeResourcePreferences_presult::~Airavata_getAllUserComputeResourcePreferences_presult() throw() { } -uint32_t Airavata_getAllUserResourceProfiles_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserComputeResourcePreferences_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -42812,11 +42983,11 @@ uint32_t Airavata_getAllUserResourceProfiles_presult::read(::apache::thrift::pro } -Airavata_updateUserComputeResourcePreference_args::~Airavata_updateUserComputeResourcePreference_args() throw() { +Airavata_getAllUserStoragePreferences_args::~Airavata_getAllUserStoragePreferences_args() throw() { } -uint32_t Airavata_updateUserComputeResourcePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserStoragePreferences_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -42830,8 +43001,7 @@ uint32_t Airavata_updateUserComputeResourcePreference_args::read(::apache::thrif bool isset_authzToken = false; bool isset_userId = false; - bool isset_computeResourceId = false; - bool isset_computeResourcePreference = false; + bool isset_gatewayID = false; while (true) { @@ -42859,16 +43029,8 @@ uint32_t Airavata_updateUserComputeResourcePreference_args::read(::apache::thrif break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->computeResourceId); - isset_computeResourceId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->computeResourcePreference.read(iprot); - isset_computeResourcePreference = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; } else { xfer += iprot->skip(ftype); } @@ -42886,17 +43048,15 @@ uint32_t Airavata_updateUserComputeResourcePreference_args::read(::apache::thrif throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourceId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourcePreference) + if (!isset_gatewayID) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_updateUserComputeResourcePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserStoragePreferences_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_args"); + xfer += oprot->writeStructBegin("Airavata_getAllUserStoragePreferences_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -42906,12 +43066,8 @@ uint32_t Airavata_updateUserComputeResourcePreference_args::write(::apache::thri xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->computeResourceId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("computeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->computeResourcePreference.write(oprot); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42920,14 +43076,14 @@ uint32_t Airavata_updateUserComputeResourcePreference_args::write(::apache::thri } -Airavata_updateUserComputeResourcePreference_pargs::~Airavata_updateUserComputeResourcePreference_pargs() throw() { +Airavata_getAllUserStoragePreferences_pargs::~Airavata_getAllUserStoragePreferences_pargs() throw() { } -uint32_t Airavata_updateUserComputeResourcePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserStoragePreferences_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllUserStoragePreferences_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -42937,12 +43093,8 @@ uint32_t Airavata_updateUserComputeResourcePreference_pargs::write(::apache::thr xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->computeResourceId))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("computeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += (*(this->computeResourcePreference)).write(oprot); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -42951,11 +43103,11 @@ uint32_t Airavata_updateUserComputeResourcePreference_pargs::write(::apache::thr } -Airavata_updateUserComputeResourcePreference_result::~Airavata_updateUserComputeResourcePreference_result() throw() { +Airavata_getAllUserStoragePreferences_result::~Airavata_getAllUserStoragePreferences_result() throw() { } -uint32_t Airavata_updateUserComputeResourcePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserStoragePreferences_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -42977,8 +43129,20 @@ uint32_t Airavata_updateUserComputeResourcePreference_result::read(::apache::thr 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 _size379; + ::apache::thrift::protocol::TType _etype382; + xfer += iprot->readListBegin(_etype382, _size379); + this->success.resize(_size379); + uint32_t _i383; + for (_i383 = 0; _i383 < _size379; ++_i383) + { + xfer += this->success[_i383].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -43028,15 +43192,23 @@ uint32_t Airavata_updateUserComputeResourcePreference_result::read(::apache::thr return xfer; } -uint32_t Airavata_updateUserComputeResourcePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserStoragePreferences_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_result"); + xfer += oprot->writeStructBegin("Airavata_getAllUserStoragePreferences_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::appcatalog::userresourceprofile::UserStoragePreference> ::const_iterator _iter384; + for (_iter384 = this->success.begin(); _iter384 != this->success.end(); ++_iter384) + { + xfer += (*_iter384).write(oprot); + } + xfer += oprot->writeListEnd(); + } xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -43061,11 +43233,11 @@ uint32_t Airavata_updateUserComputeResourcePreference_result::write(::apache::th } -Airavata_updateUserComputeResourcePreference_presult::~Airavata_updateUserComputeResourcePreference_presult() throw() { +Airavata_getAllUserStoragePreferences_presult::~Airavata_getAllUserStoragePreferences_presult() throw() { } -uint32_t Airavata_updateUserComputeResourcePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserStoragePreferences_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43087,8 +43259,20 @@ uint32_t Airavata_updateUserComputeResourcePreference_presult::read(::apache::th 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 _size385; + ::apache::thrift::protocol::TType _etype388; + xfer += iprot->readListBegin(_etype388, _size385); + (*(this->success)).resize(_size385); + uint32_t _i389; + for (_i389 = 0; _i389 < _size385; ++_i389) + { + xfer += (*(this->success))[_i389].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -43139,11 +43323,11 @@ uint32_t Airavata_updateUserComputeResourcePreference_presult::read(::apache::th } -Airavata_updateUserStoragePreference_args::~Airavata_updateUserStoragePreference_args() throw() { +Airavata_getAllUserResourceProfiles_args::~Airavata_getAllUserResourceProfiles_args() throw() { } -uint32_t Airavata_updateUserStoragePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserResourceProfiles_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43156,9 +43340,6 @@ uint32_t Airavata_updateUserStoragePreference_args::read(::apache::thrift::proto using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_userId = false; - bool isset_storageId = false; - bool isset_storagePreference = false; while (true) { @@ -43176,30 +43357,6 @@ uint32_t Airavata_updateUserStoragePreference_args::read(::apache::thrift::proto xfer += iprot->skip(ftype); } break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->userId); - isset_userId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->storageId); - isset_storageId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->storagePreference.read(iprot); - isset_storagePreference = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -43211,78 +43368,48 @@ uint32_t Airavata_updateUserStoragePreference_args::read(::apache::thrift::proto if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_userId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storageId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storagePreference) - throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_updateUserStoragePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserResourceProfiles_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_args"); + xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->userId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("storageId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->storageId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("storagePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->storagePreference.write(oprot); - xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_updateUserStoragePreference_pargs::~Airavata_updateUserStoragePreference_pargs() throw() { +Airavata_getAllUserResourceProfiles_pargs::~Airavata_getAllUserResourceProfiles_pargs() throw() { } -uint32_t Airavata_updateUserStoragePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserResourceProfiles_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->userId))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("storageId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->storageId))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("storagePreference", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += (*(this->storagePreference)).write(oprot); - xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -Airavata_updateUserStoragePreference_result::~Airavata_updateUserStoragePreference_result() throw() { +Airavata_getAllUserResourceProfiles_result::~Airavata_getAllUserResourceProfiles_result() throw() { } -uint32_t Airavata_updateUserStoragePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserResourceProfiles_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43304,8 +43431,20 @@ uint32_t Airavata_updateUserStoragePreference_result::read(::apache::thrift::pro 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 _size390; + ::apache::thrift::protocol::TType _etype393; + xfer += iprot->readListBegin(_etype393, _size390); + this->success.resize(_size390); + uint32_t _i394; + for (_i394 = 0; _i394 < _size390; ++_i394) + { + xfer += this->success[_i394].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -43355,15 +43494,23 @@ uint32_t Airavata_updateUserStoragePreference_result::read(::apache::thrift::pro return xfer; } -uint32_t Airavata_updateUserStoragePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllUserResourceProfiles_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_result"); + xfer += oprot->writeStructBegin("Airavata_getAllUserResourceProfiles_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::appcatalog::userresourceprofile::UserResourceProfile> ::const_iterator _iter395; + for (_iter395 = this->success.begin(); _iter395 != this->success.end(); ++_iter395) + { + xfer += (*_iter395).write(oprot); + } + xfer += oprot->writeListEnd(); + } xfer += oprot->writeFieldEnd(); } else if (this->__isset.ire) { xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1); @@ -43388,11 +43535,11 @@ uint32_t Airavata_updateUserStoragePreference_result::write(::apache::thrift::pr } -Airavata_updateUserStoragePreference_presult::~Airavata_updateUserStoragePreference_presult() throw() { +Airavata_getAllUserResourceProfiles_presult::~Airavata_getAllUserResourceProfiles_presult() throw() { } -uint32_t Airavata_updateUserStoragePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllUserResourceProfiles_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43414,8 +43561,20 @@ uint32_t Airavata_updateUserStoragePreference_presult::read(::apache::thrift::pr 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 _size396; + ::apache::thrift::protocol::TType _etype399; + xfer += iprot->readListBegin(_etype399, _size396); + (*(this->success)).resize(_size396); + uint32_t _i400; + for (_i400 = 0; _i400 < _size396; ++_i400) + { + xfer += (*(this->success))[_i400].read(iprot); + } + xfer += iprot->readListEnd(); + } this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -43466,11 +43625,11 @@ uint32_t Airavata_updateUserStoragePreference_presult::read(::apache::thrift::pr } -Airavata_deleteUserComputeResourcePreference_args::~Airavata_deleteUserComputeResourcePreference_args() throw() { +Airavata_updateUserComputeResourcePreference_args::~Airavata_updateUserComputeResourcePreference_args() throw() { } -uint32_t Airavata_deleteUserComputeResourcePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserComputeResourcePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43484,7 +43643,9 @@ uint32_t Airavata_deleteUserComputeResourcePreference_args::read(::apache::thrif bool isset_authzToken = false; bool isset_userId = false; - bool isset_computeResourceId = false; + bool isset_gatewayID = false; + bool isset_userComputeResourceId = false; + bool isset_userComputeResourcePreference = false; while (true) { @@ -43512,8 +43673,24 @@ uint32_t Airavata_deleteUserComputeResourcePreference_args::read(::apache::thrif break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->computeResourceId); - isset_computeResourceId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userComputeResourceId); + isset_userComputeResourceId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->userComputeResourcePreference.read(iprot); + isset_userComputeResourcePreference = true; } else { xfer += iprot->skip(ftype); } @@ -43531,15 +43708,19 @@ uint32_t Airavata_deleteUserComputeResourcePreference_args::read(::apache::thrif throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_computeResourceId) + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userComputeResourceId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userComputeResourcePreference) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_deleteUserComputeResourcePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserComputeResourcePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_args"); + xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -43549,8 +43730,16 @@ uint32_t Airavata_deleteUserComputeResourcePreference_args::write(::apache::thri xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->computeResourceId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userComputeResourceId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->userComputeResourcePreference.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -43559,14 +43748,14 @@ uint32_t Airavata_deleteUserComputeResourcePreference_args::write(::apache::thri } -Airavata_deleteUserComputeResourcePreference_pargs::~Airavata_deleteUserComputeResourcePreference_pargs() throw() { +Airavata_updateUserComputeResourcePreference_pargs::~Airavata_updateUserComputeResourcePreference_pargs() throw() { } -uint32_t Airavata_deleteUserComputeResourcePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserComputeResourcePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_pargs"); + xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -43576,8 +43765,16 @@ uint32_t Airavata_deleteUserComputeResourcePreference_pargs::write(::apache::thr xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->computeResourceId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userComputeResourceId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourcePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += (*(this->userComputeResourcePreference)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -43586,11 +43783,11 @@ uint32_t Airavata_deleteUserComputeResourcePreference_pargs::write(::apache::thr } -Airavata_deleteUserComputeResourcePreference_result::~Airavata_deleteUserComputeResourcePreference_result() throw() { +Airavata_updateUserComputeResourcePreference_result::~Airavata_updateUserComputeResourcePreference_result() throw() { } -uint32_t Airavata_deleteUserComputeResourcePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserComputeResourcePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43663,11 +43860,11 @@ uint32_t Airavata_deleteUserComputeResourcePreference_result::read(::apache::thr return xfer; } -uint32_t Airavata_deleteUserComputeResourcePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserComputeResourcePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_result"); + xfer += oprot->writeStructBegin("Airavata_updateUserComputeResourcePreference_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); @@ -43696,11 +43893,11 @@ uint32_t Airavata_deleteUserComputeResourcePreference_result::write(::apache::th } -Airavata_deleteUserComputeResourcePreference_presult::~Airavata_deleteUserComputeResourcePreference_presult() throw() { +Airavata_updateUserComputeResourcePreference_presult::~Airavata_updateUserComputeResourcePreference_presult() throw() { } -uint32_t Airavata_deleteUserComputeResourcePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserComputeResourcePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43774,11 +43971,11 @@ uint32_t Airavata_deleteUserComputeResourcePreference_presult::read(::apache::th } -Airavata_deleteUserStoragePreference_args::~Airavata_deleteUserStoragePreference_args() throw() { +Airavata_updateUserStoragePreference_args::~Airavata_updateUserStoragePreference_args() throw() { } -uint32_t Airavata_deleteUserStoragePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserStoragePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43792,7 +43989,9 @@ uint32_t Airavata_deleteUserStoragePreference_args::read(::apache::thrift::proto bool isset_authzToken = false; bool isset_userId = false; - bool isset_storageId = false; + bool isset_gatewayID = false; + bool isset_userStorageId = false; + bool isset_userStoragePreference = false; while (true) { @@ -43820,8 +44019,24 @@ uint32_t Airavata_deleteUserStoragePreference_args::read(::apache::thrift::proto break; case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->storageId); - isset_storageId = true; + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userStorageId); + isset_userStorageId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->userStoragePreference.read(iprot); + isset_userStoragePreference = true; } else { xfer += iprot->skip(ftype); } @@ -43839,15 +44054,19 @@ uint32_t Airavata_deleteUserStoragePreference_args::read(::apache::thrift::proto throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_userId) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_storageId) + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userStorageId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userStoragePreference) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_deleteUserStoragePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserStoragePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_args"); + xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); @@ -43857,8 +44076,16 @@ uint32_t Airavata_deleteUserStoragePreference_args::write(::apache::thrift::prot xfer += oprot->writeString(this->userId); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->storageId); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userStorageId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStoragePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->userStoragePreference.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -43867,14 +44094,14 @@ uint32_t Airavata_deleteUserStoragePreference_args::write(::apache::thrift::prot } -Airavata_deleteUserStoragePreference_pargs::~Airavata_deleteUserStoragePreference_pargs() throw() { +Airavata_updateUserStoragePreference_pargs::~Airavata_updateUserStoragePreference_pargs() throw() { } -uint32_t Airavata_deleteUserStoragePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserStoragePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_pargs"); + xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); @@ -43884,8 +44111,16 @@ uint32_t Airavata_deleteUserStoragePreference_pargs::write(::apache::thrift::pro xfer += oprot->writeString((*(this->userId))); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("storageId", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString((*(this->storageId))); + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userStorageId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStoragePreference", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += (*(this->userStoragePreference)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -43894,11 +44129,11 @@ uint32_t Airavata_deleteUserStoragePreference_pargs::write(::apache::thrift::pro } -Airavata_deleteUserStoragePreference_result::~Airavata_deleteUserStoragePreference_result() throw() { +Airavata_updateUserStoragePreference_result::~Airavata_updateUserStoragePreference_result() throw() { } -uint32_t Airavata_deleteUserStoragePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserStoragePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -43971,11 +44206,11 @@ uint32_t Airavata_deleteUserStoragePreference_result::read(::apache::thrift::pro return xfer; } -uint32_t Airavata_deleteUserStoragePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_updateUserStoragePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_result"); + xfer += oprot->writeStructBegin("Airavata_updateUserStoragePreference_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); @@ -44004,11 +44239,11 @@ uint32_t Airavata_deleteUserStoragePreference_result::write(::apache::thrift::pr } -Airavata_deleteUserStoragePreference_presult::~Airavata_deleteUserStoragePreference_presult() throw() { +Airavata_updateUserStoragePreference_presult::~Airavata_updateUserStoragePreference_presult() throw() { } -uint32_t Airavata_deleteUserStoragePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_updateUserStoragePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44082,11 +44317,11 @@ uint32_t Airavata_deleteUserStoragePreference_presult::read(::apache::thrift::pr } -Airavata_getAllWorkflows_args::~Airavata_getAllWorkflows_args() throw() { +Airavata_deleteUserComputeResourcePreference_args::~Airavata_deleteUserComputeResourcePreference_args() throw() { } -uint32_t Airavata_getAllWorkflows_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserComputeResourcePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44099,7 +44334,9 @@ uint32_t Airavata_getAllWorkflows_args::read(::apache::thrift::protocol::TProtoc using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_gatewayId = false; + bool isset_userId = false; + bool isset_gatewayID = false; + bool isset_userComputeResourceId = false; while (true) { @@ -44119,8 +44356,24 @@ uint32_t Airavata_getAllWorkflows_args::read(::apache::thrift::protocol::TProtoc break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->gatewayId); - isset_gatewayId = true; + xfer += iprot->readString(this->userId); + isset_userId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userComputeResourceId); + isset_userComputeResourceId = true; } else { xfer += iprot->skip(ftype); } @@ -44136,22 +44389,34 @@ uint32_t Airavata_getAllWorkflows_args::read(::apache::thrift::protocol::TProtoc if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_gatewayId) + if (!isset_userId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userComputeResourceId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getAllWorkflows_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserComputeResourcePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_args"); + xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->gatewayId); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->userId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userComputeResourceId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44160,21 +44425,29 @@ uint32_t Airavata_getAllWorkflows_args::write(::apache::thrift::protocol::TProto } -Airavata_getAllWorkflows_pargs::~Airavata_getAllWorkflows_pargs() throw() { +Airavata_deleteUserComputeResourcePreference_pargs::~Airavata_deleteUserComputeResourcePreference_pargs() throw() { } -uint32_t Airavata_getAllWorkflows_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserComputeResourcePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_pargs"); + xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->gatewayId))); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->userId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userComputeResourceId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userComputeResourceId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44183,11 +44456,11 @@ uint32_t Airavata_getAllWorkflows_pargs::write(::apache::thrift::protocol::TProt } -Airavata_getAllWorkflows_result::~Airavata_getAllWorkflows_result() throw() { +Airavata_deleteUserComputeResourcePreference_result::~Airavata_deleteUserComputeResourcePreference_result() throw() { } -uint32_t Airavata_getAllWorkflows_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserComputeResourcePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44209,20 +44482,8 @@ uint32_t Airavata_getAllWorkflows_result::read(::apache::thrift::protocol::TProt switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->success.clear(); - uint32_t _size379; - ::apache::thrift::protocol::TType _etype382; - xfer += iprot->readListBegin(_etype382, _size379); - this->success.resize(_size379); - uint32_t _i383; - for (_i383 = 0; _i383 < _size379; ++_i383) - { - xfer += iprot->readString(this->success[_i383]); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->success); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -44272,23 +44533,15 @@ uint32_t Airavata_getAllWorkflows_result::read(::apache::thrift::protocol::TProt return xfer; } -uint32_t Airavata_getAllWorkflows_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserComputeResourcePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_result"); + xfer += oprot->writeStructBegin("Airavata_deleteUserComputeResourcePreference_result"); 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 _iter384; - for (_iter384 = this->success.begin(); _iter384 != this->success.end(); ++_iter384) - { - xfer += oprot->writeString((*_iter384)); - } - 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); @@ -44313,11 +44566,11 @@ uint32_t Airavata_getAllWorkflows_result::write(::apache::thrift::protocol::TPro } -Airavata_getAllWorkflows_presult::~Airavata_getAllWorkflows_presult() throw() { +Airavata_deleteUserComputeResourcePreference_presult::~Airavata_deleteUserComputeResourcePreference_presult() throw() { } -uint32_t Airavata_getAllWorkflows_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserComputeResourcePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44339,20 +44592,8 @@ uint32_t Airavata_getAllWorkflows_presult::read(::apache::thrift::protocol::TPro switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - (*(this->success)).clear(); - uint32_t _size385; - ::apache::thrift::protocol::TType _etype388; - xfer += iprot->readListBegin(_etype388, _size385); - (*(this->success)).resize(_size385); - uint32_t _i389; - for (_i389 = 0; _i389 < _size385; ++_i389) - { - xfer += iprot->readString((*(this->success))[_i389]); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -44403,11 +44644,11 @@ uint32_t Airavata_getAllWorkflows_presult::read(::apache::thrift::protocol::TPro } -Airavata_getWorkflow_args::~Airavata_getWorkflow_args() throw() { +Airavata_deleteUserStoragePreference_args::~Airavata_deleteUserStoragePreference_args() throw() { } -uint32_t Airavata_getWorkflow_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserStoragePreference_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44420,7 +44661,9 @@ uint32_t Airavata_getWorkflow_args::read(::apache::thrift::protocol::TProtocol* using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_workflowTemplateId = false; + bool isset_userId = false; + bool isset_gatewayID = false; + bool isset_userStorageId = false; while (true) { @@ -44440,8 +44683,24 @@ uint32_t Airavata_getWorkflow_args::read(::apache::thrift::protocol::TProtocol* break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->workflowTemplateId); - isset_workflowTemplateId = true; + xfer += iprot->readString(this->userId); + isset_userId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->gatewayID); + isset_gatewayID = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->userStorageId); + isset_userStorageId = true; } else { xfer += iprot->skip(ftype); } @@ -44457,22 +44716,34 @@ uint32_t Airavata_getWorkflow_args::read(::apache::thrift::protocol::TProtocol* if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_workflowTemplateId) + if (!isset_userId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_gatewayID) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_userStorageId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_getWorkflow_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserStoragePreference_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getWorkflow_args"); + xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("workflowTemplateId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->workflowTemplateId); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->userId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->gatewayID); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->userStorageId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44481,21 +44752,29 @@ uint32_t Airavata_getWorkflow_args::write(::apache::thrift::protocol::TProtocol* } -Airavata_getWorkflow_pargs::~Airavata_getWorkflow_pargs() throw() { +Airavata_deleteUserStoragePreference_pargs::~Airavata_deleteUserStoragePreference_pargs() throw() { } -uint32_t Airavata_getWorkflow_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserStoragePreference_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_getWorkflow_pargs"); + xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("workflowTemplateId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->workflowTemplateId))); + xfer += oprot->writeFieldBegin("userId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->userId))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->gatewayID))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("userStorageId", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString((*(this->userStorageId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44504,11 +44783,11 @@ uint32_t Airavata_getWorkflow_pargs::write(::apache::thrift::protocol::TProtocol } -Airavata_getWorkflow_result::~Airavata_getWorkflow_result() throw() { +Airavata_deleteUserStoragePreference_result::~Airavata_deleteUserStoragePreference_result() throw() { } -uint32_t Airavata_getWorkflow_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserStoragePreference_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44530,8 +44809,8 @@ uint32_t Airavata_getWorkflow_result::read(::apache::thrift::protocol::TProtocol switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->success); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -44581,15 +44860,15 @@ uint32_t Airavata_getWorkflow_result::read(::apache::thrift::protocol::TProtocol return xfer; } -uint32_t Airavata_getWorkflow_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_deleteUserStoragePreference_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_getWorkflow_result"); + xfer += oprot->writeStructBegin("Airavata_deleteUserStoragePreference_result"); if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); + 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); @@ -44614,11 +44893,11 @@ uint32_t Airavata_getWorkflow_result::write(::apache::thrift::protocol::TProtoco } -Airavata_getWorkflow_presult::~Airavata_getWorkflow_presult() throw() { +Airavata_deleteUserStoragePreference_presult::~Airavata_deleteUserStoragePreference_presult() throw() { } -uint32_t Airavata_getWorkflow_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_deleteUserStoragePreference_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44640,8 +44919,8 @@ uint32_t Airavata_getWorkflow_presult::read(::apache::thrift::protocol::TProtoco switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -44692,11 +44971,11 @@ uint32_t Airavata_getWorkflow_presult::read(::apache::thrift::protocol::TProtoco } -Airavata_deleteWorkflow_args::~Airavata_deleteWorkflow_args() throw() { +Airavata_getAllWorkflows_args::~Airavata_getAllWorkflows_args() throw() { } -uint32_t Airavata_deleteWorkflow_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllWorkflows_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44709,7 +44988,7 @@ uint32_t Airavata_deleteWorkflow_args::read(::apache::thrift::protocol::TProtoco using ::apache::thrift::protocol::TProtocolException; bool isset_authzToken = false; - bool isset_workflowTemplateId = false; + bool isset_gatewayId = false; while (true) { @@ -44729,8 +45008,8 @@ uint32_t Airavata_deleteWorkflow_args::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->workflowTemplateId); - isset_workflowTemplateId = true; + xfer += iprot->readString(this->gatewayId); + isset_gatewayId = true; } else { xfer += iprot->skip(ftype); } @@ -44746,22 +45025,22 @@ uint32_t Airavata_deleteWorkflow_args::read(::apache::thrift::protocol::TProtoco if (!isset_authzToken) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_workflowTemplateId) + if (!isset_gatewayId) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t Airavata_deleteWorkflow_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllWorkflows_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteWorkflow_args"); + xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_args"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->authzToken.write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("workflowTemplateId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->workflowTemplateId); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->gatewayId); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44770,21 +45049,21 @@ uint32_t Airavata_deleteWorkflow_args::write(::apache::thrift::protocol::TProtoc } -Airavata_deleteWorkflow_pargs::~Airavata_deleteWorkflow_pargs() throw() { +Airavata_getAllWorkflows_pargs::~Airavata_getAllWorkflows_pargs() throw() { } -uint32_t Airavata_deleteWorkflow_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllWorkflows_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Airavata_deleteWorkflow_pargs"); + xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_pargs"); xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->authzToken)).write(oprot); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("workflowTemplateId", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->workflowTemplateId))); + xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->gatewayId))); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -44793,11 +45072,11 @@ uint32_t Airavata_deleteWorkflow_pargs::write(::apache::thrift::protocol::TProto } -Airavata_deleteWorkflow_result::~Airavata_deleteWorkflow_result() throw() { +Airavata_getAllWorkflows_result::~Airavata_getAllWorkflows_result() throw() { } -uint32_t Airavata_deleteWorkflow_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t Airavata_getAllWorkflows_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -44818,6 +45097,26 @@ uint32_t Airavata_deleteWorkflow_result::read(::apache::thrift::protocol::TProto } switch (fid) { + case 0: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->success.clear(); + uint32_t _size401; + ::apache::thrift::protocol::TType _etype404; + xfer += iprot->readListBegin(_etype404, _size401); + this->success.resize(_size401); + uint32_t _i405; + for (_i405 = 0; _i405 < _size401; ++_i405) + { + xfer += iprot->readString(this->success[_i405]); + } + 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); @@ -44862,13 +45161,25 @@ uint32_t Airavata_deleteWorkflow_result::read(::apache::thrift::protocol::TProto return xfer; } -uint32_t Airavata_deleteWorkflow_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t Airavata_getAllWorkflows_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("Airavata_deleteWorkflow_result"); + xfer += oprot->writeStructBegin("Airavata_getAllWorkflows_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->s
<TRUNCATED>
