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 2016/05/02 22:57:08 UTC
[1/5] airavata git commit: removing get all user SSH keys
Repository: airavata
Updated Branches:
refs/heads/develop 00b1630fb -> e1013926a
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata.py
index 73728fb..a75e760 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata.py
@@ -274,27 +274,6 @@ class Iface:
"""
pass
- def getAllUserSSHPubKeys(self, authzToken, userName):
- """
-
- Get a Public Key by Providing the Token
-
- @param CredStoreToken
- Credential Store Token which you want to find the Public Key for.
-
- @param gatewayId
- This is the unique identifier of your gateway where the token and public key was generated from.
-
- @return SSHpubKey
-
-
-
- Parameters:
- - authzToken
- - userName
- """
- pass
-
def getAllGatewaySSHPubKeys(self, authzToken, gatewayId):
"""
@@ -3842,58 +3821,6 @@ class Client(Iface):
raise result.ase
raise TApplicationException(TApplicationException.MISSING_RESULT, "getSSHPubKey failed: unknown result")
- def getAllUserSSHPubKeys(self, authzToken, userName):
- """
-
- Get a Public Key by Providing the Token
-
- @param CredStoreToken
- Credential Store Token which you want to find the Public Key for.
-
- @param gatewayId
- This is the unique identifier of your gateway where the token and public key was generated from.
-
- @return SSHpubKey
-
-
-
- Parameters:
- - authzToken
- - userName
- """
- self.send_getAllUserSSHPubKeys(authzToken, userName)
- return self.recv_getAllUserSSHPubKeys()
-
- def send_getAllUserSSHPubKeys(self, authzToken, userName):
- self._oprot.writeMessageBegin('getAllUserSSHPubKeys', TMessageType.CALL, self._seqid)
- args = getAllUserSSHPubKeys_args()
- args.authzToken = authzToken
- args.userName = userName
- args.write(self._oprot)
- self._oprot.writeMessageEnd()
- self._oprot.trans.flush()
-
- def recv_getAllUserSSHPubKeys(self):
- iprot = self._iprot
- (fname, mtype, rseqid) = iprot.readMessageBegin()
- if mtype == TMessageType.EXCEPTION:
- x = TApplicationException()
- x.read(iprot)
- iprot.readMessageEnd()
- raise x
- result = getAllUserSSHPubKeys_result()
- result.read(iprot)
- iprot.readMessageEnd()
- if result.success is not None:
- return result.success
- if result.ire is not None:
- raise result.ire
- if result.ace is not None:
- raise result.ace
- if result.ase is not None:
- raise result.ase
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserSSHPubKeys failed: unknown result")
-
def getAllGatewaySSHPubKeys(self, authzToken, gatewayId):
"""
@@ -11071,7 +10998,6 @@ class Processor(Iface, TProcessor):
self._processMap["generateAndRegisterSSHKeys"] = Processor.process_generateAndRegisterSSHKeys
self._processMap["registerPwdCredential"] = Processor.process_registerPwdCredential
self._processMap["getSSHPubKey"] = Processor.process_getSSHPubKey
- self._processMap["getAllUserSSHPubKeys"] = Processor.process_getAllUserSSHPubKeys
self._processMap["getAllGatewaySSHPubKeys"] = Processor.process_getAllGatewaySSHPubKeys
self._processMap["getAllGatewayPWDCredentials"] = Processor.process_getAllGatewayPWDCredentials
self._processMap["deleteSSHPubKey"] = Processor.process_deleteSSHPubKey
@@ -11705,34 +11631,6 @@ class Processor(Iface, TProcessor):
oprot.writeMessageEnd()
oprot.trans.flush()
- def process_getAllUserSSHPubKeys(self, seqid, iprot, oprot):
- args = getAllUserSSHPubKeys_args()
- args.read(iprot)
- iprot.readMessageEnd()
- result = getAllUserSSHPubKeys_result()
- try:
- result.success = self._handler.getAllUserSSHPubKeys(args.authzToken, args.userName)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except apache.airavata.api.error.ttypes.InvalidRequestException as ire:
- msg_type = TMessageType.REPLY
- result.ire = ire
- except apache.airavata.api.error.ttypes.AiravataClientException as ace:
- msg_type = TMessageType.REPLY
- result.ace = ace
- except apache.airavata.api.error.ttypes.AiravataSystemException as ase:
- msg_type = TMessageType.REPLY
- result.ase = ase
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getAllUserSSHPubKeys", msg_type, seqid)
- result.write(oprot)
- oprot.writeMessageEnd()
- oprot.trans.flush()
-
def process_getAllGatewaySSHPubKeys(self, seqid, iprot, oprot):
args = getAllGatewaySSHPubKeys_args()
args.read(iprot)
@@ -19107,205 +19005,6 @@ class getSSHPubKey_result:
def __ne__(self, other):
return not (self == other)
-class getAllUserSSHPubKeys_args:
- """
- Attributes:
- - authzToken
- - userName
- """
-
- thrift_spec = (
- None, # 0
- (1, TType.STRUCT, 'authzToken', (apache.airavata.model.security.ttypes.AuthzToken, apache.airavata.model.security.ttypes.AuthzToken.thrift_spec), None, ), # 1
- (2, TType.STRING, 'userName', None, None, ), # 2
- )
-
- def __init__(self, authzToken=None, userName=None,):
- self.authzToken = authzToken
- self.userName = userName
-
- def read(self, iprot):
- if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
- fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
- return
- iprot.readStructBegin()
- while True:
- (fname, ftype, fid) = iprot.readFieldBegin()
- if ftype == TType.STOP:
- break
- if fid == 1:
- if ftype == TType.STRUCT:
- self.authzToken = apache.airavata.model.security.ttypes.AuthzToken()
- self.authzToken.read(iprot)
- else:
- iprot.skip(ftype)
- elif fid == 2:
- if ftype == TType.STRING:
- self.userName = iprot.readString()
- else:
- iprot.skip(ftype)
- else:
- iprot.skip(ftype)
- iprot.readFieldEnd()
- iprot.readStructEnd()
-
- def write(self, oprot):
- if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
- oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
- return
- oprot.writeStructBegin('getAllUserSSHPubKeys_args')
- if self.authzToken is not None:
- oprot.writeFieldBegin('authzToken', TType.STRUCT, 1)
- self.authzToken.write(oprot)
- oprot.writeFieldEnd()
- if self.userName is not None:
- oprot.writeFieldBegin('userName', TType.STRING, 2)
- oprot.writeString(self.userName)
- oprot.writeFieldEnd()
- oprot.writeFieldStop()
- oprot.writeStructEnd()
-
- def validate(self):
- if self.authzToken is None:
- raise TProtocol.TProtocolException(message='Required field authzToken is unset!')
- if self.userName is None:
- raise TProtocol.TProtocolException(message='Required field userName is unset!')
- return
-
-
- def __hash__(self):
- value = 17
- value = (value * 31) ^ hash(self.authzToken)
- value = (value * 31) ^ hash(self.userName)
- return value
-
- def __repr__(self):
- L = ['%s=%r' % (key, value)
- for key, value in self.__dict__.iteritems()]
- return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
- def __eq__(self, other):
- return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- return not (self == other)
-
-class getAllUserSSHPubKeys_result:
- """
- Attributes:
- - success
- - ire
- - ace
- - ase
- """
-
- thrift_spec = (
- (0, TType.MAP, 'success', (TType.STRING,None,TType.STRING,None), None, ), # 0
- (1, TType.STRUCT, 'ire', (apache.airavata.api.error.ttypes.InvalidRequestException, apache.airavata.api.error.ttypes.InvalidRequestException.thrift_spec), None, ), # 1
- (2, TType.STRUCT, 'ace', (apache.airavata.api.error.ttypes.AiravataClientException, apache.airavata.api.error.ttypes.AiravataClientException.thrift_spec), None, ), # 2
- (3, TType.STRUCT, 'ase', (apache.airavata.api.error.ttypes.AiravataSystemException, apache.airavata.api.error.ttypes.AiravataSystemException.thrift_spec), None, ), # 3
- )
-
- def __init__(self, success=None, ire=None, ace=None, ase=None,):
- self.success = success
- self.ire = ire
- self.ace = ace
- self.ase = ase
-
- def read(self, iprot):
- if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
- fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
- return
- iprot.readStructBegin()
- while True:
- (fname, ftype, fid) = iprot.readFieldBegin()
- if ftype == TType.STOP:
- break
- if fid == 0:
- if ftype == TType.MAP:
- self.success = {}
- (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin()
- for _i18 in xrange(_size14):
- _key19 = iprot.readString()
- _val20 = iprot.readString()
- self.success[_key19] = _val20
- iprot.readMapEnd()
- else:
- iprot.skip(ftype)
- elif fid == 1:
- if ftype == TType.STRUCT:
- self.ire = apache.airavata.api.error.ttypes.InvalidRequestException()
- self.ire.read(iprot)
- else:
- iprot.skip(ftype)
- elif fid == 2:
- if ftype == TType.STRUCT:
- self.ace = apache.airavata.api.error.ttypes.AiravataClientException()
- self.ace.read(iprot)
- else:
- iprot.skip(ftype)
- elif fid == 3:
- if ftype == TType.STRUCT:
- self.ase = apache.airavata.api.error.ttypes.AiravataSystemException()
- self.ase.read(iprot)
- else:
- iprot.skip(ftype)
- else:
- iprot.skip(ftype)
- iprot.readFieldEnd()
- iprot.readStructEnd()
-
- def write(self, oprot):
- if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
- oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
- return
- oprot.writeStructBegin('getAllUserSSHPubKeys_result')
- if self.success is not None:
- oprot.writeFieldBegin('success', TType.MAP, 0)
- oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter21,viter22 in self.success.items():
- oprot.writeString(kiter21)
- oprot.writeString(viter22)
- oprot.writeMapEnd()
- oprot.writeFieldEnd()
- if self.ire is not None:
- oprot.writeFieldBegin('ire', TType.STRUCT, 1)
- self.ire.write(oprot)
- oprot.writeFieldEnd()
- if self.ace is not None:
- oprot.writeFieldBegin('ace', TType.STRUCT, 2)
- self.ace.write(oprot)
- oprot.writeFieldEnd()
- if self.ase is not None:
- oprot.writeFieldBegin('ase', TType.STRUCT, 3)
- self.ase.write(oprot)
- oprot.writeFieldEnd()
- oprot.writeFieldStop()
- oprot.writeStructEnd()
-
- def validate(self):
- return
-
-
- def __hash__(self):
- value = 17
- value = (value * 31) ^ hash(self.success)
- value = (value * 31) ^ hash(self.ire)
- value = (value * 31) ^ hash(self.ace)
- value = (value * 31) ^ hash(self.ase)
- return value
-
- def __repr__(self):
- L = ['%s=%r' % (key, value)
- for key, value in self.__dict__.iteritems()]
- return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
- def __eq__(self, other):
- return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- return not (self == other)
-
class getAllGatewaySSHPubKeys_args:
"""
Attributes:
@@ -19423,11 +19122,11 @@ class getAllGatewaySSHPubKeys_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype24, _vtype25, _size23 ) = iprot.readMapBegin()
- for _i27 in xrange(_size23):
- _key28 = iprot.readString()
- _val29 = iprot.readString()
- self.success[_key28] = _val29
+ (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin()
+ for _i18 in xrange(_size14):
+ _key19 = iprot.readString()
+ _val20 = iprot.readString()
+ self.success[_key19] = _val20
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -19462,9 +19161,9 @@ class getAllGatewaySSHPubKeys_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter30,viter31 in self.success.items():
- oprot.writeString(kiter30)
- oprot.writeString(viter31)
+ for kiter21,viter22 in self.success.items():
+ oprot.writeString(kiter21)
+ oprot.writeString(viter22)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -19622,11 +19321,11 @@ class getAllGatewayPWDCredentials_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype33, _vtype34, _size32 ) = iprot.readMapBegin()
- for _i36 in xrange(_size32):
- _key37 = iprot.readString()
- _val38 = iprot.readString()
- self.success[_key37] = _val38
+ (_ktype24, _vtype25, _size23 ) = iprot.readMapBegin()
+ for _i27 in xrange(_size23):
+ _key28 = iprot.readString()
+ _val29 = iprot.readString()
+ self.success[_key28] = _val29
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -19661,9 +19360,9 @@ class getAllGatewayPWDCredentials_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter39,viter40 in self.success.items():
- oprot.writeString(kiter39)
- oprot.writeString(viter40)
+ for kiter30,viter31 in self.success.items():
+ oprot.writeString(kiter30)
+ oprot.writeString(viter31)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -21152,11 +20851,11 @@ class getUserProjects_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype44, _size41) = iprot.readListBegin()
- for _i45 in xrange(_size41):
- _elem46 = apache.airavata.model.workspace.ttypes.Project()
- _elem46.read(iprot)
- self.success.append(_elem46)
+ (_etype35, _size32) = iprot.readListBegin()
+ for _i36 in xrange(_size32):
+ _elem37 = apache.airavata.model.workspace.ttypes.Project()
+ _elem37.read(iprot)
+ self.success.append(_elem37)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -21197,8 +20896,8 @@ class getUserProjects_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter47 in self.success:
- iter47.write(oprot)
+ for iter38 in self.success:
+ iter38.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -21424,11 +21123,11 @@ class searchProjectsByProjectName_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype51, _size48) = iprot.readListBegin()
- for _i52 in xrange(_size48):
- _elem53 = apache.airavata.model.workspace.ttypes.Project()
- _elem53.read(iprot)
- self.success.append(_elem53)
+ (_etype42, _size39) = iprot.readListBegin()
+ for _i43 in xrange(_size39):
+ _elem44 = apache.airavata.model.workspace.ttypes.Project()
+ _elem44.read(iprot)
+ self.success.append(_elem44)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -21469,8 +21168,8 @@ class searchProjectsByProjectName_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter54 in self.success:
- iter54.write(oprot)
+ for iter45 in self.success:
+ iter45.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -21696,11 +21395,11 @@ class searchProjectsByProjectDesc_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype58, _size55) = iprot.readListBegin()
- for _i59 in xrange(_size55):
- _elem60 = apache.airavata.model.workspace.ttypes.Project()
- _elem60.read(iprot)
- self.success.append(_elem60)
+ (_etype49, _size46) = iprot.readListBegin()
+ for _i50 in xrange(_size46):
+ _elem51 = apache.airavata.model.workspace.ttypes.Project()
+ _elem51.read(iprot)
+ self.success.append(_elem51)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -21741,8 +21440,8 @@ class searchProjectsByProjectDesc_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter61 in self.success:
- iter61.write(oprot)
+ for iter52 in self.success:
+ iter52.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -21968,11 +21667,11 @@ class searchExperimentsByName_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype65, _size62) = iprot.readListBegin()
- for _i66 in xrange(_size62):
- _elem67 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem67.read(iprot)
- self.success.append(_elem67)
+ (_etype56, _size53) = iprot.readListBegin()
+ for _i57 in xrange(_size53):
+ _elem58 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem58.read(iprot)
+ self.success.append(_elem58)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22013,8 +21712,8 @@ class searchExperimentsByName_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter68 in self.success:
- iter68.write(oprot)
+ for iter59 in self.success:
+ iter59.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -22240,11 +21939,11 @@ class searchExperimentsByDesc_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype72, _size69) = iprot.readListBegin()
- for _i73 in xrange(_size69):
- _elem74 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem74.read(iprot)
- self.success.append(_elem74)
+ (_etype63, _size60) = iprot.readListBegin()
+ for _i64 in xrange(_size60):
+ _elem65 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem65.read(iprot)
+ self.success.append(_elem65)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22285,8 +21984,8 @@ class searchExperimentsByDesc_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter75 in self.success:
- iter75.write(oprot)
+ for iter66 in self.success:
+ iter66.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -22512,11 +22211,11 @@ class searchExperimentsByApplication_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype79, _size76) = iprot.readListBegin()
- for _i80 in xrange(_size76):
- _elem81 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem81.read(iprot)
- self.success.append(_elem81)
+ (_etype70, _size67) = iprot.readListBegin()
+ for _i71 in xrange(_size67):
+ _elem72 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem72.read(iprot)
+ self.success.append(_elem72)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22557,8 +22256,8 @@ class searchExperimentsByApplication_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter82 in self.success:
- iter82.write(oprot)
+ for iter73 in self.success:
+ iter73.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -22784,11 +22483,11 @@ class searchExperimentsByStatus_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype86, _size83) = iprot.readListBegin()
- for _i87 in xrange(_size83):
- _elem88 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem88.read(iprot)
- self.success.append(_elem88)
+ (_etype77, _size74) = iprot.readListBegin()
+ for _i78 in xrange(_size74):
+ _elem79 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem79.read(iprot)
+ self.success.append(_elem79)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -22829,8 +22528,8 @@ class searchExperimentsByStatus_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter89 in self.success:
- iter89.write(oprot)
+ for iter80 in self.success:
+ iter80.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -23071,11 +22770,11 @@ class searchExperimentsByCreationTime_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype93, _size90) = iprot.readListBegin()
- for _i94 in xrange(_size90):
- _elem95 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem95.read(iprot)
- self.success.append(_elem95)
+ (_etype84, _size81) = iprot.readListBegin()
+ for _i85 in xrange(_size81):
+ _elem86 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem86.read(iprot)
+ self.success.append(_elem86)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23116,8 +22815,8 @@ class searchExperimentsByCreationTime_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter96 in self.success:
- iter96.write(oprot)
+ for iter87 in self.success:
+ iter87.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -23220,11 +22919,11 @@ class searchExperiments_args:
elif fid == 4:
if ftype == TType.MAP:
self.filters = {}
- (_ktype98, _vtype99, _size97 ) = iprot.readMapBegin()
- for _i101 in xrange(_size97):
- _key102 = iprot.readI32()
- _val103 = iprot.readString()
- self.filters[_key102] = _val103
+ (_ktype89, _vtype90, _size88 ) = iprot.readMapBegin()
+ for _i92 in xrange(_size88):
+ _key93 = iprot.readI32()
+ _val94 = iprot.readString()
+ self.filters[_key93] = _val94
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -23263,9 +22962,9 @@ class searchExperiments_args:
if self.filters is not None:
oprot.writeFieldBegin('filters', TType.MAP, 4)
oprot.writeMapBegin(TType.I32, TType.STRING, len(self.filters))
- for kiter104,viter105 in self.filters.items():
- oprot.writeI32(kiter104)
- oprot.writeString(viter105)
+ for kiter95,viter96 in self.filters.items():
+ oprot.writeI32(kiter95)
+ oprot.writeString(viter96)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.limit is not None:
@@ -23351,11 +23050,11 @@ class searchExperiments_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype109, _size106) = iprot.readListBegin()
- for _i110 in xrange(_size106):
- _elem111 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
- _elem111.read(iprot)
- self.success.append(_elem111)
+ (_etype100, _size97) = iprot.readListBegin()
+ for _i101 in xrange(_size97):
+ _elem102 = apache.airavata.model.experiment.ttypes.ExperimentSummaryModel()
+ _elem102.read(iprot)
+ self.success.append(_elem102)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23396,8 +23095,8 @@ class searchExperiments_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter112 in self.success:
- iter112.write(oprot)
+ for iter103 in self.success:
+ iter103.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -23830,11 +23529,11 @@ class getExperimentsInProject_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype116, _size113) = iprot.readListBegin()
- for _i117 in xrange(_size113):
- _elem118 = apache.airavata.model.experiment.ttypes.ExperimentModel()
- _elem118.read(iprot)
- self.success.append(_elem118)
+ (_etype107, _size104) = iprot.readListBegin()
+ for _i108 in xrange(_size104):
+ _elem109 = apache.airavata.model.experiment.ttypes.ExperimentModel()
+ _elem109.read(iprot)
+ self.success.append(_elem109)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -23881,8 +23580,8 @@ class getExperimentsInProject_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter119 in self.success:
- iter119.write(oprot)
+ for iter110 in self.success:
+ iter110.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -24098,11 +23797,11 @@ class getUserExperiments_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype123, _size120) = iprot.readListBegin()
- for _i124 in xrange(_size120):
- _elem125 = apache.airavata.model.experiment.ttypes.ExperimentModel()
- _elem125.read(iprot)
- self.success.append(_elem125)
+ (_etype114, _size111) = iprot.readListBegin()
+ for _i115 in xrange(_size111):
+ _elem116 = apache.airavata.model.experiment.ttypes.ExperimentModel()
+ _elem116.read(iprot)
+ self.success.append(_elem116)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -24143,8 +23842,8 @@ class getUserExperiments_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter126 in self.success:
- iter126.write(oprot)
+ for iter117 in self.success:
+ iter117.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -26377,11 +26076,11 @@ class getExperimentOutputs_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype130, _size127) = iprot.readListBegin()
- for _i131 in xrange(_size127):
- _elem132 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
- _elem132.read(iprot)
- self.success.append(_elem132)
+ (_etype121, _size118) = iprot.readListBegin()
+ for _i122 in xrange(_size118):
+ _elem123 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
+ _elem123.read(iprot)
+ self.success.append(_elem123)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -26428,8 +26127,8 @@ class getExperimentOutputs_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter133 in self.success:
- iter133.write(oprot)
+ for iter124 in self.success:
+ iter124.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -26603,11 +26302,11 @@ class getIntermediateOutputs_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype137, _size134) = iprot.readListBegin()
- for _i138 in xrange(_size134):
- _elem139 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
- _elem139.read(iprot)
- self.success.append(_elem139)
+ (_etype128, _size125) = iprot.readListBegin()
+ for _i129 in xrange(_size125):
+ _elem130 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
+ _elem130.read(iprot)
+ self.success.append(_elem130)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -26654,8 +26353,8 @@ class getIntermediateOutputs_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter140 in self.success:
- iter140.write(oprot)
+ for iter131 in self.success:
+ iter131.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -26829,12 +26528,12 @@ class getJobStatuses_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype142, _vtype143, _size141 ) = iprot.readMapBegin()
- for _i145 in xrange(_size141):
- _key146 = iprot.readString()
- _val147 = apache.airavata.model.status.ttypes.JobStatus()
- _val147.read(iprot)
- self.success[_key146] = _val147
+ (_ktype133, _vtype134, _size132 ) = iprot.readMapBegin()
+ for _i136 in xrange(_size132):
+ _key137 = iprot.readString()
+ _val138 = apache.airavata.model.status.ttypes.JobStatus()
+ _val138.read(iprot)
+ self.success[_key137] = _val138
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -26881,9 +26580,9 @@ class getJobStatuses_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
- for kiter148,viter149 in self.success.items():
- oprot.writeString(kiter148)
- viter149.write(oprot)
+ for kiter139,viter140 in self.success.items():
+ oprot.writeString(kiter139)
+ viter140.write(oprot)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -27057,11 +26756,11 @@ class getJobDetails_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype153, _size150) = iprot.readListBegin()
- for _i154 in xrange(_size150):
- _elem155 = apache.airavata.model.job.ttypes.JobModel()
- _elem155.read(iprot)
- self.success.append(_elem155)
+ (_etype144, _size141) = iprot.readListBegin()
+ for _i145 in xrange(_size141):
+ _elem146 = apache.airavata.model.job.ttypes.JobModel()
+ _elem146.read(iprot)
+ self.success.append(_elem146)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -27108,8 +26807,8 @@ class getJobDetails_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter156 in self.success:
- iter156.write(oprot)
+ for iter147 in self.success:
+ iter147.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -28366,11 +28065,11 @@ class getAllAppModules_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype160, _size157) = iprot.readListBegin()
- for _i161 in xrange(_size157):
- _elem162 = apache.airavata.model.appcatalog.appdeployment.ttypes.ApplicationModule()
- _elem162.read(iprot)
- self.success.append(_elem162)
+ (_etype151, _size148) = iprot.readListBegin()
+ for _i152 in xrange(_size148):
+ _elem153 = apache.airavata.model.appcatalog.appdeployment.ttypes.ApplicationModule()
+ _elem153.read(iprot)
+ self.success.append(_elem153)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -28411,8 +28110,8 @@ class getAllAppModules_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter163 in self.success:
- iter163.write(oprot)
+ for iter154 in self.success:
+ iter154.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -29626,11 +29325,11 @@ class getAllApplicationDeployments_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype167, _size164) = iprot.readListBegin()
- for _i168 in xrange(_size164):
- _elem169 = apache.airavata.model.appcatalog.appdeployment.ttypes.ApplicationDeploymentDescription()
- _elem169.read(iprot)
- self.success.append(_elem169)
+ (_etype158, _size155) = iprot.readListBegin()
+ for _i159 in xrange(_size155):
+ _elem160 = apache.airavata.model.appcatalog.appdeployment.ttypes.ApplicationDeploymentDescription()
+ _elem160.read(iprot)
+ self.success.append(_elem160)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -29671,8 +29370,8 @@ class getAllApplicationDeployments_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter170 in self.success:
- iter170.write(oprot)
+ for iter161 in self.success:
+ iter161.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -29838,10 +29537,10 @@ class getAppModuleDeployedResources_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype174, _size171) = iprot.readListBegin()
- for _i175 in xrange(_size171):
- _elem176 = iprot.readString()
- self.success.append(_elem176)
+ (_etype165, _size162) = iprot.readListBegin()
+ for _i166 in xrange(_size162):
+ _elem167 = iprot.readString()
+ self.success.append(_elem167)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -29882,8 +29581,8 @@ class getAppModuleDeployedResources_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter177 in self.success:
- oprot.writeString(iter177)
+ for iter168 in self.success:
+ oprot.writeString(iter168)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -31121,11 +30820,11 @@ class getAllApplicationInterfaceNames_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype179, _vtype180, _size178 ) = iprot.readMapBegin()
- for _i182 in xrange(_size178):
- _key183 = iprot.readString()
- _val184 = iprot.readString()
- self.success[_key183] = _val184
+ (_ktype170, _vtype171, _size169 ) = iprot.readMapBegin()
+ for _i173 in xrange(_size169):
+ _key174 = iprot.readString()
+ _val175 = iprot.readString()
+ self.success[_key174] = _val175
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -31166,9 +30865,9 @@ class getAllApplicationInterfaceNames_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter185,viter186 in self.success.items():
- oprot.writeString(kiter185)
- oprot.writeString(viter186)
+ for kiter176,viter177 in self.success.items():
+ oprot.writeString(kiter176)
+ oprot.writeString(viter177)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -31334,11 +31033,11 @@ class getAllApplicationInterfaces_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype190, _size187) = iprot.readListBegin()
- for _i191 in xrange(_size187):
- _elem192 = apache.airavata.model.appcatalog.appinterface.ttypes.ApplicationInterfaceDescription()
- _elem192.read(iprot)
- self.success.append(_elem192)
+ (_etype181, _size178) = iprot.readListBegin()
+ for _i182 in xrange(_size178):
+ _elem183 = apache.airavata.model.appcatalog.appinterface.ttypes.ApplicationInterfaceDescription()
+ _elem183.read(iprot)
+ self.success.append(_elem183)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -31379,8 +31078,8 @@ class getAllApplicationInterfaces_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter193 in self.success:
- iter193.write(oprot)
+ for iter184 in self.success:
+ iter184.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -31546,11 +31245,11 @@ class getApplicationInputs_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype197, _size194) = iprot.readListBegin()
- for _i198 in xrange(_size194):
- _elem199 = apache.airavata.model.application.io.ttypes.InputDataObjectType()
- _elem199.read(iprot)
- self.success.append(_elem199)
+ (_etype188, _size185) = iprot.readListBegin()
+ for _i189 in xrange(_size185):
+ _elem190 = apache.airavata.model.application.io.ttypes.InputDataObjectType()
+ _elem190.read(iprot)
+ self.success.append(_elem190)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -31591,8 +31290,8 @@ class getApplicationInputs_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter200 in self.success:
- iter200.write(oprot)
+ for iter191 in self.success:
+ iter191.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -31758,11 +31457,11 @@ class getApplicationOutputs_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype204, _size201) = iprot.readListBegin()
- for _i205 in xrange(_size201):
- _elem206 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
- _elem206.read(iprot)
- self.success.append(_elem206)
+ (_etype195, _size192) = iprot.readListBegin()
+ for _i196 in xrange(_size192):
+ _elem197 = apache.airavata.model.application.io.ttypes.OutputDataObjectType()
+ _elem197.read(iprot)
+ self.success.append(_elem197)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -31803,8 +31502,8 @@ class getApplicationOutputs_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter207 in self.success:
- iter207.write(oprot)
+ for iter198 in self.success:
+ iter198.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -31970,11 +31669,11 @@ class getAvailableAppInterfaceComputeResources_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype209, _vtype210, _size208 ) = iprot.readMapBegin()
- for _i212 in xrange(_size208):
- _key213 = iprot.readString()
- _val214 = iprot.readString()
- self.success[_key213] = _val214
+ (_ktype200, _vtype201, _size199 ) = iprot.readMapBegin()
+ for _i203 in xrange(_size199):
+ _key204 = iprot.readString()
+ _val205 = iprot.readString()
+ self.success[_key204] = _val205
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -32015,9 +31714,9 @@ class getAvailableAppInterfaceComputeResources_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter215,viter216 in self.success.items():
- oprot.writeString(kiter215)
- oprot.writeString(viter216)
+ for kiter206,viter207 in self.success.items():
+ oprot.writeString(kiter206)
+ oprot.writeString(viter207)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -32576,11 +32275,11 @@ class getAllComputeResourceNames_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype218, _vtype219, _size217 ) = iprot.readMapBegin()
- for _i221 in xrange(_size217):
- _key222 = iprot.readString()
- _val223 = iprot.readString()
- self.success[_key222] = _val223
+ (_ktype209, _vtype210, _size208 ) = iprot.readMapBegin()
+ for _i212 in xrange(_size208):
+ _key213 = iprot.readString()
+ _val214 = iprot.readString()
+ self.success[_key213] = _val214
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -32621,9 +32320,9 @@ class getAllComputeResourceNames_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter224,viter225 in self.success.items():
- oprot.writeString(kiter224)
- oprot.writeString(viter225)
+ for kiter215,viter216 in self.success.items():
+ oprot.writeString(kiter215)
+ oprot.writeString(viter216)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -33604,11 +33303,11 @@ class getAllStorageResourceNames_result:
if fid == 0:
if ftype == TType.MAP:
self.success = {}
- (_ktype227, _vtype228, _size226 ) = iprot.readMapBegin()
- for _i230 in xrange(_size226):
- _key231 = iprot.readString()
- _val232 = iprot.readString()
- self.success[_key231] = _val232
+ (_ktype218, _vtype219, _size217 ) = iprot.readMapBegin()
+ for _i221 in xrange(_size217):
+ _key222 = iprot.readString()
+ _val223 = iprot.readString()
+ self.success[_key222] = _val223
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -33649,9 +33348,9 @@ class getAllStorageResourceNames_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.MAP, 0)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
- for kiter233,viter234 in self.success.items():
- oprot.writeString(kiter233)
- oprot.writeString(viter234)
+ for kiter224,viter225 in self.success.items():
+ oprot.writeString(kiter224)
+ oprot.writeString(viter225)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -40140,11 +39839,11 @@ class changeJobSubmissionPriorities_args:
elif fid == 2:
if ftype == TType.MAP:
self.jobSubmissionPriorityMap = {}
- (_ktype236, _vtype237, _size235 ) = iprot.readMapBegin()
- for _i239 in xrange(_size235):
- _key240 = iprot.readString()
- _val241 = iprot.readI32()
- self.jobSubmissionPriorityMap[_key240] = _val241
+ (_ktype227, _vtype228, _size226 ) = iprot.readMapBegin()
+ for _i230 in xrange(_size226):
+ _key231 = iprot.readString()
+ _val232 = iprot.readI32()
+ self.jobSubmissionPriorityMap[_key231] = _val232
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -40165,9 +39864,9 @@ class changeJobSubmissionPriorities_args:
if self.jobSubmissionPriorityMap is not None:
oprot.writeFieldBegin('jobSubmissionPriorityMap', TType.MAP, 2)
oprot.writeMapBegin(TType.STRING, TType.I32, len(self.jobSubmissionPriorityMap))
- for kiter242,viter243 in self.jobSubmissionPriorityMap.items():
- oprot.writeString(kiter242)
- oprot.writeI32(viter243)
+ for kiter233,viter234 in self.jobSubmissionPriorityMap.items():
+ oprot.writeString(kiter233)
+ oprot.writeI32(viter234)
oprot.writeMapEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -40353,11 +40052,11 @@ class changeDataMovementPriorities_args:
elif fid == 2:
if ftype == TType.MAP:
self.dataMovementPriorityMap = {}
- (_ktype245, _vtype246, _size244 ) = iprot.readMapBegin()
- for _i248 in xrange(_size244):
- _key249 = iprot.readString()
- _val250 = iprot.readI32()
- self.dataMovementPriorityMap[_key249] = _val250
+ (_ktype236, _vtype237, _size235 ) = iprot.readMapBegin()
+ for _i239 in xrange(_size235):
+ _key240 = iprot.readString()
+ _val241 = iprot.readI32()
+ self.dataMovementPriorityMap[_key240] = _val241
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -40378,9 +40077,9 @@ class changeDataMovementPriorities_args:
if self.dataMovementPriorityMap is not None:
oprot.writeFieldBegin('dataMovementPriorityMap', TType.MAP, 2)
oprot.writeMapBegin(TType.STRING, TType.I32, len(self.dataMovementPriorityMap))
- for kiter251,viter252 in self.dataMovementPriorityMap.items():
- oprot.writeString(kiter251)
- oprot.writeI32(viter252)
+ for kiter242,viter243 in self.dataMovementPriorityMap.items():
+ oprot.writeString(kiter242)
+ oprot.writeI32(viter243)
oprot.writeMapEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -43886,11 +43585,11 @@ class getAllGatewayComputeResourcePreferences_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype256, _size253) = iprot.readListBegin()
- for _i257 in xrange(_size253):
- _elem258 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.ComputeResourcePreference()
- _elem258.read(iprot)
- self.success.append(_elem258)
+ (_etype247, _size244) = iprot.readListBegin()
+ for _i248 in xrange(_size244):
+ _elem249 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.ComputeResourcePreference()
+ _elem249.read(iprot)
+ self.success.append(_elem249)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -43931,8 +43630,8 @@ class getAllGatewayComputeResourcePreferences_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter259 in self.success:
- iter259.write(oprot)
+ for iter250 in self.success:
+ iter250.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -44098,11 +43797,11 @@ class getAllGatewayStoragePreferences_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype263, _size260) = iprot.readListBegin()
- for _i264 in xrange(_size260):
- _elem265 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.StoragePreference()
- _elem265.read(iprot)
- self.success.append(_elem265)
+ (_etype254, _size251) = iprot.readListBegin()
+ for _i255 in xrange(_size251):
+ _elem256 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.StoragePreference()
+ _elem256.read(iprot)
+ self.success.append(_elem256)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -44143,8 +43842,8 @@ class getAllGatewayStoragePreferences_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter266 in self.success:
- iter266.write(oprot)
+ for iter257 in self.success:
+ iter257.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -44295,11 +43994,11 @@ class getAllGatewayResourceProfiles_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype270, _size267) = iprot.readListBegin()
- for _i271 in xrange(_size267):
- _elem272 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.GatewayResourceProfile()
- _elem272.read(iprot)
- self.success.append(_elem272)
+ (_etype261, _size258) = iprot.readListBegin()
+ for _i262 in xrange(_size258):
+ _elem263 = apache.airavata.model.appcatalog.gatewayprofile.ttypes.GatewayResourceProfile()
+ _elem263.read(iprot)
+ self.success.append(_elem263)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -44340,8 +44039,8 @@ class getAllGatewayResourceProfiles_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter273 in self.success:
- iter273.write(oprot)
+ for iter264 in self.success:
+ iter264.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -45411,10 +45110,10 @@ class getAllWorkflows_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype277, _size274) = iprot.readListBegin()
- for _i278 in xrange(_size274):
- _elem279 = iprot.readString()
- self.success.append(_elem279)
+ (_etype268, _size265) = iprot.readListBegin()
+ for _i269 in xrange(_size265):
+ _elem270 = iprot.readString()
+ self.success.append(_elem270)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -45455,8 +45154,8 @@ class getAllWorkflows_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRING, len(self.success))
- for iter280 in self.success:
- oprot.writeString(iter280)
+ for iter271 in self.success:
+ oprot.writeString(iter271)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
@@ -47665,11 +47364,11 @@ class getChildDataProducts_result:
if fid == 0:
if ftype == TType.LIST:
self.success = []
- (_etype284, _size281) = iprot.readListBegin()
- for _i285 in xrange(_size281):
- _elem286 = apache.airavata.model.data.replica.ttypes.DataProductModel()
- _elem286.read(iprot)
- self.success.append(_elem286)
+ (_etype275, _size272) = iprot.readListBegin()
+ for _i276 in xrange(_size272):
+ _elem277 = apache.airavata.model.data.replica.ttypes.DataProductModel()
+ _elem277.read(iprot)
+ self.success.append(_elem277)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -47710,8 +47409,8 @@ class getChildDataProducts_result:
if self.success is not None:
oprot.writeFieldBegin('success', TType.LIST, 0)
oprot.writeListBegin(TType.STRUCT, len(self.success))
- for iter287 in self.success:
- iter287.write(oprot)
+ for iter278 in self.success:
+ iter278.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ire is not None:
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/airavata-apis/airavata_api.thrift b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
index 3654d2b..83aa987 100644
--- a/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
+++ b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
@@ -308,26 +308,6 @@ service Airavata {
/**
*
- * Get a Public Key by Providing the Token
- *
- * @param CredStoreToken
- * Credential Store Token which you want to find the Public Key for.
- *
- * @param gatewayId
- * This is the unique identifier of your gateway where the token and public key was generated from.
- *
- * @return SSHpubKey
- *
- **/
-
- map<string, string> getAllUserSSHPubKeys (1: required security_model.AuthzToken authzToken,
- 2: required string userName)
- throws (1: airavata_errors.InvalidRequestException ire,
- 2: airavata_errors.AiravataClientException ace,
- 3: airavata_errors.AiravataSystemException ase)
-
- /**
- *
* Get all Public Keys of the Gateway
*
* @param CredStoreToken
[2/5] airavata git commit: removing get all user SSH keys
Posted by sc...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.h
index 33c1aed..b04ccdd 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata.h
@@ -242,25 +242,6 @@ class AiravataIf {
/**
*
- * Get a Public Key by Providing the Token
- *
- * @param CredStoreToken
- * Credential Store Token which you want to find the Public Key for.
- *
- * @param gatewayId
- * This is the unique identifier of your gateway where the token and public key was generated from.
- *
- * @return SSHpubKey
- *
- *
- *
- * @param authzToken
- * @param userName
- */
- virtual void getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName) = 0;
-
- /**
- *
* Get all Public Keys of the Gateway
*
* @param CredStoreToken
@@ -2746,9 +2727,6 @@ class AiravataNull : virtual public AiravataIf {
void getSSHPubKey(std::string& /* _return */, const ::apache::airavata::model::security::AuthzToken& /* authzToken */, const std::string& /* airavataCredStoreToken */, const std::string& /* gatewayId */) {
return;
}
- void getAllUserSSHPubKeys(std::map<std::string, std::string> & /* _return */, const ::apache::airavata::model::security::AuthzToken& /* authzToken */, const std::string& /* userName */) {
- return;
- }
void getAllGatewaySSHPubKeys(std::map<std::string, std::string> & /* _return */, const ::apache::airavata::model::security::AuthzToken& /* authzToken */, const std::string& /* gatewayId */) {
return;
}
@@ -5369,134 +5347,6 @@ class Airavata_getSSHPubKey_presult {
};
-class Airavata_getAllUserSSHPubKeys_args {
- public:
-
- Airavata_getAllUserSSHPubKeys_args(const Airavata_getAllUserSSHPubKeys_args&);
- Airavata_getAllUserSSHPubKeys_args& operator=(const Airavata_getAllUserSSHPubKeys_args&);
- Airavata_getAllUserSSHPubKeys_args() : userName() {
- }
-
- virtual ~Airavata_getAllUserSSHPubKeys_args() throw();
- ::apache::airavata::model::security::AuthzToken authzToken;
- std::string userName;
-
- void __set_authzToken(const ::apache::airavata::model::security::AuthzToken& val);
-
- void __set_userName(const std::string& val);
-
- bool operator == (const Airavata_getAllUserSSHPubKeys_args & rhs) const
- {
- if (!(authzToken == rhs.authzToken))
- return false;
- if (!(userName == rhs.userName))
- return false;
- return true;
- }
- bool operator != (const Airavata_getAllUserSSHPubKeys_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const Airavata_getAllUserSSHPubKeys_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class Airavata_getAllUserSSHPubKeys_pargs {
- public:
-
-
- virtual ~Airavata_getAllUserSSHPubKeys_pargs() throw();
- const ::apache::airavata::model::security::AuthzToken* authzToken;
- const std::string* userName;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _Airavata_getAllUserSSHPubKeys_result__isset {
- _Airavata_getAllUserSSHPubKeys_result__isset() : success(false), ire(false), ace(false), ase(false) {}
- bool success :1;
- bool ire :1;
- bool ace :1;
- bool ase :1;
-} _Airavata_getAllUserSSHPubKeys_result__isset;
-
-class Airavata_getAllUserSSHPubKeys_result {
- public:
-
- Airavata_getAllUserSSHPubKeys_result(const Airavata_getAllUserSSHPubKeys_result&);
- Airavata_getAllUserSSHPubKeys_result& operator=(const Airavata_getAllUserSSHPubKeys_result&);
- Airavata_getAllUserSSHPubKeys_result() {
- }
-
- virtual ~Airavata_getAllUserSSHPubKeys_result() throw();
- std::map<std::string, std::string> success;
- ::apache::airavata::api::error::InvalidRequestException ire;
- ::apache::airavata::api::error::AiravataClientException ace;
- ::apache::airavata::api::error::AiravataSystemException ase;
-
- _Airavata_getAllUserSSHPubKeys_result__isset __isset;
-
- void __set_success(const std::map<std::string, std::string> & val);
-
- void __set_ire(const ::apache::airavata::api::error::InvalidRequestException& val);
-
- void __set_ace(const ::apache::airavata::api::error::AiravataClientException& val);
-
- void __set_ase(const ::apache::airavata::api::error::AiravataSystemException& val);
-
- bool operator == (const Airavata_getAllUserSSHPubKeys_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(ire == rhs.ire))
- return false;
- if (!(ace == rhs.ace))
- return false;
- if (!(ase == rhs.ase))
- return false;
- return true;
- }
- bool operator != (const Airavata_getAllUserSSHPubKeys_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const Airavata_getAllUserSSHPubKeys_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _Airavata_getAllUserSSHPubKeys_presult__isset {
- _Airavata_getAllUserSSHPubKeys_presult__isset() : success(false), ire(false), ace(false), ase(false) {}
- bool success :1;
- bool ire :1;
- bool ace :1;
- bool ase :1;
-} _Airavata_getAllUserSSHPubKeys_presult__isset;
-
-class Airavata_getAllUserSSHPubKeys_presult {
- public:
-
-
- virtual ~Airavata_getAllUserSSHPubKeys_presult() throw();
- std::map<std::string, std::string> * success;
- ::apache::airavata::api::error::InvalidRequestException ire;
- ::apache::airavata::api::error::AiravataClientException ace;
- ::apache::airavata::api::error::AiravataSystemException ase;
-
- _Airavata_getAllUserSSHPubKeys_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-
class Airavata_getAllGatewaySSHPubKeys_args {
public:
@@ -23939,9 +23789,6 @@ class AiravataClient : virtual public AiravataIf {
void getSSHPubKey(std::string& _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& airavataCredStoreToken, const std::string& gatewayId);
void send_getSSHPubKey(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& airavataCredStoreToken, const std::string& gatewayId);
void recv_getSSHPubKey(std::string& _return);
- void getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName);
- void send_getAllUserSSHPubKeys(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName);
- void recv_getAllUserSSHPubKeys(std::map<std::string, std::string> & _return);
void getAllGatewaySSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& gatewayId);
void send_getAllGatewaySSHPubKeys(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& gatewayId);
void recv_getAllGatewaySSHPubKeys(std::map<std::string, std::string> & _return);
@@ -24363,7 +24210,6 @@ class AiravataProcessor : public ::apache::thrift::TDispatchProcessor {
void process_generateAndRegisterSSHKeys(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_registerPwdCredential(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_getSSHPubKey(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
- void process_getAllUserSSHPubKeys(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_getAllGatewaySSHPubKeys(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_getAllGatewayPWDCredentials(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
void process_deleteSSHPubKey(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
@@ -24513,7 +24359,6 @@ class AiravataProcessor : public ::apache::thrift::TDispatchProcessor {
processMap_["generateAndRegisterSSHKeys"] = &AiravataProcessor::process_generateAndRegisterSSHKeys;
processMap_["registerPwdCredential"] = &AiravataProcessor::process_registerPwdCredential;
processMap_["getSSHPubKey"] = &AiravataProcessor::process_getSSHPubKey;
- processMap_["getAllUserSSHPubKeys"] = &AiravataProcessor::process_getAllUserSSHPubKeys;
processMap_["getAllGatewaySSHPubKeys"] = &AiravataProcessor::process_getAllGatewaySSHPubKeys;
processMap_["getAllGatewayPWDCredentials"] = &AiravataProcessor::process_getAllGatewayPWDCredentials;
processMap_["deleteSSHPubKey"] = &AiravataProcessor::process_deleteSSHPubKey;
@@ -24826,16 +24671,6 @@ class AiravataMultiface : virtual public AiravataIf {
return;
}
- void getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName) {
- size_t sz = ifaces_.size();
- size_t i = 0;
- for (; i < (sz - 1); ++i) {
- ifaces_[i]->getAllUserSSHPubKeys(_return, authzToken, userName);
- }
- ifaces_[i]->getAllUserSSHPubKeys(_return, authzToken, userName);
- return;
- }
-
void getAllGatewaySSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& gatewayId) {
size_t sz = ifaces_.size();
size_t i = 0;
@@ -26165,9 +26000,6 @@ class AiravataConcurrentClient : virtual public AiravataIf {
void getSSHPubKey(std::string& _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& airavataCredStoreToken, const std::string& gatewayId);
int32_t send_getSSHPubKey(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& airavataCredStoreToken, const std::string& gatewayId);
void recv_getSSHPubKey(std::string& _return, const int32_t seqid);
- void getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName);
- int32_t send_getAllUserSSHPubKeys(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName);
- void recv_getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const int32_t seqid);
void getAllGatewaySSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& gatewayId);
int32_t send_getAllGatewaySSHPubKeys(const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& gatewayId);
void recv_getAllGatewaySSHPubKeys(std::map<std::string, std::string> & _return, const int32_t seqid);
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata_server.skeleton.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata_server.skeleton.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata_server.skeleton.cpp
index 8583e1b..0f8c9f6 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata_server.skeleton.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/Airavata_server.skeleton.cpp
@@ -294,28 +294,6 @@ class AiravataHandler : virtual public AiravataIf {
/**
*
- * Get a Public Key by Providing the Token
- *
- * @param CredStoreToken
- * Credential Store Token which you want to find the Public Key for.
- *
- * @param gatewayId
- * This is the unique identifier of your gateway where the token and public key was generated from.
- *
- * @return SSHpubKey
- *
- *
- *
- * @param authzToken
- * @param userName
- */
- void getAllUserSSHPubKeys(std::map<std::string, std::string> & _return, const ::apache::airavata::model::security::AuthzToken& authzToken, const std::string& userName) {
- // Your implementation goes here
- printf("getAllUserSSHPubKeys\n");
- }
-
- /**
- *
* Get all Public Keys of the Gateway
*
* @param CredStoreToken
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
index 9f570e8..a1de78d 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
@@ -302,28 +302,6 @@ interface AiravataIf {
public function getSSHPubKey(\Airavata\Model\Security\AuthzToken $authzToken, $airavataCredStoreToken, $gatewayId);
/**
*
- * Get a Public Key by Providing the Token
- *
- * @param CredStoreToken
- * Credential Store Token which you want to find the Public Key for.
- *
- * @param gatewayId
- * This is the unique identifier of your gateway where the token and public key was generated from.
- *
- * @return SSHpubKey
- *
- *
- *
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $userName
- * @return array
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- */
- public function getAllUserSSHPubKeys(\Airavata\Model\Security\AuthzToken $authzToken, $userName);
- /**
- *
* Get all Public Keys of the Gateway
*
* @param CredStoreToken
@@ -4615,67 +4593,6 @@ class AiravataClient implements \Airavata\API\AiravataIf {
throw new \Exception("getSSHPubKey failed: unknown result");
}
- public function getAllUserSSHPubKeys(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
- {
- $this->send_getAllUserSSHPubKeys($authzToken, $userName);
- return $this->recv_getAllUserSSHPubKeys();
- }
-
- public function send_getAllUserSSHPubKeys(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
- {
- $args = new \Airavata\API\Airavata_getAllUserSSHPubKeys_args();
- $args->authzToken = $authzToken;
- $args->userName = $userName;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'getAllUserSSHPubKeys', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('getAllUserSSHPubKeys', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_getAllUserSSHPubKeys()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_getAllUserSSHPubKeys_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
-
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
- }
- $result = new \Airavata\API\Airavata_getAllUserSSHPubKeys_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
- }
- if ($result->ire !== null) {
- throw $result->ire;
- }
- if ($result->ace !== null) {
- throw $result->ace;
- }
- if ($result->ase !== null) {
- throw $result->ase;
- }
- throw new \Exception("getAllUserSSHPubKeys failed: unknown result");
- }
-
public function getAllGatewaySSHPubKeys(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId)
{
$this->send_getAllGatewaySSHPubKeys($authzToken, $gatewayId);
@@ -17704,7 +17621,7 @@ class Airavata_getSSHPubKey_result {
}
-class Airavata_getAllUserSSHPubKeys_args {
+class Airavata_getAllGatewaySSHPubKeys_args {
static $_TSPEC;
/**
@@ -17714,7 +17631,7 @@ class Airavata_getAllUserSSHPubKeys_args {
/**
* @var string
*/
- public $userName = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -17725,7 +17642,7 @@ class Airavata_getAllUserSSHPubKeys_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'userName',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -17734,14 +17651,14 @@ class Airavata_getAllUserSSHPubKeys_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['userName'])) {
- $this->userName = $vals['userName'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_getAllUserSSHPubKeys_args';
+ return 'Airavata_getAllGatewaySSHPubKeys_args';
}
public function read($input)
@@ -17769,7 +17686,7 @@ class Airavata_getAllUserSSHPubKeys_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -17786,7 +17703,7 @@ class Airavata_getAllUserSSHPubKeys_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllUserSSHPubKeys_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -17795,9 +17712,9 @@ class Airavata_getAllUserSSHPubKeys_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 2);
- $xfer += $output->writeString($this->userName);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -17807,7 +17724,7 @@ class Airavata_getAllUserSSHPubKeys_args {
}
-class Airavata_getAllUserSSHPubKeys_result {
+class Airavata_getAllGatewaySSHPubKeys_result {
static $_TSPEC;
/**
@@ -17876,7 +17793,7 @@ class Airavata_getAllUserSSHPubKeys_result {
}
public function getName() {
- return 'Airavata_getAllUserSSHPubKeys_result';
+ return 'Airavata_getAllGatewaySSHPubKeys_result';
}
public function read($input)
@@ -17950,7 +17867,7 @@ class Airavata_getAllUserSSHPubKeys_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllUserSSHPubKeys_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -17991,7 +17908,7 @@ class Airavata_getAllUserSSHPubKeys_result {
}
-class Airavata_getAllGatewaySSHPubKeys_args {
+class Airavata_getAllGatewayPWDCredentials_args {
static $_TSPEC;
/**
@@ -18028,7 +17945,7 @@ class Airavata_getAllGatewaySSHPubKeys_args {
}
public function getName() {
- return 'Airavata_getAllGatewaySSHPubKeys_args';
+ return 'Airavata_getAllGatewayPWDCredentials_args';
}
public function read($input)
@@ -18073,7 +17990,7 @@ class Airavata_getAllGatewaySSHPubKeys_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18094,7 +18011,7 @@ class Airavata_getAllGatewaySSHPubKeys_args {
}
-class Airavata_getAllGatewaySSHPubKeys_result {
+class Airavata_getAllGatewayPWDCredentials_result {
static $_TSPEC;
/**
@@ -18163,7 +18080,7 @@ class Airavata_getAllGatewaySSHPubKeys_result {
}
public function getName() {
- return 'Airavata_getAllGatewaySSHPubKeys_result';
+ return 'Airavata_getAllGatewayPWDCredentials_result';
}
public function read($input)
@@ -18237,7 +18154,7 @@ class Airavata_getAllGatewaySSHPubKeys_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18278,293 +18195,6 @@ class Airavata_getAllGatewaySSHPubKeys_result {
}
-class Airavata_getAllGatewayPWDCredentials_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getAllGatewayPWDCredentials_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getAllGatewayPWDCredentials_result {
- static $_TSPEC;
-
- /**
- * @var array
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::MAP,
- 'ktype' => TType::STRING,
- 'vtype' => TType::STRING,
- 'key' => array(
- 'type' => TType::STRING,
- ),
- 'val' => array(
- 'type' => TType::STRING,
- ),
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 3 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getAllGatewayPWDCredentials_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size32 = 0;
- $_ktype33 = 0;
- $_vtype34 = 0;
- $xfer += $input->readMapBegin($_ktype33, $_vtype34, $_size32);
- for ($_i36 = 0; $_i36 < $_size32; ++$_i36)
- {
- $key37 = '';
- $val38 = '';
- $xfer += $input->readString($key37);
- $xfer += $input->readString($val38);
- $this->success[$key37] = $val38;
- }
- $xfer += $input->readMapEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
- {
- $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
- {
- foreach ($this->success as $kiter39 => $viter40)
- {
- $xfer += $output->writeString($kiter39);
- $xfer += $output->writeString($viter40);
- }
- }
- $output->writeMapEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
class Airavata_deleteSSHPubKey_args {
static $_TSPEC;
@@ -20613,15 +20243,15 @@ class Airavata_getUserProjects_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size41 = 0;
- $_etype44 = 0;
- $xfer += $input->readListBegin($_etype44, $_size41);
- for ($_i45 = 0; $_i45 < $_size41; ++$_i45)
+ $_size32 = 0;
+ $_etype35 = 0;
+ $xfer += $input->readListBegin($_etype35, $_size32);
+ for ($_i36 = 0; $_i36 < $_size32; ++$_i36)
{
- $elem46 = null;
- $elem46 = new \Airavata\Model\Workspace\Project();
- $xfer += $elem46->read($input);
- $this->success []= $elem46;
+ $elem37 = null;
+ $elem37 = new \Airavata\Model\Workspace\Project();
+ $xfer += $elem37->read($input);
+ $this->success []= $elem37;
}
$xfer += $input->readListEnd();
} else {
@@ -20681,9 +20311,9 @@ class Airavata_getUserProjects_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter47)
+ foreach ($this->success as $iter38)
{
- $xfer += $iter47->write($output);
+ $xfer += $iter38->write($output);
}
}
$output->writeListEnd();
@@ -21011,15 +20641,15 @@ class Airavata_searchProjectsByProjectName_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size48 = 0;
- $_etype51 = 0;
- $xfer += $input->readListBegin($_etype51, $_size48);
- for ($_i52 = 0; $_i52 < $_size48; ++$_i52)
+ $_size39 = 0;
+ $_etype42 = 0;
+ $xfer += $input->readListBegin($_etype42, $_size39);
+ for ($_i43 = 0; $_i43 < $_size39; ++$_i43)
{
- $elem53 = null;
- $elem53 = new \Airavata\Model\Workspace\Project();
- $xfer += $elem53->read($input);
- $this->success []= $elem53;
+ $elem44 = null;
+ $elem44 = new \Airavata\Model\Workspace\Project();
+ $xfer += $elem44->read($input);
+ $this->success []= $elem44;
}
$xfer += $input->readListEnd();
} else {
@@ -21079,9 +20709,9 @@ class Airavata_searchProjectsByProjectName_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter54)
+ foreach ($this->success as $iter45)
{
- $xfer += $iter54->write($output);
+ $xfer += $iter45->write($output);
}
}
$output->writeListEnd();
@@ -21409,15 +21039,15 @@ class Airavata_searchProjectsByProjectDesc_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size55 = 0;
- $_etype58 = 0;
- $xfer += $input->readListBegin($_etype58, $_size55);
- for ($_i59 = 0; $_i59 < $_size55; ++$_i59)
+ $_size46 = 0;
+ $_etype49 = 0;
+ $xfer += $input->readListBegin($_etype49, $_size46);
+ for ($_i50 = 0; $_i50 < $_size46; ++$_i50)
{
- $elem60 = null;
- $elem60 = new \Airavata\Model\Workspace\Project();
- $xfer += $elem60->read($input);
- $this->success []= $elem60;
+ $elem51 = null;
+ $elem51 = new \Airavata\Model\Workspace\Project();
+ $xfer += $elem51->read($input);
+ $this->success []= $elem51;
}
$xfer += $input->readListEnd();
} else {
@@ -21477,9 +21107,9 @@ class Airavata_searchProjectsByProjectDesc_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter61)
+ foreach ($this->success as $iter52)
{
- $xfer += $iter61->write($output);
+ $xfer += $iter52->write($output);
}
}
$output->writeListEnd();
@@ -21807,15 +21437,15 @@ class Airavata_searchExperimentsByName_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size62 = 0;
- $_etype65 = 0;
- $xfer += $input->readListBegin($_etype65, $_size62);
- for ($_i66 = 0; $_i66 < $_size62; ++$_i66)
+ $_size53 = 0;
+ $_etype56 = 0;
+ $xfer += $input->readListBegin($_etype56, $_size53);
+ for ($_i57 = 0; $_i57 < $_size53; ++$_i57)
{
- $elem67 = null;
- $elem67 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem67->read($input);
- $this->success []= $elem67;
+ $elem58 = null;
+ $elem58 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem58->read($input);
+ $this->success []= $elem58;
}
$xfer += $input->readListEnd();
} else {
@@ -21875,9 +21505,9 @@ class Airavata_searchExperimentsByName_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter68)
+ foreach ($this->success as $iter59)
{
- $xfer += $iter68->write($output);
+ $xfer += $iter59->write($output);
}
}
$output->writeListEnd();
@@ -22205,15 +21835,15 @@ class Airavata_searchExperimentsByDesc_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size69 = 0;
- $_etype72 = 0;
- $xfer += $input->readListBegin($_etype72, $_size69);
- for ($_i73 = 0; $_i73 < $_size69; ++$_i73)
+ $_size60 = 0;
+ $_etype63 = 0;
+ $xfer += $input->readListBegin($_etype63, $_size60);
+ for ($_i64 = 0; $_i64 < $_size60; ++$_i64)
{
- $elem74 = null;
- $elem74 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem74->read($input);
- $this->success []= $elem74;
+ $elem65 = null;
+ $elem65 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem65->read($input);
+ $this->success []= $elem65;
}
$xfer += $input->readListEnd();
} else {
@@ -22273,9 +21903,9 @@ class Airavata_searchExperimentsByDesc_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter75)
+ foreach ($this->success as $iter66)
{
- $xfer += $iter75->write($output);
+ $xfer += $iter66->write($output);
}
}
$output->writeListEnd();
@@ -22603,15 +22233,15 @@ class Airavata_searchExperimentsByApplication_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size76 = 0;
- $_etype79 = 0;
- $xfer += $input->readListBegin($_etype79, $_size76);
- for ($_i80 = 0; $_i80 < $_size76; ++$_i80)
+ $_size67 = 0;
+ $_etype70 = 0;
+ $xfer += $input->readListBegin($_etype70, $_size67);
+ for ($_i71 = 0; $_i71 < $_size67; ++$_i71)
{
- $elem81 = null;
- $elem81 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem81->read($input);
- $this->success []= $elem81;
+ $elem72 = null;
+ $elem72 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem72->read($input);
+ $this->success []= $elem72;
}
$xfer += $input->readListEnd();
} else {
@@ -22671,9 +22301,9 @@ class Airavata_searchExperimentsByApplication_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter82)
+ foreach ($this->success as $iter73)
{
- $xfer += $iter82->write($output);
+ $xfer += $iter73->write($output);
}
}
$output->writeListEnd();
@@ -23001,15 +22631,15 @@ class Airavata_searchExperimentsByStatus_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size83 = 0;
- $_etype86 = 0;
- $xfer += $input->readListBegin($_etype86, $_size83);
- for ($_i87 = 0; $_i87 < $_size83; ++$_i87)
+ $_size74 = 0;
+ $_etype77 = 0;
+ $xfer += $input->readListBegin($_etype77, $_size74);
+ for ($_i78 = 0; $_i78 < $_size74; ++$_i78)
{
- $elem88 = null;
- $elem88 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem88->read($input);
- $this->success []= $elem88;
+ $elem79 = null;
+ $elem79 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem79->read($input);
+ $this->success []= $elem79;
}
$xfer += $input->readListEnd();
} else {
@@ -23069,9 +22699,9 @@ class Airavata_searchExperimentsByStatus_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter89)
+ foreach ($this->success as $iter80)
{
- $xfer += $iter89->write($output);
+ $xfer += $iter80->write($output);
}
}
$output->writeListEnd();
@@ -23422,15 +23052,15 @@ class Airavata_searchExperimentsByCreationTime_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size90 = 0;
- $_etype93 = 0;
- $xfer += $input->readListBegin($_etype93, $_size90);
- for ($_i94 = 0; $_i94 < $_size90; ++$_i94)
+ $_size81 = 0;
+ $_etype84 = 0;
+ $xfer += $input->readListBegin($_etype84, $_size81);
+ for ($_i85 = 0; $_i85 < $_size81; ++$_i85)
{
- $elem95 = null;
- $elem95 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem95->read($input);
- $this->success []= $elem95;
+ $elem86 = null;
+ $elem86 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem86->read($input);
+ $this->success []= $elem86;
}
$xfer += $input->readListEnd();
} else {
@@ -23490,9 +23120,9 @@ class Airavata_searchExperimentsByCreationTime_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter96)
+ foreach ($this->success as $iter87)
{
- $xfer += $iter96->write($output);
+ $xfer += $iter87->write($output);
}
}
$output->writeListEnd();
@@ -23658,17 +23288,17 @@ class Airavata_searchExperiments_args {
case 4:
if ($ftype == TType::MAP) {
$this->filters = array();
- $_size97 = 0;
- $_ktype98 = 0;
- $_vtype99 = 0;
- $xfer += $input->readMapBegin($_ktype98, $_vtype99, $_size97);
- for ($_i101 = 0; $_i101 < $_size97; ++$_i101)
+ $_size88 = 0;
+ $_ktype89 = 0;
+ $_vtype90 = 0;
+ $xfer += $input->readMapBegin($_ktype89, $_vtype90, $_size88);
+ for ($_i92 = 0; $_i92 < $_size88; ++$_i92)
{
- $key102 = 0;
- $val103 = '';
- $xfer += $input->readI32($key102);
- $xfer += $input->readString($val103);
- $this->filters[$key102] = $val103;
+ $key93 = 0;
+ $val94 = '';
+ $xfer += $input->readI32($key93);
+ $xfer += $input->readString($val94);
+ $this->filters[$key93] = $val94;
}
$xfer += $input->readMapEnd();
} else {
@@ -23728,10 +23358,10 @@ class Airavata_searchExperiments_args {
{
$output->writeMapBegin(TType::I32, TType::STRING, count($this->filters));
{
- foreach ($this->filters as $kiter104 => $viter105)
+ foreach ($this->filters as $kiter95 => $viter96)
{
- $xfer += $output->writeI32($kiter104);
- $xfer += $output->writeString($viter105);
+ $xfer += $output->writeI32($kiter95);
+ $xfer += $output->writeString($viter96);
}
}
$output->writeMapEnd();
@@ -23854,15 +23484,15 @@ class Airavata_searchExperiments_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size106 = 0;
- $_etype109 = 0;
- $xfer += $input->readListBegin($_etype109, $_size106);
- for ($_i110 = 0; $_i110 < $_size106; ++$_i110)
+ $_size97 = 0;
+ $_etype100 = 0;
+ $xfer += $input->readListBegin($_etype100, $_size97);
+ for ($_i101 = 0; $_i101 < $_size97; ++$_i101)
{
- $elem111 = null;
- $elem111 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem111->read($input);
- $this->success []= $elem111;
+ $elem102 = null;
+ $elem102 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem102->read($input);
+ $this->success []= $elem102;
}
$xfer += $input->readListEnd();
} else {
@@ -23922,9 +23552,9 @@ class Airavata_searchExperiments_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter112)
+ foreach ($this->success as $iter103)
{
- $xfer += $iter112->write($output);
+ $xfer += $iter103->write($output);
}
}
$output->writeListEnd();
@@ -24547,15 +24177,15 @@ class Airavata_getExperimentsInProject_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size113 = 0;
- $_etype116 = 0;
- $xfer += $input->readListBegin($_etype116, $_size113);
- for ($_i117 = 0; $_i117 < $_size113; ++$_i117)
+ $_size104 = 0;
+ $_etype107 = 0;
+ $xfer += $input->readListBegin($_etype107, $_size104);
+ for ($_i108 = 0; $_i108 < $_size104; ++$_i108)
{
- $elem118 = null;
- $elem118 = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $elem118->read($input);
- $this->success []= $elem118;
+ $elem109 = null;
+ $elem109 = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $elem109->read($input);
+ $this->success []= $elem109;
}
$xfer += $input->readListEnd();
} else {
@@ -24623,9 +24253,9 @@ class Airavata_getExperimentsInProject_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter119)
+ foreach ($this->success as $iter110)
{
- $xfer += $iter119->write($output);
+ $xfer += $iter110->write($output);
}
}
$output->writeListEnd();
@@ -24935,15 +24565,15 @@ class Airavata_getUserExperiments_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size120 = 0;
- $_etype123 = 0;
- $xfer += $input->readListBegin($_etype123, $_size120);
- for ($_i124 = 0; $_i124 < $_size120; ++$_i124)
+ $_size111 = 0;
+ $_etype114 = 0;
+ $xfer += $input->readListBegin($_etype114, $_size111);
+ for ($_i115 = 0; $_i115 < $_size111; ++$_i115)
{
- $elem125 = null;
- $elem125 = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $elem125->read($input);
- $this->success []= $elem125;
+ $elem116 = null;
+ $elem116 = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $elem116->read($input);
+ $this->success []= $elem116;
}
$xfer += $input->readListEnd();
} else {
@@ -25003,9 +24633,9 @@ class Airavata_getUserExperiments_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter126)
+ foreach ($this->success as $iter117)
{
- $xfer += $iter126->write($output);
+ $xfer += $iter117->write($output);
}
}
$output->writeListEnd();
@@ -28091,15 +27721,15 @@ class Airavata_getExperimentOutputs_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size127 = 0;
- $_etype130 = 0;
- $xfer += $input->readListBegin($_etype130, $_size127);
- for ($_i131 = 0; $_i131 < $_size127; ++$_i131)
+ $_size118 = 0;
+ $_etype121 = 0;
+ $xfer += $input->readListBegin($_etype121, $_size118);
+ for ($_i122 = 0; $_i122 < $_size118; ++$_i122)
{
- $elem132 = null;
- $elem132 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem132->read($input);
- $this->success []= $elem132;
+ $elem123 = null;
+ $elem123 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $xfer += $elem123->read($input);
+ $this->success []= $elem123;
}
$xfer += $input->readListEnd();
} else {
@@ -28167,9 +27797,9 @@ class Airavata_getExperimentOutputs_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter133)
+ foreach ($this->success as $iter124)
{
- $xfer += $iter133->write($output);
+ $xfer += $iter124->write($output);
}
}
$output->writeListEnd();
@@ -28422,15 +28052,15 @@ class Airavata_getIntermediateOutputs_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size134 = 0;
- $_etype137 = 0;
- $xfer += $input->readListBegin($_etype137, $_size134);
- for ($_i138 = 0; $_i138 < $_size134; ++$_i138)
+ $_size125 = 0;
+ $_etype128 = 0;
+ $xfer += $input->readListBegin($_etype128, $_size125);
+ for ($_i129 = 0; $_i129 < $_size125; ++$_i129)
{
- $elem139 = null;
- $elem139 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem139->read($input);
- $this->success []= $elem139;
+ $elem130 = null;
+ $elem130 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $xfer += $elem130->read($input);
+ $this->success []= $elem130;
}
$xfer += $input->readListEnd();
} else {
@@ -28498,9 +28128,9 @@ class Airavata_getIntermediateOutputs_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter140)
+ foreach ($this->success as $iter131)
{
- $xfer += $iter140->write($output);
+ $xfer += $iter131->write($output);
}
}
$output->writeListEnd();
@@ -28757,18 +28387,18 @@ class Airavata_getJobStatuses_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size141 = 0;
- $_ktype142 = 0;
- $_vtype143 = 0;
- $xfer += $input->readMapBegin($_ktype142, $_vtype143, $_size141);
- for ($_i145 = 0; $_i145 < $_size141; ++$_i145)
+ $_size132 = 0;
+ $_ktype133 = 0;
+ $_vtype134 = 0;
+ $xfer += $input->readMapBegin($_ktype133, $_vtype134, $_size132);
+ for ($_i136 = 0; $_i136 < $_size132; ++$_i136)
{
- $key146 = '';
- $val147 = new \Airavata\Model\Status\JobStatus();
- $xfer += $input->readString($key146);
- $val147 = new \Airavata\Model\Status\JobStatus();
- $xfer += $val147->read($input);
- $this->success[$key146] = $val147;
+ $key137 = '';
+ $val138 = new \Airavata\Model\Status\JobStatus();
+ $xfer += $input->readString($key137);
+ $val138 = new \Airavata\Model\Status\JobStatus();
+ $xfer += $val138->read($input);
+ $this->success[$key137] = $val138;
}
$xfer += $input->readMapEnd();
} else {
@@ -28836,10 +28466,10 @@ class Airavata_getJobStatuses_result {
{
$output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success));
{
- foreach ($this->success as $kiter148 => $viter149)
+ foreach ($this->success as $kiter139 => $viter140)
{
- $xfer += $output->writeString($kiter148);
- $xfer += $viter149->write($output);
+ $xfer += $output->writeString($kiter139);
+ $xfer += $viter140->write($output);
}
}
$output->writeMapEnd();
@@ -29092,15 +28722,15 @@ class Airavata_getJobDetails_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size150 = 0;
- $_etype153 = 0;
- $xfer += $input->readListBegin($_etype153, $_size150);
- for ($_i154 = 0; $_i154 < $_size150; ++$_i154)
+ $_size141 = 0;
+ $_etype144 = 0;
+ $xfer += $input->readListBegin($_etype144, $_size141);
+ for ($_i145 = 0; $_i145 < $_size141; ++$_i145)
{
- $elem155 = null;
- $elem155 = new \Airavata\Model\Job\JobModel();
- $xfer += $elem155->read($input);
- $this->success []= $elem155;
+ $elem146 = null;
+ $elem146 = new \Airavata\Model\Job\JobModel();
+ $xfer += $elem146->read($input);
+ $this->success []= $elem146;
}
$xfer += $input->readListEnd();
} else {
@@ -29168,9 +28798,9 @@ class Airavata_getJobDetails_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter156)
+ foreach ($this->success as $iter147)
{
- $xfer += $iter156->write($output);
+ $xfer += $iter147->write($output);
}
}
$output->writeListEnd();
@@ -30935,15 +30565,15 @@ class Airavata_getAllAppModules_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size157 = 0;
- $_etype160 = 0;
- $xfer += $input->readListBegin($_etype160, $_size157);
- for ($_i161 = 0; $_i161 < $_size157; ++$_i161)
+ $_size148 = 0;
+ $_etype151 = 0;
+ $xfer += $input->readListBegin($_etype151, $_size148);
+ for ($_i152 = 0; $_i152 < $_size148; ++$_i152)
{
- $elem162 = null;
- $elem162 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $elem162->read($input);
- $this->success []= $elem162;
+ $elem153 = null;
+ $elem153 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $elem153->read($input);
+ $this->success []= $elem153;
}
$xfer += $input->readListEnd();
} else {
@@ -31003,9 +30633,9 @@ class Airavata_getAllAppModules_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter163)
+ foreach ($this->success as $iter154)
{
- $xfer += $iter163->write($output);
+ $xfer += $iter154->write($output);
}
}
$output->writeListEnd();
@@ -32692,15 +32322,15 @@ class Airavata_getAllApplicationDeployments_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size164 = 0;
- $_etype167 = 0;
- $xfer += $input->readListBegin($_etype167, $_size164);
- for ($_i168 = 0; $_i168 < $_size164; ++$_i168)
+ $_size155 = 0;
+ $_etype158 = 0;
+ $xfer += $input->readListBegin($_etype158, $_size155);
+ for ($_i159 = 0; $_i159 < $_size155; ++$_i159)
{
- $elem169 = null;
- $elem169 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $elem169->read($input);
- $this->success []= $elem169;
+ $elem160 = null;
+ $elem160 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $elem160->read($input);
+ $this->success []= $elem160;
}
$xfer += $input->readListEnd();
} else {
@@ -32760,9 +32390,9 @@ class Airavata_getAllApplicationDeployments_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter170)
+ foreach ($this->success as $iter161)
{
- $xfer += $iter170->write($output);
+ $xfer += $iter161->write($output);
}
}
$output->writeListEnd();
@@ -32997,14 +32627,14 @@ class Airavata_getAppModuleDeployedResources_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size171 = 0;
- $_etype174 = 0;
- $xfer += $input->readListBegin($_etype174, $_size171);
- for ($_i175 = 0; $_i175 < $_size171; ++$_i175)
+ $_size162 = 0;
+ $_etype165 = 0;
+ $xfer += $input->readListBegin($_etype165, $_size162);
+ for ($_i166 = 0; $_i166 < $_size162; ++$_i166)
{
- $elem176 = null;
- $xfer += $input->readString($elem176);
- $this->success []= $elem176;
+ $elem167 = null;
+ $xfer += $input->readString($elem167);
+ $this->success []= $elem167;
}
$xfer += $input->readListEnd();
} else {
@@ -33064,9 +32694,9 @@ class Airavata_getAppModuleDeployedResources_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter177)
+ foreach ($this->success as $iter168)
{
- $xfer += $output->writeString($iter177);
+ $xfer += $output->writeString($iter168);
}
}
$output->writeListEnd();
@@ -34802,17 +34432,17 @@ class Airavata_getAllApplicationInterfaceNames_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size178 = 0;
- $_ktype179 = 0;
- $_vtype180 = 0;
- $xfer += $input->readMapBegin($_ktype179, $_vtype180, $_size178);
- for ($_i182 = 0; $_i182 < $_size178; ++$_i182)
+ $_size169 = 0;
+ $_ktype170 = 0;
+ $_vtype171 = 0;
+ $xfer += $input->readMapBegin($_ktype170, $_vtype171, $_size169);
+ for ($_i173 = 0; $_i173 < $_size169; ++$_i173)
{
- $key183 = '';
- $val184 = '';
- $xfer += $input->readString($key183);
- $xfer += $input->readString($val184);
- $this->success[$key183] = $val184;
+ $key174 = '';
+ $val175 = '';
+ $xfer += $input->readString($key174);
+ $xfer += $input->readString($val175);
+ $this->success[$key174] = $val175;
}
$xfer += $input->readMapEnd();
} else {
@@ -34872,10 +34502,10 @@ class Airavata_getAllApplicationInterfaceNames_result {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter185 => $viter186)
+ foreach ($this->success as $kiter176 => $viter177)
{
- $xfer += $output->writeString($kiter185);
- $xfer += $output->writeString($viter186);
+ $xfer += $output->writeString($kiter176);
+ $xfer += $output->writeString($viter177);
}
}
$output->writeMapEnd();
@@ -35111,15 +34741,15 @@ class Airavata_getAllApplicationInterfaces_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size187 = 0;
- $_etype190 = 0;
- $xfer += $input->readListBegin($_etype190, $_size187);
- for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
+ $_size178 = 0;
+ $_etype181 = 0;
+ $xfer += $input->readListBegin($_etype181, $_size178);
+ for ($_i182 = 0; $_i182 < $_size178; ++$_i182)
{
- $elem192 = null;
- $elem192 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $elem192->read($input);
- $this->success []= $elem192;
+ $elem183 = null;
+ $elem183 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $elem183->read($input);
+ $this->success []= $elem183;
}
$xfer += $input->readListEnd();
} else {
@@ -35179,9 +34809,9 @@ class Airavata_getAllApplicationInterfaces_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter193)
+ foreach ($this->success as $iter184)
{
- $xfer += $iter193->write($output);
+ $xfer += $iter184->write($output);
}
}
$output->writeListEnd();
@@ -35417,15 +35047,15 @@ class Airavata_getApplicationInputs_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size194 = 0;
- $_etype197 = 0;
- $xfer += $input->readListBegin($_etype197, $_size194);
- for ($_i198 = 0; $_i198 < $_size194; ++$_i198)
+ $_size185 = 0;
+ $_etype188 = 0;
+ $xfer += $input->readListBegin($_etype188, $_size185);
+ for ($_i189 = 0; $_i189 < $_size185; ++$_i189)
{
- $elem199 = null;
- $elem199 = new \Airavata\Model\Application\Io\InputDataObjectType();
- $xfer += $elem199->read($input);
- $this->success []= $elem199;
+ $elem190 = null;
+ $elem190 = new \Airavata\Model\Application\Io\InputDataObjectType();
+ $xfer += $elem190->read($input);
+ $this->success []= $elem190;
}
$xfer += $input->readListEnd();
} else {
@@ -35485,9 +35115,9 @@ class Airavata_getApplicationInputs_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter200)
+ foreach ($this->success as $iter191)
{
- $xfer += $iter200->write($output);
+ $xfer += $iter191->write($output);
}
}
$output->writeListEnd();
@@ -35723,15 +35353,15 @@ class Airavata_getApplicationOutputs_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size201 = 0;
- $_etype204 = 0;
- $xfer += $input->readListBegin($_etype204, $_size201);
- for ($_i205 = 0; $_i205 < $_size201; ++$_i205)
+ $_size192 = 0;
+ $_etype195 = 0;
+ $xfer += $input->readListBegin($_etype195, $_size192);
+ for ($_i196 = 0; $_i196 < $_size192; ++$_i196)
{
- $elem206 = null;
- $elem206 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem206->read($input);
- $this->success []= $elem206;
+ $elem197 = null;
+ $elem197 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $xfer += $elem197->read($input);
+ $this->success []= $elem197;
}
$xfer += $input->readListEnd();
} else {
@@ -35791,9 +35421,9 @@ class Airavata_getApplicationOutputs_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter207)
+ foreach ($this->success as $iter198)
{
- $xfer += $iter207->write($output);
+ $xfer += $iter198->write($output);
}
}
$output->writeListEnd();
@@ -36032,17 +35662,17 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size208 = 0;
- $_ktype209 = 0;
- $_vtype210 = 0;
- $xfer += $input->readMapBegin($_ktype209, $_vtype210, $_size208);
- for ($_i212 = 0; $_i212 < $_size208; ++$_i212)
+ $_size199 = 0;
+ $_ktype200 = 0;
+ $_vtype201 = 0;
+ $xfer += $input->readMapBegin($_ktype200, $_vtype201, $_size199);
+ for ($_i203 = 0; $_i203 < $_size199; ++$_i203)
{
- $key213 = '';
- $val214 = '';
- $xfer += $input->readString($key213);
- $xfer += $input->readString($val214);
- $this->success[$key213] = $val214;
+ $key204 = '';
+ $val205 = '';
+ $xfer += $input->readString($key204);
+ $xfer += $input->readString($val205);
+ $this->success[$key204] = $val205;
}
$xfer += $input->readMapEnd();
} else {
@@ -36102,10 +35732,10 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter215 => $viter216)
+ foreach ($this->success as $kiter206 => $viter207)
{
- $xfer += $output->writeString($kiter215);
- $xfer += $output->writeString($viter216);
+ $xfer += $output->writeString($kiter206);
+ $xfer += $output->writeString($viter207);
}
}
$output->writeMapEnd();
@@ -36887,17 +36517,17 @@ class Airavata_getAllComputeResourceNames_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size217 = 0;
- $_ktype218 = 0;
- $_vtype219 = 0;
- $xfer += $input->readMapBegin($_ktype218, $_vtype219, $_size217);
- for ($_i221 = 0; $_i221 < $_size217; ++$_i221)
+ $_size208 = 0;
+ $_ktype209 = 0;
+ $_vtype210 = 0;
+ $xfer += $input->readMapBegin($_ktype209, $_vtype210, $_size208);
+ for ($_i212 = 0; $_i212 < $_size208; ++$_i212)
{
- $key222 = '';
- $val223 = '';
- $xfer += $input->readString($key222);
- $xfer += $input->readString($val223);
- $this->success[$key222] = $val223;
+ $key213 = '';
+ $val214 = '';
+ $xfer += $input->readString($key213);
+ $xfer += $input->readString($val214);
+ $this->success[$key213] = $val214;
}
$xfer += $input->readMapEnd();
} else {
@@ -36957,10 +36587,10 @@ class Airavata_getAllComputeResourceNames_result {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter224 => $viter225)
+ foreach ($this->success as $kiter215 => $viter216)
{
- $xfer += $output->writeString($kiter224);
- $xfer += $output->writeString($viter225);
+ $xfer += $output->writeString($kiter215);
+ $xfer += $output->writeString($viter216);
}
}
$output->writeMapEnd();
@@ -38326,17 +37956,17 @@ class Airavata_getAllStorageResourceNames_result {
case 0:
if ($ftype == TType::MAP) {
$this->success = array();
- $_size226 = 0;
- $_ktype227 = 0;
- $_vtype228 = 0;
- $xfer += $input->readMapBegin($_ktype227, $_vtype228, $_size226);
- for ($_i230 = 0; $_i230 < $_size226; ++$_i230)
+ $_size217 = 0;
+ $_ktype218 = 0;
+ $_vtype219 = 0;
+ $xfer += $input->readMapBegin($_ktype218, $_vtype219, $_size217);
+ for ($_i221 = 0; $_i221 < $_size217; ++$_i221)
{
- $key231 = '';
- $val232 = '';
- $xfer += $input->readString($key231);
- $xfer += $input->readString($val232);
- $this->success[$key231] = $val232;
+ $key222 = '';
+ $val223 = '';
+ $xfer += $input->readString($key222);
+ $xfer += $input->readString($val223);
+ $this->success[$key222] = $val223;
}
$xfer += $input->readMapEnd();
} else {
@@ -38396,10 +38026,10 @@ class Airavata_getAllStorageResourceNames_result {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter233 => $viter234)
+ foreach ($this->success as $kiter224 => $viter225)
{
- $xfer += $output->writeString($kiter233);
- $xfer += $output->writeString($viter234);
+ $xfer += $output->writeString($kiter224);
+ $xfer += $output->writeString($viter225);
}
}
$output->writeMapEnd();
@@ -47458,17 +47088,17 @@ class Airavata_changeJobSubmissionPriorities_args {
case 2:
if ($ftype == TType::MAP) {
$this->jobSubmissionPriorityMap = array();
- $_size235 = 0;
- $_ktype236 = 0;
- $_vtype237 = 0;
- $xfer += $input->readMapBegin($_ktype236, $_vtype237, $_size235);
- for ($_i239 = 0; $_i239 < $_size235; ++$_i239)
+ $_size226 = 0;
+ $_ktype227 = 0;
+ $_vtype228 = 0;
+ $xfer += $input->readMapBegin($_ktype227, $_vtype228, $_size226);
+ for ($_i230 = 0; $_i230 < $_size226; ++$_i230)
{
- $key240 = '';
- $val241 = 0;
- $xfer += $input->readString($key240);
- $xfer += $input->readI32($val241);
- $this->jobSubmissionPriorityMap[$key240] = $val241;
+ $key231 = '';
+ $val232 = 0;
+ $xfer += $input->readString($key231);
+ $xfer += $input->readI32($val232);
+ $this->jobSubmissionPriorityMap[$key231] = $val232;
}
$xfer += $input->readMapEnd();
} else {
@@ -47504,10 +47134,10 @@ class Airavata_changeJobSubmissionPriorities_args {
{
$output->writeMapBegin(TType::STRING, TType::I32, count($this->jobSubmissionPriorityMap));
{
- foreach ($this->jobSubmissionPriorityMap as $kiter242 => $viter243)
+ foreach ($this->jobSubmissionPriorityMap as $kiter233 => $viter234)
{
- $xfer += $output->writeString($kiter242);
- $xfer += $output->writeI32($viter243);
+ $xfer += $output->writeString($kiter233);
+ $xfer += $output->writeI32($viter234);
}
}
$output->writeMapEnd();
@@ -47770,17 +47400,17 @@ class Airavata_changeDataMovementPriorities_args {
case 2:
if ($ftype == TType::MAP) {
$this->dataMovementPriorityMap = array();
- $_size244 = 0;
- $_ktype245 = 0;
- $_vtype246 = 0;
- $xfer += $input->readMapBegin($_ktype245, $_vtype246, $_size244);
- for ($_i248 = 0; $_i248 < $_size244; ++$_i248)
+ $_size235 = 0;
+ $_ktype236 = 0;
+ $_vtype237 = 0;
+ $xfer += $input->readMapBegin($_ktype236, $_vtype237, $_size235);
+ for ($_i239 = 0; $_i239 < $_size235; ++$_i239)
{
- $key249 = '';
- $val250 = 0;
- $xfer += $input->readString($key249);
- $xfer += $input->readI32($val250);
- $this->dataMovementPriorityMap[$key249] = $val250;
+ $key240 = '';
+ $val241 = 0;
+ $xfer += $input->readString($key240);
+ $xfer += $input->readI32($val241);
+ $this->dataMovementPriorityMap[$key240] = $val241;
}
$xfer += $input->readMapEnd();
} else {
@@ -47816,10 +47446,10 @@ class Airavata_changeDataMovementPriorities_args {
{
$output->writeMapBegin(TType::STRING, TType::I32, count($this->dataMovementPriorityMap));
{
- foreach ($this->dataMovementPriorityMap as $kiter251 => $viter252)
+ foreach ($this->dataMovementPriorityMap as $kiter242 => $viter243)
{
- $xfer += $output->writeString($kiter251);
- $xfer += $output->writeI32($viter252);
+ $xfer += $output->writeString($kiter242);
+ $xfer += $output->writeI32($viter243);
}
}
$output->writeMapEnd();
@@ -52706,15 +52336,15 @@ class Airavata_getAllGatewayComputeResourcePreferences_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size253 = 0;
- $_etype256 = 0;
- $xfer += $input->readListBegin($_etype256, $_size253);
- for ($_i257 = 0; $_i257 < $_size253; ++$_i257)
+ $_size244 = 0;
+ $_etype247 = 0;
+ $xfer += $input->readListBegin($_etype247, $_size244);
+ for ($_i248 = 0; $_i248 < $_size244; ++$_i248)
{
- $elem258 = null;
- $elem258 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference();
- $xfer += $elem258->read($input);
- $this->success []= $elem258;
+ $elem249 = null;
+ $elem249 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference();
+ $xfer += $elem249->read($input);
+ $this->success []= $elem249;
}
$xfer += $input->readListEnd();
} else {
@@ -52774,9 +52404,9 @@ class Airavata_getAllGatewayComputeResourcePreferences_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter259)
+ foreach ($this->success as $iter250)
{
- $xfer += $iter259->write($output);
+ $xfer += $iter250->write($output);
}
}
$output->writeListEnd();
@@ -53012,15 +52642,15 @@ class Airavata_getAllGatewayStoragePreferences_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size260 = 0;
- $_etype263 = 0;
- $xfer += $input->readListBegin($_etype263, $_size260);
- for ($_i264 = 0; $_i264 < $_size260; ++$_i264)
+ $_size251 = 0;
+ $_etype254 = 0;
+ $xfer += $input->readListBegin($_etype254, $_size251);
+ for ($_i255 = 0; $_i255 < $_size251; ++$_i255)
{
- $elem265 = null;
- $elem265 = new \Airavata\Model\AppCatalog\GatewayProfile\StoragePreference();
- $xfer += $elem265->read($input);
- $this->success []= $elem265;
+ $elem256 = null;
+ $elem256 = new \Airavata\Model\AppCatalog\GatewayProfile\StoragePreference();
+ $xfer += $elem256->read($input);
+ $this->success []= $elem256;
}
$xfer += $input->readListEnd();
} else {
@@ -53080,9 +52710,9 @@ class Airavata_getAllGatewayStoragePreferences_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter266)
+ foreach ($this->success as $iter257)
{
- $xfer += $iter266->write($output);
+ $xfer += $iter257->write($output);
}
}
$output->writeListEnd();
@@ -53295,15 +52925,15 @@ class Airavata_getAllGatewayResourceProfiles_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size267 = 0;
- $_etype270 = 0;
- $xfer += $input->readListBegin($_etype270, $_size267);
- for ($_i271 = 0; $_i271 < $_size267; ++$_i271)
+ $_size258 = 0;
+ $_etype261 = 0;
+ $xfer += $input->readListBegin($_etype261, $_size258);
+ for ($_i262 = 0; $_i262 < $_size258; ++$_i262)
{
- $elem272 = null;
- $elem272 = new \Airavata\Model\AppCatalog\GatewayProfile\GatewayResourceProfile();
- $xfer += $elem272->read($input);
- $this->success []= $elem272;
+ $elem263 = null;
+ $elem263 = new \Airavata\Model\AppCatalog\GatewayProfile\GatewayResourceProfile();
+ $xfer += $elem263->read($input);
+ $this->success []= $elem263;
}
$xfer += $input->readListEnd();
} else {
@@ -53363,9 +52993,9 @@ class Airavata_getAllGatewayResourceProfiles_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter273)
+ foreach ($this->success as $iter264)
{
- $xfer += $iter273->write($output);
+ $xfer += $iter264->write($output);
}
}
$output->writeListEnd();
@@ -54860,14 +54490,14 @@ class Airavata_getAllWorkflows_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size274 = 0;
- $_etype277 = 0;
- $xfer += $input->readListBegin($_etype277, $_size274);
- for ($_i278 = 0; $_i278 < $_size274; ++$_i278)
+ $_size265 = 0;
+ $_etype268 = 0;
+ $xfer += $input->readListBegin($_etype268, $_size265);
+ for ($_i269 = 0; $_i269 < $_size265; ++$_i269)
{
- $elem279 = null;
- $xfer += $input->readString($elem279);
- $this->success []= $elem279;
+ $elem270 = null;
+ $xfer += $input->readString($elem270);
+ $this->success []= $elem270;
}
$xfer += $input->readListEnd();
} else {
@@ -54927,9 +54557,9 @@ class Airavata_getAllWorkflows_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter280)
+ foreach ($this->success as $iter271)
{
- $xfer += $output->writeString($iter280);
+ $xfer += $output->writeString($iter271);
}
}
$output->writeListEnd();
@@ -57980,15 +57610,15 @@ class Airavata_getChildDataProducts_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size281 = 0;
- $_etype284 = 0;
- $xfer += $input->readListBegin($_etype284, $_size281);
- for ($_i285 = 0; $_i285 < $_size281; ++$_i285)
+ $_size272 = 0;
+ $_etype275 = 0;
+ $xfer += $input->readListBegin($_etype275, $_size272);
+ for ($_i276 = 0; $_i276 < $_size272; ++$_i276)
{
- $elem286 = null;
- $elem286 = new \Airavata\Model\Data\Replica\DataProductModel();
- $xfer += $elem286->read($input);
- $this->success []= $elem286;
+ $elem277 = null;
+ $elem277 = new \Airavata\Model\Data\Replica\DataProductModel();
+ $xfer += $elem277->read($input);
+ $this->success []= $elem277;
}
$xfer += $input->readListEnd();
} else {
@@ -58048,9 +57678,9 @@ class Airavata_getChildDataProducts_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter287)
+ foreach ($this->success as $iter278)
{
- $xfer += $iter287->write($output);
+ $xfer += $iter278->write($output);
}
}
$output->writeListEnd();
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
index dc3d0ef..4c38042 100755
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
@@ -40,7 +40,6 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
print(' string generateAndRegisterSSHKeys(AuthzToken authzToken, string gatewayId, string userName)')
print(' string registerPwdCredential(AuthzToken authzToken, string gatewayId, string portalUserName, string loginUserName, string password)')
print(' string getSSHPubKey(AuthzToken authzToken, string airavataCredStoreToken, string gatewayId)')
- print(' getAllUserSSHPubKeys(AuthzToken authzToken, string userName)')
print(' getAllGatewaySSHPubKeys(AuthzToken authzToken, string gatewayId)')
print(' getAllGatewayPWDCredentials(AuthzToken authzToken, string gatewayId)')
print(' bool deleteSSHPubKey(AuthzToken authzToken, string airavataCredStoreToken, string gatewayId)')
@@ -323,12 +322,6 @@ elif cmd == 'getSSHPubKey':
sys.exit(1)
pp.pprint(client.getSSHPubKey(eval(args[0]),args[1],args[2],))
-elif cmd == 'getAllUserSSHPubKeys':
- if len(args) != 2:
- print('getAllUserSSHPubKeys requires 2 args')
- sys.exit(1)
- pp.pprint(client.getAllUserSSHPubKeys(eval(args[0]),args[1],))
-
elif cmd == 'getAllGatewaySSHPubKeys':
if len(args) != 2:
print('getAllGatewaySSHPubKeys requires 2 args')
[5/5] airavata git commit: removing get all user SSH keys
Posted by sc...@apache.org.
removing get all user SSH keys
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/e1013926
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/e1013926
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/e1013926
Branch: refs/heads/develop
Commit: e1013926ad3e8ff261029a10ee7584333c9ac54a
Parents: 00b1630
Author: scnakandala <su...@gmail.com>
Authored: Mon May 2 16:57:00 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon May 2 16:57:00 2016 -0400
----------------------------------------------------------------------
.../server/handler/AiravataServerHandler.java | 42 +-
.../java/org/apache/airavata/api/Airavata.java | 12062 ++++++++---------
.../main/resources/lib/airavata/Airavata.cpp | 2380 ++--
.../src/main/resources/lib/airavata/Airavata.h | 168 -
.../lib/airavata/Airavata_server.skeleton.cpp | 22 -
.../resources/lib/Airavata/API/Airavata.php | 1116 +-
.../lib/apache/airavata/api/Airavata-remote | 7 -
.../lib/apache/airavata/api/Airavata.py | 809 +-
.../airavata-apis/airavata_api.thrift | 20 -
9 files changed, 6915 insertions(+), 9711 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index b965858..a98e538 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -289,6 +289,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* @param notification
*/
@Override
+ @SecurityCheck
public String createNotification(AuthzToken authzToken, Notification notification) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -304,6 +305,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean updateNotification(AuthzToken authzToken, Notification notification) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -320,6 +322,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean deleteNotification(AuthzToken authzToken, String gatewayId, String notificationId) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -336,6 +339,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public Notification getNotification(AuthzToken authzToken, String gatewayId, String notificationId) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -351,6 +355,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public List<Notification> getAllNotifications(AuthzToken authzToken, String gatewayId) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -419,6 +424,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* belonging to a Gateway.
*/
@Override
+ @SecurityCheck
public String registerPwdCredential(AuthzToken authzToken, String gatewayId, String portalUserName, String loginUserName, String password) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
try {
if (csClient == null){
@@ -460,25 +466,9 @@ public class AiravataServerHandler implements Airavata.Iface {
}
}
- @Override
- @SecurityCheck
- public Map<String, String> getAllUserSSHPubKeys(AuthzToken authzToken, String userName) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
- try {
- if (csClient == null){
- csClient = getCredentialStoreServiceClient();
- }
- logger.debug("Airavata retrieved all SSH pub keys for user name : " + userName);
- return csClient.getAllSSHKeysForUser(userName);
- }catch (Exception e){
- logger.error("Error occurred while retrieving SSH public keys for user : " + userName , e);
- AiravataSystemException exception = new AiravataSystemException();
- exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
- exception.setMessage("Error occurred while retrieving SSH public keys for user : " + userName + ". More info : " + e.getMessage());
- throw exception;
- }
- }
@Override
+ @SecurityCheck
public Map<String, String> getAllGatewaySSHPubKeys(AuthzToken authzToken, String gatewayId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
try {
if (csClient == null){
@@ -497,6 +487,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public Map<String, String> getAllGatewayPWDCredentials(AuthzToken authzToken, String gatewayId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
try {
if (csClient == null){
@@ -515,6 +506,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean deleteSSHPubKey(AuthzToken authzToken, String airavataCredStoreToken, String gatewayId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
try {
if (csClient == null){
@@ -532,6 +524,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean deletePWDCredential(AuthzToken authzToken, String airavataCredStoreToken, String gatewayId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, TException {
try {
if (csClient == null){
@@ -584,6 +577,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
}
+ @Override
@SecurityCheck
public void updateProject(AuthzToken authzToken, String projectId, Project updatedProject) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, ProjectNotFoundException, AuthorizationException, TException {
@@ -1483,6 +1477,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* @throws TException
*/
@Override
+ @SecurityCheck
public boolean deleteExperiment(AuthzToken authzToken, String experimentId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
experimentCatalog = RegistryFactory.getDefaultExpCatalog();
@@ -2523,6 +2518,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public String cloneApplicationInterface(AuthzToken authzToken, String existingAppInterfaceID, String newApplicationName, String gatewayId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
if (!isGatewayExistInternal(gatewayId)){
logger.error("Gateway does not exist.Please provide a valid gateway id...");
@@ -2922,6 +2918,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* Returns a server-side generated airavata storage resource globally unique identifier.
*/
@Override
+ @SecurityCheck
public String registerStorageResource(AuthzToken authzToken, StorageResourceDescription storageResourceDescription) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
appCatalog = RegistryFactory.getAppCatalog();
@@ -2946,6 +2943,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* Storage Resource Object created from the datamodel..
*/
@Override
+ @SecurityCheck
public StorageResourceDescription getStorageResource(AuthzToken authzToken, String storageResourceId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
appCatalog = RegistryFactory.getAppCatalog();
@@ -2969,6 +2967,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* Compute Resource Object created from the datamodel..
*/
@Override
+ @SecurityCheck
public Map<String, String> getAllStorageResourceNames(AuthzToken authzToken) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
appCatalog = RegistryFactory.getAppCatalog();
@@ -2994,6 +2993,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* Returns a success/failure of the update.
*/
@Override
+ @SecurityCheck
public boolean updateStorageResource(AuthzToken authzToken, String storageResourceId, StorageResourceDescription storageResourceDescription) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
appCatalog = RegistryFactory.getAppCatalog();
@@ -3018,6 +3018,7 @@ public class AiravataServerHandler implements Airavata.Iface {
* Returns a success/failure of the deletion.
*/
@Override
+ @SecurityCheck
public boolean deleteStorageResource(AuthzToken authzToken, String storageResourceId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
appCatalog = RegistryFactory.getAppCatalog();
@@ -4035,6 +4036,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean addGatewayStoragePreference(AuthzToken authzToken, String gatewayID, String storageResourceId, StoragePreference dataStoragePreference) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
if (!isGatewayExistInternal(gatewayID)){
@@ -4109,6 +4111,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public StoragePreference getGatewayStoragePreference(AuthzToken authzToken, String gatewayID, String storageId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
if (!isGatewayExistInternal(gatewayID)){
@@ -4166,6 +4169,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public List<StoragePreference> getAllGatewayStoragePreferences(AuthzToken authzToken, String gatewayID) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
if (!isGatewayExistInternal(gatewayID)){
@@ -4248,6 +4252,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean updateGatewayStoragePreference(AuthzToken authzToken, String gatewayID, String storageId, StoragePreference dataStoragePreference) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
if (!isGatewayExistInternal(gatewayID)){
@@ -4312,6 +4317,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public boolean deleteGatewayStoragePreference(AuthzToken authzToken, String gatewayID, String storageId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
if (!isGatewayExistInternal(gatewayID)){
@@ -4513,6 +4519,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public DataProductModel getParentDataProduct(AuthzToken authzToken, String productUri) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
@@ -4529,6 +4536,7 @@ public class AiravataServerHandler implements Airavata.Iface {
}
@Override
+ @SecurityCheck
public List<DataProductModel> getChildDataProducts(AuthzToken authzToken, String productUri) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, AuthorizationException, TException {
try {
[4/5] airavata git commit: removing get all user SSH keys
Posted by sc...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
index d395425..b638076 100644
--- a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
@@ -263,25 +263,6 @@ public class Airavata {
/**
*
- * Get a Public Key by Providing the Token
- *
- * @param CredStoreToken
- * Credential Store Token which you want to find the Public Key for.
- *
- * @param gatewayId
- * This is the unique identifier of your gateway where the token and public key was generated from.
- *
- * @return SSHpubKey
- *
- *
- *
- * @param authzToken
- * @param userName
- */
- public Map<String,String> getAllUserSSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
-
- /**
- *
* Get all Public Keys of the Gateway
*
* @param CredStoreToken
@@ -2739,8 +2720,6 @@ public class Airavata {
public void getSSHPubKey(org.apache.airavata.model.security.AuthzToken authzToken, String airavataCredStoreToken, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void getAllUserSSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String userName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
-
public void getAllGatewaySSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getAllGatewayPWDCredentials(org.apache.airavata.model.security.AuthzToken authzToken, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -3594,39 +3573,6 @@ public class Airavata {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSSHPubKey failed: unknown result");
}
- public Map<String,String> getAllUserSSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String userName) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
- {
- send_getAllUserSSHPubKeys(authzToken, userName);
- return recv_getAllUserSSHPubKeys();
- }
-
- public void send_getAllUserSSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String userName) throws org.apache.thrift.TException
- {
- getAllUserSSHPubKeys_args args = new getAllUserSSHPubKeys_args();
- args.setAuthzToken(authzToken);
- args.setUserName(userName);
- sendBase("getAllUserSSHPubKeys", args);
- }
-
- public Map<String,String> recv_getAllUserSSHPubKeys() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
- {
- getAllUserSSHPubKeys_result result = new getAllUserSSHPubKeys_result();
- receiveBase(result, "getAllUserSSHPubKeys");
- if (result.isSetSuccess()) {
- return result.success;
- }
- if (result.ire != null) {
- throw result.ire;
- }
- if (result.ace != null) {
- throw result.ace;
- }
- if (result.ase != null) {
- throw result.ase;
- }
- throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUserSSHPubKeys failed: unknown result");
- }
-
public Map<String,String> getAllGatewaySSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String gatewayId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
{
send_getAllGatewaySSHPubKeys(authzToken, gatewayId);
@@ -9013,41 +8959,6 @@ public class Airavata {
}
}
- public void getAllUserSSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String userName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
- checkReady();
- getAllUserSSHPubKeys_call method_call = new getAllUserSSHPubKeys_call(authzToken, userName, resultHandler, this, ___protocolFactory, ___transport);
- this.___currentMethod = method_call;
- ___manager.call(method_call);
- }
-
- public static class getAllUserSSHPubKeys_call extends org.apache.thrift.async.TAsyncMethodCall {
- private org.apache.airavata.model.security.AuthzToken authzToken;
- private String userName;
- public getAllUserSSHPubKeys_call(org.apache.airavata.model.security.AuthzToken authzToken, String userName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
- super(client, protocolFactory, transport, resultHandler, false);
- this.authzToken = authzToken;
- this.userName = userName;
- }
-
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
- prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllUserSSHPubKeys", org.apache.thrift.protocol.TMessageType.CALL, 0));
- getAllUserSSHPubKeys_args args = new getAllUserSSHPubKeys_args();
- args.setAuthzToken(authzToken);
- args.setUserName(userName);
- args.write(prot);
- prot.writeMessageEnd();
- }
-
- public Map<String,String> getResult() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException {
- if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
- throw new IllegalStateException("Method call not finished!");
- }
- org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
- org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
- return (new Client(prot)).recv_getAllUserSSHPubKeys();
- }
- }
-
public void getAllGatewaySSHPubKeys(org.apache.airavata.model.security.AuthzToken authzToken, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getAllGatewaySSHPubKeys_call method_call = new getAllGatewaySSHPubKeys_call(authzToken, gatewayId, resultHandler, this, ___protocolFactory, ___transport);
@@ -13966,7 +13877,6 @@ public class Airavata {
processMap.put("generateAndRegisterSSHKeys", new generateAndRegisterSSHKeys());
processMap.put("registerPwdCredential", new registerPwdCredential());
processMap.put("getSSHPubKey", new getSSHPubKey());
- processMap.put("getAllUserSSHPubKeys", new getAllUserSSHPubKeys());
processMap.put("getAllGatewaySSHPubKeys", new getAllGatewaySSHPubKeys());
processMap.put("getAllGatewayPWDCredentials", new getAllGatewayPWDCredentials());
processMap.put("deleteSSHPubKey", new deleteSSHPubKey());
@@ -14579,34 +14489,6 @@ public class Airavata {
}
}
- public static class getAllUserSSHPubKeys<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllUserSSHPubKeys_args> {
- public getAllUserSSHPubKeys() {
- super("getAllUserSSHPubKeys");
- }
-
- public getAllUserSSHPubKeys_args getEmptyArgsInstance() {
- return new getAllUserSSHPubKeys_args();
- }
-
- protected boolean isOneway() {
- return false;
- }
-
- public getAllUserSSHPubKeys_result getResult(I iface, getAllUserSSHPubKeys_args args) throws org.apache.thrift.TException {
- getAllUserSSHPubKeys_result result = new getAllUserSSHPubKeys_result();
- try {
- result.success = iface.getAllUserSSHPubKeys(args.authzToken, args.userName);
- } catch (org.apache.airavata.model.error.InvalidRequestException ire) {
- result.ire = ire;
- } catch (org.apache.airavata.model.error.AiravataClientException ace) {
- result.ace = ace;
- } catch (org.apache.airavata.model.error.AiravataSystemException ase) {
- result.ase = ase;
- }
- return result;
- }
- }
-
public static class getAllGatewaySSHPubKeys<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllGatewaySSHPubKeys_args> {
public getAllGatewaySSHPubKeys() {
super("getAllGatewaySSHPubKeys");
@@ -18589,7 +18471,6 @@ public class Airavata {
processMap.put("generateAndRegisterSSHKeys", new generateAndRegisterSSHKeys());
processMap.put("registerPwdCredential", new registerPwdCredential());
processMap.put("getSSHPubKey", new getSSHPubKey());
- processMap.put("getAllUserSSHPubKeys", new getAllUserSSHPubKeys());
processMap.put("getAllGatewaySSHPubKeys", new getAllGatewaySSHPubKeys());
processMap.put("getAllGatewayPWDCredentials", new getAllGatewayPWDCredentials());
processMap.put("deleteSSHPubKey", new deleteSSHPubKey());
@@ -19864,20 +19745,20 @@ public class Airavata {
}
}
- public static class getAllUserSSHPubKeys<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllUserSSHPubKeys_args, Map<String,String>> {
- public getAllUserSSHPubKeys() {
- super("getAllUserSSHPubKeys");
+ public static class getAllGatewaySSHPubKeys<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllGatewaySSHPubKeys_args, Map<String,String>> {
+ public getAllGatewaySSHPubKeys() {
+ super("getAllGatewaySSHPubKeys");
}
- public getAllUserSSHPubKeys_args getEmptyArgsInstance() {
- return new getAllUserSSHPubKeys_args();
+ public getAllGatewaySSHPubKeys_args getEmptyArgsInstance() {
+ return new getAllGatewaySSHPubKeys_args();
}
public AsyncMethodCallback<Map<String,String>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<Map<String,String>>() {
public void onComplete(Map<String,String> o) {
- getAllUserSSHPubKeys_result result = new getAllUserSSHPubKeys_result();
+ getAllGatewaySSHPubKeys_result result = new getAllGatewaySSHPubKeys_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -19890,7 +19771,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getAllUserSSHPubKeys_result result = new getAllUserSSHPubKeys_result();
+ getAllGatewaySSHPubKeys_result result = new getAllGatewaySSHPubKeys_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -19926,25 +19807,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getAllUserSSHPubKeys_args args, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws TException {
- iface.getAllUserSSHPubKeys(args.authzToken, args.userName,resultHandler);
+ public void start(I iface, getAllGatewaySSHPubKeys_args args, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws TException {
+ iface.getAllGatewaySSHPubKeys(args.authzToken, args.gatewayId,resultHandler);
}
}
- public static class getAllGatewaySSHPubKeys<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllGatewaySSHPubKeys_args, Map<String,String>> {
- public getAllGatewaySSHPubKeys() {
- super("getAllGatewaySSHPubKeys");
+ public static class getAllGatewayPWDCredentials<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllGatewayPWDCredentials_args, Map<String,String>> {
+ public getAllGatewayPWDCredentials() {
+ super("getAllGatewayPWDCredentials");
}
- public getAllGatewaySSHPubKeys_args getEmptyArgsInstance() {
- return new getAllGatewaySSHPubKeys_args();
+ public getAllGatewayPWDCredentials_args getEmptyArgsInstance() {
+ return new getAllGatewayPWDCredentials_args();
}
public AsyncMethodCallback<Map<String,String>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<Map<String,String>>() {
public void onComplete(Map<String,String> o) {
- getAllGatewaySSHPubKeys_result result = new getAllGatewaySSHPubKeys_result();
+ getAllGatewayPWDCredentials_result result = new getAllGatewayPWDCredentials_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -19957,7 +19838,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getAllGatewaySSHPubKeys_result result = new getAllGatewaySSHPubKeys_result();
+ getAllGatewayPWDCredentials_result result = new getAllGatewayPWDCredentials_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -19993,26 +19874,27 @@ public class Airavata {
return false;
}
- public void start(I iface, getAllGatewaySSHPubKeys_args args, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws TException {
- iface.getAllGatewaySSHPubKeys(args.authzToken, args.gatewayId,resultHandler);
+ public void start(I iface, getAllGatewayPWDCredentials_args args, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws TException {
+ iface.getAllGatewayPWDCredentials(args.authzToken, args.gatewayId,resultHandler);
}
}
- public static class getAllGatewayPWDCredentials<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllGatewayPWDCredentials_args, Map<String,String>> {
- public getAllGatewayPWDCredentials() {
- super("getAllGatewayPWDCredentials");
+ public static class deleteSSHPubKey<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteSSHPubKey_args, Boolean> {
+ public deleteSSHPubKey() {
+ super("deleteSSHPubKey");
}
- public getAllGatewayPWDCredentials_args getEmptyArgsInstance() {
- return new getAllGatewayPWDCredentials_args();
+ public deleteSSHPubKey_args getEmptyArgsInstance() {
+ return new deleteSSHPubKey_args();
}
- public AsyncMethodCallback<Map<String,String>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<Map<String,String>>() {
- public void onComplete(Map<String,String> o) {
- getAllGatewayPWDCredentials_result result = new getAllGatewayPWDCredentials_result();
+ return new AsyncMethodCallback<Boolean>() {
+ public void onComplete(Boolean o) {
+ deleteSSHPubKey_result result = new deleteSSHPubKey_result();
result.success = o;
+ result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -20024,7 +19906,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getAllGatewayPWDCredentials_result result = new getAllGatewayPWDCredentials_result();
+ deleteSSHPubKey_result result = new deleteSSHPubKey_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20060,25 +19942,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getAllGatewayPWDCredentials_args args, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws TException {
- iface.getAllGatewayPWDCredentials(args.authzToken, args.gatewayId,resultHandler);
+ public void start(I iface, deleteSSHPubKey_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ iface.deleteSSHPubKey(args.authzToken, args.airavataCredStoreToken, args.gatewayId,resultHandler);
}
}
- public static class deleteSSHPubKey<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteSSHPubKey_args, Boolean> {
- public deleteSSHPubKey() {
- super("deleteSSHPubKey");
+ public static class deletePWDCredential<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deletePWDCredential_args, Boolean> {
+ public deletePWDCredential() {
+ super("deletePWDCredential");
}
- public deleteSSHPubKey_args getEmptyArgsInstance() {
- return new deleteSSHPubKey_args();
+ public deletePWDCredential_args getEmptyArgsInstance() {
+ return new deletePWDCredential_args();
}
public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<Boolean>() {
public void onComplete(Boolean o) {
- deleteSSHPubKey_result result = new deleteSSHPubKey_result();
+ deletePWDCredential_result result = new deletePWDCredential_result();
result.success = o;
result.setSuccessIsSet(true);
try {
@@ -20092,7 +19974,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- deleteSSHPubKey_result result = new deleteSSHPubKey_result();
+ deletePWDCredential_result result = new deletePWDCredential_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20128,27 +20010,26 @@ public class Airavata {
return false;
}
- public void start(I iface, deleteSSHPubKey_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
- iface.deleteSSHPubKey(args.authzToken, args.airavataCredStoreToken, args.gatewayId,resultHandler);
+ public void start(I iface, deletePWDCredential_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ iface.deletePWDCredential(args.authzToken, args.airavataCredStoreToken, args.gatewayId,resultHandler);
}
}
- public static class deletePWDCredential<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deletePWDCredential_args, Boolean> {
- public deletePWDCredential() {
- super("deletePWDCredential");
+ public static class createProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createProject_args, String> {
+ public createProject() {
+ super("createProject");
}
- public deletePWDCredential_args getEmptyArgsInstance() {
- return new deletePWDCredential_args();
+ public createProject_args getEmptyArgsInstance() {
+ return new createProject_args();
}
- public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<String> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<Boolean>() {
- public void onComplete(Boolean o) {
- deletePWDCredential_result result = new deletePWDCredential_result();
+ return new AsyncMethodCallback<String>() {
+ public void onComplete(String o) {
+ createProject_result result = new createProject_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -20160,7 +20041,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- deletePWDCredential_result result = new deletePWDCredential_result();
+ createProject_result result = new createProject_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20176,6 +20057,11 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
+ else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
+ result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
+ result.setAeIsSet(true);
+ msg = result;
+ }
else
{
msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
@@ -20196,25 +20082,101 @@ public class Airavata {
return false;
}
- public void start(I iface, deletePWDCredential_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
- iface.deletePWDCredential(args.authzToken, args.airavataCredStoreToken, args.gatewayId,resultHandler);
+ public void start(I iface, createProject_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
+ iface.createProject(args.authzToken, args.gatewayId, args.project,resultHandler);
}
}
- public static class createProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createProject_args, String> {
- public createProject() {
- super("createProject");
+ public static class updateProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateProject_args, Void> {
+ public updateProject() {
+ super("updateProject");
}
- public createProject_args getEmptyArgsInstance() {
- return new createProject_args();
+ public updateProject_args getEmptyArgsInstance() {
+ return new updateProject_args();
}
- public AsyncMethodCallback<String> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<Void> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<String>() {
- public void onComplete(String o) {
- createProject_result result = new createProject_result();
+ return new AsyncMethodCallback<Void>() {
+ public void onComplete(Void o) {
+ updateProject_result result = new updateProject_result();
+ try {
+ fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ return;
+ } catch (Exception e) {
+ LOGGER.error("Exception writing to internal frame buffer", e);
+ }
+ fb.close();
+ }
+ public void onError(Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TBase msg;
+ updateProject_result result = new updateProject_result();
+ if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
+ result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
+ result.setIreIsSet(true);
+ msg = result;
+ }
+ else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
+ result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
+ result.setAceIsSet(true);
+ msg = result;
+ }
+ else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
+ result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
+ result.setAseIsSet(true);
+ msg = result;
+ }
+ else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
+ result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
+ result.setPnfeIsSet(true);
+ msg = result;
+ }
+ else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
+ result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
+ result.setAeIsSet(true);
+ msg = result;
+ }
+ else
+ {
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ return;
+ } catch (Exception ex) {
+ LOGGER.error("Exception writing to internal frame buffer", ex);
+ }
+ fb.close();
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, updateProject_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws TException {
+ iface.updateProject(args.authzToken, args.projectId, args.updatedProject,resultHandler);
+ }
+ }
+
+ public static class getProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProject_args, org.apache.airavata.model.workspace.Project> {
+ public getProject() {
+ super("getProject");
+ }
+
+ public getProject_args getEmptyArgsInstance() {
+ return new getProject_args();
+ }
+
+ public AsyncMethodCallback<org.apache.airavata.model.workspace.Project> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new AsyncMethodCallback<org.apache.airavata.model.workspace.Project>() {
+ public void onComplete(org.apache.airavata.model.workspace.Project o) {
+ getProject_result result = new getProject_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20227,7 +20189,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- createProject_result result = new createProject_result();
+ getProject_result result = new getProject_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20243,6 +20205,11 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
+ else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
+ result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
+ result.setPnfeIsSet(true);
+ msg = result;
+ }
else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
result.setAeIsSet(true);
@@ -20268,25 +20235,27 @@ public class Airavata {
return false;
}
- public void start(I iface, createProject_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
- iface.createProject(args.authzToken, args.gatewayId, args.project,resultHandler);
+ public void start(I iface, getProject_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.workspace.Project> resultHandler) throws TException {
+ iface.getProject(args.authzToken, args.projectId,resultHandler);
}
}
- public static class updateProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateProject_args, Void> {
- public updateProject() {
- super("updateProject");
+ public static class deleteProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteProject_args, Boolean> {
+ public deleteProject() {
+ super("deleteProject");
}
- public updateProject_args getEmptyArgsInstance() {
- return new updateProject_args();
+ public deleteProject_args getEmptyArgsInstance() {
+ return new deleteProject_args();
}
- public AsyncMethodCallback<Void> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<Void>() {
- public void onComplete(Void o) {
- updateProject_result result = new updateProject_result();
+ return new AsyncMethodCallback<Boolean>() {
+ public void onComplete(Boolean o) {
+ deleteProject_result result = new deleteProject_result();
+ result.success = o;
+ result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -20298,7 +20267,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- updateProject_result result = new updateProject_result();
+ deleteProject_result result = new deleteProject_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20344,25 +20313,25 @@ public class Airavata {
return false;
}
- public void start(I iface, updateProject_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws TException {
- iface.updateProject(args.authzToken, args.projectId, args.updatedProject,resultHandler);
+ public void start(I iface, deleteProject_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ iface.deleteProject(args.authzToken, args.projectId,resultHandler);
}
}
- public static class getProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProject_args, org.apache.airavata.model.workspace.Project> {
- public getProject() {
- super("getProject");
+ public static class getUserProjects<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getUserProjects_args, List<org.apache.airavata.model.workspace.Project>> {
+ public getUserProjects() {
+ super("getUserProjects");
}
- public getProject_args getEmptyArgsInstance() {
- return new getProject_args();
+ public getUserProjects_args getEmptyArgsInstance() {
+ return new getUserProjects_args();
}
- public AsyncMethodCallback<org.apache.airavata.model.workspace.Project> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<org.apache.airavata.model.workspace.Project>() {
- public void onComplete(org.apache.airavata.model.workspace.Project o) {
- getProject_result result = new getProject_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>>() {
+ public void onComplete(List<org.apache.airavata.model.workspace.Project> o) {
+ getUserProjects_result result = new getUserProjects_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20375,7 +20344,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getProject_result result = new getProject_result();
+ getUserProjects_result result = new getUserProjects_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20391,11 +20360,6 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
- else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
- result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
- result.setPnfeIsSet(true);
- msg = result;
- }
else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
result.setAeIsSet(true);
@@ -20421,27 +20385,26 @@ public class Airavata {
return false;
}
- public void start(I iface, getProject_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.workspace.Project> resultHandler) throws TException {
- iface.getProject(args.authzToken, args.projectId,resultHandler);
+ public void start(I iface, getUserProjects_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
+ iface.getUserProjects(args.authzToken, args.gatewayId, args.userName, args.limit, args.offset,resultHandler);
}
}
- public static class deleteProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteProject_args, Boolean> {
- public deleteProject() {
- super("deleteProject");
+ public static class searchProjectsByProjectName<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchProjectsByProjectName_args, List<org.apache.airavata.model.workspace.Project>> {
+ public searchProjectsByProjectName() {
+ super("searchProjectsByProjectName");
}
- public deleteProject_args getEmptyArgsInstance() {
- return new deleteProject_args();
+ public searchProjectsByProjectName_args getEmptyArgsInstance() {
+ return new searchProjectsByProjectName_args();
}
- public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<Boolean>() {
- public void onComplete(Boolean o) {
- deleteProject_result result = new deleteProject_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>>() {
+ public void onComplete(List<org.apache.airavata.model.workspace.Project> o) {
+ searchProjectsByProjectName_result result = new searchProjectsByProjectName_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -20453,7 +20416,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- deleteProject_result result = new deleteProject_result();
+ searchProjectsByProjectName_result result = new searchProjectsByProjectName_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20469,11 +20432,6 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
- else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
- result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
- result.setPnfeIsSet(true);
- msg = result;
- }
else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
result.setAeIsSet(true);
@@ -20499,25 +20457,25 @@ public class Airavata {
return false;
}
- public void start(I iface, deleteProject_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
- iface.deleteProject(args.authzToken, args.projectId,resultHandler);
+ public void start(I iface, searchProjectsByProjectName_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
+ iface.searchProjectsByProjectName(args.authzToken, args.gatewayId, args.userName, args.projectName, args.limit, args.offset,resultHandler);
}
}
- public static class getUserProjects<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getUserProjects_args, List<org.apache.airavata.model.workspace.Project>> {
- public getUserProjects() {
- super("getUserProjects");
+ public static class searchProjectsByProjectDesc<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchProjectsByProjectDesc_args, List<org.apache.airavata.model.workspace.Project>> {
+ public searchProjectsByProjectDesc() {
+ super("searchProjectsByProjectDesc");
}
- public getUserProjects_args getEmptyArgsInstance() {
- return new getUserProjects_args();
+ public searchProjectsByProjectDesc_args getEmptyArgsInstance() {
+ return new searchProjectsByProjectDesc_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>>() {
public void onComplete(List<org.apache.airavata.model.workspace.Project> o) {
- getUserProjects_result result = new getUserProjects_result();
+ searchProjectsByProjectDesc_result result = new searchProjectsByProjectDesc_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20530,7 +20488,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getUserProjects_result result = new getUserProjects_result();
+ searchProjectsByProjectDesc_result result = new searchProjectsByProjectDesc_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20571,25 +20529,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getUserProjects_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
- iface.getUserProjects(args.authzToken, args.gatewayId, args.userName, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchProjectsByProjectDesc_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
+ iface.searchProjectsByProjectDesc(args.authzToken, args.gatewayId, args.userName, args.description, args.limit, args.offset,resultHandler);
}
}
- public static class searchProjectsByProjectName<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchProjectsByProjectName_args, List<org.apache.airavata.model.workspace.Project>> {
- public searchProjectsByProjectName() {
- super("searchProjectsByProjectName");
+ public static class searchExperimentsByName<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByName_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperimentsByName() {
+ super("searchExperimentsByName");
}
- public searchProjectsByProjectName_args getEmptyArgsInstance() {
- return new searchProjectsByProjectName_args();
+ public searchExperimentsByName_args getEmptyArgsInstance() {
+ return new searchExperimentsByName_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>>() {
- public void onComplete(List<org.apache.airavata.model.workspace.Project> o) {
- searchProjectsByProjectName_result result = new searchProjectsByProjectName_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
+ public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
+ searchExperimentsByName_result result = new searchExperimentsByName_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20602,7 +20560,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchProjectsByProjectName_result result = new searchProjectsByProjectName_result();
+ searchExperimentsByName_result result = new searchExperimentsByName_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20643,25 +20601,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchProjectsByProjectName_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
- iface.searchProjectsByProjectName(args.authzToken, args.gatewayId, args.userName, args.projectName, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperimentsByName_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperimentsByName(args.authzToken, args.gatewayId, args.userName, args.expName, args.limit, args.offset,resultHandler);
}
}
- public static class searchProjectsByProjectDesc<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchProjectsByProjectDesc_args, List<org.apache.airavata.model.workspace.Project>> {
- public searchProjectsByProjectDesc() {
- super("searchProjectsByProjectDesc");
+ public static class searchExperimentsByDesc<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByDesc_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperimentsByDesc() {
+ super("searchExperimentsByDesc");
}
- public searchProjectsByProjectDesc_args getEmptyArgsInstance() {
- return new searchProjectsByProjectDesc_args();
+ public searchExperimentsByDesc_args getEmptyArgsInstance() {
+ return new searchExperimentsByDesc_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>>() {
- public void onComplete(List<org.apache.airavata.model.workspace.Project> o) {
- searchProjectsByProjectDesc_result result = new searchProjectsByProjectDesc_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
+ public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
+ searchExperimentsByDesc_result result = new searchExperimentsByDesc_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20674,7 +20632,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchProjectsByProjectDesc_result result = new searchProjectsByProjectDesc_result();
+ searchExperimentsByDesc_result result = new searchExperimentsByDesc_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20715,25 +20673,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchProjectsByProjectDesc_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.workspace.Project>> resultHandler) throws TException {
- iface.searchProjectsByProjectDesc(args.authzToken, args.gatewayId, args.userName, args.description, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperimentsByDesc_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperimentsByDesc(args.authzToken, args.gatewayId, args.userName, args.description, args.limit, args.offset,resultHandler);
}
}
- public static class searchExperimentsByName<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByName_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperimentsByName() {
- super("searchExperimentsByName");
+ public static class searchExperimentsByApplication<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByApplication_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperimentsByApplication() {
+ super("searchExperimentsByApplication");
}
- public searchExperimentsByName_args getEmptyArgsInstance() {
- return new searchExperimentsByName_args();
+ public searchExperimentsByApplication_args getEmptyArgsInstance() {
+ return new searchExperimentsByApplication_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperimentsByName_result result = new searchExperimentsByName_result();
+ searchExperimentsByApplication_result result = new searchExperimentsByApplication_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20746,7 +20704,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperimentsByName_result result = new searchExperimentsByName_result();
+ searchExperimentsByApplication_result result = new searchExperimentsByApplication_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20787,25 +20745,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperimentsByName_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperimentsByName(args.authzToken, args.gatewayId, args.userName, args.expName, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperimentsByApplication_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperimentsByApplication(args.authzToken, args.gatewayId, args.userName, args.applicationId, args.limit, args.offset,resultHandler);
}
}
- public static class searchExperimentsByDesc<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByDesc_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperimentsByDesc() {
- super("searchExperimentsByDesc");
+ public static class searchExperimentsByStatus<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByStatus_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperimentsByStatus() {
+ super("searchExperimentsByStatus");
}
- public searchExperimentsByDesc_args getEmptyArgsInstance() {
- return new searchExperimentsByDesc_args();
+ public searchExperimentsByStatus_args getEmptyArgsInstance() {
+ return new searchExperimentsByStatus_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperimentsByDesc_result result = new searchExperimentsByDesc_result();
+ searchExperimentsByStatus_result result = new searchExperimentsByStatus_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20818,7 +20776,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperimentsByDesc_result result = new searchExperimentsByDesc_result();
+ searchExperimentsByStatus_result result = new searchExperimentsByStatus_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20859,25 +20817,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperimentsByDesc_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperimentsByDesc(args.authzToken, args.gatewayId, args.userName, args.description, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperimentsByStatus_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperimentsByStatus(args.authzToken, args.gatewayId, args.userName, args.experimentState, args.limit, args.offset,resultHandler);
}
}
- public static class searchExperimentsByApplication<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByApplication_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperimentsByApplication() {
- super("searchExperimentsByApplication");
+ public static class searchExperimentsByCreationTime<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByCreationTime_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperimentsByCreationTime() {
+ super("searchExperimentsByCreationTime");
}
- public searchExperimentsByApplication_args getEmptyArgsInstance() {
- return new searchExperimentsByApplication_args();
+ public searchExperimentsByCreationTime_args getEmptyArgsInstance() {
+ return new searchExperimentsByCreationTime_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperimentsByApplication_result result = new searchExperimentsByApplication_result();
+ searchExperimentsByCreationTime_result result = new searchExperimentsByCreationTime_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20890,7 +20848,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperimentsByApplication_result result = new searchExperimentsByApplication_result();
+ searchExperimentsByCreationTime_result result = new searchExperimentsByCreationTime_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -20931,25 +20889,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperimentsByApplication_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperimentsByApplication(args.authzToken, args.gatewayId, args.userName, args.applicationId, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperimentsByCreationTime_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperimentsByCreationTime(args.authzToken, args.gatewayId, args.userName, args.fromTime, args.toTime, args.limit, args.offset,resultHandler);
}
}
- public static class searchExperimentsByStatus<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByStatus_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperimentsByStatus() {
- super("searchExperimentsByStatus");
+ public static class searchExperiments<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperiments_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
+ public searchExperiments() {
+ super("searchExperiments");
}
- public searchExperimentsByStatus_args getEmptyArgsInstance() {
- return new searchExperimentsByStatus_args();
+ public searchExperiments_args getEmptyArgsInstance() {
+ return new searchExperiments_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperimentsByStatus_result result = new searchExperimentsByStatus_result();
+ searchExperiments_result result = new searchExperiments_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -20962,7 +20920,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperimentsByStatus_result result = new searchExperimentsByStatus_result();
+ searchExperiments_result result = new searchExperiments_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21003,25 +20961,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperimentsByStatus_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperimentsByStatus(args.authzToken, args.gatewayId, args.userName, args.experimentState, args.limit, args.offset,resultHandler);
+ public void start(I iface, searchExperiments_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
+ iface.searchExperiments(args.authzToken, args.gatewayId, args.userName, args.filters, args.limit, args.offset,resultHandler);
}
}
- public static class searchExperimentsByCreationTime<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperimentsByCreationTime_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperimentsByCreationTime() {
- super("searchExperimentsByCreationTime");
+ public static class getExperimentStatistics<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperimentStatistics_args, org.apache.airavata.model.experiment.ExperimentStatistics> {
+ public getExperimentStatistics() {
+ super("getExperimentStatistics");
}
- public searchExperimentsByCreationTime_args getEmptyArgsInstance() {
- return new searchExperimentsByCreationTime_args();
+ public getExperimentStatistics_args getEmptyArgsInstance() {
+ return new getExperimentStatistics_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
- public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperimentsByCreationTime_result result = new searchExperimentsByCreationTime_result();
+ return new AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics>() {
+ public void onComplete(org.apache.airavata.model.experiment.ExperimentStatistics o) {
+ getExperimentStatistics_result result = new getExperimentStatistics_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21034,7 +20992,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperimentsByCreationTime_result result = new searchExperimentsByCreationTime_result();
+ getExperimentStatistics_result result = new getExperimentStatistics_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21075,25 +21033,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperimentsByCreationTime_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperimentsByCreationTime(args.authzToken, args.gatewayId, args.userName, args.fromTime, args.toTime, args.limit, args.offset,resultHandler);
+ public void start(I iface, getExperimentStatistics_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics> resultHandler) throws TException {
+ iface.getExperimentStatistics(args.authzToken, args.gatewayId, args.fromTime, args.toTime,resultHandler);
}
}
- public static class searchExperiments<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, searchExperiments_args, List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> {
- public searchExperiments() {
- super("searchExperiments");
+ public static class getExperimentsInProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperimentsInProject_args, List<org.apache.airavata.model.experiment.ExperimentModel>> {
+ public getExperimentsInProject() {
+ super("getExperimentsInProject");
}
- public searchExperiments_args getEmptyArgsInstance() {
- return new searchExperiments_args();
+ public getExperimentsInProject_args getEmptyArgsInstance() {
+ return new getExperimentsInProject_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>>() {
- public void onComplete(List<org.apache.airavata.model.experiment.ExperimentSummaryModel> o) {
- searchExperiments_result result = new searchExperiments_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>>() {
+ public void onComplete(List<org.apache.airavata.model.experiment.ExperimentModel> o) {
+ getExperimentsInProject_result result = new getExperimentsInProject_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21106,7 +21064,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- searchExperiments_result result = new searchExperiments_result();
+ getExperimentsInProject_result result = new getExperimentsInProject_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21122,6 +21080,11 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
+ else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
+ result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
+ result.setPnfeIsSet(true);
+ msg = result;
+ }
else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
result.setAeIsSet(true);
@@ -21147,25 +21110,25 @@ public class Airavata {
return false;
}
- public void start(I iface, searchExperiments_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentSummaryModel>> resultHandler) throws TException {
- iface.searchExperiments(args.authzToken, args.gatewayId, args.userName, args.filters, args.limit, args.offset,resultHandler);
+ public void start(I iface, getExperimentsInProject_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> resultHandler) throws TException {
+ iface.getExperimentsInProject(args.authzToken, args.projectId, args.limit, args.offset,resultHandler);
}
}
- public static class getExperimentStatistics<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperimentStatistics_args, org.apache.airavata.model.experiment.ExperimentStatistics> {
- public getExperimentStatistics() {
- super("getExperimentStatistics");
+ public static class getUserExperiments<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getUserExperiments_args, List<org.apache.airavata.model.experiment.ExperimentModel>> {
+ public getUserExperiments() {
+ super("getUserExperiments");
}
- public getExperimentStatistics_args getEmptyArgsInstance() {
- return new getExperimentStatistics_args();
+ public getUserExperiments_args getEmptyArgsInstance() {
+ return new getUserExperiments_args();
}
- public AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics>() {
- public void onComplete(org.apache.airavata.model.experiment.ExperimentStatistics o) {
- getExperimentStatistics_result result = new getExperimentStatistics_result();
+ return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>>() {
+ public void onComplete(List<org.apache.airavata.model.experiment.ExperimentModel> o) {
+ getUserExperiments_result result = new getUserExperiments_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21178,7 +21141,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getExperimentStatistics_result result = new getExperimentStatistics_result();
+ getUserExperiments_result result = new getUserExperiments_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21219,25 +21182,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getExperimentStatistics_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentStatistics> resultHandler) throws TException {
- iface.getExperimentStatistics(args.authzToken, args.gatewayId, args.fromTime, args.toTime,resultHandler);
+ public void start(I iface, getUserExperiments_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> resultHandler) throws TException {
+ iface.getUserExperiments(args.authzToken, args.gatewayId, args.userName, args.limit, args.offset,resultHandler);
}
}
- public static class getExperimentsInProject<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperimentsInProject_args, List<org.apache.airavata.model.experiment.ExperimentModel>> {
- public getExperimentsInProject() {
- super("getExperimentsInProject");
+ public static class createExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createExperiment_args, String> {
+ public createExperiment() {
+ super("createExperiment");
}
- public getExperimentsInProject_args getEmptyArgsInstance() {
- return new getExperimentsInProject_args();
+ public createExperiment_args getEmptyArgsInstance() {
+ return new createExperiment_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<String> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>>() {
- public void onComplete(List<org.apache.airavata.model.experiment.ExperimentModel> o) {
- getExperimentsInProject_result result = new getExperimentsInProject_result();
+ return new AsyncMethodCallback<String>() {
+ public void onComplete(String o) {
+ createExperiment_result result = new createExperiment_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21250,7 +21213,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getExperimentsInProject_result result = new getExperimentsInProject_result();
+ createExperiment_result result = new createExperiment_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21266,11 +21229,6 @@ public class Airavata {
result.setAseIsSet(true);
msg = result;
}
- else if (e instanceof org.apache.airavata.model.error.ProjectNotFoundException) {
- result.pnfe = (org.apache.airavata.model.error.ProjectNotFoundException) e;
- result.setPnfeIsSet(true);
- msg = result;
- }
else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
result.setAeIsSet(true);
@@ -21296,26 +21254,27 @@ public class Airavata {
return false;
}
- public void start(I iface, getExperimentsInProject_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> resultHandler) throws TException {
- iface.getExperimentsInProject(args.authzToken, args.projectId, args.limit, args.offset,resultHandler);
+ public void start(I iface, createExperiment_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
+ iface.createExperiment(args.authzToken, args.gatewayId, args.experiment,resultHandler);
}
}
- public static class getUserExperiments<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getUserExperiments_args, List<org.apache.airavata.model.experiment.ExperimentModel>> {
- public getUserExperiments() {
- super("getUserExperiments");
+ public static class deleteExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteExperiment_args, Boolean> {
+ public deleteExperiment() {
+ super("deleteExperiment");
}
- public getUserExperiments_args getEmptyArgsInstance() {
- return new getUserExperiments_args();
+ public deleteExperiment_args getEmptyArgsInstance() {
+ return new deleteExperiment_args();
}
- public AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>>() {
- public void onComplete(List<org.apache.airavata.model.experiment.ExperimentModel> o) {
- getUserExperiments_result result = new getUserExperiments_result();
+ return new AsyncMethodCallback<Boolean>() {
+ public void onComplete(Boolean o) {
+ deleteExperiment_result result = new deleteExperiment_result();
result.success = o;
+ result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -21327,7 +21286,7 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getUserExperiments_result result = new getUserExperiments_result();
+ deleteExperiment_result result = new deleteExperiment_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -21368,25 +21327,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getUserExperiments_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.experiment.ExperimentModel>> resultHandler) throws TException {
- iface.getUserExperiments(args.authzToken, args.gatewayId, args.userName, args.limit, args.offset,resultHandler);
+ public void start(I iface, deleteExperiment_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ iface.deleteExperiment(args.authzToken, args.experimentId,resultHandler);
}
}
- public static class createExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createExperiment_args, String> {
- public createExperiment() {
- super("createExperiment");
+ public static class getExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperiment_args, org.apache.airavata.model.experiment.ExperimentModel> {
+ public getExperiment() {
+ super("getExperiment");
}
- public createExperiment_args getEmptyArgsInstance() {
- return new createExperiment_args();
+ public getExperiment_args getEmptyArgsInstance() {
+ return new getExperiment_args();
}
- public AsyncMethodCallback<String> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<String>() {
- public void onComplete(String o) {
- createExperiment_result result = new createExperiment_result();
+ return new AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel>() {
+ public void onComplete(org.apache.airavata.model.experiment.ExperimentModel o) {
+ getExperiment_result result = new getExperiment_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21399,12 +21358,17 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- createExperiment_result result = new createExperiment_result();
+ getExperiment_result result = new getExperiment_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
msg = result;
}
+ else if (e instanceof org.apache.airavata.model.error.ExperimentNotFoundException) {
+ result.enf = (org.apache.airavata.model.error.ExperimentNotFoundException) e;
+ result.setEnfIsSet(true);
+ msg = result;
+ }
else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
result.setAceIsSet(true);
@@ -21440,27 +21404,26 @@ public class Airavata {
return false;
}
- public void start(I iface, createExperiment_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
- iface.createExperiment(args.authzToken, args.gatewayId, args.experiment,resultHandler);
+ public void start(I iface, getExperiment_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel> resultHandler) throws TException {
+ iface.getExperiment(args.authzToken, args.airavataExperimentId,resultHandler);
}
}
- public static class deleteExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteExperiment_args, Boolean> {
- public deleteExperiment() {
- super("deleteExperiment");
+ public static class getDetailedExperimentTree<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getDetailedExperimentTree_args, org.apache.airavata.model.experiment.ExperimentModel> {
+ public getDetailedExperimentTree() {
+ super("getDetailedExperimentTree");
}
- public deleteExperiment_args getEmptyArgsInstance() {
- return new deleteExperiment_args();
+ public getDetailedExperimentTree_args getEmptyArgsInstance() {
+ return new getDetailedExperimentTree_args();
}
- public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ public AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new AsyncMethodCallback<Boolean>() {
- public void onComplete(Boolean o) {
- deleteExperiment_result result = new deleteExperiment_result();
+ return new AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel>() {
+ public void onComplete(org.apache.airavata.model.experiment.ExperimentModel o) {
+ getDetailedExperimentTree_result result = new getDetailedExperimentTree_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
@@ -21472,12 +21435,17 @@ public class Airavata {
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- deleteExperiment_result result = new deleteExperiment_result();
+ getDetailedExperimentTree_result result = new getDetailedExperimentTree_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
msg = result;
}
+ else if (e instanceof org.apache.airavata.model.error.ExperimentNotFoundException) {
+ result.enf = (org.apache.airavata.model.error.ExperimentNotFoundException) e;
+ result.setEnfIsSet(true);
+ msg = result;
+ }
else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
result.setAceIsSet(true);
@@ -21513,26 +21481,25 @@ public class Airavata {
return false;
}
- public void start(I iface, deleteExperiment_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
- iface.deleteExperiment(args.authzToken, args.experimentId,resultHandler);
+ public void start(I iface, getDetailedExperimentTree_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.experiment.ExperimentModel> resultHandler) throws TException {
+ iface.getDetailedExperimentTree(args.authzToken, args.airavataExperimentId,resultHandler);
}
}
- public static class getExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getExperiment_args, org.apache.airavata.model.experiment.ExperimentModel> {
- public getExperiment() {
- super("getExperiment");
+ public static class updateExperiment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateExperiment_args, Void> {
+ public updateExperiment() {
+ super("updateExperiment");
}
- public getExperiment_args getEmptyArgsInstance() {
- return new getExperiment_args();
+ public updateExperiment_args getEmptyArgsInstance() {
+ return new updateExperiment_args();
}
- public
<TRUNCATED>
[3/5] airavata git commit: removing get all user SSH keys
Posted by sc...@apache.org.
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1013926/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 3ff3a36..c3efbd7 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
@@ -4767,11 +4767,11 @@ uint32_t Airavata_getSSHPubKey_presult::read(::apache::thrift::protocol::TProtoc
}
-Airavata_getAllUserSSHPubKeys_args::~Airavata_getAllUserSSHPubKeys_args() throw() {
+Airavata_getAllGatewaySSHPubKeys_args::~Airavata_getAllGatewaySSHPubKeys_args() throw() {
}
-uint32_t Airavata_getAllUserSSHPubKeys_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewaySSHPubKeys_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -4784,7 +4784,7 @@ uint32_t Airavata_getAllUserSSHPubKeys_args::read(::apache::thrift::protocol::TP
using ::apache::thrift::protocol::TProtocolException;
bool isset_authzToken = false;
- bool isset_userName = false;
+ bool isset_gatewayId = false;
while (true)
{
@@ -4804,8 +4804,8 @@ uint32_t Airavata_getAllUserSSHPubKeys_args::read(::apache::thrift::protocol::TP
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userName);
- isset_userName = true;
+ xfer += iprot->readString(this->gatewayId);
+ isset_gatewayId = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -4821,22 +4821,22 @@ uint32_t Airavata_getAllUserSSHPubKeys_args::read(::apache::thrift::protocol::TP
if (!isset_authzToken)
throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_userName)
+ if (!isset_gatewayId)
throw TProtocolException(TProtocolException::INVALID_DATA);
return xfer;
}
-uint32_t Airavata_getAllUserSSHPubKeys_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewaySSHPubKeys_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_args");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->userName);
+ xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->gatewayId);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4845,21 +4845,21 @@ uint32_t Airavata_getAllUserSSHPubKeys_args::write(::apache::thrift::protocol::T
}
-Airavata_getAllUserSSHPubKeys_pargs::~Airavata_getAllUserSSHPubKeys_pargs() throw() {
+Airavata_getAllGatewaySSHPubKeys_pargs::~Airavata_getAllGatewaySSHPubKeys_pargs() throw() {
}
-uint32_t Airavata_getAllUserSSHPubKeys_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewaySSHPubKeys_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->userName)));
+ xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->gatewayId)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4868,11 +4868,11 @@ uint32_t Airavata_getAllUserSSHPubKeys_pargs::write(::apache::thrift::protocol::
}
-Airavata_getAllUserSSHPubKeys_result::~Airavata_getAllUserSSHPubKeys_result() throw() {
+Airavata_getAllGatewaySSHPubKeys_result::~Airavata_getAllGatewaySSHPubKeys_result() throw() {
}
-uint32_t Airavata_getAllUserSSHPubKeys_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewaySSHPubKeys_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -4952,11 +4952,11 @@ uint32_t Airavata_getAllUserSSHPubKeys_result::read(::apache::thrift::protocol::
return xfer;
}
-uint32_t Airavata_getAllUserSSHPubKeys_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewaySSHPubKeys_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllUserSSHPubKeys_result");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
@@ -4990,11 +4990,11 @@ uint32_t Airavata_getAllUserSSHPubKeys_result::write(::apache::thrift::protocol:
}
-Airavata_getAllUserSSHPubKeys_presult::~Airavata_getAllUserSSHPubKeys_presult() throw() {
+Airavata_getAllGatewaySSHPubKeys_presult::~Airavata_getAllGatewaySSHPubKeys_presult() throw() {
}
-uint32_t Airavata_getAllUserSSHPubKeys_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewaySSHPubKeys_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -5075,11 +5075,11 @@ uint32_t Airavata_getAllUserSSHPubKeys_presult::read(::apache::thrift::protocol:
}
-Airavata_getAllGatewaySSHPubKeys_args::~Airavata_getAllGatewaySSHPubKeys_args() throw() {
+Airavata_getAllGatewayPWDCredentials_args::~Airavata_getAllGatewayPWDCredentials_args() throw() {
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewayPWDCredentials_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -5134,10 +5134,10 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_args::read(::apache::thrift::protocol:
return xfer;
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewayPWDCredentials_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_args");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_args");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->authzToken.write(oprot);
@@ -5153,14 +5153,14 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_args::write(::apache::thrift::protocol
}
-Airavata_getAllGatewaySSHPubKeys_pargs::~Airavata_getAllGatewaySSHPubKeys_pargs() throw() {
+Airavata_getAllGatewayPWDCredentials_pargs::~Airavata_getAllGatewayPWDCredentials_pargs() throw() {
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewayPWDCredentials_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_pargs");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_pargs");
xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->authzToken)).write(oprot);
@@ -5176,11 +5176,11 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_pargs::write(::apache::thrift::protoco
}
-Airavata_getAllGatewaySSHPubKeys_result::~Airavata_getAllGatewaySSHPubKeys_result() throw() {
+Airavata_getAllGatewayPWDCredentials_result::~Airavata_getAllGatewayPWDCredentials_result() throw() {
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewayPWDCredentials_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -5260,11 +5260,11 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_result::read(::apache::thrift::protoco
return xfer;
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Airavata_getAllGatewayPWDCredentials_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("Airavata_getAllGatewaySSHPubKeys_result");
+ xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
@@ -5298,11 +5298,11 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_result::write(::apache::thrift::protoc
}
-Airavata_getAllGatewaySSHPubKeys_presult::~Airavata_getAllGatewaySSHPubKeys_presult() throw() {
+Airavata_getAllGatewayPWDCredentials_presult::~Airavata_getAllGatewayPWDCredentials_presult() throw() {
}
-uint32_t Airavata_getAllGatewaySSHPubKeys_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Airavata_getAllGatewayPWDCredentials_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -5383,314 +5383,6 @@ uint32_t Airavata_getAllGatewaySSHPubKeys_presult::read(::apache::thrift::protoc
}
-Airavata_getAllGatewayPWDCredentials_args::~Airavata_getAllGatewayPWDCredentials_args() throw() {
-}
-
-
-uint32_t Airavata_getAllGatewayPWDCredentials_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_authzToken = false;
- bool isset_gatewayId = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->authzToken.read(iprot);
- isset_authzToken = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayId);
- isset_gatewayId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_authzToken)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_gatewayId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t Airavata_getAllGatewayPWDCredentials_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_args");
-
- xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->authzToken.write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->gatewayId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-Airavata_getAllGatewayPWDCredentials_pargs::~Airavata_getAllGatewayPWDCredentials_pargs() throw() {
-}
-
-
-uint32_t Airavata_getAllGatewayPWDCredentials_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_pargs");
-
- xfer += oprot->writeFieldBegin("authzToken", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += (*(this->authzToken)).write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->gatewayId)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-Airavata_getAllGatewayPWDCredentials_result::~Airavata_getAllGatewayPWDCredentials_result() throw() {
-}
-
-
-uint32_t Airavata_getAllGatewayPWDCredentials_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- this->success.clear();
- uint32_t _size52;
- ::apache::thrift::protocol::TType _ktype53;
- ::apache::thrift::protocol::TType _vtype54;
- xfer += iprot->readMapBegin(_ktype53, _vtype54, _size52);
- uint32_t _i56;
- for (_i56 = 0; _i56 < _size52; ++_i56)
- {
- std::string _key57;
- xfer += iprot->readString(_key57);
- std::string& _val58 = this->success[_key57];
- xfer += iprot->readString(_val58);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ire.read(iprot);
- this->__isset.ire = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ace.read(iprot);
- this->__isset.ace = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ase.read(iprot);
- this->__isset.ase = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t Airavata_getAllGatewayPWDCredentials_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("Airavata_getAllGatewayPWDCredentials_result");
-
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
- {
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::string> ::const_iterator _iter59;
- for (_iter59 = this->success.begin(); _iter59 != this->success.end(); ++_iter59)
- {
- xfer += oprot->writeString(_iter59->first);
- xfer += oprot->writeString(_iter59->second);
- }
- xfer += oprot->writeMapEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ire) {
- xfer += oprot->writeFieldBegin("ire", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->ire.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ace) {
- xfer += oprot->writeFieldBegin("ace", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->ace.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.ase) {
- xfer += oprot->writeFieldBegin("ase", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->ase.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-Airavata_getAllGatewayPWDCredentials_presult::~Airavata_getAllGatewayPWDCredentials_presult() throw() {
-}
-
-
-uint32_t Airavata_getAllGatewayPWDCredentials_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 0:
- if (ftype == ::apache::thrift::protocol::T_MAP) {
- {
- (*(this->success)).clear();
- uint32_t _size60;
- ::apache::thrift::protocol::TType _ktype61;
- ::apache::thrift::protocol::TType _vtype62;
- xfer += iprot->readMapBegin(_ktype61, _vtype62, _size60);
- uint32_t _i64;
- for (_i64 = 0; _i64 < _size60; ++_i64)
- {
- std::string _key65;
- xfer += iprot->readString(_key65);
- std::string& _val66 = (*(this->success))[_key65];
- xfer += iprot->readString(_val66);
- }
- xfer += iprot->readMapEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ire.read(iprot);
- this->__isset.ire = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ace.read(iprot);
- this->__isset.ace = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->ase.read(iprot);
- this->__isset.ase = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
Airavata_deleteSSHPubKey_args::~Airavata_deleteSSHPubKey_args() throw() {
}
@@ -7688,14 +7380,14 @@ uint32_t Airavata_getUserProjects_result::read(::apache::thrift::protocol::TProt
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size67;
- ::apache::thrift::protocol::TType _etype70;
- xfer += iprot->readListBegin(_etype70, _size67);
- this->success.resize(_size67);
- uint32_t _i71;
- for (_i71 = 0; _i71 < _size67; ++_i71)
+ uint32_t _size52;
+ ::apache::thrift::protocol::TType _etype55;
+ xfer += iprot->readListBegin(_etype55, _size52);
+ this->success.resize(_size52);
+ uint32_t _i56;
+ for (_i56 = 0; _i56 < _size52; ++_i56)
{
- xfer += this->success[_i71].read(iprot);
+ xfer += this->success[_i56].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7758,10 +7450,10 @@ uint32_t Airavata_getUserProjects_result::write(::apache::thrift::protocol::TPro
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter72;
- for (_iter72 = this->success.begin(); _iter72 != this->success.end(); ++_iter72)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter57;
+ for (_iter57 = this->success.begin(); _iter57 != this->success.end(); ++_iter57)
{
- xfer += (*_iter72).write(oprot);
+ xfer += (*_iter57).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7818,14 +7510,14 @@ uint32_t Airavata_getUserProjects_presult::read(::apache::thrift::protocol::TPro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size73;
- ::apache::thrift::protocol::TType _etype76;
- xfer += iprot->readListBegin(_etype76, _size73);
- (*(this->success)).resize(_size73);
- uint32_t _i77;
- for (_i77 = 0; _i77 < _size73; ++_i77)
+ uint32_t _size58;
+ ::apache::thrift::protocol::TType _etype61;
+ xfer += iprot->readListBegin(_etype61, _size58);
+ (*(this->success)).resize(_size58);
+ uint32_t _i62;
+ for (_i62 = 0; _i62 < _size58; ++_i62)
{
- xfer += (*(this->success))[_i77].read(iprot);
+ xfer += (*(this->success))[_i62].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8085,14 +7777,14 @@ uint32_t Airavata_searchProjectsByProjectName_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size78;
- ::apache::thrift::protocol::TType _etype81;
- xfer += iprot->readListBegin(_etype81, _size78);
- this->success.resize(_size78);
- uint32_t _i82;
- for (_i82 = 0; _i82 < _size78; ++_i82)
+ uint32_t _size63;
+ ::apache::thrift::protocol::TType _etype66;
+ xfer += iprot->readListBegin(_etype66, _size63);
+ this->success.resize(_size63);
+ uint32_t _i67;
+ for (_i67 = 0; _i67 < _size63; ++_i67)
{
- xfer += this->success[_i82].read(iprot);
+ xfer += this->success[_i67].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8155,10 +7847,10 @@ uint32_t Airavata_searchProjectsByProjectName_result::write(::apache::thrift::pr
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter83;
- for (_iter83 = this->success.begin(); _iter83 != this->success.end(); ++_iter83)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter68;
+ for (_iter68 = this->success.begin(); _iter68 != this->success.end(); ++_iter68)
{
- xfer += (*_iter83).write(oprot);
+ xfer += (*_iter68).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -8215,14 +7907,14 @@ uint32_t Airavata_searchProjectsByProjectName_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size84;
- ::apache::thrift::protocol::TType _etype87;
- xfer += iprot->readListBegin(_etype87, _size84);
- (*(this->success)).resize(_size84);
- uint32_t _i88;
- for (_i88 = 0; _i88 < _size84; ++_i88)
+ uint32_t _size69;
+ ::apache::thrift::protocol::TType _etype72;
+ xfer += iprot->readListBegin(_etype72, _size69);
+ (*(this->success)).resize(_size69);
+ uint32_t _i73;
+ for (_i73 = 0; _i73 < _size69; ++_i73)
{
- xfer += (*(this->success))[_i88].read(iprot);
+ xfer += (*(this->success))[_i73].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8482,14 +8174,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size89;
- ::apache::thrift::protocol::TType _etype92;
- xfer += iprot->readListBegin(_etype92, _size89);
- this->success.resize(_size89);
- uint32_t _i93;
- for (_i93 = 0; _i93 < _size89; ++_i93)
+ uint32_t _size74;
+ ::apache::thrift::protocol::TType _etype77;
+ xfer += iprot->readListBegin(_etype77, _size74);
+ this->success.resize(_size74);
+ uint32_t _i78;
+ for (_i78 = 0; _i78 < _size74; ++_i78)
{
- xfer += this->success[_i93].read(iprot);
+ xfer += this->success[_i78].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8552,10 +8244,10 @@ uint32_t Airavata_searchProjectsByProjectDesc_result::write(::apache::thrift::pr
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter94;
- for (_iter94 = this->success.begin(); _iter94 != this->success.end(); ++_iter94)
+ std::vector< ::apache::airavata::model::workspace::Project> ::const_iterator _iter79;
+ for (_iter79 = this->success.begin(); _iter79 != this->success.end(); ++_iter79)
{
- xfer += (*_iter94).write(oprot);
+ xfer += (*_iter79).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -8612,14 +8304,14 @@ uint32_t Airavata_searchProjectsByProjectDesc_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size95;
- ::apache::thrift::protocol::TType _etype98;
- xfer += iprot->readListBegin(_etype98, _size95);
- (*(this->success)).resize(_size95);
- uint32_t _i99;
- for (_i99 = 0; _i99 < _size95; ++_i99)
+ uint32_t _size80;
+ ::apache::thrift::protocol::TType _etype83;
+ xfer += iprot->readListBegin(_etype83, _size80);
+ (*(this->success)).resize(_size80);
+ uint32_t _i84;
+ for (_i84 = 0; _i84 < _size80; ++_i84)
{
- xfer += (*(this->success))[_i99].read(iprot);
+ xfer += (*(this->success))[_i84].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8879,14 +8571,14 @@ uint32_t Airavata_searchExperimentsByName_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size100;
- ::apache::thrift::protocol::TType _etype103;
- xfer += iprot->readListBegin(_etype103, _size100);
- this->success.resize(_size100);
- uint32_t _i104;
- for (_i104 = 0; _i104 < _size100; ++_i104)
+ uint32_t _size85;
+ ::apache::thrift::protocol::TType _etype88;
+ xfer += iprot->readListBegin(_etype88, _size85);
+ this->success.resize(_size85);
+ uint32_t _i89;
+ for (_i89 = 0; _i89 < _size85; ++_i89)
{
- xfer += this->success[_i104].read(iprot);
+ xfer += this->success[_i89].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8949,10 +8641,10 @@ uint32_t Airavata_searchExperimentsByName_result::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter105;
- for (_iter105 = this->success.begin(); _iter105 != this->success.end(); ++_iter105)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter90;
+ for (_iter90 = this->success.begin(); _iter90 != this->success.end(); ++_iter90)
{
- xfer += (*_iter105).write(oprot);
+ xfer += (*_iter90).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -9009,14 +8701,14 @@ uint32_t Airavata_searchExperimentsByName_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size106;
- ::apache::thrift::protocol::TType _etype109;
- xfer += iprot->readListBegin(_etype109, _size106);
- (*(this->success)).resize(_size106);
- uint32_t _i110;
- for (_i110 = 0; _i110 < _size106; ++_i110)
+ uint32_t _size91;
+ ::apache::thrift::protocol::TType _etype94;
+ xfer += iprot->readListBegin(_etype94, _size91);
+ (*(this->success)).resize(_size91);
+ uint32_t _i95;
+ for (_i95 = 0; _i95 < _size91; ++_i95)
{
- xfer += (*(this->success))[_i110].read(iprot);
+ xfer += (*(this->success))[_i95].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9276,14 +8968,14 @@ uint32_t Airavata_searchExperimentsByDesc_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size111;
- ::apache::thrift::protocol::TType _etype114;
- xfer += iprot->readListBegin(_etype114, _size111);
- this->success.resize(_size111);
- uint32_t _i115;
- for (_i115 = 0; _i115 < _size111; ++_i115)
+ uint32_t _size96;
+ ::apache::thrift::protocol::TType _etype99;
+ xfer += iprot->readListBegin(_etype99, _size96);
+ this->success.resize(_size96);
+ uint32_t _i100;
+ for (_i100 = 0; _i100 < _size96; ++_i100)
{
- xfer += this->success[_i115].read(iprot);
+ xfer += this->success[_i100].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9346,10 +9038,10 @@ uint32_t Airavata_searchExperimentsByDesc_result::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter116;
- for (_iter116 = this->success.begin(); _iter116 != this->success.end(); ++_iter116)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter101;
+ for (_iter101 = this->success.begin(); _iter101 != this->success.end(); ++_iter101)
{
- xfer += (*_iter116).write(oprot);
+ xfer += (*_iter101).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -9406,14 +9098,14 @@ uint32_t Airavata_searchExperimentsByDesc_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size117;
- ::apache::thrift::protocol::TType _etype120;
- xfer += iprot->readListBegin(_etype120, _size117);
- (*(this->success)).resize(_size117);
- uint32_t _i121;
- for (_i121 = 0; _i121 < _size117; ++_i121)
+ uint32_t _size102;
+ ::apache::thrift::protocol::TType _etype105;
+ xfer += iprot->readListBegin(_etype105, _size102);
+ (*(this->success)).resize(_size102);
+ uint32_t _i106;
+ for (_i106 = 0; _i106 < _size102; ++_i106)
{
- xfer += (*(this->success))[_i121].read(iprot);
+ xfer += (*(this->success))[_i106].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9673,14 +9365,14 @@ uint32_t Airavata_searchExperimentsByApplication_result::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size122;
- ::apache::thrift::protocol::TType _etype125;
- xfer += iprot->readListBegin(_etype125, _size122);
- this->success.resize(_size122);
- uint32_t _i126;
- for (_i126 = 0; _i126 < _size122; ++_i126)
+ uint32_t _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[_i126].read(iprot);
+ xfer += this->success[_i111].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9743,10 +9435,10 @@ uint32_t Airavata_searchExperimentsByApplication_result::write(::apache::thrift:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter127;
- for (_iter127 = this->success.begin(); _iter127 != this->success.end(); ++_iter127)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter112;
+ for (_iter112 = this->success.begin(); _iter112 != this->success.end(); ++_iter112)
{
- xfer += (*_iter127).write(oprot);
+ xfer += (*_iter112).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -9803,14 +9495,14 @@ uint32_t Airavata_searchExperimentsByApplication_presult::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size128;
- ::apache::thrift::protocol::TType _etype131;
- xfer += iprot->readListBegin(_etype131, _size128);
- (*(this->success)).resize(_size128);
- uint32_t _i132;
- for (_i132 = 0; _i132 < _size128; ++_i132)
+ uint32_t _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))[_i132].read(iprot);
+ xfer += (*(this->success))[_i117].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -9921,9 +9613,9 @@ uint32_t Airavata_searchExperimentsByStatus_args::read(::apache::thrift::protoco
break;
case 4:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast133;
- xfer += iprot->readI32(ecast133);
- this->experimentState = ( ::apache::airavata::model::status::ExperimentState::type)ecast133;
+ int32_t ecast118;
+ xfer += iprot->readI32(ecast118);
+ this->experimentState = ( ::apache::airavata::model::status::ExperimentState::type)ecast118;
isset_experimentState = true;
} else {
xfer += iprot->skip(ftype);
@@ -10072,14 +9764,14 @@ uint32_t Airavata_searchExperimentsByStatus_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- 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)
+ uint32_t _size119;
+ ::apache::thrift::protocol::TType _etype122;
+ xfer += iprot->readListBegin(_etype122, _size119);
+ this->success.resize(_size119);
+ uint32_t _i123;
+ for (_i123 = 0; _i123 < _size119; ++_i123)
{
- xfer += this->success[_i138].read(iprot);
+ xfer += this->success[_i123].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10142,10 +9834,10 @@ uint32_t Airavata_searchExperimentsByStatus_result::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter139;
- for (_iter139 = this->success.begin(); _iter139 != this->success.end(); ++_iter139)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter124;
+ for (_iter124 = this->success.begin(); _iter124 != this->success.end(); ++_iter124)
{
- xfer += (*_iter139).write(oprot);
+ xfer += (*_iter124).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10202,14 +9894,14 @@ uint32_t Airavata_searchExperimentsByStatus_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size140;
- ::apache::thrift::protocol::TType _etype143;
- xfer += iprot->readListBegin(_etype143, _size140);
- (*(this->success)).resize(_size140);
- uint32_t _i144;
- for (_i144 = 0; _i144 < _size140; ++_i144)
+ 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))[_i144].read(iprot);
+ xfer += (*(this->success))[_i129].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10488,14 +10180,14 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size145;
- ::apache::thrift::protocol::TType _etype148;
- xfer += iprot->readListBegin(_etype148, _size145);
- this->success.resize(_size145);
- uint32_t _i149;
- for (_i149 = 0; _i149 < _size145; ++_i149)
+ 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)
{
- xfer += this->success[_i149].read(iprot);
+ xfer += this->success[_i134].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10558,10 +10250,10 @@ uint32_t Airavata_searchExperimentsByCreationTime_result::write(::apache::thrift
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter150;
- for (_iter150 = this->success.begin(); _iter150 != this->success.end(); ++_iter150)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter135;
+ for (_iter135 = this->success.begin(); _iter135 != this->success.end(); ++_iter135)
{
- xfer += (*_iter150).write(oprot);
+ xfer += (*_iter135).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10618,14 +10310,14 @@ uint32_t Airavata_searchExperimentsByCreationTime_presult::read(::apache::thrift
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size151;
- ::apache::thrift::protocol::TType _etype154;
- xfer += iprot->readListBegin(_etype154, _size151);
- (*(this->success)).resize(_size151);
- uint32_t _i155;
- for (_i155 = 0; _i155 < _size151; ++_i155)
+ 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)
{
- xfer += (*(this->success))[_i155].read(iprot);
+ xfer += (*(this->success))[_i140].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10737,19 +10429,19 @@ uint32_t Airavata_searchExperiments_args::read(::apache::thrift::protocol::TProt
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->filters.clear();
- uint32_t _size156;
- ::apache::thrift::protocol::TType _ktype157;
- ::apache::thrift::protocol::TType _vtype158;
- xfer += iprot->readMapBegin(_ktype157, _vtype158, _size156);
- uint32_t _i160;
- for (_i160 = 0; _i160 < _size156; ++_i160)
+ uint32_t _size141;
+ ::apache::thrift::protocol::TType _ktype142;
+ ::apache::thrift::protocol::TType _vtype143;
+ xfer += iprot->readMapBegin(_ktype142, _vtype143, _size141);
+ uint32_t _i145;
+ for (_i145 = 0; _i145 < _size141; ++_i145)
{
- ::apache::airavata::model::experiment::ExperimentSearchFields::type _key161;
- int32_t ecast163;
- xfer += iprot->readI32(ecast163);
- _key161 = ( ::apache::airavata::model::experiment::ExperimentSearchFields::type)ecast163;
- std::string& _val162 = this->filters[_key161];
- xfer += iprot->readString(_val162);
+ ::apache::airavata::model::experiment::ExperimentSearchFields::type _key146;
+ int32_t ecast148;
+ xfer += iprot->readI32(ecast148);
+ _key146 = ( ::apache::airavata::model::experiment::ExperimentSearchFields::type)ecast148;
+ std::string& _val147 = this->filters[_key146];
+ xfer += iprot->readString(_val147);
}
xfer += iprot->readMapEnd();
}
@@ -10816,11 +10508,11 @@ uint32_t Airavata_searchExperiments_args::write(::apache::thrift::protocol::TPro
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 _iter164;
- for (_iter164 = this->filters.begin(); _iter164 != this->filters.end(); ++_iter164)
+ std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter149;
+ for (_iter149 = this->filters.begin(); _iter149 != this->filters.end(); ++_iter149)
{
- xfer += oprot->writeI32((int32_t)_iter164->first);
- xfer += oprot->writeString(_iter164->second);
+ xfer += oprot->writeI32((int32_t)_iter149->first);
+ xfer += oprot->writeString(_iter149->second);
}
xfer += oprot->writeMapEnd();
}
@@ -10864,11 +10556,11 @@ uint32_t Airavata_searchExperiments_pargs::write(::apache::thrift::protocol::TPr
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 _iter165;
- for (_iter165 = (*(this->filters)).begin(); _iter165 != (*(this->filters)).end(); ++_iter165)
+ std::map< ::apache::airavata::model::experiment::ExperimentSearchFields::type, std::string> ::const_iterator _iter150;
+ for (_iter150 = (*(this->filters)).begin(); _iter150 != (*(this->filters)).end(); ++_iter150)
{
- xfer += oprot->writeI32((int32_t)_iter165->first);
- xfer += oprot->writeString(_iter165->second);
+ xfer += oprot->writeI32((int32_t)_iter150->first);
+ xfer += oprot->writeString(_iter150->second);
}
xfer += oprot->writeMapEnd();
}
@@ -10917,14 +10609,14 @@ uint32_t Airavata_searchExperiments_result::read(::apache::thrift::protocol::TPr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size166;
- ::apache::thrift::protocol::TType _etype169;
- xfer += iprot->readListBegin(_etype169, _size166);
- this->success.resize(_size166);
- uint32_t _i170;
- for (_i170 = 0; _i170 < _size166; ++_i170)
+ uint32_t _size151;
+ ::apache::thrift::protocol::TType _etype154;
+ xfer += iprot->readListBegin(_etype154, _size151);
+ this->success.resize(_size151);
+ uint32_t _i155;
+ for (_i155 = 0; _i155 < _size151; ++_i155)
{
- xfer += this->success[_i170].read(iprot);
+ xfer += this->success[_i155].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10987,10 +10679,10 @@ uint32_t Airavata_searchExperiments_result::write(::apache::thrift::protocol::TP
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 _iter171;
- for (_iter171 = this->success.begin(); _iter171 != this->success.end(); ++_iter171)
+ std::vector< ::apache::airavata::model::experiment::ExperimentSummaryModel> ::const_iterator _iter156;
+ for (_iter156 = this->success.begin(); _iter156 != this->success.end(); ++_iter156)
{
- xfer += (*_iter171).write(oprot);
+ xfer += (*_iter156).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -11047,14 +10739,14 @@ uint32_t Airavata_searchExperiments_presult::read(::apache::thrift::protocol::TP
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size172;
- ::apache::thrift::protocol::TType _etype175;
- xfer += iprot->readListBegin(_etype175, _size172);
- (*(this->success)).resize(_size172);
- uint32_t _i176;
- for (_i176 = 0; _i176 < _size172; ++_i176)
+ uint32_t _size157;
+ ::apache::thrift::protocol::TType _etype160;
+ xfer += iprot->readListBegin(_etype160, _size157);
+ (*(this->success)).resize(_size157);
+ uint32_t _i161;
+ for (_i161 = 0; _i161 < _size157; ++_i161)
{
- xfer += (*(this->success))[_i176].read(iprot);
+ xfer += (*(this->success))[_i161].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -11603,14 +11295,14 @@ uint32_t Airavata_getExperimentsInProject_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size177;
- ::apache::thrift::protocol::TType _etype180;
- xfer += iprot->readListBegin(_etype180, _size177);
- this->success.resize(_size177);
- uint32_t _i181;
- for (_i181 = 0; _i181 < _size177; ++_i181)
+ 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[_i181].read(iprot);
+ xfer += this->success[_i166].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -11681,10 +11373,10 @@ uint32_t Airavata_getExperimentsInProject_result::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter182;
- for (_iter182 = this->success.begin(); _iter182 != this->success.end(); ++_iter182)
+ std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter167;
+ for (_iter167 = this->success.begin(); _iter167 != this->success.end(); ++_iter167)
{
- xfer += (*_iter182).write(oprot);
+ xfer += (*_iter167).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -11745,14 +11437,14 @@ uint32_t Airavata_getExperimentsInProject_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size183;
- ::apache::thrift::protocol::TType _etype186;
- xfer += iprot->readListBegin(_etype186, _size183);
- (*(this->success)).resize(_size183);
- uint32_t _i187;
- for (_i187 = 0; _i187 < _size183; ++_i187)
+ 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))[_i187].read(iprot);
+ xfer += (*(this->success))[_i172].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12001,14 +11693,14 @@ uint32_t Airavata_getUserExperiments_result::read(::apache::thrift::protocol::TP
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size188;
- ::apache::thrift::protocol::TType _etype191;
- xfer += iprot->readListBegin(_etype191, _size188);
- this->success.resize(_size188);
- uint32_t _i192;
- for (_i192 = 0; _i192 < _size188; ++_i192)
+ 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[_i192].read(iprot);
+ xfer += this->success[_i177].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -12071,10 +11763,10 @@ uint32_t Airavata_getUserExperiments_result::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter193;
- for (_iter193 = this->success.begin(); _iter193 != this->success.end(); ++_iter193)
+ std::vector< ::apache::airavata::model::experiment::ExperimentModel> ::const_iterator _iter178;
+ for (_iter178 = this->success.begin(); _iter178 != this->success.end(); ++_iter178)
{
- xfer += (*_iter193).write(oprot);
+ xfer += (*_iter178).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -12131,14 +11823,14 @@ uint32_t Airavata_getUserExperiments_presult::read(::apache::thrift::protocol::T
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size194;
- ::apache::thrift::protocol::TType _etype197;
- xfer += iprot->readListBegin(_etype197, _size194);
- (*(this->success)).resize(_size194);
- uint32_t _i198;
- for (_i198 = 0; _i198 < _size194; ++_i198)
+ uint32_t _size179;
+ ::apache::thrift::protocol::TType _etype182;
+ xfer += iprot->readListBegin(_etype182, _size179);
+ (*(this->success)).resize(_size179);
+ uint32_t _i183;
+ for (_i183 = 0; _i183 < _size179; ++_i183)
{
- xfer += (*(this->success))[_i198].read(iprot);
+ xfer += (*(this->success))[_i183].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15227,14 +14919,14 @@ uint32_t Airavata_getExperimentOutputs_result::read(::apache::thrift::protocol::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size199;
- ::apache::thrift::protocol::TType _etype202;
- xfer += iprot->readListBegin(_etype202, _size199);
- this->success.resize(_size199);
- uint32_t _i203;
- for (_i203 = 0; _i203 < _size199; ++_i203)
+ uint32_t _size184;
+ ::apache::thrift::protocol::TType _etype187;
+ xfer += iprot->readListBegin(_etype187, _size184);
+ this->success.resize(_size184);
+ uint32_t _i188;
+ for (_i188 = 0; _i188 < _size184; ++_i188)
{
- xfer += this->success[_i203].read(iprot);
+ xfer += this->success[_i188].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15305,10 +14997,10 @@ uint32_t Airavata_getExperimentOutputs_result::write(::apache::thrift::protocol:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter204;
- for (_iter204 = this->success.begin(); _iter204 != this->success.end(); ++_iter204)
+ std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter189;
+ for (_iter189 = this->success.begin(); _iter189 != this->success.end(); ++_iter189)
{
- xfer += (*_iter204).write(oprot);
+ xfer += (*_iter189).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15369,14 +15061,14 @@ uint32_t Airavata_getExperimentOutputs_presult::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size205;
- ::apache::thrift::protocol::TType _etype208;
- xfer += iprot->readListBegin(_etype208, _size205);
- (*(this->success)).resize(_size205);
- uint32_t _i209;
- for (_i209 = 0; _i209 < _size205; ++_i209)
+ uint32_t _size190;
+ ::apache::thrift::protocol::TType _etype193;
+ xfer += iprot->readListBegin(_etype193, _size190);
+ (*(this->success)).resize(_size190);
+ uint32_t _i194;
+ for (_i194 = 0; _i194 < _size190; ++_i194)
{
- xfer += (*(this->success))[_i209].read(iprot);
+ xfer += (*(this->success))[_i194].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15568,14 +15260,14 @@ uint32_t Airavata_getIntermediateOutputs_result::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size210;
- ::apache::thrift::protocol::TType _etype213;
- xfer += iprot->readListBegin(_etype213, _size210);
- this->success.resize(_size210);
- uint32_t _i214;
- for (_i214 = 0; _i214 < _size210; ++_i214)
+ uint32_t _size195;
+ ::apache::thrift::protocol::TType _etype198;
+ xfer += iprot->readListBegin(_etype198, _size195);
+ this->success.resize(_size195);
+ uint32_t _i199;
+ for (_i199 = 0; _i199 < _size195; ++_i199)
{
- xfer += this->success[_i214].read(iprot);
+ xfer += this->success[_i199].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15646,10 +15338,10 @@ uint32_t Airavata_getIntermediateOutputs_result::write(::apache::thrift::protoco
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter215;
- for (_iter215 = this->success.begin(); _iter215 != this->success.end(); ++_iter215)
+ std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter200;
+ for (_iter200 = this->success.begin(); _iter200 != this->success.end(); ++_iter200)
{
- xfer += (*_iter215).write(oprot);
+ xfer += (*_iter200).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -15710,14 +15402,14 @@ uint32_t Airavata_getIntermediateOutputs_presult::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size216;
- ::apache::thrift::protocol::TType _etype219;
- xfer += iprot->readListBegin(_etype219, _size216);
- (*(this->success)).resize(_size216);
- uint32_t _i220;
- for (_i220 = 0; _i220 < _size216; ++_i220)
+ uint32_t _size201;
+ ::apache::thrift::protocol::TType _etype204;
+ xfer += iprot->readListBegin(_etype204, _size201);
+ (*(this->success)).resize(_size201);
+ uint32_t _i205;
+ for (_i205 = 0; _i205 < _size201; ++_i205)
{
- xfer += (*(this->success))[_i220].read(iprot);
+ xfer += (*(this->success))[_i205].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -15909,17 +15601,17 @@ uint32_t Airavata_getJobStatuses_result::read(::apache::thrift::protocol::TProto
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size221;
- ::apache::thrift::protocol::TType _ktype222;
- ::apache::thrift::protocol::TType _vtype223;
- xfer += iprot->readMapBegin(_ktype222, _vtype223, _size221);
- uint32_t _i225;
- for (_i225 = 0; _i225 < _size221; ++_i225)
+ uint32_t _size206;
+ ::apache::thrift::protocol::TType _ktype207;
+ ::apache::thrift::protocol::TType _vtype208;
+ xfer += iprot->readMapBegin(_ktype207, _vtype208, _size206);
+ uint32_t _i210;
+ for (_i210 = 0; _i210 < _size206; ++_i210)
{
- std::string _key226;
- xfer += iprot->readString(_key226);
- ::apache::airavata::model::status::JobStatus& _val227 = this->success[_key226];
- xfer += _val227.read(iprot);
+ std::string _key211;
+ xfer += iprot->readString(_key211);
+ ::apache::airavata::model::status::JobStatus& _val212 = this->success[_key211];
+ xfer += _val212.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -15990,11 +15682,11 @@ uint32_t Airavata_getJobStatuses_result::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, ::apache::airavata::model::status::JobStatus> ::const_iterator _iter228;
- for (_iter228 = this->success.begin(); _iter228 != this->success.end(); ++_iter228)
+ std::map<std::string, ::apache::airavata::model::status::JobStatus> ::const_iterator _iter213;
+ for (_iter213 = this->success.begin(); _iter213 != this->success.end(); ++_iter213)
{
- xfer += oprot->writeString(_iter228->first);
- xfer += _iter228->second.write(oprot);
+ xfer += oprot->writeString(_iter213->first);
+ xfer += _iter213->second.write(oprot);
}
xfer += oprot->writeMapEnd();
}
@@ -16055,17 +15747,17 @@ uint32_t Airavata_getJobStatuses_presult::read(::apache::thrift::protocol::TProt
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size229;
- ::apache::thrift::protocol::TType _ktype230;
- ::apache::thrift::protocol::TType _vtype231;
- xfer += iprot->readMapBegin(_ktype230, _vtype231, _size229);
- uint32_t _i233;
- for (_i233 = 0; _i233 < _size229; ++_i233)
+ uint32_t _size214;
+ ::apache::thrift::protocol::TType _ktype215;
+ ::apache::thrift::protocol::TType _vtype216;
+ xfer += iprot->readMapBegin(_ktype215, _vtype216, _size214);
+ uint32_t _i218;
+ for (_i218 = 0; _i218 < _size214; ++_i218)
{
- std::string _key234;
- xfer += iprot->readString(_key234);
- ::apache::airavata::model::status::JobStatus& _val235 = (*(this->success))[_key234];
- xfer += _val235.read(iprot);
+ std::string _key219;
+ xfer += iprot->readString(_key219);
+ ::apache::airavata::model::status::JobStatus& _val220 = (*(this->success))[_key219];
+ xfer += _val220.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -16257,14 +15949,14 @@ uint32_t Airavata_getJobDetails_result::read(::apache::thrift::protocol::TProtoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size236;
- ::apache::thrift::protocol::TType _etype239;
- xfer += iprot->readListBegin(_etype239, _size236);
- this->success.resize(_size236);
- uint32_t _i240;
- for (_i240 = 0; _i240 < _size236; ++_i240)
+ uint32_t _size221;
+ ::apache::thrift::protocol::TType _etype224;
+ xfer += iprot->readListBegin(_etype224, _size221);
+ this->success.resize(_size221);
+ uint32_t _i225;
+ for (_i225 = 0; _i225 < _size221; ++_i225)
{
- xfer += this->success[_i240].read(iprot);
+ xfer += this->success[_i225].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -16335,10 +16027,10 @@ uint32_t Airavata_getJobDetails_result::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::job::JobModel> ::const_iterator _iter241;
- for (_iter241 = this->success.begin(); _iter241 != this->success.end(); ++_iter241)
+ std::vector< ::apache::airavata::model::job::JobModel> ::const_iterator _iter226;
+ for (_iter226 = this->success.begin(); _iter226 != this->success.end(); ++_iter226)
{
- xfer += (*_iter241).write(oprot);
+ xfer += (*_iter226).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -16399,14 +16091,14 @@ uint32_t Airavata_getJobDetails_presult::read(::apache::thrift::protocol::TProto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size242;
- ::apache::thrift::protocol::TType _etype245;
- xfer += iprot->readListBegin(_etype245, _size242);
- (*(this->success)).resize(_size242);
- uint32_t _i246;
- for (_i246 = 0; _i246 < _size242; ++_i246)
+ uint32_t _size227;
+ ::apache::thrift::protocol::TType _etype230;
+ xfer += iprot->readListBegin(_etype230, _size227);
+ (*(this->success)).resize(_size227);
+ uint32_t _i231;
+ for (_i231 = 0; _i231 < _size227; ++_i231)
{
- xfer += (*(this->success))[_i246].read(iprot);
+ xfer += (*(this->success))[_i231].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -18127,14 +17819,14 @@ uint32_t Airavata_getAllAppModules_result::read(::apache::thrift::protocol::TPro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size247;
- ::apache::thrift::protocol::TType _etype250;
- xfer += iprot->readListBegin(_etype250, _size247);
- this->success.resize(_size247);
- uint32_t _i251;
- for (_i251 = 0; _i251 < _size247; ++_i251)
+ uint32_t _size232;
+ ::apache::thrift::protocol::TType _etype235;
+ xfer += iprot->readListBegin(_etype235, _size232);
+ this->success.resize(_size232);
+ uint32_t _i236;
+ for (_i236 = 0; _i236 < _size232; ++_i236)
{
- xfer += this->success[_i251].read(iprot);
+ xfer += this->success[_i236].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -18197,10 +17889,10 @@ uint32_t Airavata_getAllAppModules_result::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationModule> ::const_iterator _iter252;
- for (_iter252 = this->success.begin(); _iter252 != this->success.end(); ++_iter252)
+ std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationModule> ::const_iterator _iter237;
+ for (_iter237 = this->success.begin(); _iter237 != this->success.end(); ++_iter237)
{
- xfer += (*_iter252).write(oprot);
+ xfer += (*_iter237).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -18257,14 +17949,14 @@ uint32_t Airavata_getAllAppModules_presult::read(::apache::thrift::protocol::TPr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size253;
- ::apache::thrift::protocol::TType _etype256;
- xfer += iprot->readListBegin(_etype256, _size253);
- (*(this->success)).resize(_size253);
- uint32_t _i257;
- for (_i257 = 0; _i257 < _size253; ++_i257)
+ uint32_t _size238;
+ ::apache::thrift::protocol::TType _etype241;
+ xfer += iprot->readListBegin(_etype241, _size238);
+ (*(this->success)).resize(_size238);
+ uint32_t _i242;
+ for (_i242 = 0; _i242 < _size238; ++_i242)
{
- xfer += (*(this->success))[_i257].read(iprot);
+ xfer += (*(this->success))[_i242].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -19931,14 +19623,14 @@ uint32_t Airavata_getAllApplicationDeployments_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size258;
- ::apache::thrift::protocol::TType _etype261;
- xfer += iprot->readListBegin(_etype261, _size258);
- this->success.resize(_size258);
- uint32_t _i262;
- for (_i262 = 0; _i262 < _size258; ++_i262)
+ uint32_t _size243;
+ ::apache::thrift::protocol::TType _etype246;
+ xfer += iprot->readListBegin(_etype246, _size243);
+ this->success.resize(_size243);
+ uint32_t _i247;
+ for (_i247 = 0; _i247 < _size243; ++_i247)
{
- xfer += this->success[_i262].read(iprot);
+ xfer += this->success[_i247].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -20001,10 +19693,10 @@ uint32_t Airavata_getAllApplicationDeployments_result::write(::apache::thrift::p
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationDeploymentDescription> ::const_iterator _iter263;
- for (_iter263 = this->success.begin(); _iter263 != this->success.end(); ++_iter263)
+ std::vector< ::apache::airavata::model::appcatalog::appdeployment::ApplicationDeploymentDescription> ::const_iterator _iter248;
+ for (_iter248 = this->success.begin(); _iter248 != this->success.end(); ++_iter248)
{
- xfer += (*_iter263).write(oprot);
+ xfer += (*_iter248).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -20061,14 +19753,14 @@ uint32_t Airavata_getAllApplicationDeployments_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size264;
- ::apache::thrift::protocol::TType _etype267;
- xfer += iprot->readListBegin(_etype267, _size264);
- (*(this->success)).resize(_size264);
- uint32_t _i268;
- for (_i268 = 0; _i268 < _size264; ++_i268)
+ uint32_t _size249;
+ ::apache::thrift::protocol::TType _etype252;
+ xfer += iprot->readListBegin(_etype252, _size249);
+ (*(this->success)).resize(_size249);
+ uint32_t _i253;
+ for (_i253 = 0; _i253 < _size249; ++_i253)
{
- xfer += (*(this->success))[_i268].read(iprot);
+ xfer += (*(this->success))[_i253].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -20252,14 +19944,14 @@ uint32_t Airavata_getAppModuleDeployedResources_result::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size269;
- ::apache::thrift::protocol::TType _etype272;
- xfer += iprot->readListBegin(_etype272, _size269);
- this->success.resize(_size269);
- uint32_t _i273;
- for (_i273 = 0; _i273 < _size269; ++_i273)
+ uint32_t _size254;
+ ::apache::thrift::protocol::TType _etype257;
+ xfer += iprot->readListBegin(_etype257, _size254);
+ this->success.resize(_size254);
+ uint32_t _i258;
+ for (_i258 = 0; _i258 < _size254; ++_i258)
{
- xfer += iprot->readString(this->success[_i273]);
+ xfer += iprot->readString(this->success[_i258]);
}
xfer += iprot->readListEnd();
}
@@ -20322,10 +20014,10 @@ uint32_t Airavata_getAppModuleDeployedResources_result::write(::apache::thrift::
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter274;
- for (_iter274 = this->success.begin(); _iter274 != this->success.end(); ++_iter274)
+ std::vector<std::string> ::const_iterator _iter259;
+ for (_iter259 = this->success.begin(); _iter259 != this->success.end(); ++_iter259)
{
- xfer += oprot->writeString((*_iter274));
+ xfer += oprot->writeString((*_iter259));
}
xfer += oprot->writeListEnd();
}
@@ -20382,14 +20074,14 @@ uint32_t Airavata_getAppModuleDeployedResources_presult::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size275;
- ::apache::thrift::protocol::TType _etype278;
- xfer += iprot->readListBegin(_etype278, _size275);
- (*(this->success)).resize(_size275);
- uint32_t _i279;
- for (_i279 = 0; _i279 < _size275; ++_i279)
+ uint32_t _size260;
+ ::apache::thrift::protocol::TType _etype263;
+ xfer += iprot->readListBegin(_etype263, _size260);
+ (*(this->success)).resize(_size260);
+ uint32_t _i264;
+ for (_i264 = 0; _i264 < _size260; ++_i264)
{
- xfer += iprot->readString((*(this->success))[_i279]);
+ xfer += iprot->readString((*(this->success))[_i264]);
}
xfer += iprot->readListEnd();
}
@@ -22085,17 +21777,17 @@ uint32_t Airavata_getAllApplicationInterfaceNames_result::read(::apache::thrift:
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size280;
- ::apache::thrift::protocol::TType _ktype281;
- ::apache::thrift::protocol::TType _vtype282;
- xfer += iprot->readMapBegin(_ktype281, _vtype282, _size280);
- uint32_t _i284;
- for (_i284 = 0; _i284 < _size280; ++_i284)
+ uint32_t _size265;
+ ::apache::thrift::protocol::TType _ktype266;
+ ::apache::thrift::protocol::TType _vtype267;
+ xfer += iprot->readMapBegin(_ktype266, _vtype267, _size265);
+ uint32_t _i269;
+ for (_i269 = 0; _i269 < _size265; ++_i269)
{
- std::string _key285;
- xfer += iprot->readString(_key285);
- std::string& _val286 = this->success[_key285];
- xfer += iprot->readString(_val286);
+ std::string _key270;
+ xfer += iprot->readString(_key270);
+ std::string& _val271 = this->success[_key270];
+ xfer += iprot->readString(_val271);
}
xfer += iprot->readMapEnd();
}
@@ -22158,11 +21850,11 @@ uint32_t Airavata_getAllApplicationInterfaceNames_result::write(::apache::thrift
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, std::string> ::const_iterator _iter287;
- for (_iter287 = this->success.begin(); _iter287 != this->success.end(); ++_iter287)
+ std::map<std::string, std::string> ::const_iterator _iter272;
+ for (_iter272 = this->success.begin(); _iter272 != this->success.end(); ++_iter272)
{
- xfer += oprot->writeString(_iter287->first);
- xfer += oprot->writeString(_iter287->second);
+ xfer += oprot->writeString(_iter272->first);
+ xfer += oprot->writeString(_iter272->second);
}
xfer += oprot->writeMapEnd();
}
@@ -22219,17 +21911,17 @@ uint32_t Airavata_getAllApplicationInterfaceNames_presult::read(::apache::thrift
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size288;
- ::apache::thrift::protocol::TType _ktype289;
- ::apache::thrift::protocol::TType _vtype290;
- xfer += iprot->readMapBegin(_ktype289, _vtype290, _size288);
- uint32_t _i292;
- for (_i292 = 0; _i292 < _size288; ++_i292)
+ uint32_t _size273;
+ ::apache::thrift::protocol::TType _ktype274;
+ ::apache::thrift::protocol::TType _vtype275;
+ xfer += iprot->readMapBegin(_ktype274, _vtype275, _size273);
+ uint32_t _i277;
+ for (_i277 = 0; _i277 < _size273; ++_i277)
{
- std::string _key293;
- xfer += iprot->readString(_key293);
- std::string& _val294 = (*(this->success))[_key293];
- xfer += iprot->readString(_val294);
+ std::string _key278;
+ xfer += iprot->readString(_key278);
+ std::string& _val279 = (*(this->success))[_key278];
+ xfer += iprot->readString(_val279);
}
xfer += iprot->readMapEnd();
}
@@ -22413,14 +22105,14 @@ uint32_t Airavata_getAllApplicationInterfaces_result::read(::apache::thrift::pro
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size295;
- ::apache::thrift::protocol::TType _etype298;
- xfer += iprot->readListBegin(_etype298, _size295);
- this->success.resize(_size295);
- uint32_t _i299;
- for (_i299 = 0; _i299 < _size295; ++_i299)
+ uint32_t _size280;
+ ::apache::thrift::protocol::TType _etype283;
+ xfer += iprot->readListBegin(_etype283, _size280);
+ this->success.resize(_size280);
+ uint32_t _i284;
+ for (_i284 = 0; _i284 < _size280; ++_i284)
{
- xfer += this->success[_i299].read(iprot);
+ xfer += this->success[_i284].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22483,10 +22175,10 @@ uint32_t Airavata_getAllApplicationInterfaces_result::write(::apache::thrift::pr
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::appcatalog::appinterface::ApplicationInterfaceDescription> ::const_iterator _iter300;
- for (_iter300 = this->success.begin(); _iter300 != this->success.end(); ++_iter300)
+ std::vector< ::apache::airavata::model::appcatalog::appinterface::ApplicationInterfaceDescription> ::const_iterator _iter285;
+ for (_iter285 = this->success.begin(); _iter285 != this->success.end(); ++_iter285)
{
- xfer += (*_iter300).write(oprot);
+ xfer += (*_iter285).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -22543,14 +22235,14 @@ uint32_t Airavata_getAllApplicationInterfaces_presult::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size301;
- ::apache::thrift::protocol::TType _etype304;
- xfer += iprot->readListBegin(_etype304, _size301);
- (*(this->success)).resize(_size301);
- uint32_t _i305;
- for (_i305 = 0; _i305 < _size301; ++_i305)
+ uint32_t _size286;
+ ::apache::thrift::protocol::TType _etype289;
+ xfer += iprot->readListBegin(_etype289, _size286);
+ (*(this->success)).resize(_size286);
+ uint32_t _i290;
+ for (_i290 = 0; _i290 < _size286; ++_i290)
{
- xfer += (*(this->success))[_i305].read(iprot);
+ xfer += (*(this->success))[_i290].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22734,14 +22426,14 @@ uint32_t Airavata_getApplicationInputs_result::read(::apache::thrift::protocol::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size306;
- ::apache::thrift::protocol::TType _etype309;
- xfer += iprot->readListBegin(_etype309, _size306);
- this->success.resize(_size306);
- uint32_t _i310;
- for (_i310 = 0; _i310 < _size306; ++_i310)
+ uint32_t _size291;
+ ::apache::thrift::protocol::TType _etype294;
+ xfer += iprot->readListBegin(_etype294, _size291);
+ this->success.resize(_size291);
+ uint32_t _i295;
+ for (_i295 = 0; _i295 < _size291; ++_i295)
{
- xfer += this->success[_i310].read(iprot);
+ xfer += this->success[_i295].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -22804,10 +22496,10 @@ uint32_t Airavata_getApplicationInputs_result::write(::apache::thrift::protocol:
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::application::io::InputDataObjectType> ::const_iterator _iter311;
- for (_iter311 = this->success.begin(); _iter311 != this->success.end(); ++_iter311)
+ std::vector< ::apache::airavata::model::application::io::InputDataObjectType> ::const_iterator _iter296;
+ for (_iter296 = this->success.begin(); _iter296 != this->success.end(); ++_iter296)
{
- xfer += (*_iter311).write(oprot);
+ xfer += (*_iter296).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -22864,14 +22556,14 @@ uint32_t Airavata_getApplicationInputs_presult::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size312;
- ::apache::thrift::protocol::TType _etype315;
- xfer += iprot->readListBegin(_etype315, _size312);
- (*(this->success)).resize(_size312);
- uint32_t _i316;
- for (_i316 = 0; _i316 < _size312; ++_i316)
+ uint32_t _size297;
+ ::apache::thrift::protocol::TType _etype300;
+ xfer += iprot->readListBegin(_etype300, _size297);
+ (*(this->success)).resize(_size297);
+ uint32_t _i301;
+ for (_i301 = 0; _i301 < _size297; ++_i301)
{
- xfer += (*(this->success))[_i316].read(iprot);
+ xfer += (*(this->success))[_i301].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23055,14 +22747,14 @@ uint32_t Airavata_getApplicationOutputs_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size317;
- ::apache::thrift::protocol::TType _etype320;
- xfer += iprot->readListBegin(_etype320, _size317);
- this->success.resize(_size317);
- uint32_t _i321;
- for (_i321 = 0; _i321 < _size317; ++_i321)
+ uint32_t _size302;
+ ::apache::thrift::protocol::TType _etype305;
+ xfer += iprot->readListBegin(_etype305, _size302);
+ this->success.resize(_size302);
+ uint32_t _i306;
+ for (_i306 = 0; _i306 < _size302; ++_i306)
{
- xfer += this->success[_i321].read(iprot);
+ xfer += this->success[_i306].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23125,10 +22817,10 @@ uint32_t Airavata_getApplicationOutputs_result::write(::apache::thrift::protocol
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter322;
- for (_iter322 = this->success.begin(); _iter322 != this->success.end(); ++_iter322)
+ std::vector< ::apache::airavata::model::application::io::OutputDataObjectType> ::const_iterator _iter307;
+ for (_iter307 = this->success.begin(); _iter307 != this->success.end(); ++_iter307)
{
- xfer += (*_iter322).write(oprot);
+ xfer += (*_iter307).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -23185,14 +22877,14 @@ uint32_t Airavata_getApplicationOutputs_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size323;
- ::apache::thrift::protocol::TType _etype326;
- xfer += iprot->readListBegin(_etype326, _size323);
- (*(this->success)).resize(_size323);
- uint32_t _i327;
- for (_i327 = 0; _i327 < _size323; ++_i327)
+ uint32_t _size308;
+ ::apache::thrift::protocol::TType _etype311;
+ xfer += iprot->readListBegin(_etype311, _size308);
+ (*(this->success)).resize(_size308);
+ uint32_t _i312;
+ for (_i312 = 0; _i312 < _size308; ++_i312)
{
- xfer += (*(this->success))[_i327].read(iprot);
+ xfer += (*(this->success))[_i312].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -23376,17 +23068,17 @@ uint32_t Airavata_getAvailableAppInterfaceComputeResources_result::read(::apache
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size328;
- ::apache::thrift::protocol::TType _ktype329;
-
<TRUNCATED>