You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/06/23 18:23:47 UTC
[5/8] airavata git commit: adding missing API functionality to xsede
branch from master
http://git-wip-us.apache.org/repos/asf/airavata/blob/811fd17e/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 8c7d1ee..0501def 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
@@ -122,6 +122,14 @@ uint32_t Airavata_getAPIVersion_result::read(::apache::thrift::protocol::TProtoc
xfer += iprot->skip(ftype);
}
break;
+ case 4:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->ae.read(iprot);
+ this->__isset.ae = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -156,6 +164,10 @@ uint32_t Airavata_getAPIVersion_result::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->ase.write(oprot);
xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.ae) {
+ xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4);
+ xfer += this->ae.write(oprot);
+ xfer += oprot->writeFieldEnd();
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
@@ -214,6 +226,14 @@ uint32_t Airavata_getAPIVersion_presult::read(::apache::thrift::protocol::TProto
xfer += iprot->skip(ftype);
}
break;
+ case 4:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->ae.read(iprot);
+ this->__isset.ae = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -3274,10 +3294,600 @@ uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProto
xfer += iprot->skip(ftype);
}
break;
- case 4:
+ 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_getAllUserProjects_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_gatewayId = false;
+ bool isset_userName = 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->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);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ if (!isset_gatewayId)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_userName)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjects_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_args");
+
+ 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();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjects_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_pargs");
+
+ 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();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjects_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_LIST) {
+ {
+ this->success.clear();
+ 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[_i30].read(iprot);
+ }
+ 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);
+ 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_getAllUserProjects_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_result");
+
+ if (this->__isset.success) {
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
+ {
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter31;
+ for (_iter31 = this->success.begin(); _iter31 != this->success.end(); ++_iter31)
+ {
+ xfer += (*_iter31).write(oprot);
+ }
+ xfer += oprot->writeListEnd();
+ }
+ xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.ire) {
+ xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->ire.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ } 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_getAllUserProjects_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_LIST) {
+ {
+ (*(this->success)).clear();
+ 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))[_i36].read(iprot);
+ }
+ 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);
+ 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_getAllUserProjectsWithPagination_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_gatewayId = false;
+ bool isset_userName = false;
+ bool isset_limit = false;
+ bool isset_offset = 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->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);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32(this->limit);
+ isset_limit = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 4:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32(this->offset);
+ isset_offset = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ if (!isset_gatewayId)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_userName)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_limit)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_offset)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjectsWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_args");
+
+ 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->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 3);
+ xfer += oprot->writeI32(this->limit);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeI32(this->offset);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjectsWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_pargs");
+
+ 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->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 3);
+ xfer += oprot->writeI32((*(this->limit)));
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeI32((*(this->offset)));
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t Airavata_getAllUserProjectsWithPagination_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_LIST) {
+ {
+ this->success.clear();
+ 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[_i41].read(iprot);
+ }
+ 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);
+ 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_getAllUserProjectsWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_result");
+
+ if (this->__isset.success) {
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
+ {
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter42;
+ for (_iter42 = this->success.begin(); _iter42 != this->success.end(); ++_iter42)
+ {
+ xfer += (*_iter42).write(oprot);
+ }
+ xfer += oprot->writeListEnd();
+ }
+ xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.ire) {
+ xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->ire.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ } 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_getAllUserProjectsWithPagination_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_LIST) {
+ {
+ (*(this->success)).clear();
+ 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))[_i47].read(iprot);
+ }
+ xfer += iprot->readListEnd();
+ }
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 1:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->pnfe.read(iprot);
- this->__isset.pnfe = true;
+ 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);
}
@@ -3294,7 +3904,7 @@ uint32_t Airavata_deleteProject_presult::read(::apache::thrift::protocol::TProto
return xfer;
}
-uint32_t Airavata_getAllUserProjects_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3307,6 +3917,7 @@ uint32_t Airavata_getAllUserProjects_args::read(::apache::thrift::protocol::TPro
bool isset_gatewayId = false;
bool isset_userName = false;
+ bool isset_projectName = false;
while (true)
{
@@ -3332,6 +3943,14 @@ uint32_t Airavata_getAllUserProjects_args::read(::apache::thrift::protocol::TPro
xfer += iprot->skip(ftype);
}
break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->projectName);
+ isset_projectName = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -3345,12 +3964,14 @@ uint32_t Airavata_getAllUserProjects_args::read(::apache::thrift::protocol::TPro
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_projectName)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_getAllUserProjects_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_args");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -3360,14 +3981,18 @@ uint32_t Airavata_getAllUserProjects_args::write(::apache::thrift::protocol::TPr
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->projectName);
+ xfer += oprot->writeFieldEnd();
+
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-uint32_t Airavata_getAllUserProjects_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -3377,12 +4002,16 @@ uint32_t Airavata_getAllUserProjects_pargs::write(::apache::thrift::protocol::TP
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->projectName)));
+ xfer += oprot->writeFieldEnd();
+
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-uint32_t Airavata_getAllUserProjects_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3406,14 +4035,14 @@ uint32_t Airavata_getAllUserProjects_result::read(::apache::thrift::protocol::TP
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ 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[_i30].read(iprot);
+ xfer += this->success[_i52].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3458,20 +4087,20 @@ uint32_t Airavata_getAllUserProjects_result::read(::apache::thrift::protocol::TP
return xfer;
}
-uint32_t Airavata_getAllUserProjects_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjects_result");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter31;
- for (_iter31 = this->success.begin(); _iter31 != this->success.end(); ++_iter31)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter53;
+ for (_iter53 = this->success.begin(); _iter53 != this->success.end(); ++_iter53)
{
- xfer += (*_iter31).write(oprot);
+ xfer += (*_iter53).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3494,7 +4123,7 @@ uint32_t Airavata_getAllUserProjects_result::write(::apache::thrift::protocol::T
return xfer;
}
-uint32_t Airavata_getAllUserProjects_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3518,14 +4147,14 @@ uint32_t Airavata_getAllUserProjects_presult::read(::apache::thrift::protocol::T
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ 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))[_i36].read(iprot);
+ xfer += (*(this->success))[_i58].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3570,7 +4199,7 @@ uint32_t Airavata_getAllUserProjects_presult::read(::apache::thrift::protocol::T
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3583,6 +4212,7 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::
bool isset_gatewayId = false;
bool isset_userName = false;
+ bool isset_projectName = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -3611,6 +4241,14 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::
}
break;
case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->projectName);
+ isset_projectName = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->limit);
isset_limit = true;
@@ -3618,7 +4256,7 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::
xfer += iprot->skip(ftype);
}
break;
- case 4:
+ case 5:
if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->offset);
isset_offset = true;
@@ -3639,6 +4277,8 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_projectName)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_offset)
@@ -3646,9 +4286,9 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::read(::apache::thrift::
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_args");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -3658,11 +4298,15 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::write(::apache::thrift:
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 3);
+ xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->projectName);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32(this->limit);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32(this->offset);
xfer += oprot->writeFieldEnd();
@@ -3671,9 +4315,9 @@ uint32_t Airavata_getAllUserProjectsWithPagination_args::write(::apache::thrift:
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -3683,11 +4327,15 @@ uint32_t Airavata_getAllUserProjectsWithPagination_pargs::write(::apache::thrift
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 3);
+ xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->projectName)));
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32((*(this->limit)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32((*(this->offset)));
xfer += oprot->writeFieldEnd();
@@ -3696,7 +4344,7 @@ uint32_t Airavata_getAllUserProjectsWithPagination_pargs::write(::apache::thrift
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3720,14 +4368,14 @@ uint32_t Airavata_getAllUserProjectsWithPagination_result::read(::apache::thrift
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ 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[_i41].read(iprot);
+ xfer += this->success[_i63].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3772,20 +4420,20 @@ uint32_t Airavata_getAllUserProjectsWithPagination_result::read(::apache::thrift
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserProjectsWithPagination_result");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter42;
- for (_iter42 = this->success.begin(); _iter42 != this->success.end(); ++_iter42)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter64;
+ for (_iter64 = this->success.begin(); _iter64 != this->success.end(); ++_iter64)
{
- xfer += (*_iter42).write(oprot);
+ xfer += (*_iter64).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3808,7 +4456,7 @@ uint32_t Airavata_getAllUserProjectsWithPagination_result::write(::apache::thrif
return xfer;
}
-uint32_t Airavata_getAllUserProjectsWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectNameWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3832,14 +4480,14 @@ uint32_t Airavata_getAllUserProjectsWithPagination_presult::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ 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))[_i47].read(iprot);
+ xfer += (*(this->success))[_i69].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3884,7 +4532,7 @@ uint32_t Airavata_getAllUserProjectsWithPagination_presult::read(::apache::thrif
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3897,7 +4545,7 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_projectName = false;
+ bool isset_description = false;
while (true)
{
@@ -3925,8 +4573,8 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->projectName);
- isset_projectName = true;
+ xfer += iprot->readString(this->description);
+ isset_description = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -3944,14 +4592,14 @@ uint32_t Airavata_searchProjectsByProjectName_args::read(::apache::thrift::proto
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_projectName)
+ if (!isset_description)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_args");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -3961,8 +4609,8 @@ uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::prot
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->projectName);
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->description);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3970,9 +4618,9 @@ uint32_t Airavata_searchProjectsByProjectName_args::write(::apache::thrift::prot
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -3982,8 +4630,8 @@ uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::pro
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->projectName)));
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->description)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3991,7 +4639,7 @@ uint32_t Airavata_searchProjectsByProjectName_pargs::write(::apache::thrift::pro
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4015,14 +4663,14 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ 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[_i52].read(iprot);
+ xfer += this->success[_i74].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4067,20 +4715,20 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDesc_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectName_result");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter53;
- for (_iter53 = this->success.begin(); _iter53 != this->success.end(); ++_iter53)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter75;
+ for (_iter75 = this->success.begin(); _iter75 != this->success.end(); ++_iter75)
{
- xfer += (*_iter53).write(oprot);
+ xfer += (*_iter75).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4103,7 +4751,7 @@ uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::pr
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4127,14 +4775,14 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ 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))[_i58].read(iprot);
+ xfer += (*(this->success))[_i80].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4179,7 +4827,7 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4192,7 +4840,7 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache:
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_projectName = false;
+ bool isset_description = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -4222,8 +4870,8 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache:
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->projectName);
- isset_projectName = true;
+ xfer += iprot->readString(this->description);
+ isset_description = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -4257,7 +4905,7 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache:
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_projectName)
+ if (!isset_description)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
@@ -4266,9 +4914,9 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::read(::apache:
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_args");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -4278,8 +4926,8 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::write(::apache
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->projectName);
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->description);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -4295,9 +4943,9 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_args::write(::apache
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -4307,8 +4955,8 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_pargs::write(::apach
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->projectName)));
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->description)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -4324,7 +4972,7 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_pargs::write(::apach
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4348,14 +4996,14 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::read(::apach
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ 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[_i63].read(iprot);
+ xfer += this->success[_i85].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4400,20 +5048,20 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::read(::apach
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectNameWithPagination_result");
+ xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter64;
- for (_iter64 = this->success.begin(); _iter64 != this->success.end(); ++_iter64)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter86;
+ for (_iter86 = this->success.begin(); _iter86 != this->success.end(); ++_iter86)
{
- xfer += (*_iter64).write(oprot);
+ xfer += (*_iter86).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4436,7 +5084,7 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_result::write(::apac
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectNameWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchProjectsByProjectDescWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4460,14 +5108,14 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_presult::read(::apac
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ 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))[_i69].read(iprot);
+ xfer += (*(this->success))[_i91].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4512,7 +5160,7 @@ uint32_t Airavata_searchProjectsByProjectNameWithPagination_presult::read(::apac
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4525,7 +5173,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_description = false;
+ bool isset_expName = false;
while (true)
{
@@ -4553,8 +5201,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->description);
- isset_description = true;
+ xfer += iprot->readString(this->expName);
+ isset_expName = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -4572,14 +5220,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::read(::apache::thrift::proto
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_description)
+ if (!isset_expName)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -4589,8 +5237,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::prot
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->description);
+ xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->expName);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4598,9 +5246,9 @@ uint32_t Airavata_searchProjectsByProjectDesc_args::write(::apache::thrift::prot
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -4610,8 +5258,8 @@ uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::pro
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->description)));
+ xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->expName)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4619,7 +5267,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_pargs::write(::apache::thrift::pro
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4643,14 +5291,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ uint32_t _size92;
+ ::apache::thrift::protocol::TType _etype95;
+ xfer += iprot->readListBegin(_etype95, _size92);
+ this->success.resize(_size92);
+ uint32_t _i96;
+ for (_i96 = 0; _i96 < _size92; ++_i96)
{
- xfer += this->success[_i74].read(iprot);
+ xfer += this->success[_i96].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4695,20 +5343,20 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDesc_result");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter75;
- for (_iter75 = this->success.begin(); _iter75 != this->success.end(); ++_iter75)
+ std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter97;
+ for (_iter97 = this->success.begin(); _iter97 != this->success.end(); ++_iter97)
{
- xfer += (*_iter75).write(oprot);
+ xfer += (*_iter97).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4731,7 +5379,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::write(::apache::thrift::pr
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4755,14 +5403,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ uint32_t _size98;
+ ::apache::thrift::protocol::TType _etype101;
+ xfer += iprot->readListBegin(_etype101, _size98);
+ (*(this->success)).resize(_size98);
+ uint32_t _i102;
+ for (_i102 = 0; _i102 < _size98; ++_i102)
{
- xfer += (*(this->success))[_i80].read(iprot);
+ xfer += (*(this->success))[_i102].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4807,7 +5455,7 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4820,7 +5468,7 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache:
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_description = false;
+ bool isset_expName = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -4850,8 +5498,8 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache:
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->description);
- isset_description = true;
+ xfer += iprot->readString(this->expName);
+ isset_expName = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -4885,7 +5533,7 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache:
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_description)
+ if (!isset_expName)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
@@ -4894,9 +5542,9 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::read(::apache:
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByNameWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -4906,8 +5554,8 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::write(::apache
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->description);
+ xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->expName);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -4923,9 +5571,9 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_args::write(::apache
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByNameWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -4935,8 +5583,8 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_pargs::write(::apach
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->description)));
+ xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->expName)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -4952,7 +5600,7 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_pargs::write(::apach
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByNameWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -4976,14 +5624,14 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::read(::apach
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ uint32_t _size103;
+ ::apache::thrift::protocol::TType _etype106;
+ xfer += iprot->readListBegin(_etype106, _size103);
+ this->success.resize(_size103);
+ uint32_t _i107;
+ for (_i107 = 0; _i107 < _size103; ++_i107)
{
- xfer += this->success[_i85].read(iprot);
+ xfer += this->success[_i107].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5028,20 +5676,20 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::read(::apach
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByNameWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchProjectsByProjectDescWithPagination_result");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter86;
- for (_iter86 = this->success.begin(); _iter86 != this->success.end(); ++_iter86)
+ std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter108;
+ for (_iter108 = this->success.begin(); _iter108 != this->success.end(); ++_iter108)
{
- xfer += (*_iter86).write(oprot);
+ xfer += (*_iter108).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -5064,7 +5712,7 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_result::write(::apac
return xfer;
}
-uint32_t Airavata_searchProjectsByProjectDescWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByNameWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5088,14 +5736,14 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_presult::read(::apac
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- 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)
+ uint32_t _size109;
+ ::apache::thrift::protocol::TType _etype112;
+ xfer += iprot->readListBegin(_etype112, _size109);
+ (*(this->success)).resize(_size109);
+ uint32_t _i113;
+ for (_i113 = 0; _i113 < _size109; ++_i113)
{
- xfer += (*(this->success))[_i91].read(iprot);
+ xfer += (*(this->success))[_i113].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5140,7 +5788,7 @@ uint32_t Airavata_searchProjectsByProjectDescWithPagination_presult::read(::apac
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5153,7 +5801,7 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_expName = false;
+ bool isset_description = false;
while (true)
{
@@ -5181,8 +5829,8 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->expName);
- isset_expName = true;
+ xfer += iprot->readString(this->description);
+ isset_description = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -5200,14 +5848,14 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_expName)
+ if (!isset_description)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -5217,8 +5865,8 @@ uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->expName);
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->description);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5226,9 +5874,9 @@ uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -5238,8 +5886,8 @@ uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protoco
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->expName)));
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->description)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5247,7 +5895,7 @@ uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5271,14 +5919,14 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size92;
- ::apache::thrift::protocol::TType _etype95;
- xfer += iprot->readListBegin(_etype95, _size92);
- this->success.resize(_size92);
- uint32_t _i96;
- for (_i96 = 0; _i96 < _size92; ++_i96)
+ uint32_t _size114;
+ ::apache::thrift::protocol::TType _etype117;
+ xfer += iprot->readListBegin(_etype117, _size114);
+ this->success.resize(_size114);
+ uint32_t _i118;
+ for (_i118 = 0; _i118 < _size114; ++_i118)
{
- xfer += this->success[_i96].read(iprot);
+ xfer += this->success[_i118].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5323,20 +5971,20 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDesc_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_result");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter97;
- for (_iter97 = this->success.begin(); _iter97 != this->success.end(); ++_iter97)
+ std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter119;
+ for (_iter119 = this->success.begin(); _iter119 != this->success.end(); ++_iter119)
{
- xfer += (*_iter97).write(oprot);
+ xfer += (*_iter119).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -5359,7 +6007,7 @@ uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protoc
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5383,14 +6031,14 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size98;
- ::apache::thrift::protocol::TType _etype101;
- xfer += iprot->readListBegin(_etype101, _size98);
- (*(this->success)).resize(_size98);
- uint32_t _i102;
- for (_i102 = 0; _i102 < _size98; ++_i102)
+ uint32_t _size120;
+ ::apache::thrift::protocol::TType _etype123;
+ xfer += iprot->readListBegin(_etype123, _size120);
+ (*(this->success)).resize(_size120);
+ uint32_t _i124;
+ for (_i124 = 0; _i124 < _size120; ++_i124)
{
- xfer += (*(this->success))[_i102].read(iprot);
+ xfer += (*(this->success))[_i124].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5435,7 +6083,7 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDescWithPagination_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5448,7 +6096,7 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thr
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_expName = false;
+ bool isset_description = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -5478,8 +6126,8 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thr
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->expName);
- isset_expName = true;
+ xfer += iprot->readString(this->description);
+ isset_description = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -5513,7 +6161,7 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thr
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_expName)
+ if (!isset_description)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
@@ -5522,9 +6170,9 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::read(::apache::thr
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDescWithPagination_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDescWithPagination_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -5534,8 +6182,8 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::write(::apache::th
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->expName);
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->description);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -5551,9 +6199,9 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_args::write(::apache::th
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDescWithPagination_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDescWithPagination_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -5563,8 +6211,8 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_pargs::write(::apache::t
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("expName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->expName)));
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString((*(this->description)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
@@ -5580,7 +6228,7 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_pargs::write(::apache::t
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDescWithPagination_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5604,14 +6252,14 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_result::read(::apache::t
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size103;
- ::apache::thrift::protocol::TType _etype106;
- xfer += iprot->readListBegin(_etype106, _size103);
- this->success.resize(_size103);
- uint32_t _i107;
- for (_i107 = 0; _i107 < _size103; ++_i107)
+ uint32_t _size125;
+ ::apache::thrift::protocol::TType _etype128;
+ xfer += iprot->readListBegin(_etype128, _size125);
+ this->success.resize(_size125);
+ uint32_t _i129;
+ for (_i129 = 0; _i129 < _size125; ++_i129)
{
- xfer += this->success[_i107].read(iprot);
+ xfer += this->success[_i129].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5656,20 +6304,20 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_result::read(::apache::t
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByDescWithPagination_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByNameWithPagination_result");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDescWithPagination_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter108;
- for (_iter108 = this->success.begin(); _iter108 != this->success.end(); ++_iter108)
+ std::vector< ::apache::airavata::model::workspace::experiment::ExperimentSummary> ::const_iterator _iter130;
+ for (_iter130 = this->success.begin(); _iter130 != this->success.end(); ++_iter130)
{
- xfer += (*_iter108).write(oprot);
+ xfer += (*_iter130).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -5692,7 +6340,7 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_result::write(::apache::
return xfer;
}
-uint32_t Airavata_searchExperimentsByNameWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByDescWithPagination_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5716,14 +6364,14 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_presult::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size109;
- ::apache::thrift::protocol::TType _etype112;
- xfer += iprot->readListBegin(_etype112, _size109);
- (*(this->success)).resize(_size109);
- uint32_t _i113;
- for (_i113 = 0; _i113 < _size109; ++_i113)
+ uint32_t _size131;
+ ::apache::thrift::protocol::TType _etype134;
+ xfer += iprot->readListBegin(_etype134, _size131);
+ (*(this->success)).resize(_size131);
+ uint32_t _i135;
+ for (_i135 = 0; _i135 < _size131; ++_i135)
{
- xfer += (*(this->success))[_i113].read(iprot);
+ xfer += (*(this->success))[_i135].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -5768,7 +6416,7 @@ uint32_t Airavata_searchExperimentsByNameWithPagination_presult::read(::apache::
return xfer;
}
-uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -5781,7 +6429,7 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_description = false;
+ bool isset_applicationId = false;
while (true)
{
@@ -5809,8 +6457,8 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->description);
- isset_description = true;
+ xfer += iprot->readString(this->applicationId);
+ isset_applicationId = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -5828,14 +6476,14 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_description)
+ if (!isset_applicationId)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByApplication_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByApplication_args");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->gatewayId);
@@ -5845,8 +6493,8 @@ uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->description);
+ xfer += oprot->writeFieldBegin("applicationId", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->applicationId);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5854,9 +6502,9 @@ uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol
return xfer;
}
-uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperimentsByApplication_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperimentsByApplication_pargs");
xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->gatewayId)));
@@ -5866,8 +6514,8 @@ uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protoco
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot-
<TRUNCATED>