You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/10/06 23:00:45 UTC

airavata-php-gateway git commit: updating the php sdk to sync with master

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 0a8d23b42 -> 42e907cd7


updating the php sdk to sync with master


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

Branch: refs/heads/master
Commit: 42e907cd73df809052529fefb75931d2832edef8
Parents: 0a8d23b
Author: Suresh Marru <sm...@apache.org>
Authored: Tue Oct 6 17:00:37 2015 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Tue Oct 6 17:00:37 2015 -0400

----------------------------------------------------------------------
 .../Airavata/Model/Scheduling/Types.php         | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/42e907cd/app/libraries/Airavata/Model/Scheduling/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Scheduling/Types.php b/app/libraries/Airavata/Model/Scheduling/Types.php
index ffda7fa..966792d 100644
--- a/app/libraries/Airavata/Model/Scheduling/Types.php
+++ b/app/libraries/Airavata/Model/Scheduling/Types.php
@@ -57,6 +57,10 @@ class ComputationalResourceSchedulingModel {
    * @var string
    */
   public $chessisNumber = null;
+  /**
+   * @var string
+   */
+  public $staticWorkingDir = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -93,6 +97,10 @@ class ComputationalResourceSchedulingModel {
           'var' => 'chessisNumber',
           'type' => TType::STRING,
           ),
+        9 => array(
+          'var' => 'staticWorkingDir',
+          'type' => TType::STRING,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -120,6 +128,9 @@ class ComputationalResourceSchedulingModel {
       if (isset($vals['chessisNumber'])) {
         $this->chessisNumber = $vals['chessisNumber'];
       }
+      if (isset($vals['staticWorkingDir'])) {
+        $this->staticWorkingDir = $vals['staticWorkingDir'];
+      }
     }
   }
 
@@ -198,6 +209,13 @@ class ComputationalResourceSchedulingModel {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 9:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->staticWorkingDir);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -251,6 +269,11 @@ class ComputationalResourceSchedulingModel {
       $xfer += $output->writeString($this->chessisNumber);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->staticWorkingDir !== null) {
+      $xfer += $output->writeFieldBegin('staticWorkingDir', TType::STRING, 9);
+      $xfer += $output->writeString($this->staticWorkingDir);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;