airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject airavata-php-gateway git commit: adding working directory archive to pga
Date Mon, 07 Mar 2016 19:45:32 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop be5c89820 -> 0a54650e9


adding working directory archive to pga


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

Branch: refs/heads/develop
Commit: 0a54650e964be78f44ea6535b37fe62d402a9eeb
Parents: be5c898
Author: Suresh Marru <smarru@apache.org>
Authored: Mon Mar 7 14:45:27 2016 -0500
Committer: Suresh Marru <smarru@apache.org>
Committed: Mon Mar 7 14:45:27 2016 -0500

----------------------------------------------------------------------
 .../Model/AppCatalog/AppInterface/Types.php     | 23 ++++++++++++++++++++
 .../Airavata/Model/Experiment/Types.php         | 23 ++++++++++++++++++++
 app/libraries/Airavata/Model/Process/Types.php  | 23 ++++++++++++++++++++
 app/libraries/Airavata/Model/Task/Types.php     |  2 ++
 4 files changed, 71 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0a54650e/app/libraries/Airavata/Model/AppCatalog/AppInterface/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/AppCatalog/AppInterface/Types.php b/app/libraries/Airavata/Model/AppCatalog/AppInterface/Types.php
index 1d09112..e2143f0 100644
--- a/app/libraries/Airavata/Model/AppCatalog/AppInterface/Types.php
+++ b/app/libraries/Airavata/Model/AppCatalog/AppInterface/Types.php
@@ -57,6 +57,10 @@ class ApplicationInterfaceDescription {
    * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
    */
   public $applicationOutputs = null;
+  /**
+   * @var bool
+   */
+  public $archiveWorkingDirectory = false;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -99,6 +103,10 @@ class ApplicationInterfaceDescription {
             'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
             ),
           ),
+        7 => array(
+          'var' => 'archiveWorkingDirectory',
+          'type' => TType::BOOL,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -120,6 +128,9 @@ class ApplicationInterfaceDescription {
       if (isset($vals['applicationOutputs'])) {
         $this->applicationOutputs = $vals['applicationOutputs'];
       }
+      if (isset($vals['archiveWorkingDirectory'])) {
+        $this->archiveWorkingDirectory = $vals['archiveWorkingDirectory'];
+      }
     }
   }
 
@@ -216,6 +227,13 @@ class ApplicationInterfaceDescription {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 7:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->archiveWorkingDirectory);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -295,6 +313,11 @@ class ApplicationInterfaceDescription {
       }
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->archiveWorkingDirectory !== null) {
+      $xfer += $output->writeFieldBegin('archiveWorkingDirectory', TType::BOOL, 7);
+      $xfer += $output->writeBool($this->archiveWorkingDirectory);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0a54650e/app/libraries/Airavata/Model/Experiment/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Experiment/Types.php b/app/libraries/Airavata/Model/Experiment/Types.php
index 20587b6..0335092 100644
--- a/app/libraries/Airavata/Model/Experiment/Types.php
+++ b/app/libraries/Airavata/Model/Experiment/Types.php
@@ -409,6 +409,10 @@ class ExperimentModel {
    * @var \Airavata\Model\Process\ProcessModel[]
    */
   public $processes = null;
+  /**
+   * @var bool
+   */
+  public $archive = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -515,6 +519,10 @@ class ExperimentModel {
             'class' => '\Airavata\Model\Process\ProcessModel',
             ),
           ),
+        20 => array(
+          'var' => 'archive',
+          'type' => TType::BOOL,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -575,6 +583,9 @@ class ExperimentModel {
       if (isset($vals['processes'])) {
         $this->processes = $vals['processes'];
       }
+      if (isset($vals['archive'])) {
+        $this->archive = $vals['archive'];
+      }
     }
   }
 
@@ -786,6 +797,13 @@ class ExperimentModel {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 20:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->archive);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -960,6 +978,11 @@ class ExperimentModel {
       }
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->archive !== null) {
+      $xfer += $output->writeFieldBegin('archive', TType::BOOL, 20);
+      $xfer += $output->writeBool($this->archive);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0a54650e/app/libraries/Airavata/Model/Process/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Process/Types.php b/app/libraries/Airavata/Model/Process/Types.php
index c0000d0..41187c5 100644
--- a/app/libraries/Airavata/Model/Process/Types.php
+++ b/app/libraries/Airavata/Model/Process/Types.php
@@ -117,6 +117,10 @@ class ProcessModel {
    * @var string
    */
   public $experimentDataDir = null;
+  /**
+   * @var bool
+   */
+  public $archive = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -231,6 +235,10 @@ class ProcessModel {
           'var' => 'experimentDataDir',
           'type' => TType::STRING,
           ),
+        23 => array(
+          'var' => 'archive',
+          'type' => TType::BOOL,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -300,6 +308,9 @@ class ProcessModel {
       if (isset($vals['experimentDataDir'])) {
         $this->experimentDataDir = $vals['experimentDataDir'];
       }
+      if (isset($vals['archive'])) {
+        $this->archive = $vals['archive'];
+      }
     }
   }
 
@@ -522,6 +533,13 @@ class ProcessModel {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 23:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->archive);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -702,6 +720,11 @@ class ProcessModel {
       $xfer += $output->writeString($this->experimentDataDir);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->archive !== null) {
+      $xfer += $output->writeFieldBegin('archive', TType::BOOL, 23);
+      $xfer += $output->writeBool($this->archive);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0a54650e/app/libraries/Airavata/Model/Task/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Task/Types.php b/app/libraries/Airavata/Model/Task/Types.php
index fcf5994..2997652 100644
--- a/app/libraries/Airavata/Model/Task/Types.php
+++ b/app/libraries/Airavata/Model/Task/Types.php
@@ -48,9 +48,11 @@ final class TaskTypes {
 final class DataStageType {
   const INPUT = 0;
   const OUPUT = 1;
+  const ARCHIVE_OUTPUT = 2;
   static public $__names = array(
     0 => 'INPUT',
     1 => 'OUPUT',
+    2 => 'ARCHIVE_OUTPUT',
   );
 }
 


Mime
View raw message