You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/11/18 17:18:54 UTC
[airavata-php-gateway] branch staging updated: Updating thrift
models to support staging environment
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata-php-gateway.git
The following commit(s) were added to refs/heads/staging by this push:
new 76782a2 Updating thrift models to support staging environment
76782a2 is described below
commit 76782a2ff7d5129666eb0f2be866690e61858721
Author: Dimuthu Wannipurage <di...@datasprouts.com>
AuthorDate: Sun Nov 18 12:18:45 2018 -0500
Updating thrift models to support staging environment
---
app/libraries/Airavata/API/Airavata.php | 10997 ++++++-------
app/libraries/Airavata/API/Error/Types.php | 2 +-
.../API/Sharing/SharingRegistryService.php | 15735 +++++++++++++++++++
app/libraries/Airavata/API/Sharing/Types.php | 20 +
app/libraries/Airavata/API/Types.php | 2 +-
.../Model/AppCatalog/AppDeployment/Types.php | 2 +-
.../Model/AppCatalog/AppInterface/Types.php | 2 +-
.../Model/AppCatalog/ComputeResource/Types.php | 2511 ---
.../Model/AppCatalog/GatewayProfile/Types.php | 2 +-
.../Model/AppCatalog/Parallelism/Types.php | 2 +-
app/libraries/Airavata/Model/Commons/Types.php | 2 +-
.../Airavata/Model/Data/Movement/Types.php | 2 +-
.../Airavata/Model/Data/Replica/Types.php | 2 +-
app/libraries/Airavata/Model/Dbevent/Types.php | 2 +-
app/libraries/Airavata/Model/Group/Types.php | 2 +-
app/libraries/Airavata/Model/Job/Types.php | 2 +-
.../Airavata/Model/Messaging/Event/Types.php | 2 +-
app/libraries/Airavata/Model/Process/Types.php | 2 +-
app/libraries/Airavata/Model/Security/Types.php | 2 +-
app/libraries/Airavata/Model/Sharing/Types.php | 2481 +++
app/libraries/Airavata/Model/Status/Types.php | 4 +-
app/libraries/Airavata/Model/Task/Types.php | 2 +-
app/libraries/Airavata/Model/Tenant/Types.php | 2 +-
app/libraries/Airavata/Model/Types.php | 2 +-
app/libraries/Airavata/Model/User/Types.php | 662 +-
app/libraries/Airavata/Model/Workspace/Types.php | 2 +-
26 files changed, 23315 insertions(+), 9133 deletions(-)
diff --git a/app/libraries/Airavata/API/Airavata.php b/app/libraries/Airavata/API/Airavata.php
index 30fecc2..c95ef31 100644
--- a/app/libraries/Airavata/API/Airavata.php
+++ b/app/libraries/Airavata/API/Airavata.php
@@ -1,7 +1,7 @@
<?php
namespace Airavata\API;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.10.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -3451,19 +3451,6 @@ interface AiravataIf {
*/
public function doesUserHaveSSHAccount(\Airavata\Model\Security\AuthzToken $authzToken, $computeResourceId, $userId);
/**
- * Check if SSH account setup is complete for this user on the given compute resource.
- *
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $computeResourceId
- * @param string $airavataCredStoreToken
- * @return bool
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function isSSHSetupCompleteForUserComputeResourcePreference(\Airavata\Model\Security\AuthzToken $authzToken, $computeResourceId, $airavataCredStoreToken);
- /**
* Setup and return a UserComputeResourcePreference object for this user to SSH into the given compute resource with
* the given SSH credential. This method will only work if the compute resource has an SSHAccountProvisioner
* configured for it. The returned UserComputeResourcePreference object is not saved; it is up to the client to
@@ -4130,59 +4117,9 @@ interface AiravataIf {
* @throws \Airavata\API\Error\AuthorizationException
*/
public function getAllAccessibleUsers(\Airavata\Model\Security\AuthzToken $authzToken, $resourceId, $resourceType, $permissionType);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param \Airavata\Model\Group\GroupModel $groupModel
- * @return string
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param \Airavata\Model\Group\GroupModel $groupModel
- * @return bool
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $groupId
- * @param string $ownerId
- * @return bool
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $groupId
- * @return \Airavata\Model\Group\GroupModel
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $userName
- * @return \Airavata\Model\Group\GroupModel[]
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName);
}
+
class AiravataClient implements \Airavata\API\AiravataIf {
protected $input_ = null;
protected $output_ = null;
@@ -12936,71 +12873,6 @@ class AiravataClient implements \Airavata\API\AiravataIf {
throw new \Exception("doesUserHaveSSHAccount failed: unknown result");
}
- public function isSSHSetupCompleteForUserComputeResourcePreference(\Airavata\Model\Security\AuthzToken $authzToken, $computeResourceId, $airavataCredStoreToken)
- {
- $this->send_isSSHSetupCompleteForUserComputeResourcePreference($authzToken, $computeResourceId, $airavataCredStoreToken);
- return $this->recv_isSSHSetupCompleteForUserComputeResourcePreference();
- }
-
- public function send_isSSHSetupCompleteForUserComputeResourcePreference(\Airavata\Model\Security\AuthzToken $authzToken, $computeResourceId, $airavataCredStoreToken)
- {
- $args = new \Airavata\API\Airavata_isSSHSetupCompleteForUserComputeResourcePreference_args();
- $args->authzToken = $authzToken;
- $args->computeResourceId = $computeResourceId;
- $args->airavataCredStoreToken = $airavataCredStoreToken;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'isSSHSetupCompleteForUserComputeResourcePreference', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('isSSHSetupCompleteForUserComputeResourcePreference', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_isSSHSetupCompleteForUserComputeResourcePreference()
- {
- $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_isSSHSetupCompleteForUserComputeResourcePreference_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_isSSHSetupCompleteForUserComputeResourcePreference_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("isSSHSetupCompleteForUserComputeResourcePreference failed: unknown result");
- }
-
public function setupUserComputeResourcePreferencesForSSH(\Airavata\Model\Security\AuthzToken $authzToken, $computeResourceId, $userId, $airavataCredStoreToken)
{
$this->send_setupUserComputeResourcePreferencesForSSH($authzToken, $computeResourceId, $userId, $airavataCredStoreToken);
@@ -15077,329 +14949,9 @@ class AiravataClient implements \Airavata\API\AiravataIf {
throw new \Exception("getAllAccessibleUsers failed: unknown result");
}
- public function createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $this->send_createGroup($authzToken, $groupModel);
- return $this->recv_createGroup();
- }
-
- public function send_createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $args = new \Airavata\API\Airavata_createGroup_args();
- $args->authzToken = $authzToken;
- $args->groupModel = $groupModel;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'createGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('createGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_createGroup()
- {
- $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_createGroup_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_createGroup_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("createGroup failed: unknown result");
- }
-
- public function updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $this->send_updateGroup($authzToken, $groupModel);
- return $this->recv_updateGroup();
- }
-
- public function send_updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $args = new \Airavata\API\Airavata_updateGroup_args();
- $args->authzToken = $authzToken;
- $args->groupModel = $groupModel;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'updateGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('updateGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_updateGroup()
- {
- $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_updateGroup_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_updateGroup_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("updateGroup failed: unknown result");
- }
-
- public function deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId)
- {
- $this->send_deleteGroup($authzToken, $groupId, $ownerId);
- return $this->recv_deleteGroup();
- }
-
- public function send_deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId)
- {
- $args = new \Airavata\API\Airavata_deleteGroup_args();
- $args->authzToken = $authzToken;
- $args->groupId = $groupId;
- $args->ownerId = $ownerId;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'deleteGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('deleteGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_deleteGroup()
- {
- $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_deleteGroup_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_deleteGroup_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("deleteGroup failed: unknown result");
- }
-
- public function getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId)
- {
- $this->send_getGroup($authzToken, $groupId);
- return $this->recv_getGroup();
- }
-
- public function send_getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId)
- {
- $args = new \Airavata\API\Airavata_getGroup_args();
- $args->authzToken = $authzToken;
- $args->groupId = $groupId;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'getGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('getGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_getGroup()
- {
- $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_getGroup_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_getGroup_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("getGroup failed: unknown result");
- }
-
- public function getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
- {
- $this->send_getAllGroupsUserBelongs($authzToken, $userName);
- return $this->recv_getAllGroupsUserBelongs();
- }
-
- public function send_getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
- {
- $args = new \Airavata\API\Airavata_getAllGroupsUserBelongs_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_, 'getAllGroupsUserBelongs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('getAllGroupsUserBelongs', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
-
- public function recv_getAllGroupsUserBelongs()
- {
- $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_getAllGroupsUserBelongs_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_getAllGroupsUserBelongs_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;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("getAllGroupsUserBelongs failed: unknown result");
- }
-
}
+
// HELPER FUNCTIONS AND STRUCTURES
class Airavata_getAPIVersion_args {
@@ -31068,1798 +30620,14 @@ class Airavata_terminateExperiment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- 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_terminateExperiment_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->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_terminateExperiment_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 4 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 5 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_terminateExperiment_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 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->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_terminateExperiment_result');
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_registerApplicationModule_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
- */
- public $applicationModule = 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,
- ),
- 3 => array(
- 'var' => 'applicationModule',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['applicationModule'])) {
- $this->applicationModule = $vals['applicationModule'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_registerApplicationModule_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;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->applicationModule = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $this->applicationModule->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_registerApplicationModule_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();
- }
- if ($this->applicationModule !== null) {
- if (!is_object($this->applicationModule)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 3);
- $xfer += $this->applicationModule->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_registerApplicationModule_result {
- static $_TSPEC;
-
- /**
- * @var string
- */
- 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;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- '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',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- 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'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_registerApplicationModule_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::STRING) {
- $xfer += $input->readString($this->success);
- } 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;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_registerApplicationModule_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
- $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();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getApplicationModule_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $appModuleId = 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' => 'appModuleId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getApplicationModule_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->appModuleId);
- } 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_getApplicationModule_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->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getApplicationModule_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
- */
- 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;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
- 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',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- 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'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getApplicationModule_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::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $this->success->read($input);
- } 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;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_getApplicationModule_result');
- if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
- $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();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_updateApplicationModule_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $appModuleId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
- */
- public $applicationModule = 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' => 'appModuleId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'applicationModule',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
- }
- if (isset($vals['applicationModule'])) {
- $this->applicationModule = $vals['applicationModule'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_updateApplicationModule_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->appModuleId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->applicationModule = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $this->applicationModule->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_updateApplicationModule_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->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->applicationModule !== null) {
- if (!is_object($this->applicationModule)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 3);
- $xfer += $this->applicationModule->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_updateApplicationModule_result {
- static $_TSPEC;
-
- /**
- * @var bool
- */
- 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;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::BOOL,
- ),
- 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',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- 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'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_updateApplicationModule_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::BOOL) {
- $xfer += $input->readBool($this->success);
- } 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;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_updateApplicationModule_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
- $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();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getAllAppModules_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_getAllAppModules_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_getAllAppModules_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_getAllAppModules_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
- */
- 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;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
- ),
- 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',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- 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'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getAllAppModules_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::LST) {
- $this->success = array();
- $_size136 = 0;
- $_etype139 = 0;
- $xfer += $input->readListBegin($_etype139, $_size136);
- for ($_i140 = 0; $_i140 < $_size136; ++$_i140)
- {
- $elem141 = null;
- $elem141 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $elem141->read($input);
- $this->success []= $elem141;
- }
- $xfer += $input->readListEnd();
- } 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;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_getAllAppModules_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::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter142)
- {
- $xfer += $iter142->write($output);
- }
- }
- $output->writeListEnd();
- }
- $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();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_deleteApplicationModule_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $appModuleId = 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' => 'appModuleId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_deleteApplicationModule_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->appModuleId);
- } 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_deleteApplicationModule_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->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_deleteApplicationModule_result {
- static $_TSPEC;
-
- /**
- * @var bool
- */
- 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;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::BOOL,
- ),
- 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',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- 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'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_deleteApplicationModule_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::BOOL) {
- $xfer += $input->readBool($this->success);
- } 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;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->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_deleteApplicationModule_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
- $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();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_registerApplicationDeployment_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
- */
- public $applicationDeployment = 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,
- ),
- 3 => array(
- 'var' => 'applicationDeployment',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['applicationDeployment'])) {
- $this->applicationDeployment = $vals['applicationDeployment'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_registerApplicationDeployment_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);
+ $xfer += $input->readString($this->airavataExperimentId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::STRUCT) {
- $this->applicationDeployment = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $this->applicationDeployment->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -32876,7 +30644,7 @@ class Airavata_registerApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_args');
+ $xfer += $output->writeStructBegin('Airavata_terminateExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -32885,17 +30653,14 @@ class Airavata_registerApplicationDeployment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->airavataExperimentId !== null) {
+ $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
- if ($this->applicationDeployment !== null) {
- if (!is_object($this->applicationDeployment)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('applicationDeployment', TType::STRUCT, 3);
- $xfer += $this->applicationDeployment->write($output);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -32905,18 +30670,18 @@ class Airavata_registerApplicationDeployment_args {
}
-class Airavata_registerApplicationDeployment_result {
+class Airavata_terminateExperiment_result {
static $_TSPEC;
/**
- * @var string
- */
- public $success = null;
- /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
/**
+ * @var \Airavata\API\Error\ExperimentNotFoundException
+ */
+ public $enf = null;
+ /**
* @var \Airavata\API\Error\AiravataClientException
*/
public $ace = null;
@@ -32932,26 +30697,27 @@ class Airavata_registerApplicationDeployment_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRING,
- ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\InvalidRequestException',
),
2 => array(
+ 'var' => 'enf',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
+ ),
+ 3 => array(
'var' => 'ace',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataClientException',
),
- 3 => array(
+ 4 => array(
'var' => 'ase',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataSystemException',
),
- 4 => array(
+ 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -32959,12 +30725,12 @@ class Airavata_registerApplicationDeployment_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
+ if (isset($vals['enf'])) {
+ $this->enf = $vals['enf'];
+ }
if (isset($vals['ace'])) {
$this->ace = $vals['ace'];
}
@@ -32978,7 +30744,7 @@ class Airavata_registerApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_registerApplicationDeployment_result';
+ return 'Airavata_terminateExperiment_result';
}
public function read($input)
@@ -32996,13 +30762,6 @@ class Airavata_registerApplicationDeployment_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -33013,13 +30772,21 @@ class Airavata_registerApplicationDeployment_result {
break;
case 2:
if ($ftype == TType::STRUCT) {
+ $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
+ $xfer += $this->enf->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
$this->ace = new \Airavata\API\Error\AiravataClientException();
$xfer += $this->ace->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 3:
+ case 4:
if ($ftype == TType::STRUCT) {
$this->ase = new \Airavata\API\Error\AiravataSystemException();
$xfer += $this->ase->read($input);
@@ -33027,7 +30794,7 @@ class Airavata_registerApplicationDeployment_result {
$xfer += $input->skip($ftype);
}
break;
- case 4:
+ case 5:
if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
@@ -33047,29 +30814,29 @@ class Airavata_registerApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_terminateExperiment_result');
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->enf !== null) {
+ $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
+ $xfer += $this->enf->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
$xfer += $this->ace->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -33080,7 +30847,7 @@ class Airavata_registerApplicationDeployment_result {
}
-class Airavata_getApplicationDeployment_args {
+class Airavata_registerApplicationModule_args {
static $_TSPEC;
/**
@@ -33090,7 +30857,11 @@ class Airavata_getApplicationDeployment_args {
/**
* @var string
*/
- public $appDeploymentId = null;
+ public $gatewayId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
+ */
+ public $applicationModule = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -33101,23 +30872,31 @@ class Airavata_getApplicationDeployment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appDeploymentId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'applicationModule',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appDeploymentId'])) {
- $this->appDeploymentId = $vals['appDeploymentId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['applicationModule'])) {
+ $this->applicationModule = $vals['applicationModule'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationDeployment_args';
+ return 'Airavata_registerApplicationModule_args';
}
public function read($input)
@@ -33145,7 +30924,15 @@ class Airavata_getApplicationDeployment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appDeploymentId);
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->applicationModule = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $this->applicationModule->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -33162,7 +30949,7 @@ class Airavata_getApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_args');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationModule_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -33171,9 +30958,17 @@ class Airavata_getApplicationDeployment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appDeploymentId !== null) {
- $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
- $xfer += $output->writeString($this->appDeploymentId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->applicationModule !== null) {
+ if (!is_object($this->applicationModule)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 3);
+ $xfer += $this->applicationModule->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -33183,11 +30978,11 @@ class Airavata_getApplicationDeployment_args {
}
-class Airavata_getApplicationDeployment_result {
+class Airavata_registerApplicationModule_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
+ * @var string
*/
public $success = null;
/**
@@ -33212,8 +31007,7 @@ class Airavata_getApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -33257,7 +31051,7 @@ class Airavata_getApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_getApplicationDeployment_result';
+ return 'Airavata_registerApplicationModule_result';
}
public function read($input)
@@ -33276,9 +31070,8 @@ class Airavata_getApplicationDeployment_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -33327,13 +31120,10 @@ class Airavata_getApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationModule_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -33363,7 +31153,7 @@ class Airavata_getApplicationDeployment_result {
}
-class Airavata_updateApplicationDeployment_args {
+class Airavata_getApplicationModule_args {
static $_TSPEC;
/**
@@ -33373,11 +31163,7 @@ class Airavata_updateApplicationDeployment_args {
/**
* @var string
*/
- public $appDeploymentId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
- */
- public $applicationDeployment = null;
+ public $appModuleId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -33388,31 +31174,23 @@ class Airavata_updateApplicationDeployment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appDeploymentId',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'applicationDeployment',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appDeploymentId'])) {
- $this->appDeploymentId = $vals['appDeploymentId'];
- }
- if (isset($vals['applicationDeployment'])) {
- $this->applicationDeployment = $vals['applicationDeployment'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
}
}
}
public function getName() {
- return 'Airavata_updateApplicationDeployment_args';
+ return 'Airavata_getApplicationModule_args';
}
public function read($input)
@@ -33440,15 +31218,7 @@ class Airavata_updateApplicationDeployment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appDeploymentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->applicationDeployment = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $this->applicationDeployment->read($input);
+ $xfer += $input->readString($this->appModuleId);
} else {
$xfer += $input->skip($ftype);
}
@@ -33465,7 +31235,7 @@ class Airavata_updateApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationModule_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -33474,17 +31244,9 @@ class Airavata_updateApplicationDeployment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appDeploymentId !== null) {
- $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
- $xfer += $output->writeString($this->appDeploymentId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->applicationDeployment !== null) {
- if (!is_object($this->applicationDeployment)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('applicationDeployment', TType::STRUCT, 3);
- $xfer += $this->applicationDeployment->write($output);
+ if ($this->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -33494,11 +31256,11 @@ class Airavata_updateApplicationDeployment_args {
}
-class Airavata_updateApplicationDeployment_result {
+class Airavata_getApplicationModule_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
*/
public $success = null;
/**
@@ -33523,7 +31285,8 @@ class Airavata_updateApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
),
1 => array(
'var' => 'ire',
@@ -33567,7 +31330,7 @@ class Airavata_updateApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_updateApplicationDeployment_result';
+ return 'Airavata_getApplicationModule_result';
}
public function read($input)
@@ -33586,8 +31349,9 @@ class Airavata_updateApplicationDeployment_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -33636,10 +31400,13 @@ class Airavata_updateApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationModule_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -33669,7 +31436,7 @@ class Airavata_updateApplicationDeployment_result {
}
-class Airavata_deleteApplicationDeployment_args {
+class Airavata_updateApplicationModule_args {
static $_TSPEC;
/**
@@ -33679,7 +31446,11 @@ class Airavata_deleteApplicationDeployment_args {
/**
* @var string
*/
- public $appDeploymentId = null;
+ public $appModuleId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
+ */
+ public $applicationModule = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -33690,23 +31461,31 @@ class Airavata_deleteApplicationDeployment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appDeploymentId',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'applicationModule',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appDeploymentId'])) {
- $this->appDeploymentId = $vals['appDeploymentId'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
+ }
+ if (isset($vals['applicationModule'])) {
+ $this->applicationModule = $vals['applicationModule'];
}
}
}
public function getName() {
- return 'Airavata_deleteApplicationDeployment_args';
+ return 'Airavata_updateApplicationModule_args';
}
public function read($input)
@@ -33734,7 +31513,15 @@ class Airavata_deleteApplicationDeployment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appDeploymentId);
+ $xfer += $input->readString($this->appModuleId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->applicationModule = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $this->applicationModule->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -33751,7 +31538,7 @@ class Airavata_deleteApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_args');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationModule_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -33760,9 +31547,17 @@ class Airavata_deleteApplicationDeployment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appDeploymentId !== null) {
- $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
- $xfer += $output->writeString($this->appDeploymentId);
+ if ($this->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->applicationModule !== null) {
+ if (!is_object($this->applicationModule)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 3);
+ $xfer += $this->applicationModule->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -33772,7 +31567,7 @@ class Airavata_deleteApplicationDeployment_args {
}
-class Airavata_deleteApplicationDeployment_result {
+class Airavata_updateApplicationModule_result {
static $_TSPEC;
/**
@@ -33845,7 +31640,7 @@ class Airavata_deleteApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_deleteApplicationDeployment_result';
+ return 'Airavata_updateApplicationModule_result';
}
public function read($input)
@@ -33914,7 +31709,7 @@ class Airavata_deleteApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationModule_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -33947,7 +31742,7 @@ class Airavata_deleteApplicationDeployment_result {
}
-class Airavata_getAllApplicationDeployments_args {
+class Airavata_getAllAppModules_args {
static $_TSPEC;
/**
@@ -33984,7 +31779,7 @@ class Airavata_getAllApplicationDeployments_args {
}
public function getName() {
- return 'Airavata_getAllApplicationDeployments_args';
+ return 'Airavata_getAllAppModules_args';
}
public function read($input)
@@ -34029,7 +31824,7 @@ class Airavata_getAllApplicationDeployments_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllAppModules_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -34050,11 +31845,11 @@ class Airavata_getAllApplicationDeployments_args {
}
-class Airavata_getAllApplicationDeployments_result {
+class Airavata_getAllAppModules_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
*/
public $success = null;
/**
@@ -34083,7 +31878,7 @@ class Airavata_getAllApplicationDeployments_result {
'etype' => TType::STRUCT,
'elem' => array(
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
),
),
1 => array(
@@ -34128,7 +31923,7 @@ class Airavata_getAllApplicationDeployments_result {
}
public function getName() {
- return 'Airavata_getAllApplicationDeployments_result';
+ return 'Airavata_getAllAppModules_result';
}
public function read($input)
@@ -34149,15 +31944,15 @@ class Airavata_getAllApplicationDeployments_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size143 = 0;
- $_etype146 = 0;
- $xfer += $input->readListBegin($_etype146, $_size143);
- for ($_i147 = 0; $_i147 < $_size143; ++$_i147)
+ $_size136 = 0;
+ $_etype139 = 0;
+ $xfer += $input->readListBegin($_etype139, $_size136);
+ for ($_i140 = 0; $_i140 < $_size136; ++$_i140)
{
- $elem148 = null;
- $elem148 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $elem148->read($input);
- $this->success []= $elem148;
+ $elem141 = null;
+ $elem141 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $elem141->read($input);
+ $this->success []= $elem141;
}
$xfer += $input->readListEnd();
} else {
@@ -34208,7 +32003,7 @@ class Airavata_getAllApplicationDeployments_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllAppModules_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -34217,9 +32012,9 @@ class Airavata_getAllApplicationDeployments_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter149)
+ foreach ($this->success as $iter142)
{
- $xfer += $iter149->write($output);
+ $xfer += $iter142->write($output);
}
}
$output->writeListEnd();
@@ -34253,7 +32048,7 @@ class Airavata_getAllApplicationDeployments_result {
}
-class Airavata_getAppModuleDeployedResources_args {
+class Airavata_deleteApplicationModule_args {
static $_TSPEC;
/**
@@ -34290,7 +32085,7 @@ class Airavata_getAppModuleDeployedResources_args {
}
public function getName() {
- return 'Airavata_getAppModuleDeployedResources_args';
+ return 'Airavata_deleteApplicationModule_args';
}
public function read($input)
@@ -34335,7 +32130,7 @@ class Airavata_getAppModuleDeployedResources_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationModule_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -34356,11 +32151,11 @@ class Airavata_getAppModuleDeployedResources_args {
}
-class Airavata_getAppModuleDeployedResources_result {
+class Airavata_deleteApplicationModule_result {
static $_TSPEC;
/**
- * @var string[]
+ * @var bool
*/
public $success = null;
/**
@@ -34385,11 +32180,7 @@ class Airavata_getAppModuleDeployedResources_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRING,
- 'elem' => array(
- 'type' => TType::STRING,
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -34433,7 +32224,7 @@ class Airavata_getAppModuleDeployedResources_result {
}
public function getName() {
- return 'Airavata_getAppModuleDeployedResources_result';
+ return 'Airavata_deleteApplicationModule_result';
}
public function read($input)
@@ -34452,18 +32243,8 @@ class Airavata_getAppModuleDeployedResources_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size150 = 0;
- $_etype153 = 0;
- $xfer += $input->readListBegin($_etype153, $_size150);
- for ($_i154 = 0; $_i154 < $_size150; ++$_i154)
- {
- $elem155 = null;
- $xfer += $input->readString($elem155);
- $this->success []= $elem155;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -34512,22 +32293,10 @@ class Airavata_getAppModuleDeployedResources_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationModule_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::LST, 0);
- {
- $output->writeListBegin(TType::STRING, count($this->success));
- {
- foreach ($this->success as $iter156)
- {
- $xfer += $output->writeString($iter156);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -34557,7 +32326,7 @@ class Airavata_getAppModuleDeployedResources_result {
}
-class Airavata_registerApplicationInterface_args {
+class Airavata_registerApplicationDeployment_args {
static $_TSPEC;
/**
@@ -34569,9 +32338,9 @@ class Airavata_registerApplicationInterface_args {
*/
public $gatewayId = null;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
*/
- public $applicationInterface = null;
+ public $applicationDeployment = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -34586,9 +32355,9 @@ class Airavata_registerApplicationInterface_args {
'type' => TType::STRING,
),
3 => array(
- 'var' => 'applicationInterface',
+ 'var' => 'applicationDeployment',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
),
);
}
@@ -34599,14 +32368,14 @@ class Airavata_registerApplicationInterface_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['applicationInterface'])) {
- $this->applicationInterface = $vals['applicationInterface'];
+ if (isset($vals['applicationDeployment'])) {
+ $this->applicationDeployment = $vals['applicationDeployment'];
}
}
}
public function getName() {
- return 'Airavata_registerApplicationInterface_args';
+ return 'Airavata_registerApplicationDeployment_args';
}
public function read($input)
@@ -34641,8 +32410,8 @@ class Airavata_registerApplicationInterface_args {
break;
case 3:
if ($ftype == TType::STRUCT) {
- $this->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $this->applicationInterface->read($input);
+ $this->applicationDeployment = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $this->applicationDeployment->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -34659,7 +32428,7 @@ class Airavata_registerApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -34673,12 +32442,12 @@ class Airavata_registerApplicationInterface_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->applicationInterface !== null) {
- if (!is_object($this->applicationInterface)) {
+ if ($this->applicationDeployment !== null) {
+ if (!is_object($this->applicationDeployment)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('applicationInterface', TType::STRUCT, 3);
- $xfer += $this->applicationInterface->write($output);
+ $xfer += $output->writeFieldBegin('applicationDeployment', TType::STRUCT, 3);
+ $xfer += $this->applicationDeployment->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -34688,7 +32457,7 @@ class Airavata_registerApplicationInterface_args {
}
-class Airavata_registerApplicationInterface_result {
+class Airavata_registerApplicationDeployment_result {
static $_TSPEC;
/**
@@ -34761,7 +32530,7 @@ class Airavata_registerApplicationInterface_result {
}
public function getName() {
- return 'Airavata_registerApplicationInterface_result';
+ return 'Airavata_registerApplicationDeployment_result';
}
public function read($input)
@@ -34830,7 +32599,7 @@ class Airavata_registerApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -34863,7 +32632,7 @@ class Airavata_registerApplicationInterface_result {
}
-class Airavata_cloneApplicationInterface_args {
+class Airavata_getApplicationDeployment_args {
static $_TSPEC;
/**
@@ -34873,15 +32642,7 @@ class Airavata_cloneApplicationInterface_args {
/**
* @var string
*/
- public $existingAppInterfaceID = null;
- /**
- * @var string
- */
- public $newApplicationName = null;
- /**
- * @var string
- */
- public $gatewayId = null;
+ public $appDeploymentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -34892,15 +32653,7 @@ class Airavata_cloneApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'existingAppInterfaceID',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'newApplicationName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appDeploymentId',
'type' => TType::STRING,
),
);
@@ -34909,20 +32662,14 @@ class Airavata_cloneApplicationInterface_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['existingAppInterfaceID'])) {
- $this->existingAppInterfaceID = $vals['existingAppInterfaceID'];
- }
- if (isset($vals['newApplicationName'])) {
- $this->newApplicationName = $vals['newApplicationName'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appDeploymentId'])) {
+ $this->appDeploymentId = $vals['appDeploymentId'];
}
}
}
public function getName() {
- return 'Airavata_cloneApplicationInterface_args';
+ return 'Airavata_getApplicationDeployment_args';
}
public function read($input)
@@ -34950,21 +32697,7 @@ class Airavata_cloneApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->existingAppInterfaceID);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->newApplicationName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->appDeploymentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -34981,7 +32714,7 @@ class Airavata_cloneApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -34990,19 +32723,9 @@ class Airavata_cloneApplicationInterface_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->existingAppInterfaceID !== null) {
- $xfer += $output->writeFieldBegin('existingAppInterfaceID', TType::STRING, 2);
- $xfer += $output->writeString($this->existingAppInterfaceID);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->newApplicationName !== null) {
- $xfer += $output->writeFieldBegin('newApplicationName', TType::STRING, 3);
- $xfer += $output->writeString($this->newApplicationName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 4);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->appDeploymentId !== null) {
+ $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appDeploymentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35012,11 +32735,11 @@ class Airavata_cloneApplicationInterface_args {
}
-class Airavata_cloneApplicationInterface_result {
+class Airavata_getApplicationDeployment_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
*/
public $success = null;
/**
@@ -35041,7 +32764,8 @@ class Airavata_cloneApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
),
1 => array(
'var' => 'ire',
@@ -35085,7 +32809,7 @@ class Airavata_cloneApplicationInterface_result {
}
public function getName() {
- return 'Airavata_cloneApplicationInterface_result';
+ return 'Airavata_getApplicationDeployment_result';
}
public function read($input)
@@ -35104,8 +32828,9 @@ class Airavata_cloneApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -35154,10 +32879,13 @@ class Airavata_cloneApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -35187,7 +32915,7 @@ class Airavata_cloneApplicationInterface_result {
}
-class Airavata_getApplicationInterface_args {
+class Airavata_updateApplicationDeployment_args {
static $_TSPEC;
/**
@@ -35197,7 +32925,11 @@ class Airavata_getApplicationInterface_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $appDeploymentId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
+ */
+ public $applicationDeployment = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35208,23 +32940,31 @@ class Airavata_getApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'appDeploymentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'applicationDeployment',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appInterfaceId'])) {
- $this->appInterfaceId = $vals['appInterfaceId'];
+ if (isset($vals['appDeploymentId'])) {
+ $this->appDeploymentId = $vals['appDeploymentId'];
+ }
+ if (isset($vals['applicationDeployment'])) {
+ $this->applicationDeployment = $vals['applicationDeployment'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationInterface_args';
+ return 'Airavata_updateApplicationDeployment_args';
}
public function read($input)
@@ -35252,7 +32992,15 @@ class Airavata_getApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->appDeploymentId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->applicationDeployment = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $this->applicationDeployment->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -35269,7 +33017,7 @@ class Airavata_getApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35278,9 +33026,17 @@ class Airavata_getApplicationInterface_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->appInterfaceId);
+ if ($this->appDeploymentId !== null) {
+ $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appDeploymentId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->applicationDeployment !== null) {
+ if (!is_object($this->applicationDeployment)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('applicationDeployment', TType::STRUCT, 3);
+ $xfer += $this->applicationDeployment->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35290,11 +33046,11 @@ class Airavata_getApplicationInterface_args {
}
-class Airavata_getApplicationInterface_result {
+class Airavata_updateApplicationDeployment_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ * @var bool
*/
public $success = null;
/**
@@ -35319,8 +33075,7 @@ class Airavata_getApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -35364,7 +33119,7 @@ class Airavata_getApplicationInterface_result {
}
public function getName() {
- return 'Airavata_getApplicationInterface_result';
+ return 'Airavata_updateApplicationDeployment_result';
}
public function read($input)
@@ -35383,9 +33138,8 @@ class Airavata_getApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -35434,13 +33188,10 @@ class Airavata_getApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -35470,7 +33221,7 @@ class Airavata_getApplicationInterface_result {
}
-class Airavata_updateApplicationInterface_args {
+class Airavata_deleteApplicationDeployment_args {
static $_TSPEC;
/**
@@ -35480,11 +33231,7 @@ class Airavata_updateApplicationInterface_args {
/**
* @var string
*/
- public $appInterfaceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
- */
- public $applicationInterface = null;
+ public $appDeploymentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35495,31 +33242,23 @@ class Airavata_updateApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'appDeploymentId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'applicationInterface',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appInterfaceId'])) {
- $this->appInterfaceId = $vals['appInterfaceId'];
- }
- if (isset($vals['applicationInterface'])) {
- $this->applicationInterface = $vals['applicationInterface'];
+ if (isset($vals['appDeploymentId'])) {
+ $this->appDeploymentId = $vals['appDeploymentId'];
}
}
}
public function getName() {
- return 'Airavata_updateApplicationInterface_args';
+ return 'Airavata_deleteApplicationDeployment_args';
}
public function read($input)
@@ -35547,15 +33286,7 @@ class Airavata_updateApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $this->applicationInterface->read($input);
+ $xfer += $input->readString($this->appDeploymentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -35572,7 +33303,7 @@ class Airavata_updateApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35581,17 +33312,9 @@ class Airavata_updateApplicationInterface_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->appInterfaceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->applicationInterface !== null) {
- if (!is_object($this->applicationInterface)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('applicationInterface', TType::STRUCT, 3);
- $xfer += $this->applicationInterface->write($output);
+ if ($this->appDeploymentId !== null) {
+ $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appDeploymentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35601,7 +33324,7 @@ class Airavata_updateApplicationInterface_args {
}
-class Airavata_updateApplicationInterface_result {
+class Airavata_deleteApplicationDeployment_result {
static $_TSPEC;
/**
@@ -35674,7 +33397,7 @@ class Airavata_updateApplicationInterface_result {
}
public function getName() {
- return 'Airavata_updateApplicationInterface_result';
+ return 'Airavata_deleteApplicationDeployment_result';
}
public function read($input)
@@ -35743,7 +33466,7 @@ class Airavata_updateApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -35776,7 +33499,7 @@ class Airavata_updateApplicationInterface_result {
}
-class Airavata_deleteApplicationInterface_args {
+class Airavata_getAllApplicationDeployments_args {
static $_TSPEC;
/**
@@ -35786,7 +33509,7 @@ class Airavata_deleteApplicationInterface_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35797,7 +33520,7 @@ class Airavata_deleteApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -35806,14 +33529,14 @@ class Airavata_deleteApplicationInterface_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appInterfaceId'])) {
- $this->appInterfaceId = $vals['appInterfaceId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_deleteApplicationInterface_args';
+ return 'Airavata_getAllApplicationDeployments_args';
}
public function read($input)
@@ -35841,7 +33564,7 @@ class Airavata_deleteApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -35858,7 +33581,7 @@ class Airavata_deleteApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35867,9 +33590,9 @@ class Airavata_deleteApplicationInterface_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->appInterfaceId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35879,11 +33602,11 @@ class Airavata_deleteApplicationInterface_args {
}
-class Airavata_deleteApplicationInterface_result {
+class Airavata_getAllApplicationDeployments_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
*/
public $success = null;
/**
@@ -35908,7 +33631,12 @@ class Airavata_deleteApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ ),
),
1 => array(
'var' => 'ire',
@@ -35952,7 +33680,7 @@ class Airavata_deleteApplicationInterface_result {
}
public function getName() {
- return 'Airavata_deleteApplicationInterface_result';
+ return 'Airavata_getAllApplicationDeployments_result';
}
public function read($input)
@@ -35971,8 +33699,19 @@ class Airavata_deleteApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size143 = 0;
+ $_etype146 = 0;
+ $xfer += $input->readListBegin($_etype146, $_size143);
+ for ($_i147 = 0; $_i147 < $_size143; ++$_i147)
+ {
+ $elem148 = null;
+ $elem148 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $elem148->read($input);
+ $this->success []= $elem148;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -36021,10 +33760,22 @@ class Airavata_deleteApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter149)
+ {
+ $xfer += $iter149->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -36054,7 +33805,7 @@ class Airavata_deleteApplicationInterface_result {
}
-class Airavata_getAllApplicationInterfaceNames_args {
+class Airavata_getAppModuleDeployedResources_args {
static $_TSPEC;
/**
@@ -36064,7 +33815,7 @@ class Airavata_getAllApplicationInterfaceNames_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appModuleId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -36075,7 +33826,7 @@ class Airavata_getAllApplicationInterfaceNames_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
);
@@ -36084,14 +33835,14 @@ class Airavata_getAllApplicationInterfaceNames_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
}
}
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaceNames_args';
+ return 'Airavata_getAppModuleDeployedResources_args';
}
public function read($input)
@@ -36119,7 +33870,7 @@ class Airavata_getAllApplicationInterfaceNames_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->appModuleId);
} else {
$xfer += $input->skip($ftype);
}
@@ -36136,7 +33887,7 @@ class Airavata_getAllApplicationInterfaceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_args');
+ $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -36145,9 +33896,9 @@ class Airavata_getAllApplicationInterfaceNames_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -36157,11 +33908,11 @@ class Airavata_getAllApplicationInterfaceNames_args {
}
-class Airavata_getAllApplicationInterfaceNames_result {
+class Airavata_getAppModuleDeployedResources_result {
static $_TSPEC;
/**
- * @var array
+ * @var string[]
*/
public $success = null;
/**
@@ -36186,13 +33937,9 @@ class Airavata_getAllApplicationInterfaceNames_result {
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::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
'type' => TType::STRING,
),
),
@@ -36238,7 +33985,7 @@ class Airavata_getAllApplicationInterfaceNames_result {
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaceNames_result';
+ return 'Airavata_getAppModuleDeployedResources_result';
}
public function read($input)
@@ -36257,21 +34004,18 @@ class Airavata_getAllApplicationInterfaceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
+ if ($ftype == TType::LST) {
$this->success = array();
- $_size157 = 0;
- $_ktype158 = 0;
- $_vtype159 = 0;
- $xfer += $input->readMapBegin($_ktype158, $_vtype159, $_size157);
- for ($_i161 = 0; $_i161 < $_size157; ++$_i161)
+ $_size150 = 0;
+ $_etype153 = 0;
+ $xfer += $input->readListBegin($_etype153, $_size150);
+ for ($_i154 = 0; $_i154 < $_size150; ++$_i154)
{
- $key162 = '';
- $val163 = '';
- $xfer += $input->readString($key162);
- $xfer += $input->readString($val163);
- $this->success[$key162] = $val163;
+ $elem155 = null;
+ $xfer += $input->readString($elem155);
+ $this->success []= $elem155;
}
- $xfer += $input->readMapEnd();
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -36320,22 +34064,21 @@ class Airavata_getAllApplicationInterfaceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_result');
+ $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_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);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
{
- $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
+ $output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $kiter164 => $viter165)
+ foreach ($this->success as $iter156)
{
- $xfer += $output->writeString($kiter164);
- $xfer += $output->writeString($viter165);
+ $xfer += $output->writeString($iter156);
}
}
- $output->writeMapEnd();
+ $output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -36366,7 +34109,7 @@ class Airavata_getAllApplicationInterfaceNames_result {
}
-class Airavata_getAllApplicationInterfaces_args {
+class Airavata_registerApplicationInterface_args {
static $_TSPEC;
/**
@@ -36377,6 +34120,10 @@ class Airavata_getAllApplicationInterfaces_args {
* @var string
*/
public $gatewayId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ */
+ public $applicationInterface = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -36390,6 +34137,11 @@ class Airavata_getAllApplicationInterfaces_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'applicationInterface',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ ),
);
}
if (is_array($vals)) {
@@ -36399,11 +34151,14 @@ class Airavata_getAllApplicationInterfaces_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['applicationInterface'])) {
+ $this->applicationInterface = $vals['applicationInterface'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaces_args';
+ return 'Airavata_registerApplicationInterface_args';
}
public function read($input)
@@ -36436,6 +34191,14 @@ class Airavata_getAllApplicationInterfaces_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $this->applicationInterface->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -36448,7 +34211,7 @@ class Airavata_getAllApplicationInterfaces_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_args');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -36462,6 +34225,14 @@ class Airavata_getAllApplicationInterfaces_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->applicationInterface !== null) {
+ if (!is_object($this->applicationInterface)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('applicationInterface', TType::STRUCT, 3);
+ $xfer += $this->applicationInterface->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -36469,11 +34240,11 @@ class Airavata_getAllApplicationInterfaces_args {
}
-class Airavata_getAllApplicationInterfaces_result {
+class Airavata_registerApplicationInterface_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription[]
+ * @var string
*/
public $success = null;
/**
@@ -36498,12 +34269,7 @@ class Airavata_getAllApplicationInterfaces_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
- ),
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -36547,7 +34313,7 @@ class Airavata_getAllApplicationInterfaces_result {
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaces_result';
+ return 'Airavata_registerApplicationInterface_result';
}
public function read($input)
@@ -36566,19 +34332,8 @@ class Airavata_getAllApplicationInterfaces_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size166 = 0;
- $_etype169 = 0;
- $xfer += $input->readListBegin($_etype169, $_size166);
- for ($_i170 = 0; $_i170 < $_size166; ++$_i170)
- {
- $elem171 = null;
- $elem171 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $elem171->read($input);
- $this->success []= $elem171;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -36627,22 +34382,10 @@ class Airavata_getAllApplicationInterfaces_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_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::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter172)
- {
- $xfer += $iter172->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -36672,7 +34415,7 @@ class Airavata_getAllApplicationInterfaces_result {
}
-class Airavata_getApplicationInputs_args {
+class Airavata_cloneApplicationInterface_args {
static $_TSPEC;
/**
@@ -36682,7 +34425,15 @@ class Airavata_getApplicationInputs_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $existingAppInterfaceID = null;
+ /**
+ * @var string
+ */
+ public $newApplicationName = null;
+ /**
+ * @var string
+ */
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -36693,7 +34444,15 @@ class Airavata_getApplicationInputs_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'existingAppInterfaceID',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'newApplicationName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -36702,14 +34461,20 @@ class Airavata_getApplicationInputs_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appInterfaceId'])) {
- $this->appInterfaceId = $vals['appInterfaceId'];
+ if (isset($vals['existingAppInterfaceID'])) {
+ $this->existingAppInterfaceID = $vals['existingAppInterfaceID'];
+ }
+ if (isset($vals['newApplicationName'])) {
+ $this->newApplicationName = $vals['newApplicationName'];
+ }
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationInputs_args';
+ return 'Airavata_cloneApplicationInterface_args';
}
public function read($input)
@@ -36737,7 +34502,21 @@ class Airavata_getApplicationInputs_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->existingAppInterfaceID);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->newApplicationName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -36754,7 +34533,7 @@ class Airavata_getApplicationInputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_args');
+ $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -36763,9 +34542,19 @@ class Airavata_getApplicationInputs_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->appInterfaceId);
+ if ($this->existingAppInterfaceID !== null) {
+ $xfer += $output->writeFieldBegin('existingAppInterfaceID', TType::STRING, 2);
+ $xfer += $output->writeString($this->existingAppInterfaceID);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->newApplicationName !== null) {
+ $xfer += $output->writeFieldBegin('newApplicationName', TType::STRING, 3);
+ $xfer += $output->writeString($this->newApplicationName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 4);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -36775,11 +34564,11 @@ class Airavata_getApplicationInputs_args {
}
-class Airavata_getApplicationInputs_result {
+class Airavata_cloneApplicationInterface_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\InputDataObjectType[]
+ * @var string
*/
public $success = null;
/**
@@ -36804,12 +34593,7 @@ class Airavata_getApplicationInputs_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Application\Io\InputDataObjectType',
- ),
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -36853,7 +34637,7 @@ class Airavata_getApplicationInputs_result {
}
public function getName() {
- return 'Airavata_getApplicationInputs_result';
+ return 'Airavata_cloneApplicationInterface_result';
}
public function read($input)
@@ -36872,19 +34656,8 @@ class Airavata_getApplicationInputs_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size173 = 0;
- $_etype176 = 0;
- $xfer += $input->readListBegin($_etype176, $_size173);
- for ($_i177 = 0; $_i177 < $_size173; ++$_i177)
- {
- $elem178 = null;
- $elem178 = new \Airavata\Model\Application\Io\InputDataObjectType();
- $xfer += $elem178->read($input);
- $this->success []= $elem178;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -36933,22 +34706,10 @@ class Airavata_getApplicationInputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_result');
+ $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_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::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter179)
- {
- $xfer += $iter179->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -36978,7 +34739,7 @@ class Airavata_getApplicationInputs_result {
}
-class Airavata_getApplicationOutputs_args {
+class Airavata_getApplicationInterface_args {
static $_TSPEC;
/**
@@ -37015,7 +34776,7 @@ class Airavata_getApplicationOutputs_args {
}
public function getName() {
- return 'Airavata_getApplicationOutputs_args';
+ return 'Airavata_getApplicationInterface_args';
}
public function read($input)
@@ -37060,7 +34821,7 @@ class Airavata_getApplicationOutputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -37081,11 +34842,11 @@ class Airavata_getApplicationOutputs_args {
}
-class Airavata_getApplicationOutputs_result {
+class Airavata_getApplicationInterface_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
*/
public $success = null;
/**
@@ -37110,12 +34871,8 @@ class Airavata_getApplicationOutputs_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
- ),
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
),
1 => array(
'var' => 'ire',
@@ -37159,7 +34916,7 @@ class Airavata_getApplicationOutputs_result {
}
public function getName() {
- return 'Airavata_getApplicationOutputs_result';
+ return 'Airavata_getApplicationInterface_result';
}
public function read($input)
@@ -37178,19 +34935,9 @@ class Airavata_getApplicationOutputs_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size180 = 0;
- $_etype183 = 0;
- $xfer += $input->readListBegin($_etype183, $_size180);
- for ($_i184 = 0; $_i184 < $_size180; ++$_i184)
- {
- $elem185 = null;
- $elem185 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem185->read($input);
- $this->success []= $elem185;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -37239,22 +34986,13 @@ class Airavata_getApplicationOutputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
+ if (!is_object($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter186)
- {
- $xfer += $iter186->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -37284,7 +35022,7 @@ class Airavata_getApplicationOutputs_result {
}
-class Airavata_getAvailableAppInterfaceComputeResources_args {
+class Airavata_updateApplicationInterface_args {
static $_TSPEC;
/**
@@ -37295,6 +35033,10 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
* @var string
*/
public $appInterfaceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ */
+ public $applicationInterface = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37308,6 +35050,11 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
'var' => 'appInterfaceId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'applicationInterface',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ ),
);
}
if (is_array($vals)) {
@@ -37317,11 +35064,14 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
if (isset($vals['appInterfaceId'])) {
$this->appInterfaceId = $vals['appInterfaceId'];
}
+ if (isset($vals['applicationInterface'])) {
+ $this->applicationInterface = $vals['applicationInterface'];
+ }
}
}
public function getName() {
- return 'Airavata_getAvailableAppInterfaceComputeResources_args';
+ return 'Airavata_updateApplicationInterface_args';
}
public function read($input)
@@ -37354,6 +35104,14 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $this->applicationInterface->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -37366,7 +35124,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_args');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -37380,6 +35138,14 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
$xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->applicationInterface !== null) {
+ if (!is_object($this->applicationInterface)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('applicationInterface', TType::STRUCT, 3);
+ $xfer += $this->applicationInterface->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -37387,11 +35153,11 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
}
-class Airavata_getAvailableAppInterfaceComputeResources_result {
+class Airavata_updateApplicationInterface_result {
static $_TSPEC;
/**
- * @var array
+ * @var bool
*/
public $success = null;
/**
@@ -37416,15 +35182,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
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,
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -37468,7 +35226,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
}
public function getName() {
- return 'Airavata_getAvailableAppInterfaceComputeResources_result';
+ return 'Airavata_updateApplicationInterface_result';
}
public function read($input)
@@ -37487,21 +35245,8 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size187 = 0;
- $_ktype188 = 0;
- $_vtype189 = 0;
- $xfer += $input->readMapBegin($_ktype188, $_vtype189, $_size187);
- for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
- {
- $key192 = '';
- $val193 = '';
- $xfer += $input->readString($key192);
- $xfer += $input->readString($val193);
- $this->success[$key192] = $val193;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -37550,23 +35295,10 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_result');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_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 $kiter194 => $viter195)
- {
- $xfer += $output->writeString($kiter194);
- $xfer += $output->writeString($viter195);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -37596,7 +35328,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
}
-class Airavata_registerComputeResource_args {
+class Airavata_deleteApplicationInterface_args {
static $_TSPEC;
/**
@@ -37604,9 +35336,9 @@ class Airavata_registerComputeResource_args {
*/
public $authzToken = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ * @var string
*/
- public $computeResourceDescription = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37617,9 +35349,8 @@ class Airavata_registerComputeResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
+ 'var' => 'appInterfaceId',
+ 'type' => TType::STRING,
),
);
}
@@ -37627,14 +35358,14 @@ class Airavata_registerComputeResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceDescription'])) {
- $this->computeResourceDescription = $vals['computeResourceDescription'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
}
}
}
public function getName() {
- return 'Airavata_registerComputeResource_args';
+ return 'Airavata_deleteApplicationInterface_args';
}
public function read($input)
@@ -37661,9 +35392,8 @@ class Airavata_registerComputeResource_args {
}
break;
case 2:
- if ($ftype == TType::STRUCT) {
- $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
- $xfer += $this->computeResourceDescription->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -37680,7 +35410,7 @@ class Airavata_registerComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerComputeResource_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -37689,12 +35419,9 @@ class Airavata_registerComputeResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceDescription !== null) {
- if (!is_object($this->computeResourceDescription)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('computeResourceDescription', TType::STRUCT, 2);
- $xfer += $this->computeResourceDescription->write($output);
+ if ($this->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -37704,11 +35431,11 @@ class Airavata_registerComputeResource_args {
}
-class Airavata_registerComputeResource_result {
+class Airavata_deleteApplicationInterface_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -37733,7 +35460,7 @@ class Airavata_registerComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -37777,7 +35504,7 @@ class Airavata_registerComputeResource_result {
}
public function getName() {
- return 'Airavata_registerComputeResource_result';
+ return 'Airavata_deleteApplicationInterface_result';
}
public function read($input)
@@ -37796,8 +35523,8 @@ class Airavata_registerComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -37846,10 +35573,10 @@ class Airavata_registerComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -37879,7 +35606,7 @@ class Airavata_registerComputeResource_result {
}
-class Airavata_getComputeResource_args {
+class Airavata_getAllApplicationInterfaceNames_args {
static $_TSPEC;
/**
@@ -37889,7 +35616,7 @@ class Airavata_getComputeResource_args {
/**
* @var string
*/
- public $computeResourceId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37900,7 +35627,7 @@ class Airavata_getComputeResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -37909,14 +35636,14 @@ class Airavata_getComputeResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_getComputeResource_args';
+ return 'Airavata_getAllApplicationInterfaceNames_args';
}
public function read($input)
@@ -37944,7 +35671,7 @@ class Airavata_getComputeResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -37961,7 +35688,7 @@ class Airavata_getComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getComputeResource_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -37970,9 +35697,9 @@ class Airavata_getComputeResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -37982,11 +35709,11 @@ class Airavata_getComputeResource_args {
}
-class Airavata_getComputeResource_result {
+class Airavata_getAllApplicationInterfaceNames_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ * @var array
*/
public $success = null;
/**
@@ -38011,8 +35738,15 @@ class Airavata_getComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -38056,7 +35790,7 @@ class Airavata_getComputeResource_result {
}
public function getName() {
- return 'Airavata_getComputeResource_result';
+ return 'Airavata_getAllApplicationInterfaceNames_result';
}
public function read($input)
@@ -38075,9 +35809,21 @@ class Airavata_getComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size157 = 0;
+ $_ktype158 = 0;
+ $_vtype159 = 0;
+ $xfer += $input->readMapBegin($_ktype158, $_vtype159, $_size157);
+ for ($_i161 = 0; $_i161 < $_size157; ++$_i161)
+ {
+ $key162 = '';
+ $val163 = '';
+ $xfer += $input->readString($key162);
+ $xfer += $input->readString($val163);
+ $this->success[$key162] = $val163;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -38126,13 +35872,23 @@ class Airavata_getComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
+ if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
+ {
+ $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
+ {
+ foreach ($this->success as $kiter164 => $viter165)
+ {
+ $xfer += $output->writeString($kiter164);
+ $xfer += $output->writeString($viter165);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -38162,13 +35918,17 @@ class Airavata_getComputeResource_result {
}
-class Airavata_getAllComputeResourceNames_args {
+class Airavata_getAllApplicationInterfaces_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)) {
@@ -38178,17 +35938,24 @@ class Airavata_getAllComputeResourceNames_args {
'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_getAllComputeResourceNames_args';
+ return 'Airavata_getAllApplicationInterfaces_args';
}
public function read($input)
@@ -38214,6 +35981,13 @@ class Airavata_getAllComputeResourceNames_args {
$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;
@@ -38226,7 +36000,7 @@ class Airavata_getAllComputeResourceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -38235,6 +36009,11 @@ class Airavata_getAllComputeResourceNames_args {
$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;
@@ -38242,11 +36021,11 @@ class Airavata_getAllComputeResourceNames_args {
}
-class Airavata_getAllComputeResourceNames_result {
+class Airavata_getAllApplicationInterfaces_result {
static $_TSPEC;
/**
- * @var array
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription[]
*/
public $success = null;
/**
@@ -38271,14 +36050,11 @@ class Airavata_getAllComputeResourceNames_result {
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,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
),
),
1 => array(
@@ -38323,7 +36099,7 @@ class Airavata_getAllComputeResourceNames_result {
}
public function getName() {
- return 'Airavata_getAllComputeResourceNames_result';
+ return 'Airavata_getAllApplicationInterfaces_result';
}
public function read($input)
@@ -38342,21 +36118,19 @@ class Airavata_getAllComputeResourceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
+ if ($ftype == TType::LST) {
$this->success = array();
- $_size196 = 0;
- $_ktype197 = 0;
- $_vtype198 = 0;
- $xfer += $input->readMapBegin($_ktype197, $_vtype198, $_size196);
- for ($_i200 = 0; $_i200 < $_size196; ++$_i200)
+ $_size166 = 0;
+ $_etype169 = 0;
+ $xfer += $input->readListBegin($_etype169, $_size166);
+ for ($_i170 = 0; $_i170 < $_size166; ++$_i170)
{
- $key201 = '';
- $val202 = '';
- $xfer += $input->readString($key201);
- $xfer += $input->readString($val202);
- $this->success[$key201] = $val202;
+ $elem171 = null;
+ $elem171 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $elem171->read($input);
+ $this->success []= $elem171;
}
- $xfer += $input->readMapEnd();
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -38405,22 +36179,21 @@ class Airavata_getAllComputeResourceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_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);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
{
- $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
+ $output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $kiter203 => $viter204)
+ foreach ($this->success as $iter172)
{
- $xfer += $output->writeString($kiter203);
- $xfer += $output->writeString($viter204);
+ $xfer += $iter172->write($output);
}
}
- $output->writeMapEnd();
+ $output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -38451,7 +36224,7 @@ class Airavata_getAllComputeResourceNames_result {
}
-class Airavata_updateComputeResource_args {
+class Airavata_getApplicationInputs_args {
static $_TSPEC;
/**
@@ -38461,11 +36234,7 @@ class Airavata_updateComputeResource_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
- */
- public $computeResourceDescription = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -38476,31 +36245,23 @@ class Airavata_updateComputeResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'appInterfaceId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'computeResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
- }
- if (isset($vals['computeResourceDescription'])) {
- $this->computeResourceDescription = $vals['computeResourceDescription'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
}
}
}
public function getName() {
- return 'Airavata_updateComputeResource_args';
+ return 'Airavata_getApplicationInputs_args';
}
public function read($input)
@@ -38528,15 +36289,7 @@ class Airavata_updateComputeResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
- $xfer += $this->computeResourceDescription->read($input);
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -38553,7 +36306,7 @@ class Airavata_updateComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateComputeResource_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -38562,17 +36315,9 @@ class Airavata_updateComputeResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->computeResourceDescription !== null) {
- if (!is_object($this->computeResourceDescription)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('computeResourceDescription', TType::STRUCT, 3);
- $xfer += $this->computeResourceDescription->write($output);
+ if ($this->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -38582,11 +36327,11 @@ class Airavata_updateComputeResource_args {
}
-class Airavata_updateComputeResource_result {
+class Airavata_getApplicationInputs_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Application\Io\InputDataObjectType[]
*/
public $success = null;
/**
@@ -38611,7 +36356,12 @@ class Airavata_updateComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Application\Io\InputDataObjectType',
+ ),
),
1 => array(
'var' => 'ire',
@@ -38655,7 +36405,7 @@ class Airavata_updateComputeResource_result {
}
public function getName() {
- return 'Airavata_updateComputeResource_result';
+ return 'Airavata_getApplicationInputs_result';
}
public function read($input)
@@ -38674,8 +36424,19 @@ class Airavata_updateComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size173 = 0;
+ $_etype176 = 0;
+ $xfer += $input->readListBegin($_etype176, $_size173);
+ for ($_i177 = 0; $_i177 < $_size173; ++$_i177)
+ {
+ $elem178 = null;
+ $elem178 = new \Airavata\Model\Application\Io\InputDataObjectType();
+ $xfer += $elem178->read($input);
+ $this->success []= $elem178;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -38724,10 +36485,22 @@ class Airavata_updateComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter179)
+ {
+ $xfer += $iter179->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -38757,7 +36530,7 @@ class Airavata_updateComputeResource_result {
}
-class Airavata_deleteComputeResource_args {
+class Airavata_getApplicationOutputs_args {
static $_TSPEC;
/**
@@ -38767,7 +36540,7 @@ class Airavata_deleteComputeResource_args {
/**
* @var string
*/
- public $computeResourceId = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -38778,7 +36551,7 @@ class Airavata_deleteComputeResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'appInterfaceId',
'type' => TType::STRING,
),
);
@@ -38787,14 +36560,14 @@ class Airavata_deleteComputeResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
}
}
}
public function getName() {
- return 'Airavata_deleteComputeResource_args';
+ return 'Airavata_getApplicationOutputs_args';
}
public function read($input)
@@ -38822,7 +36595,7 @@ class Airavata_deleteComputeResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -38839,7 +36612,7 @@ class Airavata_deleteComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -38848,9 +36621,9 @@ class Airavata_deleteComputeResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
+ if ($this->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -38860,11 +36633,11 @@ class Airavata_deleteComputeResource_args {
}
-class Airavata_deleteComputeResource_result {
+class Airavata_getApplicationOutputs_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
*/
public $success = null;
/**
@@ -38889,7 +36662,12 @@ class Airavata_deleteComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
+ ),
),
1 => array(
'var' => 'ire',
@@ -38933,7 +36711,7 @@ class Airavata_deleteComputeResource_result {
}
public function getName() {
- return 'Airavata_deleteComputeResource_result';
+ return 'Airavata_getApplicationOutputs_result';
}
public function read($input)
@@ -38952,8 +36730,19 @@ class Airavata_deleteComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size180 = 0;
+ $_etype183 = 0;
+ $xfer += $input->readListBegin($_etype183, $_size180);
+ for ($_i184 = 0; $_i184 < $_size180; ++$_i184)
+ {
+ $elem185 = null;
+ $elem185 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $xfer += $elem185->read($input);
+ $this->success []= $elem185;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -39002,10 +36791,22 @@ class Airavata_deleteComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter186)
+ {
+ $xfer += $iter186->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39035,7 +36836,7 @@ class Airavata_deleteComputeResource_result {
}
-class Airavata_registerStorageResource_args {
+class Airavata_getAvailableAppInterfaceComputeResources_args {
static $_TSPEC;
/**
@@ -39043,9 +36844,9 @@ class Airavata_registerStorageResource_args {
*/
public $authzToken = null;
/**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
+ * @var string
*/
- public $storageResourceDescription = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39056,9 +36857,8 @@ class Airavata_registerStorageResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'storageResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
+ 'var' => 'appInterfaceId',
+ 'type' => TType::STRING,
),
);
}
@@ -39066,14 +36866,14 @@ class Airavata_registerStorageResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceDescription'])) {
- $this->storageResourceDescription = $vals['storageResourceDescription'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
}
}
}
public function getName() {
- return 'Airavata_registerStorageResource_args';
+ return 'Airavata_getAvailableAppInterfaceComputeResources_args';
}
public function read($input)
@@ -39100,9 +36900,8 @@ class Airavata_registerStorageResource_args {
}
break;
case 2:
- if ($ftype == TType::STRUCT) {
- $this->storageResourceDescription = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
- $xfer += $this->storageResourceDescription->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -39119,7 +36918,7 @@ class Airavata_registerStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerStorageResource_args');
+ $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -39128,12 +36927,9 @@ class Airavata_registerStorageResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->storageResourceDescription !== null) {
- if (!is_object($this->storageResourceDescription)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('storageResourceDescription', TType::STRUCT, 2);
- $xfer += $this->storageResourceDescription->write($output);
+ if ($this->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -39143,11 +36939,11 @@ class Airavata_registerStorageResource_args {
}
-class Airavata_registerStorageResource_result {
+class Airavata_getAvailableAppInterfaceComputeResources_result {
static $_TSPEC;
/**
- * @var string
+ * @var array
*/
public $success = null;
/**
@@ -39172,7 +36968,15 @@ class Airavata_registerStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -39216,7 +37020,7 @@ class Airavata_registerStorageResource_result {
}
public function getName() {
- return 'Airavata_registerStorageResource_result';
+ return 'Airavata_getAvailableAppInterfaceComputeResources_result';
}
public function read($input)
@@ -39235,8 +37039,21 @@ class Airavata_registerStorageResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size187 = 0;
+ $_ktype188 = 0;
+ $_vtype189 = 0;
+ $xfer += $input->readMapBegin($_ktype188, $_vtype189, $_size187);
+ for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
+ {
+ $key192 = '';
+ $val193 = '';
+ $xfer += $input->readString($key192);
+ $xfer += $input->readString($val193);
+ $this->success[$key192] = $val193;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -39285,10 +37102,23 @@ class Airavata_registerStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ 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 $kiter194 => $viter195)
+ {
+ $xfer += $output->writeString($kiter194);
+ $xfer += $output->writeString($viter195);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39318,7 +37148,7 @@ class Airavata_registerStorageResource_result {
}
-class Airavata_getStorageResource_args {
+class Airavata_registerComputeResource_args {
static $_TSPEC;
/**
@@ -39326,9 +37156,9 @@ class Airavata_getStorageResource_args {
*/
public $authzToken = null;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
*/
- public $storageResourceId = null;
+ public $computeResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39339,8 +37169,9 @@ class Airavata_getStorageResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'storageResourceId',
- 'type' => TType::STRING,
+ 'var' => 'computeResourceDescription',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
),
);
}
@@ -39348,14 +37179,14 @@ class Airavata_getStorageResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceId'])) {
- $this->storageResourceId = $vals['storageResourceId'];
+ if (isset($vals['computeResourceDescription'])) {
+ $this->computeResourceDescription = $vals['computeResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_getStorageResource_args';
+ return 'Airavata_registerComputeResource_args';
}
public function read($input)
@@ -39382,8 +37213,9 @@ class Airavata_getStorageResource_args {
}
break;
case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->storageResourceId);
+ if ($ftype == TType::STRUCT) {
+ $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
+ $xfer += $this->computeResourceDescription->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -39400,7 +37232,7 @@ class Airavata_getStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getStorageResource_args');
+ $xfer += $output->writeStructBegin('Airavata_registerComputeResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -39409,9 +37241,12 @@ class Airavata_getStorageResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->storageResourceId !== null) {
- $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->storageResourceId);
+ if ($this->computeResourceDescription !== null) {
+ if (!is_object($this->computeResourceDescription)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('computeResourceDescription', TType::STRUCT, 2);
+ $xfer += $this->computeResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -39421,11 +37256,11 @@ class Airavata_getStorageResource_args {
}
-class Airavata_getStorageResource_result {
+class Airavata_registerComputeResource_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
+ * @var string
*/
public $success = null;
/**
@@ -39450,8 +37285,7 @@ class Airavata_getStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -39495,7 +37329,7 @@ class Airavata_getStorageResource_result {
}
public function getName() {
- return 'Airavata_getStorageResource_result';
+ return 'Airavata_registerComputeResource_result';
}
public function read($input)
@@ -39514,9 +37348,8 @@ class Airavata_getStorageResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -39565,13 +37398,10 @@ class Airavata_getStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_registerComputeResource_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39601,13 +37431,17 @@ class Airavata_getStorageResource_result {
}
-class Airavata_getAllStorageResourceNames_args {
+class Airavata_getComputeResource_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
+ /**
+ * @var string
+ */
+ public $computeResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39617,17 +37451,24 @@ class Airavata_getAllStorageResourceNames_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
+ 2 => array(
+ 'var' => 'computeResourceId',
+ 'type' => TType::STRING,
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllStorageResourceNames_args';
+ return 'Airavata_getComputeResource_args';
}
public function read($input)
@@ -39653,6 +37494,13 @@ class Airavata_getAllStorageResourceNames_args {
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->computeResourceId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -39665,7 +37513,7 @@ class Airavata_getAllStorageResourceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_args');
+ $xfer += $output->writeStructBegin('Airavata_getComputeResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -39674,6 +37522,11 @@ class Airavata_getAllStorageResourceNames_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -39681,11 +37534,11 @@ class Airavata_getAllStorageResourceNames_args {
}
-class Airavata_getAllStorageResourceNames_result {
+class Airavata_getComputeResource_result {
static $_TSPEC;
/**
- * @var array
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
*/
public $success = null;
/**
@@ -39710,15 +37563,8 @@ class Airavata_getAllStorageResourceNames_result {
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,
- ),
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
),
1 => array(
'var' => 'ire',
@@ -39762,7 +37608,7 @@ class Airavata_getAllStorageResourceNames_result {
}
public function getName() {
- return 'Airavata_getAllStorageResourceNames_result';
+ return 'Airavata_getComputeResource_result';
}
public function read($input)
@@ -39781,21 +37627,9 @@ class Airavata_getAllStorageResourceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size205 = 0;
- $_ktype206 = 0;
- $_vtype207 = 0;
- $xfer += $input->readMapBegin($_ktype206, $_vtype207, $_size205);
- for ($_i209 = 0; $_i209 < $_size205; ++$_i209)
- {
- $key210 = '';
- $val211 = '';
- $xfer += $input->readString($key210);
- $xfer += $input->readString($val211);
- $this->success[$key210] = $val211;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -39844,23 +37678,13 @@ class Airavata_getAllStorageResourceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_result');
+ $xfer += $output->writeStructBegin('Airavata_getComputeResource_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
+ if (!is_object($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 $kiter212 => $viter213)
- {
- $xfer += $output->writeString($kiter212);
- $xfer += $output->writeString($viter213);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39890,21 +37714,13 @@ class Airavata_getAllStorageResourceNames_result {
}
-class Airavata_updateStorageResource_args {
+class Airavata_getAllComputeResourceNames_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
- /**
- * @var string
- */
- public $storageResourceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
- */
- public $storageResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39914,32 +37730,17 @@ class Airavata_updateStorageResource_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
- 2 => array(
- 'var' => 'storageResourceId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'storageResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceId'])) {
- $this->storageResourceId = $vals['storageResourceId'];
- }
- if (isset($vals['storageResourceDescription'])) {
- $this->storageResourceDescription = $vals['storageResourceDescription'];
- }
}
}
public function getName() {
- return 'Airavata_updateStorageResource_args';
+ return 'Airavata_getAllComputeResourceNames_args';
}
public function read($input)
@@ -39965,21 +37766,6 @@ class Airavata_updateStorageResource_args {
$xfer += $input->skip($ftype);
}
break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->storageResourceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->storageResourceDescription = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
- $xfer += $this->storageResourceDescription->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -39992,7 +37778,7 @@ class Airavata_updateStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateStorageResource_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -40001,19 +37787,6 @@ class Airavata_updateStorageResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->storageResourceId !== null) {
- $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->storageResourceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->storageResourceDescription !== null) {
- if (!is_object($this->storageResourceDescription)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('storageResourceDescription', TType::STRUCT, 3);
- $xfer += $this->storageResourceDescription->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -40021,11 +37794,11 @@ class Airavata_updateStorageResource_args {
}
-class Airavata_updateStorageResource_result {
+class Airavata_getAllComputeResourceNames_result {
static $_TSPEC;
/**
- * @var bool
+ * @var array
*/
public $success = null;
/**
@@ -40050,7 +37823,15 @@ class Airavata_updateStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -40094,7 +37875,7 @@ class Airavata_updateStorageResource_result {
}
public function getName() {
- return 'Airavata_updateStorageResource_result';
+ return 'Airavata_getAllComputeResourceNames_result';
}
public function read($input)
@@ -40113,8 +37894,21 @@ class Airavata_updateStorageResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size196 = 0;
+ $_ktype197 = 0;
+ $_vtype198 = 0;
+ $xfer += $input->readMapBegin($_ktype197, $_vtype198, $_size196);
+ for ($_i200 = 0; $_i200 < $_size196; ++$_i200)
+ {
+ $key201 = '';
+ $val202 = '';
+ $xfer += $input->readString($key201);
+ $xfer += $input->readString($val202);
+ $this->success[$key201] = $val202;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -40163,10 +37957,23 @@ class Airavata_updateStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ 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 $kiter203 => $viter204)
+ {
+ $xfer += $output->writeString($kiter203);
+ $xfer += $output->writeString($viter204);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -40196,7 +38003,7 @@ class Airavata_updateStorageResource_result {
}
-class Airavata_deleteStorageResource_args {
+class Airavata_updateComputeResource_args {
static $_TSPEC;
/**
@@ -40206,7 +38013,11 @@ class Airavata_deleteStorageResource_args {
/**
* @var string
*/
- public $storageResourceId = null;
+ public $computeResourceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ */
+ public $computeResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40217,23 +38028,31 @@ class Airavata_deleteStorageResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'storageResourceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'computeResourceDescription',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceId'])) {
- $this->storageResourceId = $vals['storageResourceId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
+ if (isset($vals['computeResourceDescription'])) {
+ $this->computeResourceDescription = $vals['computeResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_deleteStorageResource_args';
+ return 'Airavata_updateComputeResource_args';
}
public function read($input)
@@ -40261,7 +38080,15 @@ class Airavata_deleteStorageResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->storageResourceId);
+ $xfer += $input->readString($this->computeResourceId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
+ $xfer += $this->computeResourceDescription->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -40278,7 +38105,7 @@ class Airavata_deleteStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_args');
+ $xfer += $output->writeStructBegin('Airavata_updateComputeResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -40287,9 +38114,17 @@ class Airavata_deleteStorageResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->storageResourceId !== null) {
- $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->storageResourceId);
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->computeResourceDescription !== null) {
+ if (!is_object($this->computeResourceDescription)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('computeResourceDescription', TType::STRUCT, 3);
+ $xfer += $this->computeResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -40299,7 +38134,7 @@ class Airavata_deleteStorageResource_args {
}
-class Airavata_deleteStorageResource_result {
+class Airavata_updateComputeResource_result {
static $_TSPEC;
/**
@@ -40372,7 +38207,7 @@ class Airavata_deleteStorageResource_result {
}
public function getName() {
- return 'Airavata_deleteStorageResource_result';
+ return 'Airavata_updateComputeResource_result';
}
public function read($input)
@@ -40441,7 +38276,7 @@ class Airavata_deleteStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_updateComputeResource_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -40474,7 +38309,7 @@ class Airavata_deleteStorageResource_result {
}
-class Airavata_addLocalSubmissionDetails_args {
+class Airavata_deleteComputeResource_args {
static $_TSPEC;
/**
@@ -40485,14 +38320,6 @@ class Airavata_addLocalSubmissionDetails_args {
* @var string
*/
public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
- */
- public $localSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40506,15 +38333,6 @@ class Airavata_addLocalSubmissionDetails_args {
'var' => 'computeResourceId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'localSubmission',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
- ),
);
}
if (is_array($vals)) {
@@ -40524,17 +38342,11 @@ class Airavata_addLocalSubmissionDetails_args {
if (isset($vals['computeResourceId'])) {
$this->computeResourceId = $vals['computeResourceId'];
}
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
- }
- if (isset($vals['localSubmission'])) {
- $this->localSubmission = $vals['localSubmission'];
- }
}
}
public function getName() {
- return 'Airavata_addLocalSubmissionDetails_args';
+ return 'Airavata_deleteComputeResource_args';
}
public function read($input)
@@ -40567,21 +38379,6 @@ class Airavata_addLocalSubmissionDetails_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
- $xfer += $this->localSubmission->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -40594,7 +38391,7 @@ class Airavata_addLocalSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -40608,19 +38405,6 @@ class Airavata_addLocalSubmissionDetails_args {
$xfer += $output->writeString($this->computeResourceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
- $xfer += $output->writeI32($this->priorityOrder);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->localSubmission !== null) {
- if (!is_object($this->localSubmission)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('localSubmission', TType::STRUCT, 4);
- $xfer += $this->localSubmission->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -40628,11 +38412,11 @@ class Airavata_addLocalSubmissionDetails_args {
}
-class Airavata_addLocalSubmissionDetails_result {
+class Airavata_deleteComputeResource_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -40657,7 +38441,7 @@ class Airavata_addLocalSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -40701,7 +38485,7 @@ class Airavata_addLocalSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addLocalSubmissionDetails_result';
+ return 'Airavata_deleteComputeResource_result';
}
public function read($input)
@@ -40720,8 +38504,8 @@ class Airavata_addLocalSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -40770,10 +38554,10 @@ class Airavata_addLocalSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -40803,7 +38587,7 @@ class Airavata_addLocalSubmissionDetails_result {
}
-class Airavata_updateLocalSubmissionDetails_args {
+class Airavata_registerStorageResource_args {
static $_TSPEC;
/**
@@ -40811,13 +38595,9 @@ class Airavata_updateLocalSubmissionDetails_args {
*/
public $authzToken = null;
/**
- * @var string
- */
- public $jobSubmissionInterfaceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
+ * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
*/
- public $localSubmission = null;
+ public $storageResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40828,13 +38608,9 @@ class Airavata_updateLocalSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'localSubmission',
+ 'var' => 'storageResourceDescription',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
),
);
}
@@ -40842,17 +38618,14 @@ class Airavata_updateLocalSubmissionDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionInterfaceId'])) {
- $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
- }
- if (isset($vals['localSubmission'])) {
- $this->localSubmission = $vals['localSubmission'];
+ if (isset($vals['storageResourceDescription'])) {
+ $this->storageResourceDescription = $vals['storageResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_updateLocalSubmissionDetails_args';
+ return 'Airavata_registerStorageResource_args';
}
public function read($input)
@@ -40879,16 +38652,9 @@ class Airavata_updateLocalSubmissionDetails_args {
}
break;
case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionInterfaceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
if ($ftype == TType::STRUCT) {
- $this->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
- $xfer += $this->localSubmission->read($input);
+ $this->storageResourceDescription = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
+ $xfer += $this->storageResourceDescription->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -40905,7 +38671,7 @@ class Airavata_updateLocalSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_registerStorageResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -40914,17 +38680,12 @@ class Airavata_updateLocalSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionInterfaceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->localSubmission !== null) {
- if (!is_object($this->localSubmission)) {
+ if ($this->storageResourceDescription !== null) {
+ if (!is_object($this->storageResourceDescription)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('localSubmission', TType::STRUCT, 3);
- $xfer += $this->localSubmission->write($output);
+ $xfer += $output->writeFieldBegin('storageResourceDescription', TType::STRUCT, 2);
+ $xfer += $this->storageResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -40934,11 +38695,11 @@ class Airavata_updateLocalSubmissionDetails_args {
}
-class Airavata_updateLocalSubmissionDetails_result {
+class Airavata_registerStorageResource_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -40963,7 +38724,7 @@ class Airavata_updateLocalSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -41007,7 +38768,7 @@ class Airavata_updateLocalSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateLocalSubmissionDetails_result';
+ return 'Airavata_registerStorageResource_result';
}
public function read($input)
@@ -41026,8 +38787,8 @@ class Airavata_updateLocalSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -41076,10 +38837,10 @@ class Airavata_updateLocalSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_registerStorageResource_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -41109,7 +38870,7 @@ class Airavata_updateLocalSubmissionDetails_result {
}
-class Airavata_getLocalJobSubmission_args {
+class Airavata_getStorageResource_args {
static $_TSPEC;
/**
@@ -41119,7 +38880,7 @@ class Airavata_getLocalJobSubmission_args {
/**
* @var string
*/
- public $jobSubmissionId = null;
+ public $storageResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -41130,7 +38891,7 @@ class Airavata_getLocalJobSubmission_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionId',
+ 'var' => 'storageResourceId',
'type' => TType::STRING,
),
);
@@ -41139,14 +38900,14 @@ class Airavata_getLocalJobSubmission_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionId'])) {
- $this->jobSubmissionId = $vals['jobSubmissionId'];
+ if (isset($vals['storageResourceId'])) {
+ $this->storageResourceId = $vals['storageResourceId'];
}
}
}
public function getName() {
- return 'Airavata_getLocalJobSubmission_args';
+ return 'Airavata_getStorageResource_args';
}
public function read($input)
@@ -41174,7 +38935,7 @@ class Airavata_getLocalJobSubmission_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionId);
+ $xfer += $input->readString($this->storageResourceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -41191,7 +38952,7 @@ class Airavata_getLocalJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_args');
+ $xfer += $output->writeStructBegin('Airavata_getStorageResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -41200,9 +38961,9 @@ class Airavata_getLocalJobSubmission_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionId);
+ if ($this->storageResourceId !== null) {
+ $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->storageResourceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -41212,11 +38973,11 @@ class Airavata_getLocalJobSubmission_args {
}
-class Airavata_getLocalJobSubmission_result {
+class Airavata_getStorageResource_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
+ * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
*/
public $success = null;
/**
@@ -41242,7 +39003,7 @@ class Airavata_getLocalJobSubmission_result {
0 => array(
'var' => 'success',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
),
1 => array(
'var' => 'ire',
@@ -41286,7 +39047,7 @@ class Airavata_getLocalJobSubmission_result {
}
public function getName() {
- return 'Airavata_getLocalJobSubmission_result';
+ return 'Airavata_getStorageResource_result';
}
public function read($input)
@@ -41306,7 +39067,7 @@ class Airavata_getLocalJobSubmission_result {
{
case 0:
if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $this->success = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
$xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
@@ -41356,7 +39117,7 @@ class Airavata_getLocalJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_getStorageResource_result');
if ($this->success !== null) {
if (!is_object($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -41392,25 +39153,13 @@ class Airavata_getLocalJobSubmission_result {
}
-class Airavata_addSSHJobSubmissionDetails_args {
+class Airavata_getAllStorageResourceNames_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
- /**
- * @var string
- */
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
- */
- public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -41420,39 +39169,17 @@ class Airavata_addSSHJobSubmissionDetails_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
- 2 => array(
- 'var' => 'computeResourceId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'sshJobSubmission',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
- }
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
- }
- if (isset($vals['sshJobSubmission'])) {
- $this->sshJobSubmission = $vals['sshJobSubmission'];
- }
}
}
public function getName() {
- return 'Airavata_addSSHJobSubmissionDetails_args';
+ return 'Airavata_getAllStorageResourceNames_args';
}
public function read($input)
@@ -41478,28 +39205,6 @@ class Airavata_addSSHJobSubmissionDetails_args {
$xfer += $input->skip($ftype);
}
break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
- $xfer += $this->sshJobSubmission->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -41512,7 +39217,7 @@ class Airavata_addSSHJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -41521,24 +39226,6 @@ class Airavata_addSSHJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
- $xfer += $output->writeI32($this->priorityOrder);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->sshJobSubmission !== null) {
- if (!is_object($this->sshJobSubmission)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 4);
- $xfer += $this->sshJobSubmission->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -41546,11 +39233,11 @@ class Airavata_addSSHJobSubmissionDetails_args {
}
-class Airavata_addSSHJobSubmissionDetails_result {
+class Airavata_getAllStorageResourceNames_result {
static $_TSPEC;
/**
- * @var string
+ * @var array
*/
public $success = null;
/**
@@ -41575,7 +39262,15 @@ class Airavata_addSSHJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -41619,7 +39314,7 @@ class Airavata_addSSHJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addSSHJobSubmissionDetails_result';
+ return 'Airavata_getAllStorageResourceNames_result';
}
public function read($input)
@@ -41638,8 +39333,21 @@ class Airavata_addSSHJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size205 = 0;
+ $_ktype206 = 0;
+ $_vtype207 = 0;
+ $xfer += $input->readMapBegin($_ktype206, $_vtype207, $_size205);
+ for ($_i209 = 0; $_i209 < $_size205; ++$_i209)
+ {
+ $key210 = '';
+ $val211 = '';
+ $xfer += $input->readString($key210);
+ $xfer += $input->readString($val211);
+ $this->success[$key210] = $val211;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -41688,10 +39396,23 @@ class Airavata_addSSHJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ 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 $kiter212 => $viter213)
+ {
+ $xfer += $output->writeString($kiter212);
+ $xfer += $output->writeString($viter213);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -41721,7 +39442,7 @@ class Airavata_addSSHJobSubmissionDetails_result {
}
-class Airavata_addSSHForkJobSubmissionDetails_args {
+class Airavata_updateStorageResource_args {
static $_TSPEC;
/**
@@ -41731,15 +39452,11 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $storageResourceId = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
*/
- public $sshJobSubmission = null;
+ public $storageResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -41750,17 +39467,13 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'storageResourceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'sshJobSubmission',
+ 'var' => 'storageResourceDescription',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
),
);
}
@@ -41768,20 +39481,17 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
- }
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
+ if (isset($vals['storageResourceId'])) {
+ $this->storageResourceId = $vals['storageResourceId'];
}
- if (isset($vals['sshJobSubmission'])) {
- $this->sshJobSubmission = $vals['sshJobSubmission'];
+ if (isset($vals['storageResourceDescription'])) {
+ $this->storageResourceDescription = $vals['storageResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_addSSHForkJobSubmissionDetails_args';
+ return 'Airavata_updateStorageResource_args';
}
public function read($input)
@@ -41809,22 +39519,15 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
+ $xfer += $input->readString($this->storageResourceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
if ($ftype == TType::STRUCT) {
- $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
- $xfer += $this->sshJobSubmission->read($input);
+ $this->storageResourceDescription = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
+ $xfer += $this->storageResourceDescription->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -41841,7 +39544,7 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_updateStorageResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -41850,22 +39553,17 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
- $xfer += $output->writeI32($this->priorityOrder);
+ if ($this->storageResourceId !== null) {
+ $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->storageResourceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->sshJobSubmission !== null) {
- if (!is_object($this->sshJobSubmission)) {
+ if ($this->storageResourceDescription !== null) {
+ if (!is_object($this->storageResourceDescription)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 4);
- $xfer += $this->sshJobSubmission->write($output);
+ $xfer += $output->writeFieldBegin('storageResourceDescription', TType::STRUCT, 3);
+ $xfer += $this->storageResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -41875,11 +39573,11 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
}
-class Airavata_addSSHForkJobSubmissionDetails_result {
+class Airavata_updateStorageResource_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -41904,7 +39602,7 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -41948,7 +39646,7 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addSSHForkJobSubmissionDetails_result';
+ return 'Airavata_updateStorageResource_result';
}
public function read($input)
@@ -41967,8 +39665,8 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -42017,10 +39715,10 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateStorageResource_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -42050,7 +39748,7 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
}
-class Airavata_getSSHJobSubmission_args {
+class Airavata_deleteStorageResource_args {
static $_TSPEC;
/**
@@ -42060,7 +39758,7 @@ class Airavata_getSSHJobSubmission_args {
/**
* @var string
*/
- public $jobSubmissionId = null;
+ public $storageResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42071,7 +39769,7 @@ class Airavata_getSSHJobSubmission_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionId',
+ 'var' => 'storageResourceId',
'type' => TType::STRING,
),
);
@@ -42080,14 +39778,14 @@ class Airavata_getSSHJobSubmission_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionId'])) {
- $this->jobSubmissionId = $vals['jobSubmissionId'];
+ if (isset($vals['storageResourceId'])) {
+ $this->storageResourceId = $vals['storageResourceId'];
}
}
}
public function getName() {
- return 'Airavata_getSSHJobSubmission_args';
+ return 'Airavata_deleteStorageResource_args';
}
public function read($input)
@@ -42115,7 +39813,7 @@ class Airavata_getSSHJobSubmission_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionId);
+ $xfer += $input->readString($this->storageResourceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -42132,7 +39830,7 @@ class Airavata_getSSHJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -42141,9 +39839,9 @@ class Airavata_getSSHJobSubmission_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionId);
+ if ($this->storageResourceId !== null) {
+ $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->storageResourceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -42153,11 +39851,11 @@ class Airavata_getSSHJobSubmission_args {
}
-class Airavata_getSSHJobSubmission_result {
+class Airavata_deleteStorageResource_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ * @var bool
*/
public $success = null;
/**
@@ -42182,8 +39880,7 @@ class Airavata_getSSHJobSubmission_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -42227,7 +39924,7 @@ class Airavata_getSSHJobSubmission_result {
}
public function getName() {
- return 'Airavata_getSSHJobSubmission_result';
+ return 'Airavata_deleteStorageResource_result';
}
public function read($input)
@@ -42246,9 +39943,8 @@ class Airavata_getSSHJobSubmission_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -42297,13 +39993,10 @@ class Airavata_getSSHJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -42333,7 +40026,7 @@ class Airavata_getSSHJobSubmission_result {
}
-class Airavata_addUNICOREJobSubmissionDetails_args {
+class Airavata_addLocalSubmissionDetails_args {
static $_TSPEC;
/**
@@ -42349,9 +40042,9 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
*/
public $priorityOrder = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
*/
- public $unicoreJobSubmission = null;
+ public $localSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42370,9 +40063,9 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
'type' => TType::I32,
),
4 => array(
- 'var' => 'unicoreJobSubmission',
+ 'var' => 'localSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
),
);
}
@@ -42386,14 +40079,14 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
if (isset($vals['priorityOrder'])) {
$this->priorityOrder = $vals['priorityOrder'];
}
- if (isset($vals['unicoreJobSubmission'])) {
- $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
+ if (isset($vals['localSubmission'])) {
+ $this->localSubmission = $vals['localSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addUNICOREJobSubmissionDetails_args';
+ return 'Airavata_addLocalSubmissionDetails_args';
}
public function read($input)
@@ -42435,8 +40128,8 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
break;
case 4:
if ($ftype == TType::STRUCT) {
- $this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
- $xfer += $this->unicoreJobSubmission->read($input);
+ $this->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $xfer += $this->localSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -42453,7 +40146,7 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -42472,12 +40165,12 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
$xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
- if ($this->unicoreJobSubmission !== null) {
- if (!is_object($this->unicoreJobSubmission)) {
+ if ($this->localSubmission !== null) {
+ if (!is_object($this->localSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 4);
- $xfer += $this->unicoreJobSubmission->write($output);
+ $xfer += $output->writeFieldBegin('localSubmission', TType::STRUCT, 4);
+ $xfer += $this->localSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -42487,7 +40180,7 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
}
-class Airavata_addUNICOREJobSubmissionDetails_result {
+class Airavata_addLocalSubmissionDetails_result {
static $_TSPEC;
/**
@@ -42560,7 +40253,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addUNICOREJobSubmissionDetails_result';
+ return 'Airavata_addLocalSubmissionDetails_result';
}
public function read($input)
@@ -42629,7 +40322,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -42662,7 +40355,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
}
-class Airavata_getUnicoreJobSubmission_args {
+class Airavata_updateLocalSubmissionDetails_args {
static $_TSPEC;
/**
@@ -42672,7 +40365,11 @@ class Airavata_getUnicoreJobSubmission_args {
/**
* @var string
*/
- public $jobSubmissionId = null;
+ public $jobSubmissionInterfaceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
+ */
+ public $localSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42683,23 +40380,31 @@ class Airavata_getUnicoreJobSubmission_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionId',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'localSubmission',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionId'])) {
- $this->jobSubmissionId = $vals['jobSubmissionId'];
+ if (isset($vals['jobSubmissionInterfaceId'])) {
+ $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
+ }
+ if (isset($vals['localSubmission'])) {
+ $this->localSubmission = $vals['localSubmission'];
}
}
}
public function getName() {
- return 'Airavata_getUnicoreJobSubmission_args';
+ return 'Airavata_updateLocalSubmissionDetails_args';
}
public function read($input)
@@ -42727,7 +40432,15 @@ class Airavata_getUnicoreJobSubmission_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionId);
+ $xfer += $input->readString($this->jobSubmissionInterfaceId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $xfer += $this->localSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -42744,7 +40457,7 @@ class Airavata_getUnicoreJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_args');
+ $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -42753,9 +40466,17 @@ class Airavata_getUnicoreJobSubmission_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionId);
+ if ($this->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->localSubmission !== null) {
+ if (!is_object($this->localSubmission)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('localSubmission', TType::STRUCT, 3);
+ $xfer += $this->localSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -42765,11 +40486,11 @@ class Airavata_getUnicoreJobSubmission_args {
}
-class Airavata_getUnicoreJobSubmission_result {
+class Airavata_updateLocalSubmissionDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ * @var bool
*/
public $success = null;
/**
@@ -42794,8 +40515,7 @@ class Airavata_getUnicoreJobSubmission_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -42839,7 +40559,7 @@ class Airavata_getUnicoreJobSubmission_result {
}
public function getName() {
- return 'Airavata_getUnicoreJobSubmission_result';
+ return 'Airavata_updateLocalSubmissionDetails_result';
}
public function read($input)
@@ -42858,9 +40578,8 @@ class Airavata_getUnicoreJobSubmission_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -42909,13 +40628,10 @@ class Airavata_getUnicoreJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -42945,7 +40661,7 @@ class Airavata_getUnicoreJobSubmission_result {
}
-class Airavata_addCloudJobSubmissionDetails_args {
+class Airavata_getLocalJobSubmission_args {
static $_TSPEC;
/**
@@ -42955,15 +40671,7 @@ class Airavata_addCloudJobSubmissionDetails_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
- */
- public $cloudSubmission = null;
+ public $jobSubmissionId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42974,38 +40682,23 @@ class Airavata_addCloudJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'jobSubmissionId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'cloudSubmission',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['computeResourceId'])) {
- $this->computeResourceId = $vals['computeResourceId'];
- }
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
- }
- if (isset($vals['cloudSubmission'])) {
- $this->cloudSubmission = $vals['cloudSubmission'];
+ if (isset($vals['jobSubmissionId'])) {
+ $this->jobSubmissionId = $vals['jobSubmissionId'];
}
}
}
public function getName() {
- return 'Airavata_addCloudJobSubmissionDetails_args';
+ return 'Airavata_getLocalJobSubmission_args';
}
public function read($input)
@@ -43033,22 +40726,7 @@ class Airavata_addCloudJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->cloudSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
- $xfer += $this->cloudSubmission->read($input);
+ $xfer += $input->readString($this->jobSubmissionId);
} else {
$xfer += $input->skip($ftype);
}
@@ -43065,7 +40743,7 @@ class Airavata_addCloudJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -43074,22 +40752,9 @@ class Airavata_addCloudJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->computeResourceId !== null) {
- $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
- $xfer += $output->writeString($this->computeResourceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
- $xfer += $output->writeI32($this->priorityOrder);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->cloudSubmission !== null) {
- if (!is_object($this->cloudSubmission)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('cloudSubmission', TType::STRUCT, 4);
- $xfer += $this->cloudSubmission->write($output);
+ if ($this->jobSubmissionId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -43099,11 +40764,11 @@ class Airavata_addCloudJobSubmissionDetails_args {
}
-class Airavata_addCloudJobSubmissionDetails_result {
+class Airavata_getLocalJobSubmission_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
*/
public $success = null;
/**
@@ -43128,7 +40793,8 @@ class Airavata_addCloudJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
),
1 => array(
'var' => 'ire',
@@ -43172,7 +40838,7 @@ class Airavata_addCloudJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addCloudJobSubmissionDetails_result';
+ return 'Airavata_getLocalJobSubmission_result';
}
public function read($input)
@@ -43191,8 +40857,9 @@ class Airavata_addCloudJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -43241,10 +40908,13 @@ class Airavata_addCloudJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -43274,7 +40944,7 @@ class Airavata_addCloudJobSubmissionDetails_result {
}
-class Airavata_getCloudJobSubmission_args {
+class Airavata_addSSHJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -43284,7 +40954,15 @@ class Airavata_getCloudJobSubmission_args {
/**
* @var string
*/
- public $jobSubmissionId = null;
+ public $computeResourceId = null;
+ /**
+ * @var int
+ */
+ public $priorityOrder = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ */
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -43295,23 +40973,38 @@ class Airavata_getCloudJobSubmission_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'priorityOrder',
+ 'type' => TType::I32,
+ ),
+ 4 => array(
+ 'var' => 'sshJobSubmission',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionId'])) {
- $this->jobSubmissionId = $vals['jobSubmissionId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
+ if (isset($vals['priorityOrder'])) {
+ $this->priorityOrder = $vals['priorityOrder'];
+ }
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_getCloudJobSubmission_args';
+ return 'Airavata_addSSHJobSubmissionDetails_args';
}
public function read($input)
@@ -43339,7 +41032,22 @@ class Airavata_getCloudJobSubmission_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionId);
+ $xfer += $input->readString($this->computeResourceId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->priorityOrder);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
+ $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -43356,7 +41064,7 @@ class Airavata_getCloudJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_args');
+ $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -43365,9 +41073,22 @@ class Airavata_getCloudJobSubmission_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionId);
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->priorityOrder !== null) {
+ $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
+ $xfer += $output->writeI32($this->priorityOrder);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 4);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -43377,11 +41098,11 @@ class Airavata_getCloudJobSubmission_args {
}
-class Airavata_getCloudJobSubmission_result {
+class Airavata_addSSHJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
+ * @var string
*/
public $success = null;
/**
@@ -43406,8 +41127,7 @@ class Airavata_getCloudJobSubmission_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -43451,7 +41171,7 @@ class Airavata_getCloudJobSubmission_result {
}
public function getName() {
- return 'Airavata_getCloudJobSubmission_result';
+ return 'Airavata_addSSHJobSubmissionDetails_result';
}
public function read($input)
@@ -43470,9 +41190,8 @@ class Airavata_getCloudJobSubmission_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -43521,13 +41240,10 @@ class Airavata_getCloudJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -43557,7 +41273,7 @@ class Airavata_getCloudJobSubmission_result {
}
-class Airavata_updateSSHJobSubmissionDetails_args {
+class Airavata_addSSHForkJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -43567,7 +41283,11 @@ class Airavata_updateSSHJobSubmissionDetails_args {
/**
* @var string
*/
- public $jobSubmissionInterfaceId = null;
+ public $computeResourceId = null;
+ /**
+ * @var int
+ */
+ public $priorityOrder = null;
/**
* @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
@@ -43582,10 +41302,14 @@ class Airavata_updateSSHJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
3 => array(
+ 'var' => 'priorityOrder',
+ 'type' => TType::I32,
+ ),
+ 4 => array(
'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
@@ -43596,8 +41320,11 @@ class Airavata_updateSSHJobSubmissionDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionInterfaceId'])) {
- $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
+ if (isset($vals['priorityOrder'])) {
+ $this->priorityOrder = $vals['priorityOrder'];
}
if (isset($vals['sshJobSubmission'])) {
$this->sshJobSubmission = $vals['sshJobSubmission'];
@@ -43606,7 +41333,7 @@ class Airavata_updateSSHJobSubmissionDetails_args {
}
public function getName() {
- return 'Airavata_updateSSHJobSubmissionDetails_args';
+ return 'Airavata_addSSHForkJobSubmissionDetails_args';
}
public function read($input)
@@ -43634,12 +41361,19 @@ class Airavata_updateSSHJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionInterfaceId);
+ $xfer += $input->readString($this->computeResourceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->priorityOrder);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
if ($ftype == TType::STRUCT) {
$this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
$xfer += $this->sshJobSubmission->read($input);
@@ -43659,7 +41393,7 @@ class Airavata_updateSSHJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -43668,16 +41402,21 @@ class Airavata_updateSSHJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionInterfaceId);
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->priorityOrder !== null) {
+ $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
+ $xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
if ($this->sshJobSubmission !== null) {
if (!is_object($this->sshJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 4);
$xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -43688,11 +41427,11 @@ class Airavata_updateSSHJobSubmissionDetails_args {
}
-class Airavata_updateSSHJobSubmissionDetails_result {
+class Airavata_addSSHForkJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -43717,7 +41456,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -43761,7 +41500,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateSSHJobSubmissionDetails_result';
+ return 'Airavata_addSSHForkJobSubmissionDetails_result';
}
public function read($input)
@@ -43780,8 +41519,8 @@ class Airavata_updateSSHJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -43830,10 +41569,10 @@ class Airavata_updateSSHJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -43863,7 +41602,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
}
-class Airavata_updateCloudJobSubmissionDetails_args {
+class Airavata_getSSHJobSubmission_args {
static $_TSPEC;
/**
@@ -43873,11 +41612,7 @@ class Airavata_updateCloudJobSubmissionDetails_args {
/**
* @var string
*/
- public $jobSubmissionInterfaceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
- */
- public $sshJobSubmission = null;
+ public $jobSubmissionId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -43888,31 +41623,23 @@ class Airavata_updateCloudJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
+ 'var' => 'jobSubmissionId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'sshJobSubmission',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionInterfaceId'])) {
- $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
- }
- if (isset($vals['sshJobSubmission'])) {
- $this->sshJobSubmission = $vals['sshJobSubmission'];
+ if (isset($vals['jobSubmissionId'])) {
+ $this->jobSubmissionId = $vals['jobSubmissionId'];
}
}
}
public function getName() {
- return 'Airavata_updateCloudJobSubmissionDetails_args';
+ return 'Airavata_getSSHJobSubmission_args';
}
public function read($input)
@@ -43940,15 +41667,7 @@ class Airavata_updateCloudJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionInterfaceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
- $xfer += $this->sshJobSubmission->read($input);
+ $xfer += $input->readString($this->jobSubmissionId);
} else {
$xfer += $input->skip($ftype);
}
@@ -43965,7 +41684,7 @@ class Airavata_updateCloudJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -43974,17 +41693,9 @@ class Airavata_updateCloudJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionInterfaceId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->sshJobSubmission !== null) {
- if (!is_object($this->sshJobSubmission)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
- $xfer += $this->sshJobSubmission->write($output);
+ if ($this->jobSubmissionId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -43994,11 +41705,11 @@ class Airavata_updateCloudJobSubmissionDetails_args {
}
-class Airavata_updateCloudJobSubmissionDetails_result {
+class Airavata_getSSHJobSubmission_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
public $success = null;
/**
@@ -44023,7 +41734,8 @@ class Airavata_updateCloudJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -44067,7 +41779,7 @@ class Airavata_updateCloudJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateCloudJobSubmissionDetails_result';
+ return 'Airavata_getSSHJobSubmission_result';
}
public function read($input)
@@ -44086,8 +41798,9 @@ class Airavata_updateCloudJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -44136,10 +41849,13 @@ class Airavata_updateCloudJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -44169,7 +41885,7 @@ class Airavata_updateCloudJobSubmissionDetails_result {
}
-class Airavata_updateUnicoreJobSubmissionDetails_args {
+class Airavata_addUNICOREJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -44179,7 +41895,11 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
/**
* @var string
*/
- public $jobSubmissionInterfaceId = null;
+ public $computeResourceId = null;
+ /**
+ * @var int
+ */
+ public $priorityOrder = null;
/**
* @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
*/
@@ -44194,10 +41914,14 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
3 => array(
+ 'var' => 'priorityOrder',
+ 'type' => TType::I32,
+ ),
+ 4 => array(
'var' => 'unicoreJobSubmission',
'type' => TType::STRUCT,
'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
@@ -44208,8 +41932,11 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['jobSubmissionInterfaceId'])) {
- $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
+ if (isset($vals['priorityOrder'])) {
+ $this->priorityOrder = $vals['priorityOrder'];
}
if (isset($vals['unicoreJobSubmission'])) {
$this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
@@ -44218,7 +41945,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
}
public function getName() {
- return 'Airavata_updateUnicoreJobSubmissionDetails_args';
+ return 'Airavata_addUNICOREJobSubmissionDetails_args';
}
public function read($input)
@@ -44246,12 +41973,19 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->jobSubmissionInterfaceId);
+ $xfer += $input->readString($this->computeResourceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->priorityOrder);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
if ($ftype == TType::STRUCT) {
$this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
$xfer += $this->unicoreJobSubmission->read($input);
@@ -44271,7 +42005,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -44280,16 +42014,21 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->jobSubmissionInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->jobSubmissionInterfaceId);
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->priorityOrder !== null) {
+ $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
+ $xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
if ($this->unicoreJobSubmission !== null) {
if (!is_object($this->unicoreJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 4);
$xfer += $this->unicoreJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -44300,11 +42039,11 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
}
-class Airavata_updateUnicoreJobSubmissionDetails_result {
+class Airavata_addUNICOREJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -44329,7 +42068,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -44373,7 +42112,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateUnicoreJobSubmissionDetails_result';
+ return 'Airavata_addUNICOREJobSubmissionDetails_result';
}
public function read($input)
@@ -44392,8 +42131,8 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -44442,10 +42181,10 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -44475,7 +42214,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
}
-class Airavata_addLocalDataMovementDetails_args {
+class Airavata_getUnicoreJobSubmission_args {
static $_TSPEC;
/**
@@ -44485,19 +42224,7 @@ class Airavata_addLocalDataMovementDetails_args {
/**
* @var string
*/
- public $productUri = null;
- /**
- * @var int
- */
- public $dataMoveType = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
- /**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
- */
- public $localDataMovement = null;
+ public $jobSubmissionId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -44508,45 +42235,23 @@ class Airavata_addLocalDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'productUri',
+ 'var' => 'jobSubmissionId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'dataMoveType',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 5 => array(
- 'var' => 'localDataMovement',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['productUri'])) {
- $this->productUri = $vals['productUri'];
- }
- if (isset($vals['dataMoveType'])) {
- $this->dataMoveType = $vals['dataMoveType'];
- }
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
- }
- if (isset($vals['localDataMovement'])) {
- $this->localDataMovement = $vals['localDataMovement'];
+ if (isset($vals['jobSubmissionId'])) {
+ $this->jobSubmissionId = $vals['jobSubmissionId'];
}
}
}
public function getName() {
- return 'Airavata_addLocalDataMovementDetails_args';
+ return 'Airavata_getUnicoreJobSubmission_args';
}
public function read($input)
@@ -44574,29 +42279,7 @@ class Airavata_addLocalDataMovementDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->productUri);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->dataMoveType);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
- $this->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
- $xfer += $this->localDataMovement->read($input);
+ $xfer += $input->readString($this->jobSubmissionId);
} else {
$xfer += $input->skip($ftype);
}
@@ -44613,7 +42296,7 @@ class Airavata_addLocalDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -44622,27 +42305,9 @@ class Airavata_addLocalDataMovementDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->productUri !== null) {
- $xfer += $output->writeFieldBegin('productUri', TType::STRING, 2);
- $xfer += $output->writeString($this->productUri);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->dataMoveType !== null) {
- $xfer += $output->writeFieldBegin('dataMoveType', TType::I32, 3);
- $xfer += $output->writeI32($this->dataMoveType);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 4);
- $xfer += $output->writeI32($this->priorityOrder);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->localDataMovement !== null) {
- if (!is_object($this->localDataMovement)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('localDataMovement', TType::STRUCT, 5);
- $xfer += $this->localDataMovement->write($output);
+ if ($this->jobSubmissionId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -44652,11 +42317,11 @@ class Airavata_addLocalDataMovementDetails_args {
}
-class Airavata_addLocalDataMovementDetails_result {
+class Airavata_getUnicoreJobSubmission_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
*/
public $success = null;
/**
@@ -44681,7 +42346,8 @@ class Airavata_addLocalDataMovementDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -44725,7 +42391,7 @@ class Airavata_addLocalDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_addLocalDataMovementDetails_result';
+ return 'Airavata_getUnicoreJobSubmission_result';
}
public function read($input)
@@ -44744,8 +42410,9 @@ class Airavata_addLocalDataMovementDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -44794,10 +42461,13 @@ class Airavata_addLocalDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -44827,7 +42497,7 @@ class Airavata_addLocalDataMovementDetails_result {
}
-class Airavata_updateLocalDataMovementDetails_args {
+class Airavata_addCloudJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -44837,11 +42507,15 @@ class Airavata_updateLocalDataMovementDetails_args {
/**
* @var string
*/
- public $dataMovementInterfaceId = null;
+ public $computeResourceId = null;
/**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ * @var int
*/
- public $localDataMovement = null;
+ public $priorityOrder = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
+ */
+ public $cloudSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -44852,13 +42526,17 @@ class Airavata_updateLocalDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementInterfaceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'localDataMovement',
+ 'var' => 'priorityOrder',
+ 'type' => TType::I32,
+ ),
+ 4 => array(
+ 'var' => 'cloudSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
);
}
@@ -44866,17 +42544,20 @@ class Airavata_updateLocalDataMovementDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['dataMovementInterfaceId'])) {
- $this->dataMovementInterfaceId = $vals['dataMovementInterfaceId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
}
- if (isset($vals['localDataMovement'])) {
- $this->localDataMovement = $vals['localDataMovement'];
+ if (isset($vals['priorityOrder'])) {
+ $this->priorityOrder = $vals['priorityOrder'];
+ }
+ if (isset($vals['cloudSubmission'])) {
+ $this->cloudSubmission = $vals['cloudSubmission'];
}
}
}
public function getName() {
- return 'Airavata_updateLocalDataMovementDetails_args';
+ return 'Airavata_addCloudJobSubmissionDetails_args';
}
public function read($input)
@@ -44904,15 +42585,22 @@ class Airavata_updateLocalDataMovementDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dataMovementInterfaceId);
+ $xfer += $input->readString($this->computeResourceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->priorityOrder);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
if ($ftype == TType::STRUCT) {
- $this->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
- $xfer += $this->localDataMovement->read($input);
+ $this->cloudSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
+ $xfer += $this->cloudSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -44929,7 +42617,7 @@ class Airavata_updateLocalDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -44938,17 +42626,22 @@ class Airavata_updateLocalDataMovementDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->dataMovementInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('dataMovementInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->dataMovementInterfaceId);
+ if ($this->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->localDataMovement !== null) {
- if (!is_object($this->localDataMovement)) {
+ if ($this->priorityOrder !== null) {
+ $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 3);
+ $xfer += $output->writeI32($this->priorityOrder);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->cloudSubmission !== null) {
+ if (!is_object($this->cloudSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('localDataMovement', TType::STRUCT, 3);
- $xfer += $this->localDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('cloudSubmission', TType::STRUCT, 4);
+ $xfer += $this->cloudSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -44958,11 +42651,11 @@ class Airavata_updateLocalDataMovementDetails_args {
}
-class Airavata_updateLocalDataMovementDetails_result {
+class Airavata_addCloudJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -44987,7 +42680,7 @@ class Airavata_updateLocalDataMovementDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -45031,7 +42724,7 @@ class Airavata_updateLocalDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_updateLocalDataMovementDetails_result';
+ return 'Airavata_addCloudJobSubmissionDetails_result';
}
public function read($input)
@@ -45050,8 +42743,8 @@ class Airavata_updateLocalDataMovementDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -45100,10 +42793,10 @@ class Airavata_updateLocalDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -45133,7 +42826,7 @@ class Airavata_updateLocalDataMovementDetails_result {
}
-class Airavata_getLocalDataMovement_args {
+class Airavata_getCloudJobSubmission_args {
static $_TSPEC;
/**
@@ -45143,7 +42836,7 @@ class Airavata_getLocalDataMovement_args {
/**
* @var string
*/
- public $dataMovementId = null;
+ public $jobSubmissionId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45154,7 +42847,7 @@ class Airavata_getLocalDataMovement_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementId',
+ 'var' => 'jobSubmissionId',
'type' => TType::STRING,
),
);
@@ -45163,14 +42856,14 @@ class Airavata_getLocalDataMovement_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['dataMovementId'])) {
- $this->dataMovementId = $vals['dataMovementId'];
+ if (isset($vals['jobSubmissionId'])) {
+ $this->jobSubmissionId = $vals['jobSubmissionId'];
}
}
}
public function getName() {
- return 'Airavata_getLocalDataMovement_args';
+ return 'Airavata_getCloudJobSubmission_args';
}
public function read($input)
@@ -45198,7 +42891,7 @@ class Airavata_getLocalDataMovement_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dataMovementId);
+ $xfer += $input->readString($this->jobSubmissionId);
} else {
$xfer += $input->skip($ftype);
}
@@ -45215,7 +42908,7 @@ class Airavata_getLocalDataMovement_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalDataMovement_args');
+ $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -45224,9 +42917,9 @@ class Airavata_getLocalDataMovement_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->dataMovementId !== null) {
- $xfer += $output->writeFieldBegin('dataMovementId', TType::STRING, 2);
- $xfer += $output->writeString($this->dataMovementId);
+ if ($this->jobSubmissionId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45236,11 +42929,11 @@ class Airavata_getLocalDataMovement_args {
}
-class Airavata_getLocalDataMovement_result {
+class Airavata_getCloudJobSubmission_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
*/
public $success = null;
/**
@@ -45266,7 +42959,7 @@ class Airavata_getLocalDataMovement_result {
0 => array(
'var' => 'success',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -45310,7 +43003,7 @@ class Airavata_getLocalDataMovement_result {
}
public function getName() {
- return 'Airavata_getLocalDataMovement_result';
+ return 'Airavata_getCloudJobSubmission_result';
}
public function read($input)
@@ -45330,7 +43023,7 @@ class Airavata_getLocalDataMovement_result {
{
case 0:
if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Data\Movement\LOCALDataMovement();
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
$xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
@@ -45380,7 +43073,7 @@ class Airavata_getLocalDataMovement_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalDataMovement_result');
+ $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_result');
if ($this->success !== null) {
if (!is_object($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -45416,7 +43109,7 @@ class Airavata_getLocalDataMovement_result {
}
-class Airavata_addSCPDataMovementDetails_args {
+class Airavata_updateSSHJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -45426,19 +43119,11 @@ class Airavata_addSCPDataMovementDetails_args {
/**
* @var string
*/
- public $productUri = null;
- /**
- * @var int
- */
- public $dataMoveType = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\SCPDataMovement
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
- public $scpDataMovement = null;
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45449,21 +43134,13 @@ class Airavata_addSCPDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'productUri',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'dataMoveType',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 5 => array(
- 'var' => 'scpDataMovement',
+ 'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\SCPDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
),
);
}
@@ -45471,23 +43148,17 @@ class Airavata_addSCPDataMovementDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['productUri'])) {
- $this->productUri = $vals['productUri'];
- }
- if (isset($vals['dataMoveType'])) {
- $this->dataMoveType = $vals['dataMoveType'];
- }
- if (isset($vals['priorityOrder'])) {
- $this->priorityOrder = $vals['priorityOrder'];
+ if (isset($vals['jobSubmissionInterfaceId'])) {
+ $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
}
- if (isset($vals['scpDataMovement'])) {
- $this->scpDataMovement = $vals['scpDataMovement'];
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addSCPDataMovementDetails_args';
+ return 'Airavata_updateSSHJobSubmissionDetails_args';
}
public function read($input)
@@ -45515,29 +43186,15 @@ class Airavata_addSCPDataMovementDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->productUri);
+ $xfer += $input->readString($this->jobSubmissionInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->dataMoveType);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->priorityOrder);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
if ($ftype == TType::STRUCT) {
- $this->scpDataMovement = new \Airavata\Model\Data\Movement\SCPDataMovement();
- $xfer += $this->scpDataMovement->read($input);
+ $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45554,7 +43211,7 @@ class Airavata_addSCPDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSCPDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -45563,27 +43220,17 @@ class Airavata_addSCPDataMovementDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->productUri !== null) {
- $xfer += $output->writeFieldBegin('productUri', TType::STRING, 2);
- $xfer += $output->writeString($this->productUri);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->dataMoveType !== null) {
- $xfer += $output->writeFieldBegin('dataMoveType', TType::I32, 3);
- $xfer += $output->writeI32($this->dataMoveType);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->priorityOrder !== null) {
- $xfer += $output->writeFieldBegin('priorityOrder', TType::I32, 4);
- $xfer += $output->writeI32($this->priorityOrder);
+ if ($this->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->scpDataMovement !== null) {
- if (!is_object($this->scpDataMovement)) {
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('scpDataMovement', TType::STRUCT, 5);
- $xfer += $this->scpDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45593,11 +43240,11 @@ class Airavata_addSCPDataMovementDetails_args {
}
-class Airavata_addSCPDataMovementDetails_result {
+class Airavata_updateSSHJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -45622,7 +43269,7 @@ class Airavata_addSCPDataMovementDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -45666,7 +43313,7 @@ class Airavata_addSCPDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_addSCPDataMovementDetails_result';
+ return 'Airavata_updateSSHJobSubmissionDetails_result';
}
public function read($input)
@@ -45685,8 +43332,8 @@ class Airavata_addSCPDataMovementDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -45735,10 +43382,10 @@ class Airavata_addSCPDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSCPDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -45768,7 +43415,7 @@ class Airavata_addSCPDataMovementDetails_result {
}
-class Airavata_updateSCPDataMovementDetails_args {
+class Airavata_updateCloudJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -45778,11 +43425,11 @@ class Airavata_updateSCPDataMovementDetails_args {
/**
* @var string
*/
- public $dataMovementInterfaceId = null;
+ public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\SCPDataMovement
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
*/
- public $scpDataMovement = null;
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45793,13 +43440,13 @@ class Airavata_updateSCPDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementInterfaceId',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'scpDataMovement',
+ 'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\SCPDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
);
}
@@ -45807,17 +43454,17 @@ class Airavata_updateSCPDataMovementDetails_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['dataMovementInterfaceId'])) {
- $this->dataMovementInterfaceId = $vals['dataMovementInterfaceId'];
+ if (isset($vals['jobSubmissionInterfaceId'])) {
+ $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
}
- if (isset($vals['scpDataMovement'])) {
- $this->scpDataMovement = $vals['scpDataMovement'];
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_updateSCPDataMovementDetails_args';
+ return 'Airavata_updateCloudJobSubmissionDetails_args';
}
public function read($input)
@@ -45845,15 +43492,15 @@ class Airavata_updateSCPDataMovementDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dataMovementInterfaceId);
+ $xfer += $input->readString($this->jobSubmissionInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
if ($ftype == TType::STRUCT) {
- $this->scpDataMovement = new \Airavata\Model\Data\Movement\SCPDataMovement();
- $xfer += $this->scpDataMovement->read($input);
+ $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45870,7 +43517,7 @@ class Airavata_updateSCPDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSCPDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -45879,17 +43526,17 @@ class Airavata_updateSCPDataMovementDetails_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->dataMovementInterfaceId !== null) {
- $xfer += $output->writeFieldBegin('dataMovementInterfaceId', TType::STRING, 2);
- $xfer += $output->writeString($this->dataMovementInterfaceId);
+ if ($this->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->scpDataMovement !== null) {
- if (!is_object($this->scpDataMovement)) {
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('scpDataMovement', TType::STRUCT, 3);
- $xfer += $this->scpDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45899,7 +43546,7 @@ class Airavata_updateSCPDataMovementDetails_args {
}
-class Airavata_updateSCPDataMovementDetails_result {
+class Airavata_updateCloudJobSubmissionDetails_result {
static $_TSPEC;
/**
@@ -45972,7 +43619,7 @@ class Airavata_updateSCPDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_updateSCPDataMovementDetails_result';
+ return 'Airavata_updateCloudJobSubmissionDetails_result';
}
public function read($input)
@@ -46041,7 +43688,7 @@ class Airavata_updateSCPDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSCPDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -46074,7 +43721,7 @@ class Airavata_updateSCPDataMovementDetails_result {
}
-class Airavata_getSCPDataMovement_args {
+class Airavata_updateUnicoreJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -46084,7 +43731,11 @@ class Airavata_getSCPDataMovement_args {
/**
* @var string
*/
- public $dataMovementId = null;
+ public $jobSubmissionInterfaceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ */
+ public $unicoreJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -46095,23 +43746,31 @@ class Airavata_getSCPDataMovement_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementId',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'unicoreJobSubmission',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['dataMovementId'])) {
- $this->dataMovementId = $vals['dataMovementId'];
+ if (isset($vals['jobSubmissionInterfaceId'])) {
+ $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
+ }
+ if (isset($vals['unicoreJobSubmission'])) {
+ $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_getSCPDataMovement_args';
+ return 'Airavata_updateUnicoreJobSubmissionDetails_args';
}
public function read($input)
@@ -46139,7 +43798,15 @@ class Airavata_getSCPDataMovement_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dataMovementId);
+ $xfer += $input->readString($this->jobSubmissionInterfaceId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
+ $xfer += $this->unicoreJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -46156,7 +43823,7 @@ class Airavata_getSCPDataMovement_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSCPDataMovement_args');
+ $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -46165,9 +43832,17 @@ class Airavata_getSCPDataMovement_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->dataMovementId !== null) {
- $xfer += $output->writeFieldBegin('dataMovementId', TType::STRING, 2);
- $xfer += $output->writeString($this->dataMovementId);
+ if ($this->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->unicoreJobSubmission !== null) {
+ if (!is_object($this->unicoreJobSubmission)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->unicoreJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -46177,11 +43852,11 @@ class Airavata_getSCPDataMovement_args {
}
-class Airavata_getSCPDataMovement_result {
+class Airavata_updateUnicoreJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Data\Movement\SCPDataMovement
+ * @var bool
*/
public $success = null;
/**
@@ -46206,8 +43881,7 @@ class Airavata_getSCPDataMovement_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\SCPDataMovement',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -46251,7 +43925,7 @@ class Airavata_getSCPDataMovement_result {
}
public function getName() {
- return 'Airavata_getSCPDataMovement_result';
+ return 'Airavata_updateUnicoreJobSubmissionDetails_result';
}
public function read($input)
@@ -46270,9 +43944,8 @@ class Airavata_getSCPDataMovement_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Data\Movement\SCPDataMovement();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -46321,13 +43994,10 @@ class Airavata_getSCPDataMovement_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSCPDataMovement_result');
+ $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -46357,7 +44027,7 @@ class Airavata_getSCPDataMovement_result {
}
-class Airavata_addUnicoreDataMovementDetails_args {
+class Airavata_addLocalDataMovementDetails_args {
static $_TSPEC;
/**
@@ -46377,9 +44047,9 @@ class Airavata_addUnicoreDataMovementDetails_args {
*/
public $priorityOrder = null;
/**
- * @var \Airavata\Model\Data\Movement\UnicoreDataMovement
+ * @var \Airavata\Model\Data\Movement\LOCALDataMovement
*/
- public $unicoreDataMovement = null;
+ public $localDataMovement = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -46402,9 +44072,9 @@ class Airavata_addUnicoreDataMovementDetails_args {
'type' => TType::I32,
),
5 => array(
- 'var' => 'unicoreDataMovement',
+ 'var' => 'localDataMovement',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\UnicoreDataMovement',
+ 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
),
);
}
@@ -46421,14 +44091,14 @@ class Airavata_addUnicoreDataMovementDetails_args {
if (isset($vals['priorityOrder'])) {
$this->priorityOrder = $vals['priorityOrder'];
}
- if (isset($vals['unicoreDataMovement'])) {
- $this->unicoreDataMovement = $vals['unicoreDataMovement'];
+ if (isset($vals['localDataMovement'])) {
+ $this->localDataMovement = $vals['localDataMovement'];
}
}
}
public function getName() {
- return 'Airavata_addUnicoreDataMovementDetails_args';
+ return 'Airavata_addLocalDataMovementDetails_args';
}
public function read($input)
@@ -46477,8 +44147,8 @@ class Airavata_addUnicoreDataMovementDetails_args {
break;
case 5:
if ($ftype == TType::STRUCT) {
- $this->unicoreDataMovement = new \Airavata\Model\Data\Movement\UnicoreDataMovement();
- $xfer += $this->unicoreDataMovement->read($input);
+ $this->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
+ $xfer += $this->localDataMovement->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -46495,7 +44165,7 @@ class Airavata_addUnicoreDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUnicoreDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -46519,12 +44189,12 @@ class Airavata_addUnicoreDataMovementDetails_args {
$xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
- if ($this->unicoreDataMovement !== null) {
- if (!is_object($this->unicoreDataMovement)) {
+ if ($this->localDataMovement !== null) {
+ if (!is_object($this->localDataMovement)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('unicoreDataMovement', TType::STRUCT, 5);
- $xfer += $this->unicoreDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('localDataMovement', TType::STRUCT, 5);
+ $xfer += $this->localDataMovement->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -46534,7 +44204,7 @@ class Airavata_addUnicoreDataMovementDetails_args {
}
-class Airavata_addUnicoreDataMovementDetails_result {
+class Airavata_addLocalDataMovementDetails_result {
static $_TSPEC;
/**
@@ -46607,7 +44277,7 @@ class Airavata_addUnicoreDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_addUnicoreDataMovementDetails_result';
+ return 'Airavata_addLocalDataMovementDetails_result';
}
public function read($input)
@@ -46676,7 +44346,7 @@ class Airavata_addUnicoreDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUnicoreDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -46709,7 +44379,7 @@ class Airavata_addUnicoreDataMovementDetails_result {
}
-class Airavata_updateUnicoreDataMovementDetails_args {
+class Airavata_updateLocalDataMovementDetails_args {
static $_TSPEC;
/**
@@ -46721,9 +44391,9 @@ class Airavata_updateUnicoreDataMovementDetails_args {
*/
public $dataMovementInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\UnicoreDataMovement
+ * @var \Airavata\Model\Data\Movement\LOCALDataMovement
*/
- public $unicoreDataMovement = null;
+ public $localDataMovement = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -46738,9 +44408,9 @@ class Airavata_updateUnicoreDataMovementDetails_args {
'type' => TType::STRING,
),
3 => array(
- 'var' => 'unicoreDataMovement',
+ 'var' => 'localDataMovement',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\UnicoreDataMovement',
+ 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
),
);
}
@@ -46751,14 +44421,14 @@ class Airavata_updateUnicoreDataMovementDetails_args {
if (isset($vals['dataMovementInterfaceId'])) {
$this->dataMovementInterfaceId = $vals['dataMovementInterfaceId'];
}
- if (isset($vals['unicoreDataMovement'])) {
- $this->unicoreDataMovement = $vals['unicoreDataMovement'];
+ if (isset($vals['localDataMovement'])) {
+ $this->localDataMovement = $vals['localDataMovement'];
}
}
}
public function getName() {
- return 'Airavata_updateUnicoreDataMovementDetails_args';
+ return 'Airavata_updateLocalDataMovementDetails_args';
}
public function read($input)
@@ -46793,8 +44463,8 @@ class Airavata_updateUnicoreDataMovementDetails_args {
break;
case 3:
if ($ftype == TType::STRUCT) {
- $this->unicoreDataMovement = new \Airavata\Model\Data\Movement\UnicoreDataMovement();
- $xfer += $this->unicoreDataMovement->read($input);
+ $this->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
+ $xfer += $this->localDataMovement->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -46811,7 +44481,7 @@ class Airavata_updateUnicoreDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreDataMovementDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -46825,12 +44495,12 @@ class Airavata_updateUnicoreDataMovementDetails_args {
$xfer += $output->writeString($this->dataMovementInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->unicoreDataMovement !== null) {
- if (!is_object($this->unicoreDataMovement)) {
+ if ($this->localDataMovement !== null) {
+ if (!is_object($this->localDataMovement)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('unicoreDataMovement', TType::STRUCT, 3);
- $xfer += $this->unicoreDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('localDataMovement', TType::STRUCT, 3);
+ $xfer += $this->localDataMovement->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -46840,7 +44510,7 @@ class Airavata_updateUnicoreDataMovementDetails_args {
}
-class Airavata_updateUnicoreDataMovementDetails_result {
+class Airavata_updateLocalDataMovementDetails_result {
static $_TSPEC;
/**
@@ -46913,7 +44583,7 @@ class Airavata_updateUnicoreDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_updateUnicoreDataMovementDetails_result';
+ return 'Airavata_updateLocalDataMovementDetails_result';
}
public function read($input)
@@ -46982,7 +44652,7 @@ class Airavata_updateUnicoreDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_result');
if ($this->success !== null) {
... 33582 lines suppressed ...