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 2022/02/05 04:45:05 UTC
[airavata-php-gateway] branch develop updated: Adding the latest airavata stub
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-php-gateway.git
The following commit(s) were added to refs/heads/develop by this push:
new a3afb1a Adding the latest airavata stub
new 35e4c78 Merge pull request #91 from dinukadesilva/enabling-htcondor-option
a3afb1a is described below
commit a3afb1a16b0b2468ca106d1baaf3483e9e087e02
Author: Dinuka De Silva <l....@gmail.com>
AuthorDate: Fri Feb 4 15:05:59 2022 -0500
Adding the latest airavata stub
---
app/libraries/Airavata/API/Airavata.php | 7746 +++++++++++---------
.../API/Sharing/SharingRegistryService.php | 1 +
.../Model/AppCatalog/ComputeResource/Types.php | 2 +
.../AppCatalog/GroupResourceProfile/Types.php | 411 +-
.../Airavata/Model/Application/Io/Types.php | 25 +
app/libraries/Airavata/Model/Group/Types.php | 2 +
.../Airavata/Model/Messaging/Event/Types.php | 149 +
app/libraries/Airavata/Model/Sharing/Types.php | 24 +
app/libraries/Airavata/Model/Workspace/Types.php | 121 +
9 files changed, 4951 insertions(+), 3530 deletions(-)
diff --git a/app/libraries/Airavata/API/Airavata.php b/app/libraries/Airavata/API/Airavata.php
index a296cec..c522dd1 100644
--- a/app/libraries/Airavata/API/Airavata.php
+++ b/app/libraries/Airavata/API/Airavata.php
@@ -533,6 +533,12 @@ interface AiravataIf extends \Airavata\Base\API\BaseAPIIf {
* @param resourceHostName
* Hostname id substring with which to further filter statistics.
*
+ * @param limit
+ * Amount of results to be fetched.
+ *
+ * @param offset
+ * The starting point of the results to be fetched.
+ *
*
*
* @param \Airavata\Model\Security\AuthzToken $authzToken
@@ -542,13 +548,15 @@ interface AiravataIf extends \Airavata\Base\API\BaseAPIIf {
* @param string $userName
* @param string $applicationName
* @param string $resourceHostName
+ * @param int $limit
+ * @param int $offset
* @return \Airavata\Model\Experiment\ExperimentStatistics
* @throws \Airavata\API\Error\InvalidRequestException
* @throws \Airavata\API\Error\AiravataClientException
* @throws \Airavata\API\Error\AiravataSystemException
* @throws \Airavata\API\Error\AuthorizationException
*/
- public function getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName);
+ public function getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName, $limit, $offset);
/**
*
* Get All Experiments of the Project
@@ -1088,6 +1096,53 @@ interface AiravataIf extends \Airavata\Base\API\BaseAPIIf {
*/
public function getIntermediateOutputs(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId);
/**
+ * Request fetching of output files for an experiment that is still executing.
+ * This method results in a new Process being created for the Experiment with
+ * tasks for fetching each output file.
+ *
+ * @param authzToken
+ *
+ * @param airavataExperimentId
+ * Experiment ID of the experiment
+ *
+ * @param outputNames
+ * List of names of the experiment's outputs to fetch.
+ *
+ *
+ * @param \Airavata\Model\Security\AuthzToken $authzToken
+ * @param string $airavataExperimentId
+ * @param string[] $outputNames
+ * @throws \Airavata\API\Error\InvalidRequestException
+ * @throws \Airavata\API\Error\ExperimentNotFoundException
+ * @throws \Airavata\API\Error\AiravataClientException
+ * @throws \Airavata\API\Error\AiravataSystemException
+ * @throws \Airavata\API\Error\AuthorizationException
+ */
+ public function fetchIntermediateOutputs(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames);
+ /**
+ * Get the status of the most recent intermediate output fetching process for the given output names.
+ *
+ * @param authzToken
+ *
+ * @param airavataExperimentId
+ * Experiment ID of the experiment
+ *
+ * @param outputNames
+ * List of names of the experiment's outputs to fetch.
+ *
+ *
+ * @param \Airavata\Model\Security\AuthzToken $authzToken
+ * @param string $airavataExperimentId
+ * @param string[] $outputNames
+ * @return \Airavata\Model\Status\ProcessStatus
+ * @throws \Airavata\API\Error\InvalidRequestException
+ * @throws \Airavata\API\Error\ExperimentNotFoundException
+ * @throws \Airavata\API\Error\AiravataClientException
+ * @throws \Airavata\API\Error\AiravataSystemException
+ * @throws \Airavata\API\Error\AuthorizationException
+ */
+ public function getIntermediateOutputProcessStatus(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames);
+ /**
*
* Get Job Statuses for an Experiment
* This method to be used when need to get the job status of an Experiment. An experiment may have one or many jobs; there for one or many job statuses may turnup
@@ -6022,13 +6077,13 @@ class AiravataClient extends \Airavata\Base\API\BaseAPIClient implements \Airava
throw new \Exception("searchExperiments failed: unknown result");
}
- public function getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName)
+ public function getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName, $limit, $offset)
{
- $this->send_getExperimentStatistics($authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName);
+ $this->send_getExperimentStatistics($authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName, $limit, $offset);
return $this->recv_getExperimentStatistics();
}
- public function send_getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName)
+ public function send_getExperimentStatistics(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $fromTime, $toTime, $userName, $applicationName, $resourceHostName, $limit, $offset)
{
$args = new \Airavata\API\Airavata_getExperimentStatistics_args();
$args->authzToken = $authzToken;
@@ -6038,6 +6093,8 @@ class AiravataClient extends \Airavata\Base\API\BaseAPIClient implements \Airava
$args->userName = $userName;
$args->applicationName = $applicationName;
$args->resourceHostName = $resourceHostName;
+ $args->limit = $limit;
+ $args->offset = $offset;
$bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
if ($bin_accel)
{
@@ -7061,6 +7118,139 @@ class AiravataClient extends \Airavata\Base\API\BaseAPIClient implements \Airava
throw new \Exception("getIntermediateOutputs failed: unknown result");
}
+ public function fetchIntermediateOutputs(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames)
+ {
+ $this->send_fetchIntermediateOutputs($authzToken, $airavataExperimentId, $outputNames);
+ $this->recv_fetchIntermediateOutputs();
+ }
+
+ public function send_fetchIntermediateOutputs(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames)
+ {
+ $args = new \Airavata\API\Airavata_fetchIntermediateOutputs_args();
+ $args->authzToken = $authzToken;
+ $args->airavataExperimentId = $airavataExperimentId;
+ $args->outputNames = $outputNames;
+ $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'fetchIntermediateOutputs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('fetchIntermediateOutputs', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_fetchIntermediateOutputs()
+ {
+ $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_fetchIntermediateOutputs_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_fetchIntermediateOutputs_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->ire !== null) {
+ throw $result->ire;
+ }
+ if ($result->enf !== null) {
+ throw $result->enf;
+ }
+ if ($result->ace !== null) {
+ throw $result->ace;
+ }
+ if ($result->ase !== null) {
+ throw $result->ase;
+ }
+ if ($result->ae !== null) {
+ throw $result->ae;
+ }
+ return;
+ }
+
+ public function getIntermediateOutputProcessStatus(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames)
+ {
+ $this->send_getIntermediateOutputProcessStatus($authzToken, $airavataExperimentId, $outputNames);
+ return $this->recv_getIntermediateOutputProcessStatus();
+ }
+
+ public function send_getIntermediateOutputProcessStatus(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId, array $outputNames)
+ {
+ $args = new \Airavata\API\Airavata_getIntermediateOutputProcessStatus_args();
+ $args->authzToken = $authzToken;
+ $args->airavataExperimentId = $airavataExperimentId;
+ $args->outputNames = $outputNames;
+ $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'getIntermediateOutputProcessStatus', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('getIntermediateOutputProcessStatus', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_getIntermediateOutputProcessStatus()
+ {
+ $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_getIntermediateOutputProcessStatus_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_getIntermediateOutputProcessStatus_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->success !== null) {
+ return $result->success;
+ }
+ if ($result->ire !== null) {
+ throw $result->ire;
+ }
+ if ($result->enf !== null) {
+ throw $result->enf;
+ }
+ if ($result->ace !== null) {
+ throw $result->ace;
+ }
+ if ($result->ase !== null) {
+ throw $result->ase;
+ }
+ if ($result->ae !== null) {
+ throw $result->ae;
+ }
+ throw new \Exception("getIntermediateOutputProcessStatus failed: unknown result");
+ }
+
public function getJobStatuses(\Airavata\Model\Security\AuthzToken $authzToken, $airavataExperimentId)
{
$this->send_getJobStatuses($authzToken, $airavataExperimentId);
@@ -24686,6 +24876,14 @@ class Airavata_getExperimentStatistics_args {
* @var string
*/
public $resourceHostName = null;
+ /**
+ * @var int
+ */
+ public $limit = 50;
+ /**
+ * @var int
+ */
+ public $offset = 0;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -24719,6 +24917,14 @@ class Airavata_getExperimentStatistics_args {
'var' => 'resourceHostName',
'type' => TType::STRING,
),
+ 8 => array(
+ 'var' => 'limit',
+ 'type' => TType::I32,
+ ),
+ 9 => array(
+ 'var' => 'offset',
+ 'type' => TType::I32,
+ ),
);
}
if (is_array($vals)) {
@@ -24743,6 +24949,12 @@ class Airavata_getExperimentStatistics_args {
if (isset($vals['resourceHostName'])) {
$this->resourceHostName = $vals['resourceHostName'];
}
+ if (isset($vals['limit'])) {
+ $this->limit = $vals['limit'];
+ }
+ if (isset($vals['offset'])) {
+ $this->offset = $vals['offset'];
+ }
}
}
@@ -24815,6 +25027,20 @@ class Airavata_getExperimentStatistics_args {
$xfer += $input->skip($ftype);
}
break;
+ case 8:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->limit);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 9:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->offset);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -24866,6 +25092,16 @@ class Airavata_getExperimentStatistics_args {
$xfer += $output->writeString($this->resourceHostName);
$xfer += $output->writeFieldEnd();
}
+ if ($this->limit !== null) {
+ $xfer += $output->writeFieldBegin('limit', TType::I32, 8);
+ $xfer += $output->writeI32($this->limit);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->offset !== null) {
+ $xfer += $output->writeFieldBegin('offset', TType::I32, 9);
+ $xfer += $output->writeI32($this->offset);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -29613,7 +29849,7 @@ class Airavata_getIntermediateOutputs_result {
}
-class Airavata_getJobStatuses_args {
+class Airavata_fetchIntermediateOutputs_args {
static $_TSPEC;
/**
@@ -29624,6 +29860,10 @@ class Airavata_getJobStatuses_args {
* @var string
*/
public $airavataExperimentId = null;
+ /**
+ * @var string[]
+ */
+ public $outputNames = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -29637,6 +29877,14 @@ class Airavata_getJobStatuses_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'outputNames',
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
+ ),
);
}
if (is_array($vals)) {
@@ -29646,11 +29894,14 @@ class Airavata_getJobStatuses_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
+ if (isset($vals['outputNames'])) {
+ $this->outputNames = $vals['outputNames'];
+ }
}
}
public function getName() {
- return 'Airavata_getJobStatuses_args';
+ return 'Airavata_fetchIntermediateOutputs_args';
}
public function read($input)
@@ -29683,6 +29934,23 @@ class Airavata_getJobStatuses_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::LST) {
+ $this->outputNames = array();
+ $_size95 = 0;
+ $_etype98 = 0;
+ $xfer += $input->readListBegin($_etype98, $_size95);
+ for ($_i99 = 0; $_i99 < $_size95; ++$_i99)
+ {
+ $elem100 = null;
+ $xfer += $input->readString($elem100);
+ $this->outputNames []= $elem100;
+ }
+ $xfer += $input->readListEnd();
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -29695,7 +29963,7 @@ class Airavata_getJobStatuses_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getJobStatuses_args');
+ $xfer += $output->writeStructBegin('Airavata_fetchIntermediateOutputs_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -29709,6 +29977,23 @@ class Airavata_getJobStatuses_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->outputNames !== null) {
+ if (!is_array($this->outputNames)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('outputNames', TType::LST, 3);
+ {
+ $output->writeListBegin(TType::STRING, count($this->outputNames));
+ {
+ foreach ($this->outputNames as $iter101)
+ {
+ $xfer += $output->writeString($iter101);
+ }
+ }
+ $output->writeListEnd();
+ }
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -29716,14 +30001,10 @@ class Airavata_getJobStatuses_args {
}
-class Airavata_getJobStatuses_result {
+class Airavata_fetchIntermediateOutputs_result {
static $_TSPEC;
/**
- * @var array
- */
- public $success = null;
- /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -29747,19 +30028,6 @@ class Airavata_getJobStatuses_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::MAP,
- 'ktype' => TType::STRING,
- 'vtype' => TType::STRUCT,
- 'key' => array(
- 'type' => TType::STRING,
- ),
- 'val' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Status\JobStatus',
- ),
- ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
@@ -29788,9 +30056,6 @@ class Airavata_getJobStatuses_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -29810,7 +30075,7 @@ class Airavata_getJobStatuses_result {
}
public function getName() {
- return 'Airavata_getJobStatuses_result';
+ return 'Airavata_fetchIntermediateOutputs_result';
}
public function read($input)
@@ -29828,27 +30093,6 @@ class Airavata_getJobStatuses_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size95 = 0;
- $_ktype96 = 0;
- $_vtype97 = 0;
- $xfer += $input->readMapBegin($_ktype96, $_vtype97, $_size95);
- for ($_i99 = 0; $_i99 < $_size95; ++$_i99)
- {
- $key100 = '';
- $val101 = new \Airavata\Model\Status\JobStatus();
- $xfer += $input->readString($key100);
- $val101 = new \Airavata\Model\Status\JobStatus();
- $xfer += $val101->read($input);
- $this->success[$key100] = $val101;
- }
- $xfer += $input->readMapEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -29901,25 +30145,7 @@ class Airavata_getJobStatuses_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getJobStatuses_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::STRUCT, count($this->success));
- {
- foreach ($this->success as $kiter102 => $viter103)
- {
- $xfer += $output->writeString($kiter102);
- $xfer += $viter103->write($output);
- }
- }
- $output->writeMapEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_fetchIntermediateOutputs_result');
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
@@ -29952,7 +30178,7 @@ class Airavata_getJobStatuses_result {
}
-class Airavata_getJobDetails_args {
+class Airavata_getIntermediateOutputProcessStatus_args {
static $_TSPEC;
/**
@@ -29963,6 +30189,10 @@ class Airavata_getJobDetails_args {
* @var string
*/
public $airavataExperimentId = null;
+ /**
+ * @var string[]
+ */
+ public $outputNames = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -29976,6 +30206,14 @@ class Airavata_getJobDetails_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'outputNames',
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
+ ),
);
}
if (is_array($vals)) {
@@ -29985,11 +30223,14 @@ class Airavata_getJobDetails_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
+ if (isset($vals['outputNames'])) {
+ $this->outputNames = $vals['outputNames'];
+ }
}
}
public function getName() {
- return 'Airavata_getJobDetails_args';
+ return 'Airavata_getIntermediateOutputProcessStatus_args';
}
public function read($input)
@@ -30022,6 +30263,23 @@ class Airavata_getJobDetails_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::LST) {
+ $this->outputNames = array();
+ $_size102 = 0;
+ $_etype105 = 0;
+ $xfer += $input->readListBegin($_etype105, $_size102);
+ for ($_i106 = 0; $_i106 < $_size102; ++$_i106)
+ {
+ $elem107 = null;
+ $xfer += $input->readString($elem107);
+ $this->outputNames []= $elem107;
+ }
+ $xfer += $input->readListEnd();
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -30034,7 +30292,7 @@ class Airavata_getJobDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getJobDetails_args');
+ $xfer += $output->writeStructBegin('Airavata_getIntermediateOutputProcessStatus_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -30048,6 +30306,23 @@ class Airavata_getJobDetails_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->outputNames !== null) {
+ if (!is_array($this->outputNames)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('outputNames', TType::LST, 3);
+ {
+ $output->writeListBegin(TType::STRING, count($this->outputNames));
+ {
+ foreach ($this->outputNames as $iter108)
+ {
+ $xfer += $output->writeString($iter108);
+ }
+ }
+ $output->writeListEnd();
+ }
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -30055,11 +30330,11 @@ class Airavata_getJobDetails_args {
}
-class Airavata_getJobDetails_result {
+class Airavata_getIntermediateOutputProcessStatus_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Job\JobModel[]
+ * @var \Airavata\Model\Status\ProcessStatus
*/
public $success = null;
/**
@@ -30088,12 +30363,8 @@ class Airavata_getJobDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Job\JobModel',
- ),
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Status\ProcessStatus',
),
1 => array(
'var' => 'ire',
@@ -30145,7 +30416,7 @@ class Airavata_getJobDetails_result {
}
public function getName() {
- return 'Airavata_getJobDetails_result';
+ return 'Airavata_getIntermediateOutputProcessStatus_result';
}
public function read($input)
@@ -30164,19 +30435,9 @@ class Airavata_getJobDetails_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size104 = 0;
- $_etype107 = 0;
- $xfer += $input->readListBegin($_etype107, $_size104);
- for ($_i108 = 0; $_i108 < $_size104; ++$_i108)
- {
- $elem109 = null;
- $elem109 = new \Airavata\Model\Job\JobModel();
- $xfer += $elem109->read($input);
- $this->success []= $elem109;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Status\ProcessStatus();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -30233,22 +30494,13 @@ class Airavata_getJobDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getJobDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getIntermediateOutputProcessStatus_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 $iter110)
- {
- $xfer += $iter110->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -30283,7 +30535,7 @@ class Airavata_getJobDetails_result {
}
-class Airavata_cloneExperiment_args {
+class Airavata_getJobStatuses_args {
static $_TSPEC;
/**
@@ -30293,15 +30545,7 @@ class Airavata_cloneExperiment_args {
/**
* @var string
*/
- public $existingExperimentID = null;
- /**
- * @var string
- */
- public $newExperimentName = null;
- /**
- * @var string
- */
- public $newExperimentProjectId = null;
+ public $airavataExperimentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -30312,15 +30556,7 @@ class Airavata_cloneExperiment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'existingExperimentID',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'newExperimentName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'newExperimentProjectId',
+ 'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
);
@@ -30329,20 +30565,14 @@ class Airavata_cloneExperiment_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['existingExperimentID'])) {
- $this->existingExperimentID = $vals['existingExperimentID'];
- }
- if (isset($vals['newExperimentName'])) {
- $this->newExperimentName = $vals['newExperimentName'];
- }
- if (isset($vals['newExperimentProjectId'])) {
- $this->newExperimentProjectId = $vals['newExperimentProjectId'];
+ if (isset($vals['airavataExperimentId'])) {
+ $this->airavataExperimentId = $vals['airavataExperimentId'];
}
}
}
public function getName() {
- return 'Airavata_cloneExperiment_args';
+ return 'Airavata_getJobStatuses_args';
}
public function read($input)
@@ -30370,21 +30600,7 @@ class Airavata_cloneExperiment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->existingExperimentID);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->newExperimentName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->newExperimentProjectId);
+ $xfer += $input->readString($this->airavataExperimentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -30401,7 +30617,7 @@ class Airavata_cloneExperiment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneExperiment_args');
+ $xfer += $output->writeStructBegin('Airavata_getJobStatuses_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -30410,19 +30626,9 @@ class Airavata_cloneExperiment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->existingExperimentID !== null) {
- $xfer += $output->writeFieldBegin('existingExperimentID', TType::STRING, 2);
- $xfer += $output->writeString($this->existingExperimentID);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->newExperimentName !== null) {
- $xfer += $output->writeFieldBegin('newExperimentName', TType::STRING, 3);
- $xfer += $output->writeString($this->newExperimentName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->newExperimentProjectId !== null) {
- $xfer += $output->writeFieldBegin('newExperimentProjectId', TType::STRING, 4);
- $xfer += $output->writeString($this->newExperimentProjectId);
+ if ($this->airavataExperimentId !== null) {
+ $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -30432,11 +30638,11 @@ class Airavata_cloneExperiment_args {
}
-class Airavata_cloneExperiment_result {
+class Airavata_getJobStatuses_result {
static $_TSPEC;
/**
- * @var string
+ * @var array
*/
public $success = null;
/**
@@ -30459,17 +30665,22 @@ class Airavata_cloneExperiment_result {
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
- /**
- * @var \Airavata\API\Error\ProjectNotFoundException
- */
- public $pnfe = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRUCT,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Status\JobStatus',
+ ),
),
1 => array(
'var' => 'ire',
@@ -30496,11 +30707,6 @@ class Airavata_cloneExperiment_result {
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
),
- 6 => array(
- 'var' => 'pnfe',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ProjectNotFoundException',
- ),
);
}
if (is_array($vals)) {
@@ -30522,14 +30728,11 @@ class Airavata_cloneExperiment_result {
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
- if (isset($vals['pnfe'])) {
- $this->pnfe = $vals['pnfe'];
- }
}
}
public function getName() {
- return 'Airavata_cloneExperiment_result';
+ return 'Airavata_getJobStatuses_result';
}
public function read($input)
@@ -30548,8 +30751,22 @@ class Airavata_cloneExperiment_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size109 = 0;
+ $_ktype110 = 0;
+ $_vtype111 = 0;
+ $xfer += $input->readMapBegin($_ktype110, $_vtype111, $_size109);
+ for ($_i113 = 0; $_i113 < $_size109; ++$_i113)
+ {
+ $key114 = '';
+ $val115 = new \Airavata\Model\Status\JobStatus();
+ $xfer += $input->readString($key114);
+ $val115 = new \Airavata\Model\Status\JobStatus();
+ $xfer += $val115->read($input);
+ $this->success[$key114] = $val115;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -30594,14 +30811,6 @@ class Airavata_cloneExperiment_result {
$xfer += $input->skip($ftype);
}
break;
- case 6:
- if ($ftype == TType::STRUCT) {
- $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
- $xfer += $this->pnfe->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -30614,10 +30823,23 @@ class Airavata_cloneExperiment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneExperiment_result');
+ $xfer += $output->writeStructBegin('Airavata_getJobStatuses_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::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $kiter116 => $viter117)
+ {
+ $xfer += $output->writeString($kiter116);
+ $xfer += $viter117->write($output);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -30645,11 +30867,6 @@ class Airavata_cloneExperiment_result {
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->pnfe !== null) {
- $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 6);
- $xfer += $this->pnfe->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -30657,7 +30874,7 @@ class Airavata_cloneExperiment_result {
}
-class Airavata_cloneExperimentByAdmin_args {
+class Airavata_getJobDetails_args {
static $_TSPEC;
/**
@@ -30667,15 +30884,7 @@ class Airavata_cloneExperimentByAdmin_args {
/**
* @var string
*/
- public $existingExperimentID = null;
- /**
- * @var string
- */
- public $newExperimentName = null;
- /**
- * @var string
- */
- public $newExperimentProjectId = null;
+ public $airavataExperimentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -30686,15 +30895,7 @@ class Airavata_cloneExperimentByAdmin_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'existingExperimentID',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'newExperimentName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'newExperimentProjectId',
+ 'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
);
@@ -30703,20 +30904,14 @@ class Airavata_cloneExperimentByAdmin_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['existingExperimentID'])) {
- $this->existingExperimentID = $vals['existingExperimentID'];
- }
- if (isset($vals['newExperimentName'])) {
- $this->newExperimentName = $vals['newExperimentName'];
- }
- if (isset($vals['newExperimentProjectId'])) {
- $this->newExperimentProjectId = $vals['newExperimentProjectId'];
+ if (isset($vals['airavataExperimentId'])) {
+ $this->airavataExperimentId = $vals['airavataExperimentId'];
}
}
}
public function getName() {
- return 'Airavata_cloneExperimentByAdmin_args';
+ return 'Airavata_getJobDetails_args';
}
public function read($input)
@@ -30744,21 +30939,7 @@ class Airavata_cloneExperimentByAdmin_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->existingExperimentID);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->newExperimentName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->newExperimentProjectId);
+ $xfer += $input->readString($this->airavataExperimentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -30775,7 +30956,7 @@ class Airavata_cloneExperimentByAdmin_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneExperimentByAdmin_args');
+ $xfer += $output->writeStructBegin('Airavata_getJobDetails_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -30784,19 +30965,9 @@ class Airavata_cloneExperimentByAdmin_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->existingExperimentID !== null) {
- $xfer += $output->writeFieldBegin('existingExperimentID', TType::STRING, 2);
- $xfer += $output->writeString($this->existingExperimentID);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->newExperimentName !== null) {
- $xfer += $output->writeFieldBegin('newExperimentName', TType::STRING, 3);
- $xfer += $output->writeString($this->newExperimentName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->newExperimentProjectId !== null) {
- $xfer += $output->writeFieldBegin('newExperimentProjectId', TType::STRING, 4);
- $xfer += $output->writeString($this->newExperimentProjectId);
+ if ($this->airavataExperimentId !== null) {
+ $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -30806,11 +30977,11 @@ class Airavata_cloneExperimentByAdmin_args {
}
-class Airavata_cloneExperimentByAdmin_result {
+class Airavata_getJobDetails_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\Job\JobModel[]
*/
public $success = null;
/**
@@ -30833,17 +31004,18 @@ class Airavata_cloneExperimentByAdmin_result {
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
- /**
- * @var \Airavata\API\Error\ProjectNotFoundException
- */
- public $pnfe = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Job\JobModel',
+ ),
),
1 => array(
'var' => 'ire',
@@ -30870,11 +31042,6 @@ class Airavata_cloneExperimentByAdmin_result {
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
),
- 6 => array(
- 'var' => 'pnfe',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ProjectNotFoundException',
- ),
);
}
if (is_array($vals)) {
@@ -30896,14 +31063,11 @@ class Airavata_cloneExperimentByAdmin_result {
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
- if (isset($vals['pnfe'])) {
- $this->pnfe = $vals['pnfe'];
- }
}
}
public function getName() {
- return 'Airavata_cloneExperimentByAdmin_result';
+ return 'Airavata_getJobDetails_result';
}
public function read($input)
@@ -30922,8 +31086,19 @@ class Airavata_cloneExperimentByAdmin_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size118 = 0;
+ $_etype121 = 0;
+ $xfer += $input->readListBegin($_etype121, $_size118);
+ for ($_i122 = 0; $_i122 < $_size118; ++$_i122)
+ {
+ $elem123 = null;
+ $elem123 = new \Airavata\Model\Job\JobModel();
+ $xfer += $elem123->read($input);
+ $this->success []= $elem123;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -30968,14 +31143,6 @@ class Airavata_cloneExperimentByAdmin_result {
$xfer += $input->skip($ftype);
}
break;
- case 6:
- if ($ftype == TType::STRUCT) {
- $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
- $xfer += $this->pnfe->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -30988,10 +31155,22 @@ class Airavata_cloneExperimentByAdmin_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneExperimentByAdmin_result');
+ $xfer += $output->writeStructBegin('Airavata_getJobDetails_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::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter124)
+ {
+ $xfer += $iter124->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -31019,11 +31198,6 @@ class Airavata_cloneExperimentByAdmin_result {
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->pnfe !== null) {
- $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 6);
- $xfer += $this->pnfe->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -31031,7 +31205,7 @@ class Airavata_cloneExperimentByAdmin_result {
}
-class Airavata_terminateExperiment_args {
+class Airavata_cloneExperiment_args {
static $_TSPEC;
/**
@@ -31041,11 +31215,15 @@ class Airavata_terminateExperiment_args {
/**
* @var string
*/
- public $airavataExperimentId = null;
+ public $existingExperimentID = null;
/**
* @var string
*/
- public $gatewayId = null;
+ public $newExperimentName = null;
+ /**
+ * @var string
+ */
+ public $newExperimentProjectId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -31056,11 +31234,15 @@ class Airavata_terminateExperiment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataExperimentId',
+ 'var' => 'existingExperimentID',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'gatewayId',
+ 'var' => 'newExperimentName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'newExperimentProjectId',
'type' => TType::STRING,
),
);
@@ -31069,17 +31251,20 @@ class Airavata_terminateExperiment_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
+ if (isset($vals['existingExperimentID'])) {
+ $this->existingExperimentID = $vals['existingExperimentID'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['newExperimentName'])) {
+ $this->newExperimentName = $vals['newExperimentName'];
+ }
+ if (isset($vals['newExperimentProjectId'])) {
+ $this->newExperimentProjectId = $vals['newExperimentProjectId'];
}
}
}
public function getName() {
- return 'Airavata_terminateExperiment_args';
+ return 'Airavata_cloneExperiment_args';
}
public function read($input)
@@ -31107,14 +31292,21 @@ class Airavata_terminateExperiment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
+ $xfer += $input->readString($this->existingExperimentID);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->newExperimentName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->newExperimentProjectId);
} else {
$xfer += $input->skip($ftype);
}
@@ -31131,7 +31323,7 @@ class Airavata_terminateExperiment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_terminateExperiment_args');
+ $xfer += $output->writeStructBegin('Airavata_cloneExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -31140,14 +31332,19 @@ class Airavata_terminateExperiment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
+ if ($this->existingExperimentID !== null) {
+ $xfer += $output->writeFieldBegin('existingExperimentID', TType::STRING, 2);
+ $xfer += $output->writeString($this->existingExperimentID);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->newExperimentName !== null) {
+ $xfer += $output->writeFieldBegin('newExperimentName', TType::STRING, 3);
+ $xfer += $output->writeString($this->newExperimentName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->newExperimentProjectId !== null) {
+ $xfer += $output->writeFieldBegin('newExperimentProjectId', TType::STRING, 4);
+ $xfer += $output->writeString($this->newExperimentProjectId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -31157,10 +31354,14 @@ class Airavata_terminateExperiment_args {
}
-class Airavata_terminateExperiment_result {
+class Airavata_cloneExperiment_result {
static $_TSPEC;
/**
+ * @var string
+ */
+ public $success = null;
+ /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -31180,10 +31381,18 @@ class Airavata_terminateExperiment_result {
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
+ /**
+ * @var \Airavata\API\Error\ProjectNotFoundException
+ */
+ public $pnfe = 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,
@@ -31209,9 +31418,17 @@ class Airavata_terminateExperiment_result {
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
),
+ 6 => array(
+ 'var' => 'pnfe',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\ProjectNotFoundException',
+ ),
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -31227,11 +31444,14 @@ class Airavata_terminateExperiment_result {
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
+ if (isset($vals['pnfe'])) {
+ $this->pnfe = $vals['pnfe'];
+ }
}
}
public function getName() {
- return 'Airavata_terminateExperiment_result';
+ return 'Airavata_cloneExperiment_result';
}
public function read($input)
@@ -31249,6 +31469,13 @@ class Airavata_terminateExperiment_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();
@@ -31289,6 +31516,14 @@ class Airavata_terminateExperiment_result {
$xfer += $input->skip($ftype);
}
break;
+ case 6:
+ if ($ftype == TType::STRUCT) {
+ $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
+ $xfer += $this->pnfe->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -31301,7 +31536,12 @@ class Airavata_terminateExperiment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_terminateExperiment_result');
+ $xfer += $output->writeStructBegin('Airavata_cloneExperiment_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);
@@ -31327,6 +31567,11 @@ class Airavata_terminateExperiment_result {
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->pnfe !== null) {
+ $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 6);
+ $xfer += $this->pnfe->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -31334,7 +31579,7 @@ class Airavata_terminateExperiment_result {
}
-class Airavata_registerApplicationModule_args {
+class Airavata_cloneExperimentByAdmin_args {
static $_TSPEC;
/**
@@ -31344,11 +31589,15 @@ class Airavata_registerApplicationModule_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $existingExperimentID = null;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
+ * @var string
*/
- public $applicationModule = null;
+ public $newExperimentName = null;
+ /**
+ * @var string
+ */
+ public $newExperimentProjectId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -31359,13 +31608,16 @@ class Airavata_registerApplicationModule_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'existingExperimentID',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'applicationModule',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
+ 'var' => 'newExperimentName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'newExperimentProjectId',
+ 'type' => TType::STRING,
),
);
}
@@ -31373,17 +31625,20 @@ class Airavata_registerApplicationModule_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['existingExperimentID'])) {
+ $this->existingExperimentID = $vals['existingExperimentID'];
}
- if (isset($vals['applicationModule'])) {
- $this->applicationModule = $vals['applicationModule'];
+ if (isset($vals['newExperimentName'])) {
+ $this->newExperimentName = $vals['newExperimentName'];
+ }
+ if (isset($vals['newExperimentProjectId'])) {
+ $this->newExperimentProjectId = $vals['newExperimentProjectId'];
}
}
}
public function getName() {
- return 'Airavata_registerApplicationModule_args';
+ return 'Airavata_cloneExperimentByAdmin_args';
}
public function read($input)
@@ -31411,15 +31666,21 @@ class Airavata_registerApplicationModule_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->existingExperimentID);
} 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);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->newExperimentName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->newExperimentProjectId);
} else {
$xfer += $input->skip($ftype);
}
@@ -31436,7 +31697,7 @@ class Airavata_registerApplicationModule_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationModule_args');
+ $xfer += $output->writeStructBegin('Airavata_cloneExperimentByAdmin_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -31445,17 +31706,19 @@ class Airavata_registerApplicationModule_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->existingExperimentID !== null) {
+ $xfer += $output->writeFieldBegin('existingExperimentID', TType::STRING, 2);
+ $xfer += $output->writeString($this->existingExperimentID);
$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);
+ if ($this->newExperimentName !== null) {
+ $xfer += $output->writeFieldBegin('newExperimentName', TType::STRING, 3);
+ $xfer += $output->writeString($this->newExperimentName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->newExperimentProjectId !== null) {
+ $xfer += $output->writeFieldBegin('newExperimentProjectId', TType::STRING, 4);
+ $xfer += $output->writeString($this->newExperimentProjectId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -31465,7 +31728,7 @@ class Airavata_registerApplicationModule_args {
}
-class Airavata_registerApplicationModule_result {
+class Airavata_cloneExperimentByAdmin_result {
static $_TSPEC;
/**
@@ -31477,6 +31740,10 @@ class Airavata_registerApplicationModule_result {
*/
public $ire = null;
/**
+ * @var \Airavata\API\Error\ExperimentNotFoundException
+ */
+ public $enf = null;
+ /**
* @var \Airavata\API\Error\AiravataClientException
*/
public $ace = null;
@@ -31488,6 +31755,10 @@ class Airavata_registerApplicationModule_result {
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
+ /**
+ * @var \Airavata\API\Error\ProjectNotFoundException
+ */
+ public $pnfe = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -31502,20 +31773,30 @@ class Airavata_registerApplicationModule_result {
'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',
),
+ 6 => array(
+ 'var' => 'pnfe',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\ProjectNotFoundException',
+ ),
);
}
if (is_array($vals)) {
@@ -31525,6 +31806,9 @@ class Airavata_registerApplicationModule_result {
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
+ if (isset($vals['enf'])) {
+ $this->enf = $vals['enf'];
+ }
if (isset($vals['ace'])) {
$this->ace = $vals['ace'];
}
@@ -31534,11 +31818,14 @@ class Airavata_registerApplicationModule_result {
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
+ if (isset($vals['pnfe'])) {
+ $this->pnfe = $vals['pnfe'];
+ }
}
}
public function getName() {
- return 'Airavata_registerApplicationModule_result';
+ return 'Airavata_cloneExperimentByAdmin_result';
}
public function read($input)
@@ -31573,13 +31860,21 @@ class Airavata_registerApplicationModule_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);
@@ -31587,7 +31882,7 @@ class Airavata_registerApplicationModule_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);
@@ -31595,6 +31890,14 @@ class Airavata_registerApplicationModule_result {
$xfer += $input->skip($ftype);
}
break;
+ case 6:
+ if ($ftype == TType::STRUCT) {
+ $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
+ $xfer += $this->pnfe->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -31607,7 +31910,7 @@ class Airavata_registerApplicationModule_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationModule_result');
+ $xfer += $output->writeStructBegin('Airavata_cloneExperimentByAdmin_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -31618,21 +31921,31 @@ class Airavata_registerApplicationModule_result {
$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();
}
+ if ($this->pnfe !== null) {
+ $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 6);
+ $xfer += $this->pnfe->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -31640,7 +31953,7 @@ class Airavata_registerApplicationModule_result {
}
-class Airavata_getApplicationModule_args {
+class Airavata_terminateExperiment_args {
static $_TSPEC;
/**
@@ -31650,7 +31963,11 @@ class Airavata_getApplicationModule_args {
/**
* @var string
*/
- public $appModuleId = null;
+ public $airavataExperimentId = null;
+ /**
+ * @var string
+ */
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -31661,7 +31978,11 @@ class Airavata_getApplicationModule_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appModuleId',
+ 'var' => 'airavataExperimentId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -31670,14 +31991,17 @@ class Airavata_getApplicationModule_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
+ if (isset($vals['airavataExperimentId'])) {
+ $this->airavataExperimentId = $vals['airavataExperimentId'];
+ }
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationModule_args';
+ return 'Airavata_terminateExperiment_args';
}
public function read($input)
@@ -31705,7 +32029,14 @@ class Airavata_getApplicationModule_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appModuleId);
+ $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);
}
@@ -31722,7 +32053,7 @@ class Airavata_getApplicationModule_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationModule_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);
@@ -31731,9 +32062,14 @@ class Airavata_getApplicationModule_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
+ 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();
@@ -31743,18 +32079,18 @@ class Airavata_getApplicationModule_args {
}
-class Airavata_getApplicationModule_result {
+class Airavata_terminateExperiment_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
- */
- 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;
@@ -31770,27 +32106,27 @@ class Airavata_getApplicationModule_result {
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' => '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',
@@ -31798,12 +32134,12 @@ class Airavata_getApplicationModule_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'];
}
@@ -31817,7 +32153,7 @@ class Airavata_getApplicationModule_result {
}
public function getName() {
- return 'Airavata_getApplicationModule_result';
+ return 'Airavata_terminateExperiment_result';
}
public function read($input)
@@ -31835,23 +32171,23 @@ class Airavata_getApplicationModule_result {
}
switch ($fid)
{
- case 0:
+ case 1:
if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $this->success->read($input);
+ $this->ire = new \Airavata\API\Error\InvalidRequestException();
+ $xfer += $this->ire->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 1:
+ case 2:
if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
+ $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
+ $xfer += $this->enf->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 2:
+ case 3:
if ($ftype == TType::STRUCT) {
$this->ace = new \Airavata\API\Error\AiravataClientException();
$xfer += $this->ace->read($input);
@@ -31859,7 +32195,7 @@ class Airavata_getApplicationModule_result {
$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);
@@ -31867,7 +32203,7 @@ class Airavata_getApplicationModule_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);
@@ -31887,32 +32223,29 @@ class Airavata_getApplicationModule_result {
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();
- }
+ $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();
}
@@ -31923,7 +32256,7 @@ class Airavata_getApplicationModule_result {
}
-class Airavata_updateApplicationModule_args {
+class Airavata_registerApplicationModule_args {
static $_TSPEC;
/**
@@ -31933,7 +32266,7 @@ class Airavata_updateApplicationModule_args {
/**
* @var string
*/
- public $appModuleId = null;
+ public $gatewayId = null;
/**
* @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
*/
@@ -31948,7 +32281,7 @@ class Airavata_updateApplicationModule_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appModuleId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
3 => array(
@@ -31962,8 +32295,8 @@ class Airavata_updateApplicationModule_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
if (isset($vals['applicationModule'])) {
$this->applicationModule = $vals['applicationModule'];
@@ -31972,7 +32305,7 @@ class Airavata_updateApplicationModule_args {
}
public function getName() {
- return 'Airavata_updateApplicationModule_args';
+ return 'Airavata_registerApplicationModule_args';
}
public function read($input)
@@ -32000,7 +32333,7 @@ class Airavata_updateApplicationModule_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appModuleId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -32025,7 +32358,7 @@ class Airavata_updateApplicationModule_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationModule_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);
@@ -32034,9 +32367,9 @@ class Airavata_updateApplicationModule_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
if ($this->applicationModule !== null) {
@@ -32054,11 +32387,11 @@ class Airavata_updateApplicationModule_args {
}
-class Airavata_updateApplicationModule_result {
+class Airavata_registerApplicationModule_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -32083,7 +32416,7 @@ class Airavata_updateApplicationModule_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -32127,7 +32460,7 @@ class Airavata_updateApplicationModule_result {
}
public function getName() {
- return 'Airavata_updateApplicationModule_result';
+ return 'Airavata_registerApplicationModule_result';
}
public function read($input)
@@ -32146,8 +32479,8 @@ class Airavata_updateApplicationModule_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);
}
@@ -32196,10 +32529,10 @@ class Airavata_updateApplicationModule_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationModule_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationModule_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) {
@@ -32229,7 +32562,7 @@ class Airavata_updateApplicationModule_result {
}
-class Airavata_getAllAppModules_args {
+class Airavata_getApplicationModule_args {
static $_TSPEC;
/**
@@ -32239,7 +32572,7 @@ class Airavata_getAllAppModules_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appModuleId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -32250,7 +32583,7 @@ class Airavata_getAllAppModules_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
);
@@ -32259,14 +32592,14 @@ class Airavata_getAllAppModules_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_getAllAppModules_args';
+ return 'Airavata_getApplicationModule_args';
}
public function read($input)
@@ -32294,7 +32627,7 @@ class Airavata_getAllAppModules_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->appModuleId);
} else {
$xfer += $input->skip($ftype);
}
@@ -32311,7 +32644,7 @@ class Airavata_getAllAppModules_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllAppModules_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);
@@ -32320,9 +32653,9 @@ class Airavata_getAllAppModules_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();
@@ -32332,11 +32665,11 @@ class Airavata_getAllAppModules_args {
}
-class Airavata_getAllAppModules_result {
+class Airavata_getApplicationModule_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
*/
public $success = null;
/**
@@ -32361,12 +32694,8 @@ class Airavata_getAllAppModules_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
),
1 => array(
'var' => 'ire',
@@ -32410,7 +32739,7 @@ class Airavata_getAllAppModules_result {
}
public function getName() {
- return 'Airavata_getAllAppModules_result';
+ return 'Airavata_getApplicationModule_result';
}
public function read($input)
@@ -32429,19 +32758,9 @@ class Airavata_getAllAppModules_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size111 = 0;
- $_etype114 = 0;
- $xfer += $input->readListBegin($_etype114, $_size111);
- for ($_i115 = 0; $_i115 < $_size111; ++$_i115)
- {
- $elem116 = null;
- $elem116 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $elem116->read($input);
- $this->success []= $elem116;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -32490,22 +32809,13 @@ class Airavata_getAllAppModules_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllAppModules_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationModule_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 $iter117)
- {
- $xfer += $iter117->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -32535,7 +32845,7 @@ class Airavata_getAllAppModules_result {
}
-class Airavata_getAccessibleAppModules_args {
+class Airavata_updateApplicationModule_args {
static $_TSPEC;
/**
@@ -32545,7 +32855,11 @@ class Airavata_getAccessibleAppModules_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appModuleId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule
+ */
+ public $applicationModule = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -32556,23 +32870,31 @@ class Airavata_getAccessibleAppModules_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ '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['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
+ }
+ if (isset($vals['applicationModule'])) {
+ $this->applicationModule = $vals['applicationModule'];
}
}
}
public function getName() {
- return 'Airavata_getAccessibleAppModules_args';
+ return 'Airavata_updateApplicationModule_args';
}
public function read($input)
@@ -32600,7 +32922,15 @@ class Airavata_getAccessibleAppModules_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $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);
}
@@ -32617,7 +32947,7 @@ class Airavata_getAccessibleAppModules_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAccessibleAppModules_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);
@@ -32626,9 +32956,17 @@ class Airavata_getAccessibleAppModules_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();
+ }
+ 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();
@@ -32638,11 +32976,11 @@ class Airavata_getAccessibleAppModules_args {
}
-class Airavata_getAccessibleAppModules_result {
+class Airavata_updateApplicationModule_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
+ * @var bool
*/
public $success = null;
/**
@@ -32667,12 +33005,7 @@ class Airavata_getAccessibleAppModules_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -32716,7 +33049,7 @@ class Airavata_getAccessibleAppModules_result {
}
public function getName() {
- return 'Airavata_getAccessibleAppModules_result';
+ return 'Airavata_updateApplicationModule_result';
}
public function read($input)
@@ -32735,19 +33068,8 @@ class Airavata_getAccessibleAppModules_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size118 = 0;
- $_etype121 = 0;
- $xfer += $input->readListBegin($_etype121, $_size118);
- for ($_i122 = 0; $_i122 < $_size118; ++$_i122)
- {
- $elem123 = null;
- $elem123 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
- $xfer += $elem123->read($input);
- $this->success []= $elem123;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -32796,22 +33118,10 @@ class Airavata_getAccessibleAppModules_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAccessibleAppModules_result');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationModule_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 $iter124)
- {
- $xfer += $iter124->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -32841,7 +33151,7 @@ class Airavata_getAccessibleAppModules_result {
}
-class Airavata_deleteApplicationModule_args {
+class Airavata_getAllAppModules_args {
static $_TSPEC;
/**
@@ -32851,7 +33161,7 @@ class Airavata_deleteApplicationModule_args {
/**
* @var string
*/
- public $appModuleId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -32862,7 +33172,7 @@ class Airavata_deleteApplicationModule_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appModuleId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -32871,14 +33181,14 @@ class Airavata_deleteApplicationModule_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_deleteApplicationModule_args';
+ return 'Airavata_getAllAppModules_args';
}
public function read($input)
@@ -32906,7 +33216,7 @@ class Airavata_deleteApplicationModule_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appModuleId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -32923,7 +33233,7 @@ class Airavata_deleteApplicationModule_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationModule_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);
@@ -32932,9 +33242,9 @@ class Airavata_deleteApplicationModule_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -32944,11 +33254,11 @@ class Airavata_deleteApplicationModule_args {
}
-class Airavata_deleteApplicationModule_result {
+class Airavata_getAllAppModules_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
*/
public $success = null;
/**
@@ -32973,7 +33283,12 @@ class Airavata_deleteApplicationModule_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\ApplicationModule',
+ ),
),
1 => array(
'var' => 'ire',
@@ -33017,7 +33332,7 @@ class Airavata_deleteApplicationModule_result {
}
public function getName() {
- return 'Airavata_deleteApplicationModule_result';
+ return 'Airavata_getAllAppModules_result';
}
public function read($input)
@@ -33036,8 +33351,19 @@ class Airavata_deleteApplicationModule_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size125 = 0;
+ $_etype128 = 0;
+ $xfer += $input->readListBegin($_etype128, $_size125);
+ for ($_i129 = 0; $_i129 < $_size125; ++$_i129)
+ {
+ $elem130 = null;
+ $elem130 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $elem130->read($input);
+ $this->success []= $elem130;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -33086,10 +33412,22 @@ class Airavata_deleteApplicationModule_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationModule_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllAppModules_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 $iter131)
+ {
+ $xfer += $iter131->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -33119,7 +33457,7 @@ class Airavata_deleteApplicationModule_result {
}
-class Airavata_registerApplicationDeployment_args {
+class Airavata_getAccessibleAppModules_args {
static $_TSPEC;
/**
@@ -33130,10 +33468,6 @@ class Airavata_registerApplicationDeployment_args {
* @var string
*/
public $gatewayId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
- */
- public $applicationDeployment = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -33147,11 +33481,6 @@ class Airavata_registerApplicationDeployment_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'applicationDeployment',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
- ),
);
}
if (is_array($vals)) {
@@ -33161,14 +33490,11 @@ class Airavata_registerApplicationDeployment_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['applicationDeployment'])) {
- $this->applicationDeployment = $vals['applicationDeployment'];
- }
}
}
public function getName() {
- return 'Airavata_registerApplicationDeployment_args';
+ return 'Airavata_getAccessibleAppModules_args';
}
public function read($input)
@@ -33201,14 +33527,6 @@ class Airavata_registerApplicationDeployment_args {
$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);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -33221,7 +33539,7 @@ class Airavata_registerApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_args');
+ $xfer += $output->writeStructBegin('Airavata_getAccessibleAppModules_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -33235,14 +33553,6 @@ class Airavata_registerApplicationDeployment_args {
$xfer += $output->writeString($this->gatewayId);
$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();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -33250,11 +33560,11 @@ class Airavata_registerApplicationDeployment_args {
}
-class Airavata_registerApplicationDeployment_result {
+class Airavata_getAccessibleAppModules_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule[]
*/
public $success = null;
/**
@@ -33279,7 +33589,12 @@ class Airavata_registerApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule',
+ ),
),
1 => array(
'var' => 'ire',
@@ -33323,7 +33638,7 @@ class Airavata_registerApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_registerApplicationDeployment_result';
+ return 'Airavata_getAccessibleAppModules_result';
}
public function read($input)
@@ -33342,8 +33657,19 @@ class Airavata_registerApplicationDeployment_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size132 = 0;
+ $_etype135 = 0;
+ $xfer += $input->readListBegin($_etype135, $_size132);
+ for ($_i136 = 0; $_i136 < $_size132; ++$_i136)
+ {
+ $elem137 = null;
+ $elem137 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule();
+ $xfer += $elem137->read($input);
+ $this->success []= $elem137;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -33392,10 +33718,22 @@ class Airavata_registerApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_getAccessibleAppModules_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::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter138)
+ {
+ $xfer += $iter138->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -33425,7 +33763,7 @@ class Airavata_registerApplicationDeployment_result {
}
-class Airavata_getApplicationDeployment_args {
+class Airavata_deleteApplicationModule_args {
static $_TSPEC;
/**
@@ -33435,7 +33773,7 @@ class Airavata_getApplicationDeployment_args {
/**
* @var string
*/
- public $appDeploymentId = null;
+ public $appModuleId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -33446,7 +33784,7 @@ class Airavata_getApplicationDeployment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appDeploymentId',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
);
@@ -33455,14 +33793,14 @@ class Airavata_getApplicationDeployment_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appDeploymentId'])) {
- $this->appDeploymentId = $vals['appDeploymentId'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationDeployment_args';
+ return 'Airavata_deleteApplicationModule_args';
}
public function read($input)
@@ -33490,7 +33828,7 @@ class Airavata_getApplicationDeployment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appDeploymentId);
+ $xfer += $input->readString($this->appModuleId);
} else {
$xfer += $input->skip($ftype);
}
@@ -33507,7 +33845,7 @@ class Airavata_getApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_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);
@@ -33516,9 +33854,9 @@ 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->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -33528,11 +33866,11 @@ class Airavata_getApplicationDeployment_args {
}
-class Airavata_getApplicationDeployment_result {
+class Airavata_deleteApplicationModule_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
+ * @var bool
*/
public $success = null;
/**
@@ -33557,8 +33895,7 @@ class Airavata_getApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -33602,7 +33939,7 @@ class Airavata_getApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_getApplicationDeployment_result';
+ return 'Airavata_deleteApplicationModule_result';
}
public function read($input)
@@ -33621,9 +33958,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::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -33672,13 +34008,10 @@ class Airavata_getApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationModule_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) {
@@ -33708,7 +34041,7 @@ class Airavata_getApplicationDeployment_result {
}
-class Airavata_updateApplicationDeployment_args {
+class Airavata_registerApplicationDeployment_args {
static $_TSPEC;
/**
@@ -33718,7 +34051,7 @@ class Airavata_updateApplicationDeployment_args {
/**
* @var string
*/
- public $appDeploymentId = null;
+ public $gatewayId = null;
/**
* @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
*/
@@ -33733,7 +34066,7 @@ class Airavata_updateApplicationDeployment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appDeploymentId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
3 => array(
@@ -33747,8 +34080,8 @@ class Airavata_updateApplicationDeployment_args {
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['applicationDeployment'])) {
$this->applicationDeployment = $vals['applicationDeployment'];
@@ -33757,7 +34090,7 @@ class Airavata_updateApplicationDeployment_args {
}
public function getName() {
- return 'Airavata_updateApplicationDeployment_args';
+ return 'Airavata_registerApplicationDeployment_args';
}
public function read($input)
@@ -33785,7 +34118,7 @@ class Airavata_updateApplicationDeployment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appDeploymentId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -33810,7 +34143,7 @@ class Airavata_updateApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_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);
@@ -33819,9 +34152,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);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
if ($this->applicationDeployment !== null) {
@@ -33839,11 +34172,11 @@ class Airavata_updateApplicationDeployment_args {
}
-class Airavata_updateApplicationDeployment_result {
+class Airavata_registerApplicationDeployment_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -33868,7 +34201,7 @@ class Airavata_updateApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -33912,7 +34245,7 @@ class Airavata_updateApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_updateApplicationDeployment_result';
+ return 'Airavata_registerApplicationDeployment_result';
}
public function read($input)
@@ -33931,8 +34264,8 @@ class Airavata_updateApplicationDeployment_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);
}
@@ -33981,10 +34314,10 @@ class Airavata_updateApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationDeployment_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) {
@@ -34014,7 +34347,7 @@ class Airavata_updateApplicationDeployment_result {
}
-class Airavata_deleteApplicationDeployment_args {
+class Airavata_getApplicationDeployment_args {
static $_TSPEC;
/**
@@ -34051,7 +34384,7 @@ class Airavata_deleteApplicationDeployment_args {
}
public function getName() {
- return 'Airavata_deleteApplicationDeployment_args';
+ return 'Airavata_getApplicationDeployment_args';
}
public function read($input)
@@ -34096,7 +34429,7 @@ class Airavata_deleteApplicationDeployment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_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);
@@ -34117,11 +34450,11 @@ class Airavata_deleteApplicationDeployment_args {
}
-class Airavata_deleteApplicationDeployment_result {
+class Airavata_getApplicationDeployment_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
*/
public $success = null;
/**
@@ -34146,7 +34479,8 @@ class Airavata_deleteApplicationDeployment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
),
1 => array(
'var' => 'ire',
@@ -34190,7 +34524,7 @@ class Airavata_deleteApplicationDeployment_result {
}
public function getName() {
- return 'Airavata_deleteApplicationDeployment_result';
+ return 'Airavata_getApplicationDeployment_result';
}
public function read($input)
@@ -34209,8 +34543,9 @@ class Airavata_deleteApplicationDeployment_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\ApplicationDeploymentDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -34259,10 +34594,13 @@ class Airavata_deleteApplicationDeployment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationDeployment_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) {
@@ -34292,7 +34630,7 @@ class Airavata_deleteApplicationDeployment_result {
}
-class Airavata_getAllApplicationDeployments_args {
+class Airavata_updateApplicationDeployment_args {
static $_TSPEC;
/**
@@ -34302,7 +34640,11 @@ class Airavata_getAllApplicationDeployments_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appDeploymentId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription
+ */
+ public $applicationDeployment = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -34313,23 +34655,31 @@ class Airavata_getAllApplicationDeployments_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ '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['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appDeploymentId'])) {
+ $this->appDeploymentId = $vals['appDeploymentId'];
+ }
+ if (isset($vals['applicationDeployment'])) {
+ $this->applicationDeployment = $vals['applicationDeployment'];
}
}
}
public function getName() {
- return 'Airavata_getAllApplicationDeployments_args';
+ return 'Airavata_updateApplicationDeployment_args';
}
public function read($input)
@@ -34357,7 +34707,15 @@ class Airavata_getAllApplicationDeployments_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $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);
}
@@ -34374,7 +34732,7 @@ class Airavata_getAllApplicationDeployments_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_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);
@@ -34383,9 +34741,17 @@ class Airavata_getAllApplicationDeployments_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->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();
@@ -34395,11 +34761,11 @@ class Airavata_getAllApplicationDeployments_args {
}
-class Airavata_getAllApplicationDeployments_result {
+class Airavata_updateApplicationDeployment_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
+ * @var bool
*/
public $success = null;
/**
@@ -34424,12 +34790,7 @@ class Airavata_getAllApplicationDeployments_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -34473,7 +34834,7 @@ class Airavata_getAllApplicationDeployments_result {
}
public function getName() {
- return 'Airavata_getAllApplicationDeployments_result';
+ return 'Airavata_updateApplicationDeployment_result';
}
public function read($input)
@@ -34492,19 +34853,8 @@ class Airavata_getAllApplicationDeployments_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size125 = 0;
- $_etype128 = 0;
- $xfer += $input->readListBegin($_etype128, $_size125);
- for ($_i129 = 0; $_i129 < $_size125; ++$_i129)
- {
- $elem130 = null;
- $elem130 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $elem130->read($input);
- $this->success []= $elem130;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -34553,22 +34903,10 @@ class Airavata_getAllApplicationDeployments_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_result');
+ $xfer += $output->writeStructBegin('Airavata_updateApplicationDeployment_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 $iter131)
- {
- $xfer += $iter131->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -34598,7 +34936,7 @@ class Airavata_getAllApplicationDeployments_result {
}
-class Airavata_getAccessibleApplicationDeployments_args {
+class Airavata_deleteApplicationDeployment_args {
static $_TSPEC;
/**
@@ -34608,11 +34946,7 @@ class Airavata_getAccessibleApplicationDeployments_args {
/**
* @var string
*/
- public $gatewayId = null;
- /**
- * @var int
- */
- public $permissionType = null;
+ public $appDeploymentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -34623,30 +34957,23 @@ class Airavata_getAccessibleApplicationDeployments_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appDeploymentId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'permissionType',
- 'type' => TType::I32,
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['permissionType'])) {
- $this->permissionType = $vals['permissionType'];
+ if (isset($vals['appDeploymentId'])) {
+ $this->appDeploymentId = $vals['appDeploymentId'];
}
}
}
public function getName() {
- return 'Airavata_getAccessibleApplicationDeployments_args';
+ return 'Airavata_deleteApplicationDeployment_args';
}
public function read($input)
@@ -34674,14 +35001,7 @@ class Airavata_getAccessibleApplicationDeployments_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->permissionType);
+ $xfer += $input->readString($this->appDeploymentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -34698,7 +35018,7 @@ class Airavata_getAccessibleApplicationDeployments_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAccessibleApplicationDeployments_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);
@@ -34707,14 +35027,9 @@ class Airavata_getAccessibleApplicationDeployments_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();
- }
- if ($this->permissionType !== null) {
- $xfer += $output->writeFieldBegin('permissionType', TType::I32, 3);
- $xfer += $output->writeI32($this->permissionType);
+ if ($this->appDeploymentId !== null) {
+ $xfer += $output->writeFieldBegin('appDeploymentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appDeploymentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -34724,11 +35039,11 @@ class Airavata_getAccessibleApplicationDeployments_args {
}
-class Airavata_getAccessibleApplicationDeployments_result {
+class Airavata_deleteApplicationDeployment_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
+ * @var bool
*/
public $success = null;
/**
@@ -34753,12 +35068,7 @@ class Airavata_getAccessibleApplicationDeployments_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -34802,7 +35112,7 @@ class Airavata_getAccessibleApplicationDeployments_result {
}
public function getName() {
- return 'Airavata_getAccessibleApplicationDeployments_result';
+ return 'Airavata_deleteApplicationDeployment_result';
}
public function read($input)
@@ -34821,19 +35131,8 @@ class Airavata_getAccessibleApplicationDeployments_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size132 = 0;
- $_etype135 = 0;
- $xfer += $input->readListBegin($_etype135, $_size132);
- for ($_i136 = 0; $_i136 < $_size132; ++$_i136)
- {
- $elem137 = null;
- $elem137 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
- $xfer += $elem137->read($input);
- $this->success []= $elem137;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -34882,22 +35181,10 @@ class Airavata_getAccessibleApplicationDeployments_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAccessibleApplicationDeployments_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationDeployment_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 $iter138)
- {
- $xfer += $iter138->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -34927,7 +35214,7 @@ class Airavata_getAccessibleApplicationDeployments_result {
}
-class Airavata_getAppModuleDeployedResources_args {
+class Airavata_getAllApplicationDeployments_args {
static $_TSPEC;
/**
@@ -34937,7 +35224,7 @@ class Airavata_getAppModuleDeployedResources_args {
/**
* @var string
*/
- public $appModuleId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -34948,7 +35235,7 @@ class Airavata_getAppModuleDeployedResources_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appModuleId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -34957,14 +35244,14 @@ class Airavata_getAppModuleDeployedResources_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_getAppModuleDeployedResources_args';
+ return 'Airavata_getAllApplicationDeployments_args';
}
public function read($input)
@@ -34992,7 +35279,7 @@ class Airavata_getAppModuleDeployedResources_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appModuleId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -35009,7 +35296,7 @@ class Airavata_getAppModuleDeployedResources_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_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);
@@ -35018,9 +35305,9 @@ class Airavata_getAppModuleDeployedResources_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35030,11 +35317,11 @@ class Airavata_getAppModuleDeployedResources_args {
}
-class Airavata_getAppModuleDeployedResources_result {
+class Airavata_getAllApplicationDeployments_result {
static $_TSPEC;
/**
- * @var string[]
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
*/
public $success = null;
/**
@@ -35060,9 +35347,10 @@ class Airavata_getAppModuleDeployedResources_result {
0 => array(
'var' => 'success',
'type' => TType::LST,
- 'etype' => TType::STRING,
+ 'etype' => TType::STRUCT,
'elem' => array(
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
),
),
1 => array(
@@ -35107,7 +35395,7 @@ class Airavata_getAppModuleDeployedResources_result {
}
public function getName() {
- return 'Airavata_getAppModuleDeployedResources_result';
+ return 'Airavata_getAllApplicationDeployments_result';
}
public function read($input)
@@ -35134,7 +35422,8 @@ class Airavata_getAppModuleDeployedResources_result {
for ($_i143 = 0; $_i143 < $_size139; ++$_i143)
{
$elem144 = null;
- $xfer += $input->readString($elem144);
+ $elem144 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $elem144->read($input);
$this->success []= $elem144;
}
$xfer += $input->readListEnd();
@@ -35186,18 +35475,18 @@ class Airavata_getAppModuleDeployedResources_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_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));
+ $output->writeListBegin(TType::STRUCT, count($this->success));
{
foreach ($this->success as $iter145)
{
- $xfer += $output->writeString($iter145);
+ $xfer += $iter145->write($output);
}
}
$output->writeListEnd();
@@ -35231,7 +35520,7 @@ class Airavata_getAppModuleDeployedResources_result {
}
-class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args {
+class Airavata_getAccessibleApplicationDeployments_args {
static $_TSPEC;
/**
@@ -35241,11 +35530,11 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
/**
* @var string
*/
- public $appModuleId = null;
+ public $gatewayId = null;
/**
- * @var string
+ * @var int
*/
- public $groupResourceProfileId = null;
+ public $permissionType = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35256,12 +35545,12 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appModuleId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'groupResourceProfileId',
- 'type' => TType::STRING,
+ 'var' => 'permissionType',
+ 'type' => TType::I32,
),
);
}
@@ -35269,17 +35558,17 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['appModuleId'])) {
- $this->appModuleId = $vals['appModuleId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['groupResourceProfileId'])) {
- $this->groupResourceProfileId = $vals['groupResourceProfileId'];
+ if (isset($vals['permissionType'])) {
+ $this->permissionType = $vals['permissionType'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args';
+ return 'Airavata_getAccessibleApplicationDeployments_args';
}
public function read($input)
@@ -35307,14 +35596,14 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appModuleId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->groupResourceProfileId);
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->permissionType);
} else {
$xfer += $input->skip($ftype);
}
@@ -35331,7 +35620,7 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args');
+ $xfer += $output->writeStructBegin('Airavata_getAccessibleApplicationDeployments_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35340,14 +35629,14 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->appModuleId !== null) {
- $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
- $xfer += $output->writeString($this->appModuleId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->groupResourceProfileId !== null) {
- $xfer += $output->writeFieldBegin('groupResourceProfileId', TType::STRING, 3);
- $xfer += $output->writeString($this->groupResourceProfileId);
+ if ($this->permissionType !== null) {
+ $xfer += $output->writeFieldBegin('permissionType', TType::I32, 3);
+ $xfer += $output->writeI32($this->permissionType);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35357,7 +35646,7 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args
}
-class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_result {
+class Airavata_getAccessibleApplicationDeployments_result {
static $_TSPEC;
/**
@@ -35435,7 +35724,7 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_resu
}
public function getName() {
- return 'Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_result';
+ return 'Airavata_getAccessibleApplicationDeployments_result';
}
public function read($input)
@@ -35515,7 +35804,7 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_resu
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_result');
+ $xfer += $output->writeStructBegin('Airavata_getAccessibleApplicationDeployments_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35560,7 +35849,7 @@ class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_resu
}
-class Airavata_registerApplicationInterface_args {
+class Airavata_getAppModuleDeployedResources_args {
static $_TSPEC;
/**
@@ -35570,11 +35859,7 @@ class Airavata_registerApplicationInterface_args {
/**
* @var string
*/
- public $gatewayId = null;
- /**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
- */
- public $applicationInterface = null;
+ public $appModuleId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35585,31 +35870,23 @@ class Airavata_registerApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appModuleId',
'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['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['applicationInterface'])) {
- $this->applicationInterface = $vals['applicationInterface'];
+ if (isset($vals['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
}
}
}
public function getName() {
- return 'Airavata_registerApplicationInterface_args';
+ return 'Airavata_getAppModuleDeployedResources_args';
}
public function read($input)
@@ -35637,15 +35914,7 @@ class Airavata_registerApplicationInterface_args {
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->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $this->applicationInterface->read($input);
+ $xfer += $input->readString($this->appModuleId);
} else {
$xfer += $input->skip($ftype);
}
@@ -35662,7 +35931,7 @@ class Airavata_registerApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_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);
@@ -35671,17 +35940,9 @@ class Airavata_registerApplicationInterface_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();
- }
- 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->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -35691,11 +35952,11 @@ class Airavata_registerApplicationInterface_args {
}
-class Airavata_registerApplicationInterface_result {
+class Airavata_getAppModuleDeployedResources_result {
static $_TSPEC;
/**
- * @var string
+ * @var string[]
*/
public $success = null;
/**
@@ -35720,7 +35981,11 @@ class Airavata_registerApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -35764,7 +36029,7 @@ class Airavata_registerApplicationInterface_result {
}
public function getName() {
- return 'Airavata_registerApplicationInterface_result';
+ return 'Airavata_getAppModuleDeployedResources_result';
}
public function read($input)
@@ -35783,8 +36048,18 @@ class Airavata_registerApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size153 = 0;
+ $_etype156 = 0;
+ $xfer += $input->readListBegin($_etype156, $_size153);
+ for ($_i157 = 0; $_i157 < $_size153; ++$_i157)
+ {
+ $elem158 = null;
+ $xfer += $input->readString($elem158);
+ $this->success []= $elem158;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -35833,10 +36108,22 @@ class Airavata_registerApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_getAppModuleDeployedResources_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::LST, 0);
+ {
+ $output->writeListBegin(TType::STRING, count($this->success));
+ {
+ foreach ($this->success as $iter159)
+ {
+ $xfer += $output->writeString($iter159);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -35866,7 +36153,7 @@ class Airavata_registerApplicationInterface_result {
}
-class Airavata_cloneApplicationInterface_args {
+class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args {
static $_TSPEC;
/**
@@ -35876,15 +36163,11 @@ class Airavata_cloneApplicationInterface_args {
/**
* @var string
*/
- public $existingAppInterfaceID = null;
- /**
- * @var string
- */
- public $newApplicationName = null;
+ public $appModuleId = null;
/**
* @var string
*/
- public $gatewayId = null;
+ public $groupResourceProfileId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -35895,15 +36178,11 @@ class Airavata_cloneApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'existingAppInterfaceID',
+ 'var' => 'appModuleId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'newApplicationName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'gatewayId',
+ 'var' => 'groupResourceProfileId',
'type' => TType::STRING,
),
);
@@ -35912,20 +36191,17 @@ 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['appModuleId'])) {
+ $this->appModuleId = $vals['appModuleId'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['groupResourceProfileId'])) {
+ $this->groupResourceProfileId = $vals['groupResourceProfileId'];
}
}
}
public function getName() {
- return 'Airavata_cloneApplicationInterface_args';
+ return 'Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args';
}
public function read($input)
@@ -35953,21 +36229,14 @@ class Airavata_cloneApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->existingAppInterfaceID);
+ $xfer += $input->readString($this->appModuleId);
} 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->groupResourceProfileId);
} else {
$xfer += $input->skip($ftype);
}
@@ -35984,7 +36253,7 @@ class Airavata_cloneApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_args');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -35993,19 +36262,14 @@ 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);
+ if ($this->appModuleId !== null) {
+ $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appModuleId);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 4);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->groupResourceProfileId !== null) {
+ $xfer += $output->writeFieldBegin('groupResourceProfileId', TType::STRING, 3);
+ $xfer += $output->writeString($this->groupResourceProfileId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -36015,11 +36279,11 @@ class Airavata_cloneApplicationInterface_args {
}
-class Airavata_cloneApplicationInterface_result {
+class Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription[]
*/
public $success = null;
/**
@@ -36044,7 +36308,12 @@ class Airavata_cloneApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+ ),
),
1 => array(
'var' => 'ire',
@@ -36088,7 +36357,7 @@ class Airavata_cloneApplicationInterface_result {
}
public function getName() {
- return 'Airavata_cloneApplicationInterface_result';
+ return 'Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_result';
}
public function read($input)
@@ -36107,8 +36376,19 @@ class Airavata_cloneApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size160 = 0;
+ $_etype163 = 0;
+ $xfer += $input->readListBegin($_etype163, $_size160);
+ for ($_i164 = 0; $_i164 < $_size160; ++$_i164)
+ {
+ $elem165 = null;
+ $elem165 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+ $xfer += $elem165->read($input);
+ $this->success []= $elem165;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -36157,10 +36437,22 @@ class Airavata_cloneApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationDeploymentsForAppModuleAndGroupResourceProfile_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::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter166)
+ {
+ $xfer += $iter166->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -36190,7 +36482,7 @@ class Airavata_cloneApplicationInterface_result {
}
-class Airavata_getApplicationInterface_args {
+class Airavata_registerApplicationInterface_args {
static $_TSPEC;
/**
@@ -36200,7 +36492,11 @@ class Airavata_getApplicationInterface_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $gatewayId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ */
+ public $applicationInterface = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -36211,23 +36507,31 @@ class Airavata_getApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'gatewayId',
'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['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['applicationInterface'])) {
+ $this->applicationInterface = $vals['applicationInterface'];
}
}
}
public function getName() {
- return 'Airavata_getApplicationInterface_args';
+ return 'Airavata_registerApplicationInterface_args';
}
public function read($input)
@@ -36255,7 +36559,15 @@ class Airavata_getApplicationInterface_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->gatewayId);
+ } 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);
} else {
$xfer += $input->skip($ftype);
}
@@ -36272,7 +36584,7 @@ class Airavata_getApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_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);
@@ -36281,9 +36593,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->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $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();
@@ -36293,11 +36613,11 @@ class Airavata_getApplicationInterface_args {
}
-class Airavata_getApplicationInterface_result {
+class Airavata_registerApplicationInterface_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ * @var string
*/
public $success = null;
/**
@@ -36322,8 +36642,7 @@ class Airavata_getApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -36367,7 +36686,7 @@ class Airavata_getApplicationInterface_result {
}
public function getName() {
- return 'Airavata_getApplicationInterface_result';
+ return 'Airavata_registerApplicationInterface_result';
}
public function read($input)
@@ -36386,9 +36705,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::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -36437,13 +36755,10 @@ class Airavata_getApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_registerApplicationInterface_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) {
@@ -36473,7 +36788,7 @@ class Airavata_getApplicationInterface_result {
}
-class Airavata_updateApplicationInterface_args {
+class Airavata_cloneApplicationInterface_args {
static $_TSPEC;
/**
@@ -36483,11 +36798,15 @@ class Airavata_updateApplicationInterface_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $existingAppInterfaceID = null;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ * @var string
*/
- public $applicationInterface = null;
+ public $newApplicationName = null;
+ /**
+ * @var string
+ */
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -36498,13 +36817,16 @@ class Airavata_updateApplicationInterface_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'existingAppInterfaceID',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'applicationInterface',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
+ 'var' => 'newApplicationName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
),
);
}
@@ -36512,17 +36834,20 @@ class Airavata_updateApplicationInterface_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['applicationInterface'])) {
- $this->applicationInterface = $vals['applicationInterface'];
+ if (isset($vals['newApplicationName'])) {
+ $this->newApplicationName = $vals['newApplicationName'];
+ }
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_updateApplicationInterface_args';
+ return 'Airavata_cloneApplicationInterface_args';
}
public function read($input)
@@ -36550,15 +36875,21 @@ class Airavata_updateApplicationInterface_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::STRUCT) {
- $this->applicationInterface = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $this->applicationInterface->read($input);
+ 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);
}
@@ -36575,7 +36906,7 @@ class Airavata_updateApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_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);
@@ -36584,17 +36915,19 @@ 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);
+ if ($this->existingAppInterfaceID !== null) {
+ $xfer += $output->writeFieldBegin('existingAppInterfaceID', TType::STRING, 2);
+ $xfer += $output->writeString($this->existingAppInterfaceID);
$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->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();
@@ -36604,11 +36937,11 @@ class Airavata_updateApplicationInterface_args {
}
-class Airavata_updateApplicationInterface_result {
+class Airavata_cloneApplicationInterface_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -36633,7 +36966,7 @@ class Airavata_updateApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -36677,7 +37010,7 @@ class Airavata_updateApplicationInterface_result {
}
public function getName() {
- return 'Airavata_updateApplicationInterface_result';
+ return 'Airavata_cloneApplicationInterface_result';
}
public function read($input)
@@ -36696,8 +37029,8 @@ class Airavata_updateApplicationInterface_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);
}
@@ -36746,10 +37079,10 @@ class Airavata_updateApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_cloneApplicationInterface_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) {
@@ -36779,7 +37112,7 @@ class Airavata_updateApplicationInterface_result {
}
-class Airavata_deleteApplicationInterface_args {
+class Airavata_getApplicationInterface_args {
static $_TSPEC;
/**
@@ -36816,7 +37149,7 @@ class Airavata_deleteApplicationInterface_args {
}
public function getName() {
- return 'Airavata_deleteApplicationInterface_args';
+ return 'Airavata_getApplicationInterface_args';
}
public function read($input)
@@ -36861,7 +37194,7 @@ class Airavata_deleteApplicationInterface_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_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);
@@ -36882,11 +37215,11 @@ class Airavata_deleteApplicationInterface_args {
}
-class Airavata_deleteApplicationInterface_result {
+class Airavata_getApplicationInterface_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
*/
public $success = null;
/**
@@ -36911,7 +37244,8 @@ class Airavata_deleteApplicationInterface_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
),
1 => array(
'var' => 'ire',
@@ -36955,7 +37289,7 @@ class Airavata_deleteApplicationInterface_result {
}
public function getName() {
- return 'Airavata_deleteApplicationInterface_result';
+ return 'Airavata_getApplicationInterface_result';
}
public function read($input)
@@ -36974,8 +37308,9 @@ class Airavata_deleteApplicationInterface_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -37024,10 +37359,13 @@ class Airavata_deleteApplicationInterface_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInterface_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) {
@@ -37057,7 +37395,7 @@ class Airavata_deleteApplicationInterface_result {
}
-class Airavata_getAllApplicationInterfaceNames_args {
+class Airavata_updateApplicationInterface_args {
static $_TSPEC;
/**
@@ -37067,7 +37405,11 @@ class Airavata_getAllApplicationInterfaceNames_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appInterfaceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription
+ */
+ public $applicationInterface = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37078,23 +37420,31 @@ class Airavata_getAllApplicationInterfaceNames_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appInterfaceId',
'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['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
+ }
+ if (isset($vals['applicationInterface'])) {
+ $this->applicationInterface = $vals['applicationInterface'];
}
}
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaceNames_args';
+ return 'Airavata_updateApplicationInterface_args';
}
public function read($input)
@@ -37122,7 +37472,15 @@ class Airavata_getAllApplicationInterfaceNames_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $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);
} else {
$xfer += $input->skip($ftype);
}
@@ -37139,7 +37497,7 @@ class Airavata_getAllApplicationInterfaceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_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);
@@ -37148,9 +37506,17 @@ 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->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);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -37160,11 +37526,11 @@ class Airavata_getAllApplicationInterfaceNames_args {
}
-class Airavata_getAllApplicationInterfaceNames_result {
+class Airavata_updateApplicationInterface_result {
static $_TSPEC;
/**
- * @var array
+ * @var bool
*/
public $success = null;
/**
@@ -37189,15 +37555,7 @@ 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::STRING,
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -37241,7 +37599,7 @@ class Airavata_getAllApplicationInterfaceNames_result {
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaceNames_result';
+ return 'Airavata_updateApplicationInterface_result';
}
public function read($input)
@@ -37260,21 +37618,8 @@ class Airavata_getAllApplicationInterfaceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size153 = 0;
- $_ktype154 = 0;
- $_vtype155 = 0;
- $xfer += $input->readMapBegin($_ktype154, $_vtype155, $_size153);
- for ($_i157 = 0; $_i157 < $_size153; ++$_i157)
- {
- $key158 = '';
- $val159 = '';
- $xfer += $input->readString($key158);
- $xfer += $input->readString($val159);
- $this->success[$key158] = $val159;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -37323,23 +37668,10 @@ class Airavata_getAllApplicationInterfaceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_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 $kiter160 => $viter161)
- {
- $xfer += $output->writeString($kiter160);
- $xfer += $output->writeString($viter161);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -37369,7 +37701,7 @@ class Airavata_getAllApplicationInterfaceNames_result {
}
-class Airavata_getAllApplicationInterfaces_args {
+class Airavata_deleteApplicationInterface_args {
static $_TSPEC;
/**
@@ -37379,7 +37711,7 @@ class Airavata_getAllApplicationInterfaces_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37390,7 +37722,7 @@ class Airavata_getAllApplicationInterfaces_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'appInterfaceId',
'type' => TType::STRING,
),
);
@@ -37399,14 +37731,14 @@ class Airavata_getAllApplicationInterfaces_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['appInterfaceId'])) {
+ $this->appInterfaceId = $vals['appInterfaceId'];
}
}
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaces_args';
+ return 'Airavata_deleteApplicationInterface_args';
}
public function read($input)
@@ -37434,7 +37766,7 @@ class Airavata_getAllApplicationInterfaces_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -37451,7 +37783,7 @@ class Airavata_getAllApplicationInterfaces_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_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);
@@ -37460,9 +37792,9 @@ class Airavata_getAllApplicationInterfaces_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->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -37472,11 +37804,11 @@ class Airavata_getAllApplicationInterfaces_args {
}
-class Airavata_getAllApplicationInterfaces_result {
+class Airavata_deleteApplicationInterface_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription[]
+ * @var bool
*/
public $success = null;
/**
@@ -37501,12 +37833,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::BOOL,
),
1 => array(
'var' => 'ire',
@@ -37550,7 +37877,7 @@ class Airavata_getAllApplicationInterfaces_result {
}
public function getName() {
- return 'Airavata_getAllApplicationInterfaces_result';
+ return 'Airavata_deleteApplicationInterface_result';
}
public function read($input)
@@ -37569,19 +37896,8 @@ class Airavata_getAllApplicationInterfaces_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size162 = 0;
- $_etype165 = 0;
- $xfer += $input->readListBegin($_etype165, $_size162);
- for ($_i166 = 0; $_i166 < $_size162; ++$_i166)
- {
- $elem167 = null;
- $elem167 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
- $xfer += $elem167->read($input);
- $this->success []= $elem167;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -37630,22 +37946,10 @@ class Airavata_getAllApplicationInterfaces_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaces_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteApplicationInterface_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 $iter168)
- {
- $xfer += $iter168->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -37675,7 +37979,7 @@ class Airavata_getAllApplicationInterfaces_result {
}
-class Airavata_getApplicationInputs_args {
+class Airavata_getAllApplicationInterfaceNames_args {
static $_TSPEC;
/**
@@ -37685,7 +37989,7 @@ class Airavata_getApplicationInputs_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -37696,7 +38000,7 @@ class Airavata_getApplicationInputs_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -37705,14 +38009,14 @@ class Airavata_getApplicationInputs_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_getApplicationInputs_args';
+ return 'Airavata_getAllApplicationInterfaceNames_args';
}
public function read($input)
@@ -37740,7 +38044,7 @@ class Airavata_getApplicationInputs_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -37757,7 +38061,7 @@ class Airavata_getApplicationInputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_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);
@@ -37766,9 +38070,9 @@ 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->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -37778,11 +38082,11 @@ class Airavata_getApplicationInputs_args {
}
-class Airavata_getApplicationInputs_result {
+class Airavata_getAllApplicationInterfaceNames_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\InputDataObjectType[]
+ * @var array
*/
public $success = null;
/**
@@ -37807,11 +38111,14 @@ 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::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
),
),
1 => array(
@@ -37856,7 +38163,7 @@ class Airavata_getApplicationInputs_result {
}
public function getName() {
- return 'Airavata_getApplicationInputs_result';
+ return 'Airavata_getAllApplicationInterfaceNames_result';
}
public function read($input)
@@ -37875,19 +38182,21 @@ class Airavata_getApplicationInputs_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
+ if ($ftype == TType::MAP) {
$this->success = array();
- $_size169 = 0;
- $_etype172 = 0;
- $xfer += $input->readListBegin($_etype172, $_size169);
- for ($_i173 = 0; $_i173 < $_size169; ++$_i173)
+ $_size167 = 0;
+ $_ktype168 = 0;
+ $_vtype169 = 0;
+ $xfer += $input->readMapBegin($_ktype168, $_vtype169, $_size167);
+ for ($_i171 = 0; $_i171 < $_size167; ++$_i171)
{
- $elem174 = null;
- $elem174 = new \Airavata\Model\Application\Io\InputDataObjectType();
- $xfer += $elem174->read($input);
- $this->success []= $elem174;
+ $key172 = '';
+ $val173 = '';
+ $xfer += $input->readString($key172);
+ $xfer += $input->readString($val173);
+ $this->success[$key172] = $val173;
}
- $xfer += $input->readListEnd();
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -37936,21 +38245,22 @@ class Airavata_getApplicationInputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllApplicationInterfaceNames_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);
+ $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
{
- $output->writeListBegin(TType::STRUCT, count($this->success));
+ $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $iter175)
+ foreach ($this->success as $kiter174 => $viter175)
{
- $xfer += $iter175->write($output);
+ $xfer += $output->writeString($kiter174);
+ $xfer += $output->writeString($viter175);
}
}
- $output->writeListEnd();
+ $output->writeMapEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -37981,7 +38291,7 @@ class Airavata_getApplicationInputs_result {
}
-class Airavata_getApplicationOutputs_args {
+class Airavata_getAllApplicationInterfaces_args {
static $_TSPEC;
/**
@@ -37991,7 +38301,7 @@ class Airavata_getApplicationOutputs_args {
/**
* @var string
*/
- public $appInterfaceId = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -38002,7 +38312,7 @@ class Airavata_getApplicationOutputs_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'appInterfaceId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -38011,14 +38321,14 @@ class Airavata_getApplicationOutputs_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_getApplicationOutputs_args';
+ return 'Airavata_getAllApplicationInterfaces_args';
}
public function read($input)
@@ -38046,7 +38356,7 @@ class Airavata_getApplicationOutputs_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->appInterfaceId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -38063,7 +38373,7 @@ class Airavata_getApplicationOutputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_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);
@@ -38072,9 +38382,9 @@ class Airavata_getApplicationOutputs_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();
@@ -38084,11 +38394,11 @@ class Airavata_getApplicationOutputs_args {
}
-class Airavata_getApplicationOutputs_result {
+class Airavata_getAllApplicationInterfaces_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
+ * @var \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription[]
*/
public $success = null;
/**
@@ -38117,7 +38427,7 @@ class Airavata_getApplicationOutputs_result {
'etype' => TType::STRUCT,
'elem' => array(
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
+ 'class' => '\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription',
),
),
1 => array(
@@ -38162,7 +38472,7 @@ class Airavata_getApplicationOutputs_result {
}
public function getName() {
- return 'Airavata_getApplicationOutputs_result';
+ return 'Airavata_getAllApplicationInterfaces_result';
}
public function read($input)
@@ -38189,7 +38499,7 @@ class Airavata_getApplicationOutputs_result {
for ($_i180 = 0; $_i180 < $_size176; ++$_i180)
{
$elem181 = null;
- $elem181 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $elem181 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
$xfer += $elem181->read($input);
$this->success []= $elem181;
}
@@ -38242,7 +38552,7 @@ class Airavata_getApplicationOutputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_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);
@@ -38287,7 +38597,7 @@ class Airavata_getApplicationOutputs_result {
}
-class Airavata_getAvailableAppInterfaceComputeResources_args {
+class Airavata_getApplicationInputs_args {
static $_TSPEC;
/**
@@ -38324,7 +38634,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
}
public function getName() {
- return 'Airavata_getAvailableAppInterfaceComputeResources_args';
+ return 'Airavata_getApplicationInputs_args';
}
public function read($input)
@@ -38369,7 +38679,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_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);
@@ -38390,11 +38700,11 @@ class Airavata_getAvailableAppInterfaceComputeResources_args {
}
-class Airavata_getAvailableAppInterfaceComputeResources_result {
+class Airavata_getApplicationInputs_result {
static $_TSPEC;
/**
- * @var array
+ * @var \Airavata\Model\Application\Io\InputDataObjectType[]
*/
public $success = null;
/**
@@ -38419,14 +38729,11 @@ 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::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Application\Io\InputDataObjectType',
),
),
1 => array(
@@ -38471,7 +38778,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
}
public function getName() {
- return 'Airavata_getAvailableAppInterfaceComputeResources_result';
+ return 'Airavata_getApplicationInputs_result';
}
public function read($input)
@@ -38490,21 +38797,19 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
+ if ($ftype == TType::LST) {
$this->success = array();
$_size183 = 0;
- $_ktype184 = 0;
- $_vtype185 = 0;
- $xfer += $input->readMapBegin($_ktype184, $_vtype185, $_size183);
+ $_etype186 = 0;
+ $xfer += $input->readListBegin($_etype186, $_size183);
for ($_i187 = 0; $_i187 < $_size183; ++$_i187)
{
- $key188 = '';
- $val189 = '';
- $xfer += $input->readString($key188);
- $xfer += $input->readString($val189);
- $this->success[$key188] = $val189;
+ $elem188 = null;
+ $elem188 = new \Airavata\Model\Application\Io\InputDataObjectType();
+ $xfer += $elem188->read($input);
+ $this->success []= $elem188;
}
- $xfer += $input->readMapEnd();
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -38553,22 +38858,21 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationInputs_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 $kiter190 => $viter191)
+ foreach ($this->success as $iter189)
{
- $xfer += $output->writeString($kiter190);
- $xfer += $output->writeString($viter191);
+ $xfer += $iter189->write($output);
}
}
- $output->writeMapEnd();
+ $output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -38599,7 +38903,7 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
}
-class Airavata_registerComputeResource_args {
+class Airavata_getApplicationOutputs_args {
static $_TSPEC;
/**
@@ -38607,9 +38911,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)) {
@@ -38620,9 +38924,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,
),
);
}
@@ -38630,14 +38933,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_getApplicationOutputs_args';
}
public function read($input)
@@ -38664,9 +38967,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);
}
@@ -38683,7 +38985,7 @@ class Airavata_registerComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerComputeResource_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);
@@ -38692,12 +38994,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();
@@ -38707,11 +39006,11 @@ class Airavata_registerComputeResource_args {
}
-class Airavata_registerComputeResource_result {
+class Airavata_getApplicationOutputs_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
*/
public $success = null;
/**
@@ -38736,7 +39035,12 @@ class Airavata_registerComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
+ ),
),
1 => array(
'var' => 'ire',
@@ -38780,7 +39084,7 @@ class Airavata_registerComputeResource_result {
}
public function getName() {
- return 'Airavata_registerComputeResource_result';
+ return 'Airavata_getApplicationOutputs_result';
}
public function read($input)
@@ -38799,8 +39103,19 @@ class Airavata_registerComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size190 = 0;
+ $_etype193 = 0;
+ $xfer += $input->readListBegin($_etype193, $_size190);
+ for ($_i194 = 0; $_i194 < $_size190; ++$_i194)
+ {
+ $elem195 = null;
+ $elem195 = new \Airavata\Model\Application\Io\OutputDataObjectType();
+ $xfer += $elem195->read($input);
+ $this->success []= $elem195;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -38849,10 +39164,22 @@ class Airavata_registerComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getApplicationOutputs_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::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter196)
+ {
+ $xfer += $iter196->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -38882,7 +39209,7 @@ class Airavata_registerComputeResource_result {
}
-class Airavata_getComputeResource_args {
+class Airavata_getAvailableAppInterfaceComputeResources_args {
static $_TSPEC;
/**
@@ -38892,7 +39219,7 @@ class Airavata_getComputeResource_args {
/**
* @var string
*/
- public $computeResourceId = null;
+ public $appInterfaceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -38903,7 +39230,7 @@ class Airavata_getComputeResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'appInterfaceId',
'type' => TType::STRING,
),
);
@@ -38912,14 +39239,14 @@ class Airavata_getComputeResource_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_getComputeResource_args';
+ return 'Airavata_getAvailableAppInterfaceComputeResources_args';
}
public function read($input)
@@ -38947,7 +39274,7 @@ class Airavata_getComputeResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
+ $xfer += $input->readString($this->appInterfaceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -38964,7 +39291,7 @@ class Airavata_getComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getComputeResource_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);
@@ -38973,9 +39300,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->appInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('appInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->appInterfaceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -38985,11 +39312,11 @@ class Airavata_getComputeResource_args {
}
-class Airavata_getComputeResource_result {
+class Airavata_getAvailableAppInterfaceComputeResources_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ * @var array
*/
public $success = null;
/**
@@ -39014,8 +39341,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',
@@ -39059,7 +39393,7 @@ class Airavata_getComputeResource_result {
}
public function getName() {
- return 'Airavata_getComputeResource_result';
+ return 'Airavata_getAvailableAppInterfaceComputeResources_result';
}
public function read($input)
@@ -39078,9 +39412,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();
+ $_size197 = 0;
+ $_ktype198 = 0;
+ $_vtype199 = 0;
+ $xfer += $input->readMapBegin($_ktype198, $_vtype199, $_size197);
+ for ($_i201 = 0; $_i201 < $_size197; ++$_i201)
+ {
+ $key202 = '';
+ $val203 = '';
+ $xfer += $input->readString($key202);
+ $xfer += $input->readString($val203);
+ $this->success[$key202] = $val203;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -39129,13 +39475,23 @@ class Airavata_getComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getAvailableAppInterfaceComputeResources_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 $kiter204 => $viter205)
+ {
+ $xfer += $output->writeString($kiter204);
+ $xfer += $output->writeString($viter205);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39165,13 +39521,17 @@ class Airavata_getComputeResource_result {
}
-class Airavata_getAllComputeResourceNames_args {
+class Airavata_registerComputeResource_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ */
+ public $computeResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39181,17 +39541,25 @@ class Airavata_getAllComputeResourceNames_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
+ 2 => 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['computeResourceDescription'])) {
+ $this->computeResourceDescription = $vals['computeResourceDescription'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllComputeResourceNames_args';
+ return 'Airavata_registerComputeResource_args';
}
public function read($input)
@@ -39217,6 +39585,14 @@ class Airavata_getAllComputeResourceNames_args {
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
+ $xfer += $this->computeResourceDescription->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -39229,7 +39605,7 @@ class Airavata_getAllComputeResourceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_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);
@@ -39238,6 +39614,14 @@ class Airavata_getAllComputeResourceNames_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);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -39245,11 +39629,11 @@ class Airavata_getAllComputeResourceNames_args {
}
-class Airavata_getAllComputeResourceNames_result {
+class Airavata_registerComputeResource_result {
static $_TSPEC;
/**
- * @var array
+ * @var string
*/
public $success = null;
/**
@@ -39274,15 +39658,7 @@ 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::STRING,
),
1 => array(
'var' => 'ire',
@@ -39326,7 +39702,7 @@ class Airavata_getAllComputeResourceNames_result {
}
public function getName() {
- return 'Airavata_getAllComputeResourceNames_result';
+ return 'Airavata_registerComputeResource_result';
}
public function read($input)
@@ -39345,21 +39721,8 @@ class Airavata_getAllComputeResourceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size192 = 0;
- $_ktype193 = 0;
- $_vtype194 = 0;
- $xfer += $input->readMapBegin($_ktype193, $_vtype194, $_size192);
- for ($_i196 = 0; $_i196 < $_size192; ++$_i196)
- {
- $key197 = '';
- $val198 = '';
- $xfer += $input->readString($key197);
- $xfer += $input->readString($val198);
- $this->success[$key197] = $val198;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -39408,23 +39771,10 @@ class Airavata_getAllComputeResourceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllComputeResourceNames_result');
+ $xfer += $output->writeStructBegin('Airavata_registerComputeResource_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 $kiter199 => $viter200)
- {
- $xfer += $output->writeString($kiter199);
- $xfer += $output->writeString($viter200);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -39454,7 +39804,7 @@ class Airavata_getAllComputeResourceNames_result {
}
-class Airavata_updateComputeResource_args {
+class Airavata_getComputeResource_args {
static $_TSPEC;
/**
@@ -39465,10 +39815,6 @@ class Airavata_updateComputeResource_args {
* @var string
*/
public $computeResourceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
- */
- public $computeResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -39482,11 +39828,6 @@ class Airavata_updateComputeResource_args {
'var' => 'computeResourceId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'computeResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
- ),
);
}
if (is_array($vals)) {
@@ -39496,14 +39837,11 @@ class Airavata_updateComputeResource_args {
if (isset($vals['computeResourceId'])) {
$this->computeResourceId = $vals['computeResourceId'];
}
- if (isset($vals['computeResourceDescription'])) {
- $this->computeResourceDescription = $vals['computeResourceDescription'];
- }
}
}
public function getName() {
- return 'Airavata_updateComputeResource_args';
+ return 'Airavata_getComputeResource_args';
}
public function read($input)
@@ -39536,14 +39874,6 @@ class Airavata_updateComputeResource_args {
$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);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -39556,7 +39886,7 @@ class Airavata_updateComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateComputeResource_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);
@@ -39570,14 +39900,6 @@ class Airavata_updateComputeResource_args {
$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();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -39585,11 +39907,11 @@ class Airavata_updateComputeResource_args {
}
-class Airavata_updateComputeResource_result {
+class Airavata_getComputeResource_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
*/
public $success = null;
/**
@@ -39614,7 +39936,8 @@ class Airavata_updateComputeResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
),
1 => array(
'var' => 'ire',
@@ -39658,7 +39981,7 @@ class Airavata_updateComputeResource_result {
}
public function getName() {
- return 'Airavata_updateComputeResource_result';
+ return 'Airavata_getComputeResource_result';
}
public function read($input)
@@ -39677,8 +40000,9 @@ class Airavata_updateComputeResource_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\ComputeResourceDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -39727,10 +40051,13 @@ class Airavata_updateComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateComputeResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getComputeResource_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) {
@@ -39760,17 +40087,13 @@ class Airavata_updateComputeResource_result {
}
-class Airavata_deleteComputeResource_args {
+class Airavata_getAllComputeResourceNames_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)) {
@@ -39780,24 +40103,17 @@ class Airavata_deleteComputeResource_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_deleteComputeResource_args';
+ return 'Airavata_getAllComputeResourceNames_args';
}
public function read($input)
@@ -39823,13 +40139,6 @@ class Airavata_deleteComputeResource_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;
@@ -39842,7 +40151,7 @@ class Airavata_deleteComputeResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_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);
@@ -39851,11 +40160,6 @@ 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);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -39863,11 +40167,11 @@ class Airavata_deleteComputeResource_args {
}
-class Airavata_deleteComputeResource_result {
+class Airavata_getAllComputeResourceNames_result {
static $_TSPEC;
/**
- * @var bool
+ * @var array
*/
public $success = null;
/**
@@ -39892,7 +40196,15 @@ class Airavata_deleteComputeResource_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',
@@ -39936,7 +40248,7 @@ class Airavata_deleteComputeResource_result {
}
public function getName() {
- return 'Airavata_deleteComputeResource_result';
+ return 'Airavata_getAllComputeResourceNames_result';
}
public function read($input)
@@ -39955,8 +40267,21 @@ class Airavata_deleteComputeResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size206 = 0;
+ $_ktype207 = 0;
+ $_vtype208 = 0;
+ $xfer += $input->readMapBegin($_ktype207, $_vtype208, $_size206);
+ for ($_i210 = 0; $_i210 < $_size206; ++$_i210)
+ {
+ $key211 = '';
+ $val212 = '';
+ $xfer += $input->readString($key211);
+ $xfer += $input->readString($val212);
+ $this->success[$key211] = $val212;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -40005,10 +40330,23 @@ class Airavata_deleteComputeResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_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 $kiter213 => $viter214)
+ {
+ $xfer += $output->writeString($kiter213);
+ $xfer += $output->writeString($viter214);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -40038,7 +40376,7 @@ class Airavata_deleteComputeResource_result {
}
-class Airavata_registerStorageResource_args {
+class Airavata_updateComputeResource_args {
static $_TSPEC;
/**
@@ -40046,9 +40384,13 @@ class Airavata_registerStorageResource_args {
*/
public $authzToken = null;
/**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
+ * @var string
*/
- public $storageResourceDescription = null;
+ public $computeResourceId = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription
+ */
+ public $computeResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40059,9 +40401,13 @@ class Airavata_registerStorageResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'storageResourceDescription',
+ 'var' => 'computeResourceId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'computeResourceDescription',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription',
),
);
}
@@ -40069,14 +40415,17 @@ class Airavata_registerStorageResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceDescription'])) {
- $this->storageResourceDescription = $vals['storageResourceDescription'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
+ }
+ if (isset($vals['computeResourceDescription'])) {
+ $this->computeResourceDescription = $vals['computeResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_registerStorageResource_args';
+ return 'Airavata_updateComputeResource_args';
}
public function read($input)
@@ -40103,9 +40452,16 @@ class Airavata_registerStorageResource_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->storageResourceDescription = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
- $xfer += $this->storageResourceDescription->read($input);
+ $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResource\ComputeResourceDescription();
+ $xfer += $this->computeResourceDescription->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -40122,7 +40478,7 @@ class Airavata_registerStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerStorageResource_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);
@@ -40131,12 +40487,17 @@ class Airavata_registerStorageResource_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->storageResourceDescription !== null) {
- if (!is_object($this->storageResourceDescription)) {
+ 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('storageResourceDescription', TType::STRUCT, 2);
- $xfer += $this->storageResourceDescription->write($output);
+ $xfer += $output->writeFieldBegin('computeResourceDescription', TType::STRUCT, 3);
+ $xfer += $this->computeResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -40146,11 +40507,11 @@ class Airavata_registerStorageResource_args {
}
-class Airavata_registerStorageResource_result {
+class Airavata_updateComputeResource_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -40175,7 +40536,7 @@ class Airavata_registerStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -40219,7 +40580,7 @@ class Airavata_registerStorageResource_result {
}
public function getName() {
- return 'Airavata_registerStorageResource_result';
+ return 'Airavata_updateComputeResource_result';
}
public function read($input)
@@ -40238,8 +40599,8 @@ class Airavata_registerStorageResource_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);
}
@@ -40288,10 +40649,10 @@ class Airavata_registerStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_updateComputeResource_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) {
@@ -40321,7 +40682,7 @@ class Airavata_registerStorageResource_result {
}
-class Airavata_getStorageResource_args {
+class Airavata_deleteComputeResource_args {
static $_TSPEC;
/**
@@ -40331,7 +40692,7 @@ class Airavata_getStorageResource_args {
/**
* @var string
*/
- public $storageResourceId = null;
+ public $computeResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40342,7 +40703,7 @@ class Airavata_getStorageResource_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'storageResourceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
);
@@ -40351,14 +40712,14 @@ class Airavata_getStorageResource_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceId'])) {
- $this->storageResourceId = $vals['storageResourceId'];
+ if (isset($vals['computeResourceId'])) {
+ $this->computeResourceId = $vals['computeResourceId'];
}
}
}
public function getName() {
- return 'Airavata_getStorageResource_args';
+ return 'Airavata_deleteComputeResource_args';
}
public function read($input)
@@ -40386,7 +40747,7 @@ class Airavata_getStorageResource_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->storageResourceId);
+ $xfer += $input->readString($this->computeResourceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -40403,7 +40764,7 @@ class Airavata_getStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getStorageResource_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);
@@ -40412,9 +40773,9 @@ 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->computeResourceId !== null) {
+ $xfer += $output->writeFieldBegin('computeResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->computeResourceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -40424,11 +40785,11 @@ class Airavata_getStorageResource_args {
}
-class Airavata_getStorageResource_result {
+class Airavata_deleteComputeResource_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
+ * @var bool
*/
public $success = null;
/**
@@ -40453,8 +40814,7 @@ class Airavata_getStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -40498,7 +40858,7 @@ class Airavata_getStorageResource_result {
}
public function getName() {
- return 'Airavata_getStorageResource_result';
+ return 'Airavata_deleteComputeResource_result';
}
public function read($input)
@@ -40517,9 +40877,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::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -40568,13 +40927,10 @@ class Airavata_getStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteComputeResource_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) {
@@ -40604,13 +40960,17 @@ class Airavata_getStorageResource_result {
}
-class Airavata_getAllStorageResourceNames_args {
+class Airavata_registerStorageResource_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
+ */
+ public $storageResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40620,17 +40980,25 @@ class Airavata_getAllStorageResourceNames_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
+ 2 => 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['storageResourceDescription'])) {
+ $this->storageResourceDescription = $vals['storageResourceDescription'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllStorageResourceNames_args';
+ return 'Airavata_registerStorageResource_args';
}
public function read($input)
@@ -40656,6 +41024,14 @@ class Airavata_getAllStorageResourceNames_args {
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ 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;
@@ -40668,7 +41044,7 @@ class Airavata_getAllStorageResourceNames_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_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);
@@ -40677,6 +41053,14 @@ class Airavata_getAllStorageResourceNames_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);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -40684,11 +41068,11 @@ class Airavata_getAllStorageResourceNames_args {
}
-class Airavata_getAllStorageResourceNames_result {
+class Airavata_registerStorageResource_result {
static $_TSPEC;
/**
- * @var array
+ * @var string
*/
public $success = null;
/**
@@ -40713,15 +41097,7 @@ 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::STRING,
),
1 => array(
'var' => 'ire',
@@ -40765,7 +41141,7 @@ class Airavata_getAllStorageResourceNames_result {
}
public function getName() {
- return 'Airavata_getAllStorageResourceNames_result';
+ return 'Airavata_registerStorageResource_result';
}
public function read($input)
@@ -40784,21 +41160,8 @@ class Airavata_getAllStorageResourceNames_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size201 = 0;
- $_ktype202 = 0;
- $_vtype203 = 0;
- $xfer += $input->readMapBegin($_ktype202, $_vtype203, $_size201);
- for ($_i205 = 0; $_i205 < $_size201; ++$_i205)
- {
- $key206 = '';
- $val207 = '';
- $xfer += $input->readString($key206);
- $xfer += $input->readString($val207);
- $this->success[$key206] = $val207;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -40847,23 +41210,10 @@ class Airavata_getAllStorageResourceNames_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_result');
+ $xfer += $output->writeStructBegin('Airavata_registerStorageResource_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 $kiter208 => $viter209)
- {
- $xfer += $output->writeString($kiter208);
- $xfer += $output->writeString($viter209);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -40893,7 +41243,7 @@ class Airavata_getAllStorageResourceNames_result {
}
-class Airavata_updateStorageResource_args {
+class Airavata_getStorageResource_args {
static $_TSPEC;
/**
@@ -40904,10 +41254,6 @@ class Airavata_updateStorageResource_args {
* @var string
*/
public $storageResourceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
- */
- public $storageResourceDescription = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -40921,11 +41267,6 @@ class Airavata_updateStorageResource_args {
'var' => 'storageResourceId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'storageResourceDescription',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
- ),
);
}
if (is_array($vals)) {
@@ -40935,14 +41276,11 @@ class Airavata_updateStorageResource_args {
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_getStorageResource_args';
}
public function read($input)
@@ -40975,14 +41313,6 @@ class Airavata_updateStorageResource_args {
$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;
@@ -40995,7 +41325,7 @@ class Airavata_updateStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateStorageResource_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);
@@ -41009,14 +41339,6 @@ class Airavata_updateStorageResource_args {
$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;
@@ -41024,11 +41346,11 @@ class Airavata_updateStorageResource_args {
}
-class Airavata_updateStorageResource_result {
+class Airavata_getStorageResource_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription
*/
public $success = null;
/**
@@ -41053,7 +41375,8 @@ class Airavata_updateStorageResource_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
),
1 => array(
'var' => 'ire',
@@ -41097,7 +41420,7 @@ class Airavata_updateStorageResource_result {
}
public function getName() {
- return 'Airavata_updateStorageResource_result';
+ return 'Airavata_getStorageResource_result';
}
public function read($input)
@@ -41116,8 +41439,9 @@ class Airavata_updateStorageResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -41166,10 +41490,13 @@ class Airavata_updateStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getStorageResource_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) {
@@ -41199,17 +41526,13 @@ class Airavata_updateStorageResource_result {
}
-class Airavata_deleteStorageResource_args {
+class Airavata_getAllStorageResourceNames_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
- /**
- * @var string
- */
- public $storageResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -41219,24 +41542,17 @@ class Airavata_deleteStorageResource_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
- 2 => array(
- 'var' => 'storageResourceId',
- 'type' => TType::STRING,
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['storageResourceId'])) {
- $this->storageResourceId = $vals['storageResourceId'];
- }
}
}
public function getName() {
- return 'Airavata_deleteStorageResource_args';
+ return 'Airavata_getAllStorageResourceNames_args';
}
public function read($input)
@@ -41262,13 +41578,6 @@ class Airavata_deleteStorageResource_args {
$xfer += $input->skip($ftype);
}
break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->storageResourceId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -41281,7 +41590,7 @@ class Airavata_deleteStorageResource_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_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);
@@ -41290,11 +41599,6 @@ 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);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -41302,11 +41606,11 @@ class Airavata_deleteStorageResource_args {
}
-class Airavata_deleteStorageResource_result {
+class Airavata_getAllStorageResourceNames_result {
static $_TSPEC;
/**
- * @var bool
+ * @var array
*/
public $success = null;
/**
@@ -41331,7 +41635,15 @@ class Airavata_deleteStorageResource_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',
@@ -41375,7 +41687,7 @@ class Airavata_deleteStorageResource_result {
}
public function getName() {
- return 'Airavata_deleteStorageResource_result';
+ return 'Airavata_getAllStorageResourceNames_result';
}
public function read($input)
@@ -41394,8 +41706,21 @@ class Airavata_deleteStorageResource_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size215 = 0;
+ $_ktype216 = 0;
+ $_vtype217 = 0;
+ $xfer += $input->readMapBegin($_ktype216, $_vtype217, $_size215);
+ for ($_i219 = 0; $_i219 < $_size215; ++$_i219)
+ {
+ $key220 = '';
+ $val221 = '';
+ $xfer += $input->readString($key220);
+ $xfer += $input->readString($val221);
+ $this->success[$key220] = $val221;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -41444,10 +41769,23 @@ class Airavata_deleteStorageResource_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllStorageResourceNames_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 $kiter222 => $viter223)
+ {
+ $xfer += $output->writeString($kiter222);
+ $xfer += $output->writeString($viter223);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -41477,7 +41815,7 @@ class Airavata_deleteStorageResource_result {
}
-class Airavata_addLocalSubmissionDetails_args {
+class Airavata_updateStorageResource_args {
static $_TSPEC;
/**
@@ -41487,15 +41825,11 @@ class Airavata_addLocalSubmissionDetails_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $storageResourceId = 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)) {
@@ -41506,17 +41840,13 @@ class Airavata_addLocalSubmissionDetails_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' => 'localSubmission',
+ 'var' => 'storageResourceDescription',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\StorageResource\StorageResourceDescription',
),
);
}
@@ -41524,20 +41854,17 @@ class Airavata_addLocalSubmissionDetails_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['localSubmission'])) {
- $this->localSubmission = $vals['localSubmission'];
+ if (isset($vals['storageResourceDescription'])) {
+ $this->storageResourceDescription = $vals['storageResourceDescription'];
}
}
}
public function getName() {
- return 'Airavata_addLocalSubmissionDetails_args';
+ return 'Airavata_updateStorageResource_args';
}
public function read($input)
@@ -41565,22 +41892,15 @@ class Airavata_addLocalSubmissionDetails_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->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);
}
@@ -41597,7 +41917,7 @@ class Airavata_addLocalSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_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);
@@ -41606,22 +41926,17 @@ class Airavata_addLocalSubmissionDetails_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->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, 4);
- $xfer += $this->localSubmission->write($output);
+ $xfer += $output->writeFieldBegin('storageResourceDescription', TType::STRUCT, 3);
+ $xfer += $this->storageResourceDescription->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -41631,11 +41946,11 @@ class Airavata_addLocalSubmissionDetails_args {
}
-class Airavata_addLocalSubmissionDetails_result {
+class Airavata_updateStorageResource_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -41660,7 +41975,7 @@ class Airavata_addLocalSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -41704,7 +42019,7 @@ class Airavata_addLocalSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addLocalSubmissionDetails_result';
+ return 'Airavata_updateStorageResource_result';
}
public function read($input)
@@ -41723,8 +42038,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);
}
@@ -41773,10 +42088,10 @@ class Airavata_addLocalSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_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) {
@@ -41806,7 +42121,7 @@ class Airavata_addLocalSubmissionDetails_result {
}
-class Airavata_updateLocalSubmissionDetails_args {
+class Airavata_deleteStorageResource_args {
static $_TSPEC;
/**
@@ -41816,11 +42131,7 @@ class Airavata_updateLocalSubmissionDetails_args {
/**
* @var string
*/
- public $jobSubmissionInterfaceId = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
- */
- public $localSubmission = null;
+ public $storageResourceId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -41831,31 +42142,23 @@ class Airavata_updateLocalSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
+ 'var' => 'storageResourceId',
'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['jobSubmissionInterfaceId'])) {
- $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
- }
- if (isset($vals['localSubmission'])) {
- $this->localSubmission = $vals['localSubmission'];
+ if (isset($vals['storageResourceId'])) {
+ $this->storageResourceId = $vals['storageResourceId'];
}
}
}
public function getName() {
- return 'Airavata_updateLocalSubmissionDetails_args';
+ return 'Airavata_deleteStorageResource_args';
}
public function read($input)
@@ -41883,15 +42186,7 @@ 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);
+ $xfer += $input->readString($this->storageResourceId);
} else {
$xfer += $input->skip($ftype);
}
@@ -41908,7 +42203,7 @@ class Airavata_updateLocalSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_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);
@@ -41917,17 +42212,9 @@ 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)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('localSubmission', TType::STRUCT, 3);
- $xfer += $this->localSubmission->write($output);
+ if ($this->storageResourceId !== null) {
+ $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->storageResourceId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -41937,7 +42224,7 @@ class Airavata_updateLocalSubmissionDetails_args {
}
-class Airavata_updateLocalSubmissionDetails_result {
+class Airavata_deleteStorageResource_result {
static $_TSPEC;
/**
@@ -42010,7 +42297,7 @@ class Airavata_updateLocalSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateLocalSubmissionDetails_result';
+ return 'Airavata_deleteStorageResource_result';
}
public function read($input)
@@ -42079,7 +42366,7 @@ class Airavata_updateLocalSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteStorageResource_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -42112,7 +42399,7 @@ class Airavata_updateLocalSubmissionDetails_result {
}
-class Airavata_getLocalJobSubmission_args {
+class Airavata_addLocalSubmissionDetails_args {
static $_TSPEC;
/**
@@ -42122,7 +42409,15 @@ class Airavata_getLocalJobSubmission_args {
/**
* @var string
*/
- public $jobSubmissionId = null;
+ 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)) {
@@ -42133,23 +42428,38 @@ class Airavata_getLocalJobSubmission_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' => '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['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_getLocalJobSubmission_args';
+ return 'Airavata_addLocalSubmissionDetails_args';
}
public function read($input)
@@ -42177,7 +42487,22 @@ class Airavata_getLocalJobSubmission_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->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $xfer += $this->localSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -42194,7 +42519,7 @@ class Airavata_getLocalJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_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);
@@ -42203,9 +42528,22 @@ 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->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->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();
@@ -42215,11 +42553,11 @@ class Airavata_getLocalJobSubmission_args {
}
-class Airavata_getLocalJobSubmission_result {
+class Airavata_addLocalSubmissionDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
+ * @var string
*/
public $success = null;
/**
@@ -42244,8 +42582,7 @@ class Airavata_getLocalJobSubmission_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -42289,7 +42626,7 @@ class Airavata_getLocalJobSubmission_result {
}
public function getName() {
- return 'Airavata_getLocalJobSubmission_result';
+ return 'Airavata_addLocalSubmissionDetails_result';
}
public function read($input)
@@ -42308,9 +42645,8 @@ class Airavata_getLocalJobSubmission_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -42359,13 +42695,10 @@ class Airavata_getLocalJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_addLocalSubmissionDetails_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) {
@@ -42395,7 +42728,7 @@ class Airavata_getLocalJobSubmission_result {
}
-class Airavata_addSSHJobSubmissionDetails_args {
+class Airavata_updateLocalSubmissionDetails_args {
static $_TSPEC;
/**
@@ -42405,15 +42738,11 @@ class Airavata_addSSHJobSubmissionDetails_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
*/
- public $sshJobSubmission = null;
+ public $localSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42424,17 +42753,13 @@ class Airavata_addSSHJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'computeResourceId',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'sshJobSubmission',
+ 'var' => 'localSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
),
);
}
@@ -42442,20 +42767,17 @@ class Airavata_addSSHJobSubmissionDetails_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['jobSubmissionInterfaceId'])) {
+ $this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
}
- if (isset($vals['sshJobSubmission'])) {
- $this->sshJobSubmission = $vals['sshJobSubmission'];
+ if (isset($vals['localSubmission'])) {
+ $this->localSubmission = $vals['localSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addSSHJobSubmissionDetails_args';
+ return 'Airavata_updateLocalSubmissionDetails_args';
}
public function read($input)
@@ -42483,22 +42805,15 @@ class Airavata_addSSHJobSubmissionDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->computeResourceId);
+ $xfer += $input->readString($this->jobSubmissionInterfaceId);
} 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->localSubmission = new \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission();
+ $xfer += $this->localSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -42515,7 +42830,7 @@ class Airavata_addSSHJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_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);
@@ -42524,22 +42839,17 @@ 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);
+ 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)) {
+ if ($this->localSubmission !== null) {
+ if (!is_object($this->localSubmission)) {
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('localSubmission', TType::STRUCT, 3);
+ $xfer += $this->localSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -42549,11 +42859,11 @@ class Airavata_addSSHJobSubmissionDetails_args {
}
-class Airavata_addSSHJobSubmissionDetails_result {
+class Airavata_updateLocalSubmissionDetails_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -42578,7 +42888,7 @@ class Airavata_addSSHJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -42622,7 +42932,7 @@ class Airavata_addSSHJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addSSHJobSubmissionDetails_result';
+ return 'Airavata_updateLocalSubmissionDetails_result';
}
public function read($input)
@@ -42641,8 +42951,8 @@ class Airavata_addSSHJobSubmissionDetails_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);
}
@@ -42691,10 +43001,10 @@ class Airavata_addSSHJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateLocalSubmissionDetails_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) {
@@ -42724,7 +43034,7 @@ class Airavata_addSSHJobSubmissionDetails_result {
}
-class Airavata_addSSHForkJobSubmissionDetails_args {
+class Airavata_getLocalJobSubmission_args {
static $_TSPEC;
/**
@@ -42734,15 +43044,7 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
/**
* @var string
*/
- public $computeResourceId = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
- /**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
- */
- public $sshJobSubmission = null;
+ public $jobSubmissionId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -42753,38 +43055,23 @@ class Airavata_addSSHForkJobSubmissionDetails_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' => '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'];
+ if (isset($vals['jobSubmissionId'])) {
+ $this->jobSubmissionId = $vals['jobSubmissionId'];
}
}
}
public function getName() {
- return 'Airavata_addSSHForkJobSubmissionDetails_args';
+ return 'Airavata_getLocalJobSubmission_args';
}
public function read($input)
@@ -42812,22 +43099,7 @@ class Airavata_addSSHForkJobSubmissionDetails_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->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
- $xfer += $this->sshJobSubmission->read($input);
+ $xfer += $input->readString($this->jobSubmissionId);
} else {
$xfer += $input->skip($ftype);
}
@@ -42844,7 +43116,7 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_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);
@@ -42853,22 +43125,9 @@ 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);
- $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);
+ if ($this->jobSubmissionId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -42878,11 +43137,11 @@ class Airavata_addSSHForkJobSubmissionDetails_args {
}
-class Airavata_addSSHForkJobSubmissionDetails_result {
+class Airavata_getLocalJobSubmission_result {
static $_TSPEC;
/**
- * @var string
+ * @var \Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission
*/
public $success = null;
/**
@@ -42907,7 +43166,8 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\LOCALSubmission',
),
1 => array(
'var' => 'ire',
@@ -42951,7 +43211,7 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addSSHForkJobSubmissionDetails_result';
+ return 'Airavata_getLocalJobSubmission_result';
}
public function read($input)
@@ -42970,8 +43230,9 @@ class Airavata_addSSHForkJobSubmissionDetails_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);
}
@@ -43020,10 +43281,13 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_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) {
@@ -43053,7 +43317,7 @@ class Airavata_addSSHForkJobSubmissionDetails_result {
}
-class Airavata_getSSHJobSubmission_args {
+class Airavata_addSSHJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -43063,7 +43327,15 @@ class Airavata_getSSHJobSubmission_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)) {
@@ -43074,23 +43346,38 @@ class Airavata_getSSHJobSubmission_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_getSSHJobSubmission_args';
+ return 'Airavata_addSSHJobSubmissionDetails_args';
}
public function read($input)
@@ -43118,7 +43405,22 @@ class Airavata_getSSHJobSubmission_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);
}
@@ -43135,7 +43437,7 @@ class Airavata_getSSHJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_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);
@@ -43144,9 +43446,22 @@ 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->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();
@@ -43156,11 +43471,11 @@ class Airavata_getSSHJobSubmission_args {
}
-class Airavata_getSSHJobSubmission_result {
+class Airavata_addSSHJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ * @var string
*/
public $success = null;
/**
@@ -43185,8 +43500,7 @@ class Airavata_getSSHJobSubmission_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -43230,7 +43544,7 @@ class Airavata_getSSHJobSubmission_result {
}
public function getName() {
- return 'Airavata_getSSHJobSubmission_result';
+ return 'Airavata_addSSHJobSubmissionDetails_result';
}
public function read($input)
@@ -43249,9 +43563,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::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -43300,13 +43613,10 @@ class Airavata_getSSHJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_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) {
@@ -43336,7 +43646,7 @@ class Airavata_getSSHJobSubmission_result {
}
-class Airavata_addUNICOREJobSubmissionDetails_args {
+class Airavata_addSSHForkJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -43352,9 +43662,9 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
*/
public $priorityOrder = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
- public $unicoreJobSubmission = null;
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -43373,9 +43683,9 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
'type' => TType::I32,
),
4 => array(
- 'var' => 'unicoreJobSubmission',
+ 'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
),
);
}
@@ -43389,14 +43699,14 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
if (isset($vals['priorityOrder'])) {
$this->priorityOrder = $vals['priorityOrder'];
}
- if (isset($vals['unicoreJobSubmission'])) {
- $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addUNICOREJobSubmissionDetails_args';
+ return 'Airavata_addSSHForkJobSubmissionDetails_args';
}
public function read($input)
@@ -43438,8 +43748,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->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -43456,7 +43766,7 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_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);
@@ -43475,12 +43785,12 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
$xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
- if ($this->unicoreJobSubmission !== null) {
- if (!is_object($this->unicoreJobSubmission)) {
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
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('sshJobSubmission', TType::STRUCT, 4);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -43490,7 +43800,7 @@ class Airavata_addUNICOREJobSubmissionDetails_args {
}
-class Airavata_addUNICOREJobSubmissionDetails_result {
+class Airavata_addSSHForkJobSubmissionDetails_result {
static $_TSPEC;
/**
@@ -43563,7 +43873,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addUNICOREJobSubmissionDetails_result';
+ return 'Airavata_addSSHForkJobSubmissionDetails_result';
}
public function read($input)
@@ -43632,7 +43942,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addSSHForkJobSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -43665,7 +43975,7 @@ class Airavata_addUNICOREJobSubmissionDetails_result {
}
-class Airavata_getUnicoreJobSubmission_args {
+class Airavata_getSSHJobSubmission_args {
static $_TSPEC;
/**
@@ -43702,7 +44012,7 @@ class Airavata_getUnicoreJobSubmission_args {
}
public function getName() {
- return 'Airavata_getUnicoreJobSubmission_args';
+ return 'Airavata_getSSHJobSubmission_args';
}
public function read($input)
@@ -43747,7 +44057,7 @@ class Airavata_getUnicoreJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_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);
@@ -43768,11 +44078,11 @@ class Airavata_getUnicoreJobSubmission_args {
}
-class Airavata_getUnicoreJobSubmission_result {
+class Airavata_getSSHJobSubmission_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
public $success = null;
/**
@@ -43798,7 +44108,7 @@ class Airavata_getUnicoreJobSubmission_result {
0 => array(
'var' => 'success',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -43842,7 +44152,7 @@ class Airavata_getUnicoreJobSubmission_result {
}
public function getName() {
- return 'Airavata_getUnicoreJobSubmission_result';
+ return 'Airavata_getSSHJobSubmission_result';
}
public function read($input)
@@ -43862,7 +44172,7 @@ class Airavata_getUnicoreJobSubmission_result {
{
case 0:
if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
$xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
@@ -43912,7 +44222,7 @@ class Airavata_getUnicoreJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_getSSHJobSubmission_result');
if ($this->success !== null) {
if (!is_object($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -43948,7 +44258,7 @@ class Airavata_getUnicoreJobSubmission_result {
}
-class Airavata_addCloudJobSubmissionDetails_args {
+class Airavata_addUNICOREJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -43964,9 +44274,9 @@ class Airavata_addCloudJobSubmissionDetails_args {
*/
public $priorityOrder = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
*/
- public $cloudSubmission = null;
+ public $unicoreJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -43985,9 +44295,9 @@ class Airavata_addCloudJobSubmissionDetails_args {
'type' => TType::I32,
),
4 => array(
- 'var' => 'cloudSubmission',
+ 'var' => 'unicoreJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
),
);
}
@@ -44001,14 +44311,14 @@ class Airavata_addCloudJobSubmissionDetails_args {
if (isset($vals['priorityOrder'])) {
$this->priorityOrder = $vals['priorityOrder'];
}
- if (isset($vals['cloudSubmission'])) {
- $this->cloudSubmission = $vals['cloudSubmission'];
+ if (isset($vals['unicoreJobSubmission'])) {
+ $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addCloudJobSubmissionDetails_args';
+ return 'Airavata_addUNICOREJobSubmissionDetails_args';
}
public function read($input)
@@ -44050,8 +44360,8 @@ class Airavata_addCloudJobSubmissionDetails_args {
break;
case 4:
if ($ftype == TType::STRUCT) {
- $this->cloudSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
- $xfer += $this->cloudSubmission->read($input);
+ $this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
+ $xfer += $this->unicoreJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -44068,7 +44378,7 @@ class Airavata_addCloudJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_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);
@@ -44087,12 +44397,12 @@ class Airavata_addCloudJobSubmissionDetails_args {
$xfer += $output->writeI32($this->priorityOrder);
$xfer += $output->writeFieldEnd();
}
- if ($this->cloudSubmission !== null) {
- if (!is_object($this->cloudSubmission)) {
+ if ($this->unicoreJobSubmission !== null) {
+ if (!is_object($this->unicoreJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('cloudSubmission', TType::STRUCT, 4);
- $xfer += $this->cloudSubmission->write($output);
+ $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 4);
+ $xfer += $this->unicoreJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -44102,7 +44412,7 @@ class Airavata_addCloudJobSubmissionDetails_args {
}
-class Airavata_addCloudJobSubmissionDetails_result {
+class Airavata_addUNICOREJobSubmissionDetails_result {
static $_TSPEC;
/**
@@ -44175,7 +44485,7 @@ class Airavata_addCloudJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_addCloudJobSubmissionDetails_result';
+ return 'Airavata_addUNICOREJobSubmissionDetails_result';
}
public function read($input)
@@ -44244,7 +44554,7 @@ class Airavata_addCloudJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addCloudJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_addUNICOREJobSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -44277,7 +44587,7 @@ class Airavata_addCloudJobSubmissionDetails_result {
}
-class Airavata_getCloudJobSubmission_args {
+class Airavata_getUnicoreJobSubmission_args {
static $_TSPEC;
/**
@@ -44314,7 +44624,7 @@ class Airavata_getCloudJobSubmission_args {
}
public function getName() {
- return 'Airavata_getCloudJobSubmission_args';
+ return 'Airavata_getUnicoreJobSubmission_args';
}
public function read($input)
@@ -44359,7 +44669,7 @@ class Airavata_getCloudJobSubmission_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_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);
@@ -44380,11 +44690,11 @@ class Airavata_getCloudJobSubmission_args {
}
-class Airavata_getCloudJobSubmission_result {
+class Airavata_getUnicoreJobSubmission_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
*/
public $success = null;
/**
@@ -44410,7 +44720,7 @@ class Airavata_getCloudJobSubmission_result {
0 => array(
'var' => 'success',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -44454,7 +44764,7 @@ class Airavata_getCloudJobSubmission_result {
}
public function getName() {
- return 'Airavata_getCloudJobSubmission_result';
+ return 'Airavata_getUnicoreJobSubmission_result';
}
public function read($input)
@@ -44474,7 +44784,7 @@ class Airavata_getCloudJobSubmission_result {
{
case 0:
if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
+ $this->success = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
$xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
@@ -44524,7 +44834,7 @@ class Airavata_getCloudJobSubmission_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_result');
+ $xfer += $output->writeStructBegin('Airavata_getUnicoreJobSubmission_result');
if ($this->success !== null) {
if (!is_object($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -44560,7 +44870,7 @@ class Airavata_getCloudJobSubmission_result {
}
-class Airavata_updateSSHJobSubmissionDetails_args {
+class Airavata_addCloudJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -44570,11 +44880,15 @@ class Airavata_updateSSHJobSubmissionDetails_args {
/**
* @var string
*/
- public $jobSubmissionInterfaceId = null;
+ public $computeResourceId = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
+ * @var int
*/
- public $sshJobSubmission = null;
+ public $priorityOrder = null;
+ /**
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
+ */
+ public $cloudSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -44585,13 +44899,17 @@ class Airavata_updateSSHJobSubmissionDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'jobSubmissionInterfaceId',
+ 'var' => 'computeResourceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'sshJobSubmission',
+ 'var' => 'priorityOrder',
+ 'type' => TType::I32,
+ ),
+ 4 => array(
+ 'var' => 'cloudSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
);
}
@@ -44599,17 +44917,20 @@ 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['sshJobSubmission'])) {
- $this->sshJobSubmission = $vals['sshJobSubmission'];
+ if (isset($vals['priorityOrder'])) {
+ $this->priorityOrder = $vals['priorityOrder'];
+ }
+ if (isset($vals['cloudSubmission'])) {
+ $this->cloudSubmission = $vals['cloudSubmission'];
}
}
}
public function getName() {
- return 'Airavata_updateSSHJobSubmissionDetails_args';
+ return 'Airavata_addCloudJobSubmissionDetails_args';
}
public function read($input)
@@ -44637,15 +44958,22 @@ 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);
+ $this->cloudSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
+ $xfer += $this->cloudSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -44662,7 +44990,7 @@ class Airavata_updateSSHJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_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);
@@ -44671,17 +44999,22 @@ 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->sshJobSubmission !== null) {
- if (!is_object($this->sshJobSubmission)) {
+ 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('sshJobSubmission', TType::STRUCT, 3);
- $xfer += $this->sshJobSubmission->write($output);
+ $xfer += $output->writeFieldBegin('cloudSubmission', TType::STRUCT, 4);
+ $xfer += $this->cloudSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -44691,11 +45024,11 @@ class Airavata_updateSSHJobSubmissionDetails_args {
}
-class Airavata_updateSSHJobSubmissionDetails_result {
+class Airavata_addCloudJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -44720,7 +45053,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -44764,7 +45097,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateSSHJobSubmissionDetails_result';
+ return 'Airavata_addCloudJobSubmissionDetails_result';
}
public function read($input)
@@ -44783,8 +45116,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);
}
@@ -44833,10 +45166,10 @@ class Airavata_updateSSHJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_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) {
@@ -44866,7 +45199,7 @@ class Airavata_updateSSHJobSubmissionDetails_result {
}
-class Airavata_updateCloudJobSubmissionDetails_args {
+class Airavata_getCloudJobSubmission_args {
static $_TSPEC;
/**
@@ -44876,11 +45209,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)) {
@@ -44891,31 +45220,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_getCloudJobSubmission_args';
}
public function read($input)
@@ -44943,15 +45264,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);
}
@@ -44968,7 +45281,7 @@ class Airavata_updateCloudJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_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);
@@ -44977,17 +45290,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();
@@ -44997,11 +45302,11 @@ class Airavata_updateCloudJobSubmissionDetails_args {
}
-class Airavata_updateCloudJobSubmissionDetails_result {
+class Airavata_getCloudJobSubmission_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
*/
public $success = null;
/**
@@ -45026,7 +45331,8 @@ class Airavata_updateCloudJobSubmissionDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
1 => array(
'var' => 'ire',
@@ -45070,7 +45376,7 @@ class Airavata_updateCloudJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateCloudJobSubmissionDetails_result';
+ return 'Airavata_getCloudJobSubmission_result';
}
public function read($input)
@@ -45089,8 +45395,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\CloudJobSubmission();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45139,10 +45446,13 @@ class Airavata_updateCloudJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_getCloudJobSubmission_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) {
@@ -45172,7 +45482,7 @@ class Airavata_updateCloudJobSubmissionDetails_result {
}
-class Airavata_updateUnicoreJobSubmissionDetails_args {
+class Airavata_updateSSHJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -45184,9 +45494,9 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
*/
public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
+ * @var \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission
*/
- public $unicoreJobSubmission = null;
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45201,9 +45511,9 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
'type' => TType::STRING,
),
3 => array(
- 'var' => 'unicoreJobSubmission',
+ 'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission',
),
);
}
@@ -45214,14 +45524,14 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
if (isset($vals['jobSubmissionInterfaceId'])) {
$this->jobSubmissionInterfaceId = $vals['jobSubmissionInterfaceId'];
}
- if (isset($vals['unicoreJobSubmission'])) {
- $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_updateUnicoreJobSubmissionDetails_args';
+ return 'Airavata_updateSSHJobSubmissionDetails_args';
}
public function read($input)
@@ -45256,8 +45566,8 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
break;
case 3:
if ($ftype == TType::STRUCT) {
- $this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
- $xfer += $this->unicoreJobSubmission->read($input);
+ $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\SSHJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45274,7 +45584,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_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);
@@ -45288,12 +45598,12 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
$xfer += $output->writeString($this->jobSubmissionInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->unicoreJobSubmission !== null) {
- if (!is_object($this->unicoreJobSubmission)) {
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('unicoreJobSubmission', TType::STRUCT, 3);
- $xfer += $this->unicoreJobSubmission->write($output);
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45303,7 +45613,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_args {
}
-class Airavata_updateUnicoreJobSubmissionDetails_result {
+class Airavata_updateSSHJobSubmissionDetails_result {
static $_TSPEC;
/**
@@ -45376,7 +45686,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
}
public function getName() {
- return 'Airavata_updateUnicoreJobSubmissionDetails_result';
+ return 'Airavata_updateSSHJobSubmissionDetails_result';
}
public function read($input)
@@ -45445,7 +45755,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateSSHJobSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -45478,7 +45788,7 @@ class Airavata_updateUnicoreJobSubmissionDetails_result {
}
-class Airavata_addLocalDataMovementDetails_args {
+class Airavata_updateCloudJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -45488,19 +45798,11 @@ class Airavata_addLocalDataMovementDetails_args {
/**
* @var string
*/
- public $productUri = null;
- /**
- * @var int
- */
- public $dataMoveType = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ * @var \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission
*/
- public $localDataMovement = null;
+ public $sshJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45511,21 +45813,13 @@ class Airavata_addLocalDataMovementDetails_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' => 'localDataMovement',
+ 'var' => 'sshJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission',
),
);
}
@@ -45533,23 +45827,17 @@ class Airavata_addLocalDataMovementDetails_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['localDataMovement'])) {
- $this->localDataMovement = $vals['localDataMovement'];
+ if (isset($vals['sshJobSubmission'])) {
+ $this->sshJobSubmission = $vals['sshJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_addLocalDataMovementDetails_args';
+ return 'Airavata_updateCloudJobSubmissionDetails_args';
}
public function read($input)
@@ -45577,29 +45865,15 @@ class Airavata_addLocalDataMovementDetails_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->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
- $xfer += $this->localDataMovement->read($input);
+ $this->sshJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\CloudJobSubmission();
+ $xfer += $this->sshJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45616,7 +45890,7 @@ class Airavata_addLocalDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_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);
@@ -45625,27 +45899,17 @@ 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);
+ if ($this->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->localDataMovement !== null) {
- if (!is_object($this->localDataMovement)) {
+ if ($this->sshJobSubmission !== null) {
+ if (!is_object($this->sshJobSubmission)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('localDataMovement', TType::STRUCT, 5);
- $xfer += $this->localDataMovement->write($output);
+ $xfer += $output->writeFieldBegin('sshJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->sshJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45655,11 +45919,11 @@ class Airavata_addLocalDataMovementDetails_args {
}
-class Airavata_addLocalDataMovementDetails_result {
+class Airavata_updateCloudJobSubmissionDetails_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -45684,7 +45948,7 @@ class Airavata_addLocalDataMovementDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -45728,7 +45992,7 @@ class Airavata_addLocalDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_addLocalDataMovementDetails_result';
+ return 'Airavata_updateCloudJobSubmissionDetails_result';
}
public function read($input)
@@ -45747,8 +46011,8 @@ class Airavata_addLocalDataMovementDetails_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);
}
@@ -45797,10 +46061,10 @@ class Airavata_addLocalDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateCloudJobSubmissionDetails_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) {
@@ -45830,7 +46094,7 @@ class Airavata_addLocalDataMovementDetails_result {
}
-class Airavata_updateLocalDataMovementDetails_args {
+class Airavata_updateUnicoreJobSubmissionDetails_args {
static $_TSPEC;
/**
@@ -45840,11 +46104,11 @@ class Airavata_updateLocalDataMovementDetails_args {
/**
* @var string
*/
- public $dataMovementInterfaceId = null;
+ public $jobSubmissionInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ * @var \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission
*/
- public $localDataMovement = null;
+ public $unicoreJobSubmission = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -45855,13 +46119,13 @@ class Airavata_updateLocalDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementInterfaceId',
+ 'var' => 'jobSubmissionInterfaceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'localDataMovement',
+ 'var' => 'unicoreJobSubmission',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
+ 'class' => '\Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission',
),
);
}
@@ -45869,17 +46133,17 @@ class Airavata_updateLocalDataMovementDetails_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['localDataMovement'])) {
- $this->localDataMovement = $vals['localDataMovement'];
+ if (isset($vals['unicoreJobSubmission'])) {
+ $this->unicoreJobSubmission = $vals['unicoreJobSubmission'];
}
}
}
public function getName() {
- return 'Airavata_updateLocalDataMovementDetails_args';
+ return 'Airavata_updateUnicoreJobSubmissionDetails_args';
}
public function read($input)
@@ -45907,15 +46171,15 @@ class Airavata_updateLocalDataMovementDetails_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->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
- $xfer += $this->localDataMovement->read($input);
+ $this->unicoreJobSubmission = new \Airavata\Model\AppCatalog\ComputeResource\UnicoreJobSubmission();
+ $xfer += $this->unicoreJobSubmission->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -45932,7 +46196,7 @@ class Airavata_updateLocalDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_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);
@@ -45941,17 +46205,17 @@ 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->jobSubmissionInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('jobSubmissionInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->jobSubmissionInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->localDataMovement !== null) {
- if (!is_object($this->localDataMovement)) {
+ if ($this->unicoreJobSubmission !== null) {
+ if (!is_object($this->unicoreJobSubmission)) {
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('unicoreJobSubmission', TType::STRUCT, 3);
+ $xfer += $this->unicoreJobSubmission->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -45961,7 +46225,7 @@ class Airavata_updateLocalDataMovementDetails_args {
}
-class Airavata_updateLocalDataMovementDetails_result {
+class Airavata_updateUnicoreJobSubmissionDetails_result {
static $_TSPEC;
/**
@@ -46034,7 +46298,7 @@ class Airavata_updateLocalDataMovementDetails_result {
}
public function getName() {
- return 'Airavata_updateLocalDataMovementDetails_result';
+ return 'Airavata_updateUnicoreJobSubmissionDetails_result';
}
public function read($input)
@@ -46103,7 +46367,7 @@ class Airavata_updateLocalDataMovementDetails_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateLocalDataMovementDetails_result');
+ $xfer += $output->writeStructBegin('Airavata_updateUnicoreJobSubmissionDetails_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -46136,7 +46400,7 @@ class Airavata_updateLocalDataMovementDetails_result {
}
-class Airavata_getLocalDataMovement_args {
+class Airavata_addLocalDataMovementDetails_args {
static $_TSPEC;
/**
@@ -46146,7 +46410,19 @@ class Airavata_getLocalDataMovement_args {
/**
* @var string
*/
- public $dataMovementId = null;
+ public $productUri = null;
+ /**
+ * @var int
+ */
+ public $dataMoveType = null;
+ /**
+ * @var int
+ */
+ public $priorityOrder = null;
+ /**
+ * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ */
+ public $localDataMovement = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -46157,23 +46433,45 @@ class Airavata_getLocalDataMovement_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'dataMovementId',
+ 'var' => 'productUri',
'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['dataMovementId'])) {
- $this->dataMovementId = $vals['dataMovementId'];
+ 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'];
}
}
}
public function getName() {
- return 'Airavata_getLocalDataMovement_args';
+ return 'Airavata_addLocalDataMovementDetails_args';
}
public function read($input)
@@ -46201,7 +46499,29 @@ class Airavata_getLocalDataMovement_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dataMovementId);
+ $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);
} else {
$xfer += $input->skip($ftype);
}
@@ -46218,7 +46538,7 @@ class Airavata_getLocalDataMovement_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalDataMovement_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);
@@ -46227,9 +46547,27 @@ 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->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);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -46239,11 +46577,11 @@ class Airavata_getLocalDataMovement_args {
}
-class Airavata_getLocalDataMovement_result {
+class Airavata_addLocalDataMovementDetails_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Data\Movement\LOCALDataMovement
+ * @var string
*/
public $success = null;
/**
@@ -46268,8 +46606,7 @@ class Airavata_getLocalDataMovement_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -46313,7 +46650,7 @@ class Airavata_getLocalDataMovement_result {
}
public function getName() {
- return 'Airavata_getLocalDataMovement_result';
+ return 'Airavata_addLocalDataMovementDetails_result';
}
public function read($input)
@@ -46332,9 +46669,8 @@ class Airavata_getLocalDataMovement_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Data\Movement\LOCALDataMovement();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -46383,13 +46719,10 @@ class Airavata_getLocalDataMovement_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getLocalDataMovement_result');
+ $xfer += $output->writeStructBegin('Airavata_addLocalDataMovementDetails_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) {
@@ -46419,7 +46752,7 @@ class Airavata_getLocalDataMovement_result {
}
-class Airavata_addSCPDataMovementDetails_args {
+class Airavata_updateLocalDataMovementDetails_args {
static $_TSPEC;
/**
@@ -46429,19 +46762,11 @@ class Airavata_addSCPDataMovementDetails_args {
/**
* @var string
*/
- public $productUri = null;
- /**
- * @var int
- */
- public $dataMoveType = null;
- /**
- * @var int
- */
- public $priorityOrder = null;
+ public $dataMovementInterfaceId = null;
/**
- * @var \Airavata\Model\Data\Movement\SCPDataMovement
+ * @var \Airavata\Model\Data\Movement\LOCALDataMovement
*/
- public $scpDataMovement = null;
+ public $localDataMovement = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -46452,21 +46777,13 @@ class Airavata_addSCPDataMovementDetails_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'productUri',
+ 'var' => 'dataMovementInterfaceId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'dataMoveType',
- 'type' => TType::I32,
- ),
- 4 => array(
- 'var' => 'priorityOrder',
- 'type' => TType::I32,
- ),
- 5 => array(
- 'var' => 'scpDataMovement',
+ 'var' => 'localDataMovement',
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Data\Movement\SCPDataMovement',
+ 'class' => '\Airavata\Model\Data\Movement\LOCALDataMovement',
),
);
}
@@ -46474,23 +46791,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['dataMovementInterfaceId'])) {
+ $this->dataMovementInterfaceId = $vals['dataMovementInterfaceId'];
}
- if (isset($vals['scpDataMovement'])) {
- $this->scpDataMovement = $vals['scpDataMovement'];
+ if (isset($vals['localDataMovement'])) {
+ $this->localDataMovement = $vals['localDataMovement'];
}
}
}
public function getName() {
- return 'Airavata_addSCPDataMovementDetails_args';
+ return 'Airavata_updateLocalDataMovementDetails_args';
}
public function read($input)
@@ -46518,29 +46829,15 @@ class Airavata_addSCPDataMovementDetails_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->productUri);
+ $xfer += $input->readString($this->dataMovementInterfaceId);
} 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->localDataMovement = new \Airavata\Model\Data\Movement\LOCALDataMovement();
+ $xfer += $this->localDataMovement->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -46557,7 +46854,7 @@ class Airavata_addSCPDataMovementDetails_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addSCPDataMovementDetails_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);
@@ -46566,27 +46863,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->dataMovementInterfaceId !== null) {
+ $xfer += $output->writeFieldBegin('dataMovementInterfaceId', TType::STRING, 2);
+ $xfer += $output->writeString($this->dataMovementInterfaceId);
$xfer += $output->writeFieldEnd();
}
- if ($this->scpDataMovement !== null) {
- if (!is_object($this->scpDataMovement)) {
+ if ($this->localDataMovement !== null) {
+ if (!is_object($this->localDataMovement)) {
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('localDataMovement', TType::STRUCT, 3);
+ $xfer += $this->localDataMovement->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -46596,11 +46883,11 @@ class Airavata_addSCPDataMovementDetails_args {
}
-class Airavata_addSCPDataMovementDetails_result {
+class Airavata_updateLocalDataMovementDetails_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -46625,7 +46912,7 @@ class Airavata_addSCPDataMovementDetails_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
... 7217 lines suppressed ...