airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: updating thrift files
Date Thu, 24 Mar 2016 20:42:27 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop c2c493d1b -> 1e1ed5d04


updating thrift files


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/1e1ed5d0
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/1e1ed5d0
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/1e1ed5d0

Branch: refs/heads/develop
Commit: 1e1ed5d04746e597df670fd19429accba5c029f3
Parents: c2c493d
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Mar 24 16:42:23 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Mar 24 16:42:23 2016 -0400

----------------------------------------------------------------------
 .../Airavata/Model/Application/Io/Types.php     | 46 ++++++++++++++++++++
 1 file changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/1e1ed5d0/app/libraries/Airavata/Model/Application/Io/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Application/Io/Types.php b/app/libraries/Airavata/Model/Application/Io/Types.php
index cc208a6..b2890c1 100644
--- a/app/libraries/Airavata/Model/Application/Io/Types.php
+++ b/app/libraries/Airavata/Model/Application/Io/Types.php
@@ -111,6 +111,10 @@ class InputDataObjectType {
    * @var bool
    */
   public $dataStaged = null;
+  /**
+   * @var string
+   */
+  public $storageResourceId = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -159,6 +163,10 @@ class InputDataObjectType {
           'var' => 'dataStaged',
           'type' => TType::BOOL,
           ),
+        12 => array(
+          'var' => 'storageResourceId',
+          'type' => TType::STRING,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -195,6 +203,9 @@ class InputDataObjectType {
       if (isset($vals['dataStaged'])) {
         $this->dataStaged = $vals['dataStaged'];
       }
+      if (isset($vals['storageResourceId'])) {
+        $this->storageResourceId = $vals['storageResourceId'];
+      }
     }
   }
 
@@ -294,6 +305,13 @@ class InputDataObjectType {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 12:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->storageResourceId);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -362,6 +380,11 @@ class InputDataObjectType {
       $xfer += $output->writeBool($this->dataStaged);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->storageResourceId !== null) {
+      $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 12);
+      $xfer += $output->writeString($this->storageResourceId);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;
@@ -438,6 +461,10 @@ class OutputDataObjectType {
    * @var bool
    */
   public $outputStreaming = null;
+  /**
+   * @var string
+   */
+  public $storageResourceId = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -482,6 +509,10 @@ class OutputDataObjectType {
           'var' => 'outputStreaming',
           'type' => TType::BOOL,
           ),
+        11 => array(
+          'var' => 'storageResourceId',
+          'type' => TType::STRING,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -515,6 +546,9 @@ class OutputDataObjectType {
       if (isset($vals['outputStreaming'])) {
         $this->outputStreaming = $vals['outputStreaming'];
       }
+      if (isset($vals['storageResourceId'])) {
+        $this->storageResourceId = $vals['storageResourceId'];
+      }
     }
   }
 
@@ -607,6 +641,13 @@ class OutputDataObjectType {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 11:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->storageResourceId);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -670,6 +711,11 @@ class OutputDataObjectType {
       $xfer += $output->writeBool($this->outputStreaming);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->storageResourceId !== null) {
+      $xfer += $output->writeFieldBegin('storageResourceId', TType::STRING, 11);
+      $xfer += $output->writeString($this->storageResourceId);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;


Mime
View raw message