You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2016/07/07 19:30:03 UTC
[17/53] [abbrv] airavata git commit: removing redundant experiment
search API methods
http://git-wip-us.apache.org/repos/asf/airavata/blob/c9ddaeb3/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 553f1e5..a2e1f31 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
@@ -8705,11 +8705,11 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr
}
-Airavata_searchExperimentsByName_args::~Airavata_searchExperimentsByName_args() throw() {
+Airavata_searchExperiments_args::~Airavata_searchExperiments_args() throw() {
}
-uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -8724,7 +8724,6 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
bool isset_authzToken = false;
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_expName = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -8761,9 +8760,26 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
}
break;
case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->expName);
- isset_expName = true;
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
+ {
+ this->filters.clear();
+ uint32_t _size96;
+ ::apache::thrift::protocol::TType _ktype97;
+ ::apache::thrift::protocol::TType _vtype98;
+ xfer += iprot->readMapBegin(_ktype97, _vtype98, _size96);
+ uint32_t _i100;
+ for (_i100 = 0; _i100 < _size96; ++_i100)
+ {
+ ::apache::airavata::model::experiment::ExperimentSearchFields::type _key101;
+ int32_t ecast103;
+ xfer += iprot->readI32(ecast103);
+ _key101 = ( ::apache::airavata::model::experiment::ExperimentSearchFields::type)ecast103;
+ std::string& _val102 = this->filters[_key101];
+ xfer += iprot->readString(_val102);
+ }
+ xfer += iprot->readMapEnd();
+ }
+ this->__isset.filters = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -8799,8 +8815,6 @@ 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)
- throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_offset)
@@ -8808,10 +8822,10 @@ uint32_t Airavata_searchExperimentsByName_args::read(::apache::thrift::protocol:
return xfer;
}
-uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperiments_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_args");
+ xfer += oprot->writeStructBegin("Airavata_searchExperiments_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
@@ -8825,8 +8839,17 @@ 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, 4);
- xfer += oprot->writeString(this->expName);
+ xfer += oprot->writeFieldBegin("filters", ::apache::thrift::protocol::T_MAP, 4);
+ {
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->filters.size()));
+ std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter104;
+ for (_iter104 = this->filters.begin(); _iter104 != this->filters.end(); ++_iter104)
+ {
+ xfer += oprot->writeI32((int32_t)_iter104->first);
+ xfer += oprot->writeString(_iter104->second);
+ }
+ xfer += oprot->writeMapEnd();
+ }
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
@@ -8843,14 +8866,14 @@ uint32_t Airavata_searchExperimentsByName_args::write(::apache::thrift::protocol
}
-Airavata_searchExperimentsByName_pargs::~Airavata_searchExperimentsByName_pargs() throw() {
+Airavata_searchExperiments_pargs::~Airavata_searchExperiments_pargs() throw() {
}
-uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_searchExperiments_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_pargs");
+ xfer += oprot->writeStructBegin("Airavata_searchExperiments_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
@@ -8864,8 +8887,17 @@ 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, 4);
- xfer += oprot->writeString((*(this->expName)));
+ xfer += oprot->writeFieldBegin("filters", ::apache::thrift::protocol::T_MAP, 4);
+ {
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->filters)).size()));
+ std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter105;
+ for (_iter105 = (*(this->filters)).begin(); _iter105 != (*(this->filters)).end(); ++_iter105)
+ {
+ xfer += oprot->writeI32((int32_t)_iter105->first);
+ xfer += oprot->writeString(_iter105->second);
+ }
+ xfer += oprot->writeMapEnd();
+ }
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
@@ -8882,11 +8914,11 @@ uint32_t Airavata_searchExperimentsByName_pargs::write(::apache::thrift::protoco
}
-Airavata_searchExperimentsByName_result::~Airavata_searchExperimentsByName_result() throw() {
+Airavata_searchExperiments_result::~Airavata_searchExperiments_result() throw() {
}
-uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperiments_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -8911,14 +8943,14 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size96;
- ::apache::thrift::protocol::TType _etype99;
- xfer += iprot->readListBegin(_etype99, _size96);
- this->success.resize(_size96);
- uint32_t _i100;
- for (_i100 = 0; _i100 < _size96; ++_i100)
+ uint32_t _size106;
+ ::apache::thrift::protocol::TType _etype109;
+ xfer += iprot->readListBegin(_etype109, _size106);
+ this->success.resize(_size106);
+ uint32_t _i110;
+ for (_i110 = 0; _i110 < _size106; ++_i110)
{
- xfer += this->success[_i100].read(iprot);
+ xfer += this->success[_i110].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8971,20 +9003,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_searchExperiments_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByName_result");
+ xfer += oprot->writeStructBegin("Airavata_searchExperiments_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::experiment::ExperimentSummaryModel> ::const_iterator _iter101;
- for (_iter101 = this->success.begin(); _iter101 != this->success.end(); ++_iter101)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter111;
+ for (_iter111 = this->success.begin(); _iter111 != this->success.end(); ++_iter111)
{
- xfer += (*_iter101).write(oprot);
+ xfer += (*_iter111).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -9012,11 +9044,11 @@ uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protoc
}
-Airavata_searchExperimentsByName_presult::~Airavata_searchExperimentsByName_presult() throw() {
+Airavata_searchExperiments_presult::~Airavata_searchExperiments_presult() throw() {
}
-uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_searchExperiments_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9041,14 +9073,14 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size102;
- ::apache::thrift::protocol::TType _etype105;
- xfer += iprot->readListBegin(_etype105, _size102);
- (*(this->success)).resize(_size102);
- uint32_t _i106;
- for (_i106 = 0; _i106 < _size102; ++_i106)
+ uint32_t _size112;
+ ::apache::thrift::protocol::TType _etype115;
+ xfer += iprot->readListBegin(_etype115, _size112);
+ (*(this->success)).resize(_size112);
+ uint32_t _i116;
+ for (_i116 = 0; _i116 < _size112; ++_i116)
{
- xfer += (*(this->success))[_i106].read(iprot);
+ xfer += (*(this->success))[_i116].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9102,11 +9134,11 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc
}
-Airavata_searchExperimentsByDesc_args::~Airavata_searchExperimentsByDesc_args() throw() {
+Airavata_getExperimentStatistics_args::~Airavata_getExperimentStatistics_args() throw() {
}
-uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentStatistics_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9120,10 +9152,8 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
bool isset_authzToken = false;
bool isset_gatewayId = false;
- bool isset_userName = false;
- bool isset_description = false;
- bool isset_limit = false;
- bool isset_offset = false;
+ bool isset_fromTime = false;
+ bool isset_toTime = false;
while (true)
{
@@ -9150,33 +9180,17 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
}
break;
case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userName);
- isset_userName = true;
+ if (ftype == ::apache::thrift::protocol::T_I64) {
+ xfer += iprot->readI64(this->fromTime);
+ isset_fromTime = true;
} else {
xfer += iprot->skip(ftype);
}
break;
case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->description);
- isset_description = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->limit);
- isset_limit = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->offset);
- isset_offset = true;
+ if (ftype == ::apache::thrift::protocol::T_I64) {
+ xfer += iprot->readI64(this->toTime);
+ isset_toTime = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -9194,21 +9208,17 @@ uint32_t Airavata_searchExperimentsByDesc_args::read(::apache::thrift::protocol:
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_gatewayId)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_userName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_description)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_limit)
+ if (!isset_fromTime)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_offset)
+ if (!isset_toTime)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentStatistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_args");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
@@ -9218,20 +9228,12 @@ uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol
xfer += oprot->writeString(this->gatewayId);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->userName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->description);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
- xfer += oprot->writeI32(this->limit);
+ xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 3);
+ xfer += oprot->writeI64(this->fromTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32(this->offset);
+ xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 4);
+ xfer += oprot->writeI64(this->toTime);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -9240,14 +9242,14 @@ uint32_t Airavata_searchExperimentsByDesc_args::write(::apache::thrift::protocol
}
-Airavata_searchExperimentsByDesc_pargs::~Airavata_searchExperimentsByDesc_pargs() throw() {
+Airavata_getExperimentStatistics_pargs::~Airavata_getExperimentStatistics_pargs() throw() {
}
-uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentStatistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
@@ -9257,20 +9259,12 @@ uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protoco
xfer += oprot->writeString((*(this->gatewayId)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->userName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString((*(this->description)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
- xfer += oprot->writeI32((*(this->limit)));
+ xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 3);
+ xfer += oprot->writeI64((*(this->fromTime)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32((*(this->offset)));
+ xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 4);
+ xfer += oprot->writeI64((*(this->toTime)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -9279,11 +9273,11 @@ uint32_t Airavata_searchExperimentsByDesc_pargs::write(::apache::thrift::protoco
}
-Airavata_searchExperimentsByDesc_result::~Airavata_searchExperimentsByDesc_result() throw() {
+Airavata_getExperimentStatistics_result::~Airavata_getExperimentStatistics_result() throw() {
}
-uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentStatistics_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9305,20 +9299,8 @@ uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protoco
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size107;
- ::apache::thrift::protocol::TType _etype110;
- xfer += iprot->readListBegin(_etype110, _size107);
- this->success.resize(_size107);
- uint32_t _i111;
- for (_i111 = 0; _i111 < _size107; ++_i111)
- {
- xfer += this->success[_i111].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -9368,23 +9350,15 @@ uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_searchExperimentsByDesc_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentStatistics_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByDesc_result");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_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::experiment::ExperimentSummaryModel> ::const_iterator _iter112;
- for (_iter112 = this->success.begin(); _iter112 != this->success.end(); ++_iter112)
- {
- xfer += (*_iter112).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
+ xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.ire) {
xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -9409,11 +9383,11 @@ uint32_t Airavata_searchExperimentsByDesc_result::write(::apache::thrift::protoc
}
-Airavata_searchExperimentsByDesc_presult::~Airavata_searchExperimentsByDesc_presult() throw() {
+Airavata_getExperimentStatistics_presult::~Airavata_getExperimentStatistics_presult() throw() {
}
-uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentStatistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9435,20 +9409,8 @@ uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protoc
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size113;
- ::apache::thrift::protocol::TType _etype116;
- xfer += iprot->readListBegin(_etype116, _size113);
- (*(this->success)).resize(_size113);
- uint32_t _i117;
- for (_i117 = 0; _i117 < _size113; ++_i117)
- {
- xfer += (*(this->success))[_i117].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -9499,11 +9461,11 @@ uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protoc
}
-Airavata_searchExperimentsByApplication_args::~Airavata_searchExperimentsByApplication_args() throw() {
+Airavata_getExperimentsInProject_args::~Airavata_getExperimentsInProject_args() throw() {
}
-uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentsInProject_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9516,9 +9478,7 @@ uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::pr
using ::apache::thrift::protocol::TProtocolException;
bool isset_authzToken = false;
- bool isset_gatewayId = false;
- bool isset_userName = false;
- bool isset_applicationId = false;
+ bool isset_projectId = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -9540,29 +9500,13 @@ uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::pr
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayId);
- isset_gatewayId = true;
+ xfer += iprot->readString(this->projectId);
+ isset_projectId = true;
} else {
xfer += iprot->skip(ftype);
}
break;
case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userName);
- isset_userName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->applicationId);
- isset_applicationId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->limit);
isset_limit = true;
@@ -9570,7 +9514,7 @@ uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::pr
xfer += iprot->skip(ftype);
}
break;
- case 6:
+ case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->offset);
isset_offset = true;
@@ -9589,11 +9533,7 @@ uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::pr
if (!isset_authzToken)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_gatewayId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_userName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_applicationId)
+ if (!isset_projectId)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
@@ -9602,32 +9542,24 @@ uint32_t Airavata_searchExperimentsByApplication_args::read(::apache::thrift::pr
return xfer;
}
-uint32_t Airavata_searchExperimentsByApplication_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentsInProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByApplication_args");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentsInProject_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->gatewayId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->userName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("applicationId", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->applicationId);
+ xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->projectId);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
+ 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, 6);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32(this->offset);
xfer += oprot->writeFieldEnd();
@@ -9637,36 +9569,28 @@ uint32_t Airavata_searchExperimentsByApplication_args::write(::apache::thrift::p
}
-Airavata_searchExperimentsByApplication_pargs::~Airavata_searchExperimentsByApplication_pargs() throw() {
+Airavata_getExperimentsInProject_pargs::~Airavata_getExperimentsInProject_pargs() throw() {
}
-uint32_t Airavata_searchExperimentsByApplication_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentsInProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByApplication_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentsInProject_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->gatewayId)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->userName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("applicationId", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString((*(this->applicationId)));
+ xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->projectId)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
+ 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, 6);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32((*(this->offset)));
xfer += oprot->writeFieldEnd();
@@ -9676,11 +9600,11 @@ uint32_t Airavata_searchExperimentsByApplication_pargs::write(::apache::thrift::
}
-Airavata_searchExperimentsByApplication_result::~Airavata_searchExperimentsByApplication_result() throw() {
+Airavata_getExperimentsInProject_result::~Airavata_getExperimentsInProject_result() throw() {
}
-uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9705,14 +9629,14 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size118;
- ::apache::thrift::protocol::TType _etype121;
- xfer += iprot->readListBegin(_etype121, _size118);
- this->success.resize(_size118);
- uint32_t _i122;
- for (_i122 = 0; _i122 < _size118; ++_i122)
+ uint32_t _size117;
+ ::apache::thrift::protocol::TType _etype120;
+ xfer += iprot->readListBegin(_etype120, _size117);
+ this->success.resize(_size117);
+ uint32_t _i121;
+ for (_i121 = 0; _i121 < _size117; ++_i121)
{
- xfer += this->success[_i122].read(iprot);
+ xfer += this->success[_i121].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9747,6 +9671,14 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift::
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->pnfe.read(iprot);
+ this->__isset.pnfe = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 5:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ae.read(iprot);
this->__isset.ae = true;
} else {
@@ -9765,20 +9697,20 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift::
return xfer;
}
-uint32_t Airavata_searchExperimentsByApplication_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperimentsInProject_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByApplication_result");
+ xfer += oprot->writeStructBegin("Airavata_getExperimentsInProject_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::experiment::ExperimentSummaryModel> ::const_iterator _iter123;
- for (_iter123 = this->success.begin(); _iter123 != this->success.end(); ++_iter123)
+ std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter122;
+ for (_iter122 = this->success.begin(); _iter122 != this->success.end(); ++_iter122)
{
- xfer += (*_iter123).write(oprot);
+ xfer += (*_iter122).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -9795,8 +9727,12 @@ uint32_t Airavata_searchExperimentsByApplication_result::write(::apache::thrift:
xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->ase.write(oprot);
xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.pnfe) {
+ xfer += oprot->writeFieldBegin("pnfe", ::apache::thrift::protocol::T_STRUCT, 4);
+ xfer += this->pnfe.write(oprot);
+ xfer += oprot->writeFieldEnd();
} else if (this->__isset.ae) {
- xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4);
+ xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 5);
xfer += this->ae.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -9806,11 +9742,11 @@ uint32_t Airavata_searchExperimentsByApplication_result::write(::apache::thrift:
}
-Airavata_searchExperimentsByApplication_presult::~Airavata_searchExperimentsByApplication_presult() throw() {
+Airavata_getExperimentsInProject_presult::~Airavata_getExperimentsInProject_presult() throw() {
}
-uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperimentsInProject_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9835,14 +9771,14 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size124;
- ::apache::thrift::protocol::TType _etype127;
- xfer += iprot->readListBegin(_etype127, _size124);
- (*(this->success)).resize(_size124);
- uint32_t _i128;
- for (_i128 = 0; _i128 < _size124; ++_i128)
+ uint32_t _size123;
+ ::apache::thrift::protocol::TType _etype126;
+ xfer += iprot->readListBegin(_etype126, _size123);
+ (*(this->success)).resize(_size123);
+ uint32_t _i127;
+ for (_i127 = 0; _i127 < _size123; ++_i127)
{
- xfer += (*(this->success))[_i128].read(iprot);
+ xfer += (*(this->success))[_i127].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9877,6 +9813,14 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift:
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->pnfe.read(iprot);
+ this->__isset.pnfe = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 5:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ae.read(iprot);
this->__isset.ae = true;
} else {
@@ -9896,11 +9840,11 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift:
}
-Airavata_searchExperimentsByStatus_args::~Airavata_searchExperimentsByStatus_args() throw() {
+Airavata_getUserExperiments_args::~Airavata_getUserExperiments_args() throw() {
}
-uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getUserExperiments_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -9915,7 +9859,6 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco
bool isset_authzToken = false;
bool isset_gatewayId = false;
bool isset_userName = false;
- bool isset_experimentState = false;
bool isset_limit = false;
bool isset_offset = false;
@@ -9953,23 +9896,13 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast129;
- xfer += iprot->readI32(ecast129);
- this->experimentState = ( ::apache::airavata::model::status::ExperimentState::type)ecast129;
- isset_experimentState = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->limit);
isset_limit = true;
} else {
xfer += iprot->skip(ftype);
}
break;
- case 6:
+ case 5:
if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->offset);
isset_offset = true;
@@ -9992,8 +9925,6 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_userName)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_experimentState)
- throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_limit)
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_offset)
@@ -10001,10 +9932,10 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_searchExperimentsByStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getUserExperiments_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByStatus_args");
+ xfer += oprot->writeStructBegin("Airavata_getUserExperiments_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
@@ -10018,15 +9949,11 @@ uint32_t Airavata_searchExperimentsByStatus_args::write(::apache::thrift::protoc
xfer += oprot->writeString(this->userName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("experimentState", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)this->experimentState);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
+ xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32(this->limit);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32(this->offset);
xfer += oprot->writeFieldEnd();
@@ -10036,14 +9963,14 @@ uint32_t Airavata_searchExperimentsByStatus_args::write(::apache::thrift::protoc
}
-Airavata_searchExperimentsByStatus_pargs::~Airavata_searchExperimentsByStatus_pargs() throw() {
+Airavata_getUserExperiments_pargs::~Airavata_getUserExperiments_pargs() throw() {
}
-uint32_t Airavata_searchExperimentsByStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getUserExperiments_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByStatus_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getUserExperiments_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
@@ -10057,15 +9984,11 @@ uint32_t Airavata_searchExperimentsByStatus_pargs::write(::apache::thrift::proto
xfer += oprot->writeString((*(this->userName)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("experimentState", ::apache::thrift::protocol::T_I32, 4);
- xfer += oprot->writeI32((int32_t)(*(this->experimentState)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
+ xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32((*(this->limit)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
+ xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32((*(this->offset)));
xfer += oprot->writeFieldEnd();
@@ -10075,11 +9998,11 @@ uint32_t Airavata_searchExperimentsByStatus_pargs::write(::apache::thrift::proto
}
-Airavata_searchExperimentsByStatus_result::~Airavata_searchExperimentsByStatus_result() throw() {
+Airavata_getUserExperiments_result::~Airavata_getUserExperiments_result() throw() {
}
-uint32_t Airavata_searchExperimentsByStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getUserExperiments_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10104,14 +10027,14 @@ uint32_t Airavata_searchExperimentsByStatus_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size130;
- ::apache::thrift::protocol::TType _etype133;
- xfer += iprot->readListBegin(_etype133, _size130);
- this->success.resize(_size130);
- uint32_t _i134;
- for (_i134 = 0; _i134 < _size130; ++_i134)
+ uint32_t _size128;
+ ::apache::thrift::protocol::TType _etype131;
+ xfer += iprot->readListBegin(_etype131, _size128);
+ this->success.resize(_size128);
+ uint32_t _i132;
+ for (_i132 = 0; _i132 < _size128; ++_i132)
{
- xfer += this->success[_i134].read(iprot);
+ xfer += this->success[_i132].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10164,20 +10087,20 @@ uint32_t Airavata_searchExperimentsByStatus_result::read(::apache::thrift::proto
return xfer;
}
-uint32_t Airavata_searchExperimentsByStatus_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getUserExperiments_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByStatus_result");
+ xfer += oprot->writeStructBegin("Airavata_getUserExperiments_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::experiment::ExperimentSummaryModel> ::const_iterator _iter135;
- for (_iter135 = this->success.begin(); _iter135 != this->success.end(); ++_iter135)
+ std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter133;
+ for (_iter133 = this->success.begin(); _iter133 != this->success.end(); ++_iter133)
{
- xfer += (*_iter135).write(oprot);
+ xfer += (*_iter133).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10205,11 +10128,11 @@ uint32_t Airavata_searchExperimentsByStatus_result::write(::apache::thrift::prot
}
-Airavata_searchExperimentsByStatus_presult::~Airavata_searchExperimentsByStatus_presult() throw() {
+Airavata_getUserExperiments_presult::~Airavata_getUserExperiments_presult() throw() {
}
-uint32_t Airavata_searchExperimentsByStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getUserExperiments_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10234,14 +10157,14 @@ uint32_t Airavata_searchExperimentsByStatus_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size136;
- ::apache::thrift::protocol::TType _etype139;
- xfer += iprot->readListBegin(_etype139, _size136);
- (*(this->success)).resize(_size136);
- uint32_t _i140;
- for (_i140 = 0; _i140 < _size136; ++_i140)
+ uint32_t _size134;
+ ::apache::thrift::protocol::TType _etype137;
+ xfer += iprot->readListBegin(_etype137, _size134);
+ (*(this->success)).resize(_size134);
+ uint32_t _i138;
+ for (_i138 = 0; _i138 < _size134; ++_i138)
{
- xfer += (*(this->success))[_i140].read(iprot);
+ xfer += (*(this->success))[_i138].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10295,11 +10218,11 @@ uint32_t Airavata_searchExperimentsByStatus_presult::read(::apache::thrift::prot
}
-Airavata_searchExperimentsByCreationTime_args::~Airavata_searchExperimentsByCreationTime_args() throw() {
+Airavata_createExperiment_args::~Airavata_createExperiment_args() throw() {
}
-uint32_t Airavata_searchExperimentsByCreationTime_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_createExperiment_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10313,11 +10236,7 @@ uint32_t Airavata_searchExperimentsByCreationTime_args::read(::apache::thrift::p
bool isset_authzToken = false;
bool isset_gatewayId = false;
- bool isset_userName = false;
- bool isset_fromTime = false;
- bool isset_toTime = false;
- bool isset_limit = false;
- bool isset_offset = false;
+ bool isset_experiment = false;
while (true)
{
@@ -10344,41 +10263,9 @@ uint32_t Airavata_searchExperimentsByCreationTime_args::read(::apache::thrift::p
}
break;
case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userName);
- isset_userName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_I64) {
- xfer += iprot->readI64(this->fromTime);
- isset_fromTime = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_I64) {
- xfer += iprot->readI64(this->toTime);
- isset_toTime = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->limit);
- isset_limit = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->offset);
- isset_offset = true;
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->experiment.read(iprot);
+ isset_experiment = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -10396,23 +10283,15 @@ uint32_t Airavata_searchExperimentsByCreationTime_args::read(::apache::thrift::p
throw TProtocolException(TProtocolException::INVALID_DATA);
if (!isset_gatewayId)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_userName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_fromTime)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_toTime)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_limit)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_offset)
+ if (!isset_experiment)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchExperimentsByCreationTime_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_createExperiment_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByCreationTime_args");
+ xfer += oprot->writeStructBegin("Airavata_createExperiment_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
@@ -10422,24 +10301,8 @@ uint32_t Airavata_searchExperimentsByCreationTime_args::write(::apache::thrift::
xfer += oprot->writeString(this->gatewayId);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->userName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 4);
- xfer += oprot->writeI64(this->fromTime);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 5);
- xfer += oprot->writeI64(this->toTime);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32(this->limit);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 7);
- xfer += oprot->writeI32(this->offset);
+ xfer += oprot->writeFieldBegin("experiment", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += this->experiment.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -10448,14 +10311,14 @@ uint32_t Airavata_searchExperimentsByCreationTime_args::write(::apache::thrift::
}
-Airavata_searchExperimentsByCreationTime_pargs::~Airavata_searchExperimentsByCreationTime_pargs() throw() {
+Airavata_createExperiment_pargs::~Airavata_createExperiment_pargs() throw() {
}
-uint32_t Airavata_searchExperimentsByCreationTime_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_createExperiment_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByCreationTime_pargs");
+ xfer += oprot->writeStructBegin("Airavata_createExperiment_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
@@ -10465,24 +10328,8 @@ uint32_t Airavata_searchExperimentsByCreationTime_pargs::write(::apache::thrift:
xfer += oprot->writeString((*(this->gatewayId)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->userName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 4);
- xfer += oprot->writeI64((*(this->fromTime)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 5);
- xfer += oprot->writeI64((*(this->toTime)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32((*(this->limit)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 7);
- xfer += oprot->writeI32((*(this->offset)));
+ xfer += oprot->writeFieldBegin("experiment", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += (*(this->experiment)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -10491,11 +10338,11 @@ uint32_t Airavata_searchExperimentsByCreationTime_pargs::write(::apache::thrift:
}
-Airavata_searchExperimentsByCreationTime_result::~Airavata_searchExperimentsByCreationTime_result() throw() {
+Airavata_createExperiment_result::~Airavata_createExperiment_result() throw() {
}
-uint32_t Airavata_searchExperimentsByCreationTime_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_createExperiment_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10517,20 +10364,8 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::read(::apache::thrift:
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size141;
- ::apache::thrift::protocol::TType _etype144;
- xfer += iprot->readListBegin(_etype144, _size141);
- this->success.resize(_size141);
- uint32_t _i145;
- for (_i145 = 0; _i145 < _size141; ++_i145)
- {
- xfer += this->success[_i145].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->success);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -10580,23 +10415,15 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::read(::apache::thrift:
return xfer;
}
-uint32_t Airavata_searchExperimentsByCreationTime_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_createExperiment_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperimentsByCreationTime_result");
+ xfer += oprot->writeStructBegin("Airavata_createExperiment_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::experiment::ExperimentSummaryModel> ::const_iterator _iter146;
- for (_iter146 = this->success.begin(); _iter146 != this->success.end(); ++_iter146)
- {
- xfer += (*_iter146).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0);
+ xfer += oprot->writeString(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.ire) {
xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -10621,11 +10448,11 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::write(::apache::thrift
}
-Airavata_searchExperimentsByCreationTime_presult::~Airavata_searchExperimentsByCreationTime_presult() throw() {
+Airavata_createExperiment_presult::~Airavata_createExperiment_presult() throw() {
}
-uint32_t Airavata_searchExperimentsByCreationTime_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_createExperiment_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10647,20 +10474,8 @@ uint32_t Airavata_searchExperimentsByCreationTime_presult::read(::apache::thrift
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size147;
- ::apache::thrift::protocol::TType _etype150;
- xfer += iprot->readListBegin(_etype150, _size147);
- (*(this->success)).resize(_size147);
- uint32_t _i151;
- for (_i151 = 0; _i151 < _size147; ++_i151)
- {
- xfer += (*(this->success))[_i151].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString((*(this->success)));
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -10711,11 +10526,11 @@ uint32_t Airavata_searchExperimentsByCreationTime_presult::read(::apache::thrift
}
-Airavata_searchExperiments_args::~Airavata_searchExperiments_args() throw() {
+Airavata_deleteExperiment_args::~Airavata_deleteExperiment_args() throw() {
}
-uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_deleteExperiment_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10728,10 +10543,7 @@ uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProt
using ::apache::thrift::protocol::TProtocolException;
bool isset_authzToken = false;
- bool isset_gatewayId = false;
- bool isset_userName = false;
- bool isset_limit = false;
- bool isset_offset = false;
+ bool isset_experimentId = false;
while (true)
{
@@ -10751,57 +10563,8 @@ uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProt
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayId);
- isset_gatewayId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userName);
- isset_userName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->filters.clear();
- uint32_t _size152;
- ::apache::thrift::protocol::TType _ktype153;
- ::apache::thrift::protocol::TType _vtype154;
- xfer += iprot->readMapBegin(_ktype153, _vtype154, _size152);
- uint32_t _i156;
- for (_i156 = 0; _i156 < _size152; ++_i156)
- {
- ::apache::airavata::model::experiment::ExperimentSearchFields::type _key157;
- int32_t ecast159;
- xfer += iprot->readI32(ecast159);
- _key157 = ( ::apache::airavata::model::experiment::ExperimentSearchFields::type)ecast159;
- std::string& _val158 = this->filters[_key157];
- xfer += iprot->readString(_val158);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.filters = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->limit);
- isset_limit = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->offset);
- isset_offset = true;
+ xfer += iprot->readString(this->experimentId);
+ isset_experimentId = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -10817,53 +10580,22 @@ uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProt
if (!isset_authzToken)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_gatewayId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_userName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_limit)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_offset)
+ if (!isset_experimentId)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_searchExperiments_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_deleteExperiment_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperiments_args");
+ xfer += oprot->writeStructBegin("Airavata_deleteExperiment_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->gatewayId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->userName);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("filters", ::apache::thrift::protocol::T_MAP, 4);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->filters.size()));
- std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter160;
- for (_iter160 = this->filters.begin(); _iter160 != this->filters.end(); ++_iter160)
- {
- xfer += oprot->writeI32((int32_t)_iter160->first);
- xfer += oprot->writeString(_iter160->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
- xfer += oprot->writeI32(this->limit);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32(this->offset);
+ xfer += oprot->writeFieldBegin("experimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->experimentId);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -10872,46 +10604,21 @@ uint32_t Airavata_searchExperiments_args::write(::apache::thrift::protocol::TPro
}
-Airavata_searchExperiments_pargs::~Airavata_searchExperiments_pargs() throw() {
+Airavata_deleteExperiment_pargs::~Airavata_deleteExperiment_pargs() throw() {
}
-uint32_t Airavata_searchExperiments_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_deleteExperiment_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_searchExperiments_pargs");
+ xfer += oprot->writeStructBegin("Airavata_deleteExperiment_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->gatewayId)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString((*(this->userName)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("filters", ::apache::thrift::protocol::T_MAP, 4);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->filters)).size()));
- std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter161;
- for (_iter161 = (*(this->filters)).begin(); _iter161 != (*(this->filters)).end(); ++_iter161)
- {
- xfer += oprot->writeI32((int32_t)_iter161->first);
- xfer += oprot->writeString(_iter161->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("limit", ::apache::thrift::protocol::T_I32, 5);
- xfer += oprot->writeI32((*(this->limit)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("offset", ::apache::thrift::protocol::T_I32, 6);
- xfer += oprot->writeI32((*(this->offset)));
+ xfer += oprot->writeFieldBegin("experimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->experimentId)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -10920,11 +10627,11 @@ uint32_t Airavata_searchExperiments_pargs::write(::apache::thrift::protocol::TPr
}
-Airavata_searchExperiments_result::~Airavata_searchExperiments_result() throw() {
+Airavata_deleteExperiment_result::~Airavata_deleteExperiment_result() throw() {
}
-uint32_t Airavata_searchExperiments_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_deleteExperiment_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -10946,20 +10653,8 @@ uint32_t Airavata_searchExperiments_result::read(::apache::thrift::protocol::TPr
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size162;
- ::apache::thrift::protocol::TType _etype165;
- xfer += iprot->readListBegin(_etype165, _size162);
- this->success.resize(_size162);
- uint32_t _i166;
- for (_i166 = 0; _i166 < _size162; ++_i166)
- {
- xfer += this->success[_i166].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -11009,23 +10704,15 @@ uint32_t Airavata_searchExperiments_result::read(::apache::thrift::protocol::TPr
return xfer;
}
-uint32_t Airavata_searchExperiments_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_deleteExperiment_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_searchExperiments_result");
+ xfer += oprot->writeStructBegin("Airavata_deleteExperiment_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::experiment::ExperimentSummaryModel> ::const_iterator _iter167;
- for (_iter167 = this->success.begin(); _iter167 != this->success.end(); ++_iter167)
- {
- xfer += (*_iter167).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.ire) {
xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -11050,11 +10737,11 @@ uint32_t Airavata_searchExperiments_result::write(::apache::thrift::protocol::TP
}
-Airavata_searchExperiments_presult::~Airavata_searchExperiments_presult() throw() {
+Airavata_deleteExperiment_presult::~Airavata_deleteExperiment_presult() throw() {
}
-uint32_t Airavata_searchExperiments_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_deleteExperiment_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11076,20 +10763,8 @@ uint32_t Airavata_searchExperiments_presult::read(::apache::thrift::protocol::TP
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size168;
- ::apache::thrift::protocol::TType _etype171;
- xfer += iprot->readListBegin(_etype171, _size168);
- (*(this->success)).resize(_size168);
- uint32_t _i172;
- for (_i172 = 0; _i172 < _size168; ++_i172)
- {
- xfer += (*(this->success))[_i172].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -11140,11 +10815,11 @@ uint32_t Airavata_searchExperiments_presult::read(::apache::thrift::protocol::TP
}
-Airavata_getExperimentStatistics_args::~Airavata_getExperimentStatistics_args() throw() {
+Airavata_getExperiment_args::~Airavata_getExperiment_args() throw() {
}
-uint32_t Airavata_getExperimentStatistics_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperiment_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11157,9 +10832,7 @@ uint32_t Airavata_getExperimentStatistics_args::read(::apache::thrift::protocol:
using ::apache::thrift::protocol::TProtocolException;
bool isset_authzToken = false;
- bool isset_gatewayId = false;
- bool isset_fromTime = false;
- bool isset_toTime = false;
+ bool isset_airavataExperimentId = false;
while (true)
{
@@ -11179,24 +10852,8 @@ uint32_t Airavata_getExperimentStatistics_args::read(::apache::thrift::protocol:
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayId);
- isset_gatewayId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_I64) {
- xfer += iprot->readI64(this->fromTime);
- isset_fromTime = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_I64) {
- xfer += iprot->readI64(this->toTime);
- isset_toTime = true;
+ xfer += iprot->readString(this->airavataExperimentId);
+ isset_airavataExperimentId = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -11212,34 +10869,22 @@ uint32_t Airavata_getExperimentStatistics_args::read(::apache::thrift::protocol:
if (!isset_authzToken)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_gatewayId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_fromTime)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_toTime)
+ if (!isset_airavataExperimentId)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_getExperimentStatistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperiment_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_args");
+ xfer += oprot->writeStructBegin("Airavata_getExperiment_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->gatewayId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 3);
- xfer += oprot->writeI64(this->fromTime);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 4);
- xfer += oprot->writeI64(this->toTime);
+ xfer += oprot->writeFieldBegin("airavataExperimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->airavataExperimentId);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -11248,29 +10893,21 @@ uint32_t Airavata_getExperimentStatistics_args::write(::apache::thrift::protocol
}
-Airavata_getExperimentStatistics_pargs::~Airavata_getExperimentStatistics_pargs() throw() {
+Airavata_getExperiment_pargs::~Airavata_getExperiment_pargs() throw() {
}
-uint32_t Airavata_getExperimentStatistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperiment_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getExperiment_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->gatewayId)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("fromTime", ::apache::thrift::protocol::T_I64, 3);
- xfer += oprot->writeI64((*(this->fromTime)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("toTime", ::apache::thrift::protocol::T_I64, 4);
- xfer += oprot->writeI64((*(this->toTime)));
+ xfer += oprot->writeFieldBegin("airavataExperimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->airavataExperimentId)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -11279,11 +10916,11 @@ uint32_t Airavata_getExperimentStatistics_pargs::write(::apache::thrift::protoco
}
-Airavata_getExperimentStatistics_result::~Airavata_getExperimentStatistics_result() throw() {
+Airavata_getExperiment_result::~Airavata_getExperiment_result() throw() {
}
-uint32_t Airavata_getExperimentStatistics_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperiment_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11322,13 +10959,21 @@ uint32_t Airavata_getExperimentStatistics_result::read(::apache::thrift::protoco
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->enf.read(iprot);
+ this->__isset.enf = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ace.read(iprot);
this->__isset.ace = true;
} else {
xfer += iprot->skip(ftype);
}
break;
- case 3:
+ case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ase.read(iprot);
this->__isset.ase = true;
@@ -11336,7 +10981,7 @@ uint32_t Airavata_getExperimentStatistics_result::read(::apache::thrift::protoco
xfer += iprot->skip(ftype);
}
break;
- case 4:
+ case 5:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ae.read(iprot);
this->__isset.ae = true;
@@ -11356,11 +11001,11 @@ uint32_t Airavata_getExperimentStatistics_result::read(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_getExperimentStatistics_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getExperiment_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getExperimentStatistics_result");
+ xfer += oprot->writeStructBegin("Airavata_getExperiment_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
@@ -11370,16 +11015,20 @@ uint32_t Airavata_getExperimentStatistics_result::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->ire.write(oprot);
xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.enf) {
+ xfer += oprot->writeFieldBegin("enf", ::apache::thrift::protocol::T_STRUCT, 2);
+ xfer += this->enf.write(oprot);
+ xfer += oprot->writeFieldEnd();
} else if (this->__isset.ace) {
- xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2);
+ xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->ace.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.ase) {
- xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 4);
xfer += this->ase.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.ae) {
- xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 4);
+ xfer += oprot->writeFieldBegin("ae", ::apache::thrift::protocol::T_STRUCT, 5);
xfer += this->ae.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -11389,11 +11038,11 @@ uint32_t Airavata_getExperimentStatistics_result::write(::apache::thrift::protoc
}
-Airavata_getExperimentStatistics_presult::~Airavata_getExperimentStatistics_presult() throw() {
+Airavata_getExperiment_presult::~Airavata_getExperiment_presult() throw() {
}
-uint32_t Airavata_getExperimentStatistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getExperiment_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11432,13 +11081,21 @@ uint32_t Airavata_getExperimentStatistics_presult::read(::apache::thrift::protoc
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->enf.read(iprot);
+ this->__isset.enf = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ace.read(iprot);
this->__isset.ace = true;
} else {
xfer += iprot->skip(ftype);
}
break;
- case 3:
+ case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ase.read(iprot);
this->__isset.ase = true;
@@ -11446,7 +11103,7 @@ uint32_t Airavata_getExperimentStatistics_presult::read(::apache::thrift::protoc
xfer += iprot->skip(ftype);
}
break;
- case 4:
+ case 5:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->ae.read(iprot);
this->__isset.ae = true;
@@ -11467,11 +11124,11 @@ uint32_t Airavata_getExperimentStatistics_presult::read(::apache::thrift::protoc
}
-Airavata_getExperimentsInProject_args::~Airavata_getExperimentsInProject_args() throw() {
+Airavata_getDetailedExperimentTree_args::~Airavata_getDetailedExperimentTree_args() throw() {
}
-uint32_t Airavata_getExperimentsInProject_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getDetailedExperimentTree_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11484,9 +11141,7 @@ uint32_t Airavata_getExperimentsInProject_args::read(::apache::thrift::protocol:
using ::apache::thrift::protocol::TProtocolException;
bool isset_authzToken = false;
- bool isset_projectId = false;
- bool isset_limit = false;
- bool isset_offset = false;
+ bool isset_airavataExperimentId = false;
while (true)
{
@@ -11506,24 +11161,8 @@ uint32_t Airavata_getExperimentsInProject_args::read(::apache::thrift::protocol:
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->projectId);
- isset_projectId = 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;
+ xfer += iprot->readString(this->airavataExperimentId);
+ isset_airavataExperimentId = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -11539,34 +11178,22 @@ uint32_t Airavata_getExperimentsInProject_args::read(::apache::thrift::protocol:
if (!isset_authzToken)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_projectId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_limit)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_offset)
+ if (!isset_airavataExperimentId)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_getExperimentsInProject_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getDetailedExperimentTree_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getExperimentsInProject_args");
+ xfer += oprot->writeStructBegin("Airavata_getDetailedExperimentTree_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->projectId);
- xfer += oprot->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->writeFieldBegin("airavataExperimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->airavataExperimentId);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -11575,29 +11202,21 @@ uint32_t Airavata_getExperimentsInProject_args::write(::apache::thrift::protocol
}
-Airavata_getExperimentsInProject_pargs::~Airavata_getExperimentsInProject_pargs() throw() {
+Airavata_getDetailedExperimentTree_pargs::~Airavata_getDetailedExperimentTree_pargs() throw() {
}
-uint32_t Airavata_getExperimentsInProject_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getDetailedExperimentTree_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getExperimentsInProject_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getDetailedExperimentTree_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("projectId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->projectId)));
- xfer += oprot->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->writeFieldBegin("airavataExperimentId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->airavataExperimentId)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -11606,11 +11225,11 @@ uint32_t Airavata_getExperimentsInProject_pargs::write(::apache::thrift::protoco
}
-Airavata_getExperimentsInProject_result::~Airavata_getExperimentsInProject_result() throw() {
+Airavata_getDetailedExperimentTree_result::~Airavata_getDetailedExperimentTree_result() throw() {
}
-uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getDetailedExperimentTree_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -11632,20 +11251,8 @@ uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protoco
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size173;
- ::apache::thrift::protocol::TType _etype176;
- xfer += iprot->readListBegin(_etype176, _size173);
- this->success.resize(_size173);
- uint32_t _i177;
- for (_i177 = 0; _i177 < _size173; ++_i177)
- {
- xfer += this->success[_i177].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -11661,24 +11268,24 @@ uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protoco
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ace.read(iprot);
- this->__isset.ace = true;
+ xfer += this->enf.read(iprot);
+ this->__isset.enf = 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;
+ xfer += this->ace.read(iprot);
+ this->__isset.ace = true;
} else {
xfer += iprot->skip(ftype);
}
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->pnfe.read(iprot);
- this->__isset.pnfe = true;
+ xfer += this->ase.read(iprot);
+ this->__isset.ase = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -11703,40 +11310,32 @@ uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protoco
return xfer;
}
-uin
<TRUNCATED>