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 generated files
Date Wed, 02 Dec 2015 16:49:22 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 8e2493a60 -> 57209228f


updating thrift generated 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/57209228
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/57209228
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/57209228

Branch: refs/heads/master
Commit: 57209228f2a8d6b3f5c45fd1749eca88838d3f61
Parents: 8e2493a
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Dec 2 11:49:17 2015 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Dec 2 11:49:17 2015 -0500

----------------------------------------------------------------------
 .../Model/AppCatalog/GatewayProfile/Types.php   | 37 ++++----------------
 1 file changed, 7 insertions(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/57209228/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php b/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
index 098ec1e..f63f2f0 100644
--- a/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
+++ b/app/libraries/Airavata/Model/AppCatalog/GatewayProfile/Types.php
@@ -477,10 +477,6 @@ class GatewayResourceProfile {
   /**
    * @var string
    */
-  public $dataStorageHostName = null;
-  /**
-   * @var string
-   */
   public $credentialStoreToken = null;
   /**
    * @var \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference[]
@@ -499,14 +495,10 @@ class GatewayResourceProfile {
           'type' => TType::STRING,
           ),
         2 => array(
-          'var' => 'dataStorageHostName',
-          'type' => TType::STRING,
-          ),
-        3 => array(
           'var' => 'credentialStoreToken',
           'type' => TType::STRING,
           ),
-        4 => array(
+        3 => array(
           'var' => 'computeResourcePreferences',
           'type' => TType::LST,
           'etype' => TType::STRUCT,
@@ -515,7 +507,7 @@ class GatewayResourceProfile {
             'class' => '\Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference',
             ),
           ),
-        5 => array(
+        4 => array(
           'var' => 'dataStoragePreferences',
           'type' => TType::LST,
           'etype' => TType::STRUCT,
@@ -530,9 +522,6 @@ class GatewayResourceProfile {
       if (isset($vals['gatewayID'])) {
         $this->gatewayID = $vals['gatewayID'];
       }
-      if (isset($vals['dataStorageHostName'])) {
-        $this->dataStorageHostName = $vals['dataStorageHostName'];
-      }
       if (isset($vals['credentialStoreToken'])) {
         $this->credentialStoreToken = $vals['credentialStoreToken'];
       }
@@ -573,19 +562,12 @@ class GatewayResourceProfile {
           break;
         case 2:
           if ($ftype == TType::STRING) {
-            $xfer += $input->readString($this->dataStorageHostName);
-          } else {
-            $xfer += $input->skip($ftype);
-          }
-          break;
-        case 3:
-          if ($ftype == TType::STRING) {
             $xfer += $input->readString($this->credentialStoreToken);
           } else {
             $xfer += $input->skip($ftype);
           }
           break;
-        case 4:
+        case 3:
           if ($ftype == TType::LST) {
             $this->computeResourcePreferences = array();
             $_size0 = 0;
@@ -603,7 +585,7 @@ class GatewayResourceProfile {
             $xfer += $input->skip($ftype);
           }
           break;
-        case 5:
+        case 4:
           if ($ftype == TType::LST) {
             $this->dataStoragePreferences = array();
             $_size6 = 0;
@@ -639,13 +621,8 @@ class GatewayResourceProfile {
       $xfer += $output->writeString($this->gatewayID);
       $xfer += $output->writeFieldEnd();
     }
-    if ($this->dataStorageHostName !== null) {
-      $xfer += $output->writeFieldBegin('dataStorageHostName', TType::STRING, 2);
-      $xfer += $output->writeString($this->dataStorageHostName);
-      $xfer += $output->writeFieldEnd();
-    }
     if ($this->credentialStoreToken !== null) {
-      $xfer += $output->writeFieldBegin('credentialStoreToken', TType::STRING, 3);
+      $xfer += $output->writeFieldBegin('credentialStoreToken', TType::STRING, 2);
       $xfer += $output->writeString($this->credentialStoreToken);
       $xfer += $output->writeFieldEnd();
     }
@@ -653,7 +630,7 @@ class GatewayResourceProfile {
       if (!is_array($this->computeResourcePreferences)) {
         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
       }
-      $xfer += $output->writeFieldBegin('computeResourcePreferences', TType::LST, 4);
+      $xfer += $output->writeFieldBegin('computeResourcePreferences', TType::LST, 3);
       {
         $output->writeListBegin(TType::STRUCT, count($this->computeResourcePreferences));
         {
@@ -670,7 +647,7 @@ class GatewayResourceProfile {
       if (!is_array($this->dataStoragePreferences)) {
         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
       }
-      $xfer += $output->writeFieldBegin('dataStoragePreferences', TType::LST, 5);
+      $xfer += $output->writeFieldBegin('dataStoragePreferences', TType::LST, 4);
       {
         $output->writeListBegin(TType::STRUCT, count($this->dataStoragePreferences));
         {


Mime
View raw message