airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [1/4] airavata git commit: Adding getAllApplicationDescriptions methods and fixing a type in model
Date Thu, 13 Nov 2014 20:59:07 GMT
Repository: airavata
Updated Branches:
  refs/heads/safekeeping 047a5c1ed -> 27deac001


http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
index 20134a8..99fda92 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
@@ -48,12 +48,13 @@ interface AiravataIf {
   public function registerApplicationModule(\Airavata\Model\AppCatalog\AppDeployment\ApplicationModule $applicationModule);
   public function getApplicationModule($appModuleId);
   public function updateApplicationModule($appModuleId, \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule $applicationModule);
-  public function getAllModules();
+  public function getAllAppModules();
   public function deleteApplicationModule($appModuleId);
   public function registerApplicationDeployment(\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription $applicationDeployment);
   public function getApplicationDeployment($appDeploymentId);
   public function updateApplicationDeployment($appDeploymentId, \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription $applicationDeployment);
   public function deleteApplicationDeployment($appDeploymentId);
+  public function getAllApplicationDeployments();
   public function getAppModuleDeployedResources($appModuleId);
   public function registerApplicationInterface(\Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription $applicationInterface);
   public function getApplicationInterface($appInterfaceId);
@@ -2012,33 +2013,33 @@ class AiravataClient implements \Airavata\API\AiravataIf {
     throw new \Exception("updateApplicationModule failed: unknown result");
   }
 
-  public function getAllModules()
+  public function getAllAppModules()
   {
-    $this->send_getAllModules();
-    return $this->recv_getAllModules();
+    $this->send_getAllAppModules();
+    return $this->recv_getAllAppModules();
   }
 
-  public function send_getAllModules()
+  public function send_getAllAppModules()
   {
-    $args = new \Airavata\API\Airavata_getAllModules_args();
+    $args = new \Airavata\API\Airavata_getAllAppModules_args();
     $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
     if ($bin_accel)
     {
-      thrift_protocol_write_binary($this->output_, 'getAllModules', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+      thrift_protocol_write_binary($this->output_, 'getAllAppModules', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
     }
     else
     {
-      $this->output_->writeMessageBegin('getAllModules', TMessageType::CALL, $this->seqid_);
+      $this->output_->writeMessageBegin('getAllAppModules', TMessageType::CALL, $this->seqid_);
       $args->write($this->output_);
       $this->output_->writeMessageEnd();
       $this->output_->getTransport()->flush();
     }
   }
 
-  public function recv_getAllModules()
+  public function recv_getAllAppModules()
   {
     $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_getAllModules_result', $this->input_->isStrictRead());
+    if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_getAllAppModules_result', $this->input_->isStrictRead());
     else
     {
       $rseqid = 0;
@@ -2052,7 +2053,7 @@ class AiravataClient implements \Airavata\API\AiravataIf {
         $this->input_->readMessageEnd();
         throw $x;
       }
-      $result = new \Airavata\API\Airavata_getAllModules_result();
+      $result = new \Airavata\API\Airavata_getAllAppModules_result();
       $result->read($this->input_);
       $this->input_->readMessageEnd();
     }
@@ -2068,7 +2069,7 @@ class AiravataClient implements \Airavata\API\AiravataIf {
     if ($result->ase !== null) {
       throw $result->ase;
     }
-    throw new \Exception("getAllModules failed: unknown result");
+    throw new \Exception("getAllAppModules failed: unknown result");
   }
 
   public function deleteApplicationModule($appModuleId)
@@ -2372,6 +2373,65 @@ class AiravataClient implements \Airavata\API\AiravataIf {
     throw new \Exception("deleteApplicationDeployment failed: unknown result");
   }
 
+  public function getAllApplicationDeployments()
+  {
+    $this->send_getAllApplicationDeployments();
+    return $this->recv_getAllApplicationDeployments();
+  }
+
+  public function send_getAllApplicationDeployments()
+  {
+    $args = new \Airavata\API\Airavata_getAllApplicationDeployments_args();
+    $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+    if ($bin_accel)
+    {
+      thrift_protocol_write_binary($this->output_, 'getAllApplicationDeployments', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+    }
+    else
+    {
+      $this->output_->writeMessageBegin('getAllApplicationDeployments', TMessageType::CALL, $this->seqid_);
+      $args->write($this->output_);
+      $this->output_->writeMessageEnd();
+      $this->output_->getTransport()->flush();
+    }
+  }
+
+  public function recv_getAllApplicationDeployments()
+  {
+    $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_getAllApplicationDeployments_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_getAllApplicationDeployments_result();
+      $result->read($this->input_);
+      $this->input_->readMessageEnd();
+    }
+    if ($result->success !== null) {
+      return $result->success;
+    }
+    if ($result->ire !== null) {
+      throw $result->ire;
+    }
+    if ($result->ace !== null) {
+      throw $result->ace;
+    }
+    if ($result->ase !== null) {
+      throw $result->ase;
+    }
+    throw new \Exception("getAllApplicationDeployments failed: unknown result");
+  }
+
   public function getAppModuleDeployedResources($appModuleId)
   {
     $this->send_getAppModuleDeployedResources($appModuleId);
@@ -13444,7 +13504,7 @@ class Airavata_updateApplicationModule_result {
 
 }
 
-class Airavata_getAllModules_args {
+class Airavata_getAllAppModules_args {
   static $_TSPEC;
 
 
@@ -13456,7 +13516,7 @@ class Airavata_getAllModules_args {
   }
 
   public function getName() {
-    return 'Airavata_getAllModules_args';
+    return 'Airavata_getAllAppModules_args';
   }
 
   public function read($input)
@@ -13486,7 +13546,7 @@ class Airavata_getAllModules_args {
 
   public function write($output) {
     $xfer = 0;
-    $xfer += $output->writeStructBegin('Airavata_getAllModules_args');
+    $xfer += $output->writeStructBegin('Airavata_getAllAppModules_args');
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;
@@ -13494,7 +13554,7 @@ class Airavata_getAllModules_args {
 
 }
 
-class Airavata_getAllModules_result {
+class Airavata_getAllAppModules_result {
   static $_TSPEC;
 
   public $success = null;
@@ -13548,7 +13608,7 @@ class Airavata_getAllModules_result {
   }
 
   public function getName() {
-    return 'Airavata_getAllModules_result';
+    return 'Airavata_getAllAppModules_result';
   }
 
   public function read($input)
@@ -13620,7 +13680,7 @@ class Airavata_getAllModules_result {
 
   public function write($output) {
     $xfer = 0;
-    $xfer += $output->writeStructBegin('Airavata_getAllModules_result');
+    $xfer += $output->writeStructBegin('Airavata_getAllAppModules_result');
     if ($this->success !== null) {
       if (!is_array($this->success)) {
         throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -14745,6 +14805,222 @@ class Airavata_deleteApplicationDeployment_result {
 
 }
 
+class Airavata_getAllApplicationDeployments_args {
+  static $_TSPEC;
+
+
+  public function __construct() {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        );
+    }
+  }
+
+  public function getName() {
+    return 'Airavata_getAllApplicationDeployments_args';
+  }
+
+  public function read($input)
+  {
+    $xfer = 0;
+    $fname = null;
+    $ftype = 0;
+    $fid = 0;
+    $xfer += $input->readStructBegin($fname);
+    while (true)
+    {
+      $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+      if ($ftype == TType::STOP) {
+        break;
+      }
+      switch ($fid)
+      {
+        default:
+          $xfer += $input->skip($ftype);
+          break;
+      }
+      $xfer += $input->readFieldEnd();
+    }
+    $xfer += $input->readStructEnd();
+    return $xfer;
+  }
+
+  public function write($output) {
+    $xfer = 0;
+    $xfer += $output->writeStructBegin('Airavata_getAllApplicationDeployments_args');
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
+class Airavata_getAllApplicationDeployments_result {
+  static $_TSPEC;
+
+  public $success = null;
+  public $ire = null;
+  public $ace = null;
+  public $ase = null;
+
+  public function __construct($vals=null) {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        0 => array(
+          'var' => 'success',
+          'type' => TType::LST,
+          'etype' => TType::STRUCT,
+          'elem' => array(
+            'type' => TType::STRUCT,
+            'class' => '\Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription',
+            ),
+          ),
+        1 => array(
+          'var' => 'ire',
+          'type' => TType::STRUCT,
+          'class' => '\Airavata\API\Error\InvalidRequestException',
+          ),
+        2 => array(
+          'var' => 'ace',
+          'type' => TType::STRUCT,
+          'class' => '\Airavata\API\Error\AiravataClientException',
+          ),
+        3 => array(
+          'var' => 'ase',
+          'type' => TType::STRUCT,
+          'class' => '\Airavata\API\Error\AiravataSystemException',
+          ),
+        );
+    }
+    if (is_array($vals)) {
+      if (isset($vals['success'])) {
+        $this->success = $vals['success'];
+      }
+      if (isset($vals['ire'])) {
+        $this->ire = $vals['ire'];
+      }
+      if (isset($vals['ace'])) {
+        $this->ace = $vals['ace'];
+      }
+      if (isset($vals['ase'])) {
+        $this->ase = $vals['ase'];
+      }
+    }
+  }
+
+  public function getName() {
+    return 'Airavata_getAllApplicationDeployments_result';
+  }
+
+  public function read($input)
+  {
+    $xfer = 0;
+    $fname = null;
+    $ftype = 0;
+    $fid = 0;
+    $xfer += $input->readStructBegin($fname);
+    while (true)
+    {
+      $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+      if ($ftype == TType::STOP) {
+        break;
+      }
+      switch ($fid)
+      {
+        case 0:
+          if ($ftype == TType::LST) {
+            $this->success = array();
+            $_size107 = 0;
+            $_etype110 = 0;
+            $xfer += $input->readListBegin($_etype110, $_size107);
+            for ($_i111 = 0; $_i111 < $_size107; ++$_i111)
+            {
+              $elem112 = null;
+              $elem112 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription();
+              $xfer += $elem112->read($input);
+              $this->success []= $elem112;
+            }
+            $xfer += $input->readListEnd();
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 1:
+          if ($ftype == TType::STRUCT) {
+            $this->ire = new \Airavata\API\Error\InvalidRequestException();
+            $xfer += $this->ire->read($input);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 2:
+          if ($ftype == TType::STRUCT) {
+            $this->ace = new \Airavata\API\Error\AiravataClientException();
+            $xfer += $this->ace->read($input);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 3:
+          if ($ftype == TType::STRUCT) {
+            $this->ase = new \Airavata\API\Error\AiravataSystemException();
+            $xfer += $this->ase->read($input);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        default:
+          $xfer += $input->skip($ftype);
+          break;
+      }
+      $xfer += $input->readFieldEnd();
+    }
+    $xfer += $input->readStructEnd();
+    return $xfer;
+  }
+
+  public function write($output) {
+    $xfer = 0;
+    $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::STRUCT, count($this->success));
+        {
+          foreach ($this->success as $iter113)
+          {
+            $xfer += $iter113->write($output);
+          }
+        }
+        $output->writeListEnd();
+      }
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->ire !== null) {
+      $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
+      $xfer += $this->ire->write($output);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->ace !== null) {
+      $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
+      $xfer += $this->ace->write($output);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->ase !== null) {
+      $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
+      $xfer += $this->ase->write($output);
+      $xfer += $output->writeFieldEnd();
+    }
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
 class Airavata_getAppModuleDeployedResources_args {
   static $_TSPEC;
 
@@ -14891,14 +15167,14 @@ class Airavata_getAppModuleDeployedResources_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size107 = 0;
-            $_etype110 = 0;
-            $xfer += $input->readListBegin($_etype110, $_size107);
-            for ($_i111 = 0; $_i111 < $_size107; ++$_i111)
+            $_size114 = 0;
+            $_etype117 = 0;
+            $xfer += $input->readListBegin($_etype117, $_size114);
+            for ($_i118 = 0; $_i118 < $_size114; ++$_i118)
             {
-              $elem112 = null;
-              $xfer += $input->readString($elem112);
-              $this->success []= $elem112;
+              $elem119 = null;
+              $xfer += $input->readString($elem119);
+              $this->success []= $elem119;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -14950,9 +15226,9 @@ class Airavata_getAppModuleDeployedResources_result {
       {
         $output->writeListBegin(TType::STRING, count($this->success));
         {
-          foreach ($this->success as $iter113)
+          foreach ($this->success as $iter120)
           {
-            $xfer += $output->writeString($iter113);
+            $xfer += $output->writeString($iter120);
           }
         }
         $output->writeListEnd();
@@ -15984,17 +16260,17 @@ class Airavata_getAllApplicationInterfaceNames_result {
         case 0:
           if ($ftype == TType::MAP) {
             $this->success = array();
-            $_size114 = 0;
-            $_ktype115 = 0;
-            $_vtype116 = 0;
-            $xfer += $input->readMapBegin($_ktype115, $_vtype116, $_size114);
-            for ($_i118 = 0; $_i118 < $_size114; ++$_i118)
+            $_size121 = 0;
+            $_ktype122 = 0;
+            $_vtype123 = 0;
+            $xfer += $input->readMapBegin($_ktype122, $_vtype123, $_size121);
+            for ($_i125 = 0; $_i125 < $_size121; ++$_i125)
             {
-              $key119 = '';
-              $val120 = '';
-              $xfer += $input->readString($key119);
-              $xfer += $input->readString($val120);
-              $this->success[$key119] = $val120;
+              $key126 = '';
+              $val127 = '';
+              $xfer += $input->readString($key126);
+              $xfer += $input->readString($val127);
+              $this->success[$key126] = $val127;
             }
             $xfer += $input->readMapEnd();
           } else {
@@ -16046,10 +16322,10 @@ class Airavata_getAllApplicationInterfaceNames_result {
       {
         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
         {
-          foreach ($this->success as $kiter121 => $viter122)
+          foreach ($this->success as $kiter128 => $viter129)
           {
-            $xfer += $output->writeString($kiter121);
-            $xfer += $output->writeString($viter122);
+            $xfer += $output->writeString($kiter128);
+            $xfer += $output->writeString($viter129);
           }
         }
         $output->writeMapEnd();
@@ -16203,15 +16479,15 @@ class Airavata_getAllApplicationInterfaces_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size123 = 0;
-            $_etype126 = 0;
-            $xfer += $input->readListBegin($_etype126, $_size123);
-            for ($_i127 = 0; $_i127 < $_size123; ++$_i127)
+            $_size130 = 0;
+            $_etype133 = 0;
+            $xfer += $input->readListBegin($_etype133, $_size130);
+            for ($_i134 = 0; $_i134 < $_size130; ++$_i134)
             {
-              $elem128 = null;
-              $elem128 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
-              $xfer += $elem128->read($input);
-              $this->success []= $elem128;
+              $elem135 = null;
+              $elem135 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription();
+              $xfer += $elem135->read($input);
+              $this->success []= $elem135;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -16263,9 +16539,9 @@ class Airavata_getAllApplicationInterfaces_result {
       {
         $output->writeListBegin(TType::STRUCT, count($this->success));
         {
-          foreach ($this->success as $iter129)
+          foreach ($this->success as $iter136)
           {
-            $xfer += $iter129->write($output);
+            $xfer += $iter136->write($output);
           }
         }
         $output->writeListEnd();
@@ -16441,15 +16717,15 @@ class Airavata_getApplicationInputs_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size130 = 0;
-            $_etype133 = 0;
-            $xfer += $input->readListBegin($_etype133, $_size130);
-            for ($_i134 = 0; $_i134 < $_size130; ++$_i134)
+            $_size137 = 0;
+            $_etype140 = 0;
+            $xfer += $input->readListBegin($_etype140, $_size137);
+            for ($_i141 = 0; $_i141 < $_size137; ++$_i141)
             {
-              $elem135 = null;
-              $elem135 = new \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType();
-              $xfer += $elem135->read($input);
-              $this->success []= $elem135;
+              $elem142 = null;
+              $elem142 = new \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType();
+              $xfer += $elem142->read($input);
+              $this->success []= $elem142;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -16501,9 +16777,9 @@ class Airavata_getApplicationInputs_result {
       {
         $output->writeListBegin(TType::STRUCT, count($this->success));
         {
-          foreach ($this->success as $iter136)
+          foreach ($this->success as $iter143)
           {
-            $xfer += $iter136->write($output);
+            $xfer += $iter143->write($output);
           }
         }
         $output->writeListEnd();
@@ -16679,15 +16955,15 @@ class Airavata_getApplicationOutputs_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size137 = 0;
-            $_etype140 = 0;
-            $xfer += $input->readListBegin($_etype140, $_size137);
-            for ($_i141 = 0; $_i141 < $_size137; ++$_i141)
+            $_size144 = 0;
+            $_etype147 = 0;
+            $xfer += $input->readListBegin($_etype147, $_size144);
+            for ($_i148 = 0; $_i148 < $_size144; ++$_i148)
             {
-              $elem142 = null;
-              $elem142 = new \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType();
-              $xfer += $elem142->read($input);
-              $this->success []= $elem142;
+              $elem149 = null;
+              $elem149 = new \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType();
+              $xfer += $elem149->read($input);
+              $this->success []= $elem149;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -16739,9 +17015,9 @@ class Airavata_getApplicationOutputs_result {
       {
         $output->writeListBegin(TType::STRUCT, count($this->success));
         {
-          foreach ($this->success as $iter143)
+          foreach ($this->success as $iter150)
           {
-            $xfer += $iter143->write($output);
+            $xfer += $iter150->write($output);
           }
         }
         $output->writeListEnd();
@@ -16920,17 +17196,17 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
         case 0:
           if ($ftype == TType::MAP) {
             $this->success = array();
-            $_size144 = 0;
-            $_ktype145 = 0;
-            $_vtype146 = 0;
-            $xfer += $input->readMapBegin($_ktype145, $_vtype146, $_size144);
-            for ($_i148 = 0; $_i148 < $_size144; ++$_i148)
+            $_size151 = 0;
+            $_ktype152 = 0;
+            $_vtype153 = 0;
+            $xfer += $input->readMapBegin($_ktype152, $_vtype153, $_size151);
+            for ($_i155 = 0; $_i155 < $_size151; ++$_i155)
             {
-              $key149 = '';
-              $val150 = '';
-              $xfer += $input->readString($key149);
-              $xfer += $input->readString($val150);
-              $this->success[$key149] = $val150;
+              $key156 = '';
+              $val157 = '';
+              $xfer += $input->readString($key156);
+              $xfer += $input->readString($val157);
+              $this->success[$key156] = $val157;
             }
             $xfer += $input->readMapEnd();
           } else {
@@ -16982,10 +17258,10 @@ class Airavata_getAvailableAppInterfaceComputeResources_result {
       {
         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
         {
-          foreach ($this->success as $kiter151 => $viter152)
+          foreach ($this->success as $kiter158 => $viter159)
           {
-            $xfer += $output->writeString($kiter151);
-            $xfer += $output->writeString($viter152);
+            $xfer += $output->writeString($kiter158);
+            $xfer += $output->writeString($viter159);
           }
         }
         $output->writeMapEnd();
@@ -17572,17 +17848,17 @@ class Airavata_getAllComputeResourceNames_result {
         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)
+            $_size160 = 0;
+            $_ktype161 = 0;
+            $_vtype162 = 0;
+            $xfer += $input->readMapBegin($_ktype161, $_vtype162, $_size160);
+            for ($_i164 = 0; $_i164 < $_size160; ++$_i164)
             {
-              $key158 = '';
-              $val159 = '';
-              $xfer += $input->readString($key158);
-              $xfer += $input->readString($val159);
-              $this->success[$key158] = $val159;
+              $key165 = '';
+              $val166 = '';
+              $xfer += $input->readString($key165);
+              $xfer += $input->readString($val166);
+              $this->success[$key165] = $val166;
             }
             $xfer += $input->readMapEnd();
           } else {
@@ -17634,10 +17910,10 @@ class Airavata_getAllComputeResourceNames_result {
       {
         $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
         {
-          foreach ($this->success as $kiter160 => $viter161)
+          foreach ($this->success as $kiter167 => $viter168)
           {
-            $xfer += $output->writeString($kiter160);
-            $xfer += $output->writeString($viter161);
+            $xfer += $output->writeString($kiter167);
+            $xfer += $output->writeString($viter168);
           }
         }
         $output->writeMapEnd();
@@ -23322,17 +23598,17 @@ class Airavata_changeJobSubmissionPriorities_args {
         case 1:
           if ($ftype == TType::MAP) {
             $this->jobSubmissionPriorityMap = array();
-            $_size162 = 0;
-            $_ktype163 = 0;
-            $_vtype164 = 0;
-            $xfer += $input->readMapBegin($_ktype163, $_vtype164, $_size162);
-            for ($_i166 = 0; $_i166 < $_size162; ++$_i166)
+            $_size169 = 0;
+            $_ktype170 = 0;
+            $_vtype171 = 0;
+            $xfer += $input->readMapBegin($_ktype170, $_vtype171, $_size169);
+            for ($_i173 = 0; $_i173 < $_size169; ++$_i173)
             {
-              $key167 = '';
-              $val168 = 0;
-              $xfer += $input->readString($key167);
-              $xfer += $input->readI32($val168);
-              $this->jobSubmissionPriorityMap[$key167] = $val168;
+              $key174 = '';
+              $val175 = 0;
+              $xfer += $input->readString($key174);
+              $xfer += $input->readI32($val175);
+              $this->jobSubmissionPriorityMap[$key174] = $val175;
             }
             $xfer += $input->readMapEnd();
           } else {
@@ -23360,10 +23636,10 @@ class Airavata_changeJobSubmissionPriorities_args {
       {
         $output->writeMapBegin(TType::STRING, TType::I32, count($this->jobSubmissionPriorityMap));
         {
-          foreach ($this->jobSubmissionPriorityMap as $kiter169 => $viter170)
+          foreach ($this->jobSubmissionPriorityMap as $kiter176 => $viter177)
           {
-            $xfer += $output->writeString($kiter169);
-            $xfer += $output->writeI32($viter170);
+            $xfer += $output->writeString($kiter176);
+            $xfer += $output->writeI32($viter177);
           }
         }
         $output->writeMapEnd();
@@ -23566,17 +23842,17 @@ class Airavata_changeDataMovementPriorities_args {
         case 1:
           if ($ftype == TType::MAP) {
             $this->dataMovementPriorityMap = array();
-            $_size171 = 0;
-            $_ktype172 = 0;
-            $_vtype173 = 0;
-            $xfer += $input->readMapBegin($_ktype172, $_vtype173, $_size171);
-            for ($_i175 = 0; $_i175 < $_size171; ++$_i175)
+            $_size178 = 0;
+            $_ktype179 = 0;
+            $_vtype180 = 0;
+            $xfer += $input->readMapBegin($_ktype179, $_vtype180, $_size178);
+            for ($_i182 = 0; $_i182 < $_size178; ++$_i182)
             {
-              $key176 = '';
-              $val177 = 0;
-              $xfer += $input->readString($key176);
-              $xfer += $input->readI32($val177);
-              $this->dataMovementPriorityMap[$key176] = $val177;
+              $key183 = '';
+              $val184 = 0;
+              $xfer += $input->readString($key183);
+              $xfer += $input->readI32($val184);
+              $this->dataMovementPriorityMap[$key183] = $val184;
             }
             $xfer += $input->readMapEnd();
           } else {
@@ -23604,10 +23880,10 @@ class Airavata_changeDataMovementPriorities_args {
       {
         $output->writeMapBegin(TType::STRING, TType::I32, count($this->dataMovementPriorityMap));
         {
-          foreach ($this->dataMovementPriorityMap as $kiter178 => $viter179)
+          foreach ($this->dataMovementPriorityMap as $kiter185 => $viter186)
           {
-            $xfer += $output->writeString($kiter178);
-            $xfer += $output->writeI32($viter179);
+            $xfer += $output->writeString($kiter185);
+            $xfer += $output->writeI32($viter186);
           }
         }
         $output->writeMapEnd();
@@ -26836,15 +27112,15 @@ class Airavata_getAllGatewayComputeResourcePreferences_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size180 = 0;
-            $_etype183 = 0;
-            $xfer += $input->readListBegin($_etype183, $_size180);
-            for ($_i184 = 0; $_i184 < $_size180; ++$_i184)
+            $_size187 = 0;
+            $_etype190 = 0;
+            $xfer += $input->readListBegin($_etype190, $_size187);
+            for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
             {
-              $elem185 = null;
-              $elem185 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference();
-              $xfer += $elem185->read($input);
-              $this->success []= $elem185;
+              $elem192 = null;
+              $elem192 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference();
+              $xfer += $elem192->read($input);
+              $this->success []= $elem192;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -26896,9 +27172,9 @@ class Airavata_getAllGatewayComputeResourcePreferences_result {
       {
         $output->writeListBegin(TType::STRUCT, count($this->success));
         {
-          foreach ($this->success as $iter186)
+          foreach ($this->success as $iter193)
           {
-            $xfer += $iter186->write($output);
+            $xfer += $iter193->write($output);
           }
         }
         $output->writeListEnd();
@@ -27536,14 +27812,14 @@ class Airavata_getAllWorkflows_result {
         case 0:
           if ($ftype == TType::LST) {
             $this->success = array();
-            $_size187 = 0;
-            $_etype190 = 0;
-            $xfer += $input->readListBegin($_etype190, $_size187);
-            for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
+            $_size194 = 0;
+            $_etype197 = 0;
+            $xfer += $input->readListBegin($_etype197, $_size194);
+            for ($_i198 = 0; $_i198 < $_size194; ++$_i198)
             {
-              $elem192 = null;
-              $xfer += $input->readString($elem192);
-              $this->success []= $elem192;
+              $elem199 = null;
+              $xfer += $input->readString($elem199);
+              $this->success []= $elem199;
             }
             $xfer += $input->readListEnd();
           } else {
@@ -27595,9 +27871,9 @@ class Airavata_getAllWorkflows_result {
       {
         $output->writeListBegin(TType::STRING, count($this->success));
         {
-          foreach ($this->success as $iter193)
+          foreach ($this->success as $iter200)
           {
-            $xfer += $output->writeString($iter193);
+            $xfer += $output->writeString($iter200);
           }
         }
         $output->writeListEnd();

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/AppCatalog/AppInterface/Types.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/AppCatalog/AppInterface/Types.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/AppCatalog/AppInterface/Types.php
index 07b5c9e..dea53d6 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/AppCatalog/AppInterface/Types.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/AppCatalog/AppInterface/Types.php
@@ -339,7 +339,7 @@ class ApplicationInterfaceDescription {
 
   public $applicationInterfaceId = "DO_NOT_SET_AT_CLIENTS";
   public $applicationName = null;
-  public $applicationDesription = null;
+  public $applicationDescription = null;
   public $applicationModules = null;
   public $applicationInputs = null;
   public $applicationOutputs = null;
@@ -356,7 +356,7 @@ class ApplicationInterfaceDescription {
           'type' => TType::STRING,
           ),
         3 => array(
-          'var' => 'applicationDesription',
+          'var' => 'applicationDescription',
           'type' => TType::STRING,
           ),
         4 => array(
@@ -394,8 +394,8 @@ class ApplicationInterfaceDescription {
       if (isset($vals['applicationName'])) {
         $this->applicationName = $vals['applicationName'];
       }
-      if (isset($vals['applicationDesription'])) {
-        $this->applicationDesription = $vals['applicationDesription'];
+      if (isset($vals['applicationDescription'])) {
+        $this->applicationDescription = $vals['applicationDescription'];
       }
       if (isset($vals['applicationModules'])) {
         $this->applicationModules = $vals['applicationModules'];
@@ -444,7 +444,7 @@ class ApplicationInterfaceDescription {
           break;
         case 3:
           if ($ftype == TType::STRING) {
-            $xfer += $input->readString($this->applicationDesription);
+            $xfer += $input->readString($this->applicationDescription);
           } else {
             $xfer += $input->skip($ftype);
           }
@@ -525,9 +525,9 @@ class ApplicationInterfaceDescription {
       $xfer += $output->writeString($this->applicationName);
       $xfer += $output->writeFieldEnd();
     }
-    if ($this->applicationDesription !== null) {
-      $xfer += $output->writeFieldBegin('applicationDesription', TType::STRING, 3);
-      $xfer += $output->writeString($this->applicationDesription);
+    if ($this->applicationDescription !== null) {
+      $xfer += $output->writeFieldBegin('applicationDescription', TType::STRING, 3);
+      $xfer += $output->writeString($this->applicationDescription);
       $xfer += $output->writeFieldEnd();
     }
     if ($this->applicationModules !== null) {

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
index df5f939..9987965 100755
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
@@ -50,7 +50,7 @@ try
 
         $appInterface = new ApplicationInterfaceDescription();
         $appInterface->applicationName = $appName;
-        $appInterface->applicationDesription = $appDescription;
+        $appInterface->applicationDescription = $appDescription;
 
         //Add the module provided in argument. If you would like to add multiple modules, you may modify this script or
         // use the updateAppInterface.php script

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/tools/RegisterSampleApplicationsUtils.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/tools/RegisterSampleApplicationsUtils.java b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/tools/RegisterSampleApplicationsUtils.java
index 57bcc27..602ec85 100644
--- a/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/tools/RegisterSampleApplicationsUtils.java
+++ b/airavata-api/airavata-client-sdks/java-client-samples/src/main/java/org/apache/airavata/client/tools/RegisterSampleApplicationsUtils.java
@@ -142,12 +142,12 @@ public class RegisterSampleApplicationsUtils {
     }
 
     public static ApplicationInterfaceDescription createApplicationInterfaceDescription
-            (String applicationName, String applicationDesription, List<String> applicationModules,
+            (String applicationName, String applicationDescription, List<String> applicationModules,
             List<InputDataObjectType> applicationInputs, List<OutputDataObjectType>applicationOutputs) {
         ApplicationInterfaceDescription applicationInterfaceDescription = new ApplicationInterfaceDescription();
 
         applicationInterfaceDescription.setApplicationName(applicationName);
-        if (applicationDesription != null) applicationInterfaceDescription.setApplicationDesription(applicationDesription);
+        if (applicationDescription != null) applicationInterfaceDescription.setApplicationDescription(applicationDescription);
         if (applicationModules != null) applicationInterfaceDescription.setApplicationModules(applicationModules);
         if (applicationInputs != null) applicationInterfaceDescription.setApplicationInputs(applicationInputs);
         if (applicationOutputs != null) applicationInterfaceDescription.setApplicationOutputs(applicationOutputs);

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
index 4a807a6..8fa5a7e 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
@@ -67,7 +67,7 @@ import org.slf4j.LoggerFactory;
 
   private static final org.apache.thrift.protocol.TField APPLICATION_INTERFACE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationInterfaceId", org.apache.thrift.protocol.TType.STRING, (short)1);
   private static final org.apache.thrift.protocol.TField APPLICATION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationName", org.apache.thrift.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift.protocol.TField APPLICATION_DESRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationDesription", org.apache.thrift.protocol.TType.STRING, (short)3);
+  private static final org.apache.thrift.protocol.TField APPLICATION_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationDescription", org.apache.thrift.protocol.TType.STRING, (short)3);
   private static final org.apache.thrift.protocol.TField APPLICATION_MODULES_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationModules", org.apache.thrift.protocol.TType.LIST, (short)4);
   private static final org.apache.thrift.protocol.TField APPLICATION_INPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationInputs", org.apache.thrift.protocol.TType.LIST, (short)5);
   private static final org.apache.thrift.protocol.TField APPLICATION_OUTPUTS_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationOutputs", org.apache.thrift.protocol.TType.LIST, (short)6);
@@ -80,7 +80,7 @@ import org.slf4j.LoggerFactory;
 
   private String applicationInterfaceId; // required
   private String applicationName; // required
-  private String applicationDesription; // optional
+  private String applicationDescription; // optional
   private List<String> applicationModules; // optional
   private List<InputDataObjectType> applicationInputs; // optional
   private List<OutputDataObjectType> applicationOutputs; // optional
@@ -89,7 +89,7 @@ import org.slf4j.LoggerFactory;
   @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
     APPLICATION_INTERFACE_ID((short)1, "applicationInterfaceId"),
     APPLICATION_NAME((short)2, "applicationName"),
-    APPLICATION_DESRIPTION((short)3, "applicationDesription"),
+    APPLICATION_DESCRIPTION((short)3, "applicationDescription"),
     APPLICATION_MODULES((short)4, "applicationModules"),
     APPLICATION_INPUTS((short)5, "applicationInputs"),
     APPLICATION_OUTPUTS((short)6, "applicationOutputs");
@@ -111,8 +111,8 @@ import org.slf4j.LoggerFactory;
           return APPLICATION_INTERFACE_ID;
         case 2: // APPLICATION_NAME
           return APPLICATION_NAME;
-        case 3: // APPLICATION_DESRIPTION
-          return APPLICATION_DESRIPTION;
+        case 3: // APPLICATION_DESCRIPTION
+          return APPLICATION_DESCRIPTION;
         case 4: // APPLICATION_MODULES
           return APPLICATION_MODULES;
         case 5: // APPLICATION_INPUTS
@@ -159,7 +159,7 @@ import org.slf4j.LoggerFactory;
   }
 
   // isset id assignments
-  private _Fields optionals[] = {_Fields.APPLICATION_DESRIPTION,_Fields.APPLICATION_MODULES,_Fields.APPLICATION_INPUTS,_Fields.APPLICATION_OUTPUTS};
+  private _Fields optionals[] = {_Fields.APPLICATION_DESCRIPTION,_Fields.APPLICATION_MODULES,_Fields.APPLICATION_INPUTS,_Fields.APPLICATION_OUTPUTS};
   public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
   static {
     Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -167,7 +167,7 @@ import org.slf4j.LoggerFactory;
         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
     tmpMap.put(_Fields.APPLICATION_NAME, new org.apache.thrift.meta_data.FieldMetaData("applicationName", org.apache.thrift.TFieldRequirementType.REQUIRED, 
         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.APPLICATION_DESRIPTION, new org.apache.thrift.meta_data.FieldMetaData("applicationDesription", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+    tmpMap.put(_Fields.APPLICATION_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("applicationDescription", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
     tmpMap.put(_Fields.APPLICATION_MODULES, new org.apache.thrift.meta_data.FieldMetaData("applicationModules", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
         new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
@@ -206,8 +206,8 @@ import org.slf4j.LoggerFactory;
     if (other.isSetApplicationName()) {
       this.applicationName = other.applicationName;
     }
-    if (other.isSetApplicationDesription()) {
-      this.applicationDesription = other.applicationDesription;
+    if (other.isSetApplicationDescription()) {
+      this.applicationDescription = other.applicationDescription;
     }
     if (other.isSetApplicationModules()) {
       List<String> __this__applicationModules = new ArrayList<String>(other.applicationModules);
@@ -238,7 +238,7 @@ import org.slf4j.LoggerFactory;
     this.applicationInterfaceId = "DO_NOT_SET_AT_CLIENTS";
 
     this.applicationName = null;
-    this.applicationDesription = null;
+    this.applicationDescription = null;
     this.applicationModules = null;
     this.applicationInputs = null;
     this.applicationOutputs = null;
@@ -290,26 +290,26 @@ import org.slf4j.LoggerFactory;
     }
   }
 
-  public String getApplicationDesription() {
-    return this.applicationDesription;
+  public String getApplicationDescription() {
+    return this.applicationDescription;
   }
 
-  public void setApplicationDesription(String applicationDesription) {
-    this.applicationDesription = applicationDesription;
+  public void setApplicationDescription(String applicationDescription) {
+    this.applicationDescription = applicationDescription;
   }
 
-  public void unsetApplicationDesription() {
-    this.applicationDesription = null;
+  public void unsetApplicationDescription() {
+    this.applicationDescription = null;
   }
 
-  /** Returns true if field applicationDesription is set (has been assigned a value) and false otherwise */
-  public boolean isSetApplicationDesription() {
-    return this.applicationDesription != null;
+  /** Returns true if field applicationDescription is set (has been assigned a value) and false otherwise */
+  public boolean isSetApplicationDescription() {
+    return this.applicationDescription != null;
   }
 
-  public void setApplicationDesriptionIsSet(boolean value) {
+  public void setApplicationDescriptionIsSet(boolean value) {
     if (!value) {
-      this.applicationDesription = null;
+      this.applicationDescription = null;
     }
   }
 
@@ -445,11 +445,11 @@ import org.slf4j.LoggerFactory;
       }
       break;
 
-    case APPLICATION_DESRIPTION:
+    case APPLICATION_DESCRIPTION:
       if (value == null) {
-        unsetApplicationDesription();
+        unsetApplicationDescription();
       } else {
-        setApplicationDesription((String)value);
+        setApplicationDescription((String)value);
       }
       break;
 
@@ -488,8 +488,8 @@ import org.slf4j.LoggerFactory;
     case APPLICATION_NAME:
       return getApplicationName();
 
-    case APPLICATION_DESRIPTION:
-      return getApplicationDesription();
+    case APPLICATION_DESCRIPTION:
+      return getApplicationDescription();
 
     case APPLICATION_MODULES:
       return getApplicationModules();
@@ -515,8 +515,8 @@ import org.slf4j.LoggerFactory;
       return isSetApplicationInterfaceId();
     case APPLICATION_NAME:
       return isSetApplicationName();
-    case APPLICATION_DESRIPTION:
-      return isSetApplicationDesription();
+    case APPLICATION_DESCRIPTION:
+      return isSetApplicationDescription();
     case APPLICATION_MODULES:
       return isSetApplicationModules();
     case APPLICATION_INPUTS:
@@ -558,12 +558,12 @@ import org.slf4j.LoggerFactory;
         return false;
     }
 
-    boolean this_present_applicationDesription = true && this.isSetApplicationDesription();
-    boolean that_present_applicationDesription = true && that.isSetApplicationDesription();
-    if (this_present_applicationDesription || that_present_applicationDesription) {
-      if (!(this_present_applicationDesription && that_present_applicationDesription))
+    boolean this_present_applicationDescription = true && this.isSetApplicationDescription();
+    boolean that_present_applicationDescription = true && that.isSetApplicationDescription();
+    if (this_present_applicationDescription || that_present_applicationDescription) {
+      if (!(this_present_applicationDescription && that_present_applicationDescription))
         return false;
-      if (!this.applicationDesription.equals(that.applicationDesription))
+      if (!this.applicationDescription.equals(that.applicationDescription))
         return false;
     }
 
@@ -630,12 +630,12 @@ import org.slf4j.LoggerFactory;
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetApplicationDesription()).compareTo(other.isSetApplicationDesription());
+    lastComparison = Boolean.valueOf(isSetApplicationDescription()).compareTo(other.isSetApplicationDescription());
     if (lastComparison != 0) {
       return lastComparison;
     }
-    if (isSetApplicationDesription()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationDesription, other.applicationDesription);
+    if (isSetApplicationDescription()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationDescription, other.applicationDescription);
       if (lastComparison != 0) {
         return lastComparison;
       }
@@ -705,13 +705,13 @@ import org.slf4j.LoggerFactory;
       sb.append(this.applicationName);
     }
     first = false;
-    if (isSetApplicationDesription()) {
+    if (isSetApplicationDescription()) {
       if (!first) sb.append(", ");
-      sb.append("applicationDesription:");
-      if (this.applicationDesription == null) {
+      sb.append("applicationDescription:");
+      if (this.applicationDescription == null) {
         sb.append("null");
       } else {
-        sb.append(this.applicationDesription);
+        sb.append(this.applicationDescription);
       }
       first = false;
     }
@@ -812,10 +812,10 @@ import org.slf4j.LoggerFactory;
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 3: // APPLICATION_DESRIPTION
+          case 3: // APPLICATION_DESCRIPTION
             if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.applicationDesription = iprot.readString();
-              struct.setApplicationDesriptionIsSet(true);
+              struct.applicationDescription = iprot.readString();
+              struct.setApplicationDescriptionIsSet(true);
             } else { 
               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
@@ -899,10 +899,10 @@ import org.slf4j.LoggerFactory;
         oprot.writeString(struct.applicationName);
         oprot.writeFieldEnd();
       }
-      if (struct.applicationDesription != null) {
-        if (struct.isSetApplicationDesription()) {
-          oprot.writeFieldBegin(APPLICATION_DESRIPTION_FIELD_DESC);
-          oprot.writeString(struct.applicationDesription);
+      if (struct.applicationDescription != null) {
+        if (struct.isSetApplicationDescription()) {
+          oprot.writeFieldBegin(APPLICATION_DESCRIPTION_FIELD_DESC);
+          oprot.writeString(struct.applicationDescription);
           oprot.writeFieldEnd();
         }
       }
@@ -968,7 +968,7 @@ import org.slf4j.LoggerFactory;
       oprot.writeString(struct.applicationInterfaceId);
       oprot.writeString(struct.applicationName);
       BitSet optionals = new BitSet();
-      if (struct.isSetApplicationDesription()) {
+      if (struct.isSetApplicationDescription()) {
         optionals.set(0);
       }
       if (struct.isSetApplicationModules()) {
@@ -981,8 +981,8 @@ import org.slf4j.LoggerFactory;
         optionals.set(3);
       }
       oprot.writeBitSet(optionals, 4);
-      if (struct.isSetApplicationDesription()) {
-        oprot.writeString(struct.applicationDesription);
+      if (struct.isSetApplicationDescription()) {
+        oprot.writeString(struct.applicationDescription);
       }
       if (struct.isSetApplicationModules()) {
         {
@@ -1022,8 +1022,8 @@ import org.slf4j.LoggerFactory;
       struct.setApplicationNameIsSet(true);
       BitSet incoming = iprot.readBitSet(4);
       if (incoming.get(0)) {
-        struct.applicationDesription = iprot.readString();
-        struct.setApplicationDesriptionIsSet(true);
+        struct.applicationDescription = iprot.readString();
+        struct.setApplicationDescriptionIsSet(true);
       }
       if (incoming.get(1)) {
         {

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
index 59b3e7b..bc05803 100644
--- a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
+++ b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
@@ -574,7 +574,7 @@ service Airavata {
                 3: airavataErrors.AiravataSystemException ase)
 
 
-  list<applicationDeploymentModel.ApplicationModule> getAllModules ()
+  list<applicationDeploymentModel.ApplicationModule> getAllAppModules ()
         throws (1: airavataErrors.InvalidRequestException ire,
                 2: airavataErrors.AiravataClientException ace,
                 3: airavataErrors.AiravataSystemException ase)
@@ -664,6 +664,18 @@ service Airavata {
                    3: airavataErrors.AiravataSystemException ase)
 
   /**
+   * Fetch all Application Deployment Descriptions.
+   *
+   * @return list<applicationDeployment.
+   *   Returns the list of all application Deployment Objects.
+   *
+  */
+  list<applicationDeploymentModel.ApplicationDeploymentDescription> getAllApplicationDeployments()
+      	throws (1: airavataErrors.InvalidRequestException ire,
+                2: airavataErrors.AiravataClientException ace,
+                3: airavataErrors.AiravataSystemException ase)
+
+  /**
    * Fetch a list of Deployed Compute Hosts.
    *
    * @param appModuleId

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/airavata-api/thrift-interface-descriptions/applicationInterfaceModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/applicationInterfaceModel.thrift b/airavata-api/thrift-interface-descriptions/applicationInterfaceModel.thrift
index 7a33078..8ea53c8 100644
--- a/airavata-api/thrift-interface-descriptions/applicationInterfaceModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/applicationInterfaceModel.thrift
@@ -128,7 +128,7 @@ struct ApplicationInterfaceDescription {
 //    1: required bool isEmpty = 0,
     1: required string applicationInterfaceId = DEFAULT_ID,
     2: required string applicationName,
-    3: optional string applicationDesription,
+    3: optional string applicationDescription,
     4: optional list<string> applicationModules,
     5: optional list<InputDataObjectType> applicationInputs,
     6: optional list<OutputDataObjectType> applicationOutputs

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
index e68bbc5..0574ea2 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/impl/ApplicationInterfaceImpl.java
@@ -73,7 +73,7 @@ public class ApplicationInterfaceImpl implements ApplicationInterface {
             }else {
                 resource.setInterfaceId(AppCatalogUtils.getID(applicationInterfaceDescription.getApplicationName()));
             }
-            resource.setAppDescription(applicationInterfaceDescription.getApplicationDesription());
+            resource.setAppDescription(applicationInterfaceDescription.getApplicationDescription());
             resource.save();
             applicationInterfaceDescription.setApplicationInterfaceId(resource.getInterfaceId());
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/util/AppCatalogThriftConversion.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/util/AppCatalogThriftConversion.java b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/util/AppCatalogThriftConversion.java
index 14a0ab0..073527f 100644
--- a/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/util/AppCatalogThriftConversion.java
+++ b/modules/app-catalog/app-catalog-data/src/main/java/org/apache/aiaravata/application/catalog/data/util/AppCatalogThriftConversion.java
@@ -497,7 +497,7 @@ public class AppCatalogThriftConversion {
         ApplicationInterfaceDescription description = new ApplicationInterfaceDescription();
         description.setApplicationInterfaceId(resource.getInterfaceId());
         description.setApplicationName(resource.getAppName());
-        description.setApplicationDesription(resource.getAppDescription());
+        description.setApplicationDescription(resource.getAppDescription());
 
         AppModuleMappingResource appModuleMappingResource = new AppModuleMappingResource();
         List<Resource> appModules = appModuleMappingResource.get(AbstractResource.AppModuleMappingConstants.INTERFACE_ID, resource.getInterfaceId());

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
index 31c4a10..1aa80fd 100644
--- a/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
+++ b/modules/app-catalog/app-catalog-data/src/test/java/org/apache/airavata/app/catalog/test/AppInterfaceTest.java
@@ -88,7 +88,7 @@ public class AppInterfaceTest {
             outputs.add(output1);
             outputs.add(output2);
             description.setApplicationName("testApplication");
-            description.setApplicationDesription("my testApplication");
+            description.setApplicationDescription("my testApplication");
             description.setApplicationModules(modules);
             description.setApplicationInputs(inputs);
             description.setApplicationOutputs(outputs);
@@ -106,7 +106,7 @@ public class AppInterfaceTest {
                 ApplicationInterfaceDescription updateApp = appInterface.getApplicationInterface(appID);
                 List<OutputDataObjectType> appOutputs = updateApp.getApplicationOutputs();
                 System.out.println("********** application name ************* : " + updateApp.getApplicationName());
-                System.out.println("********** application description ************* : " + updateApp.getApplicationDesription());
+                System.out.println("********** application description ************* : " + updateApp.getApplicationDescription());
                 System.out.println("********** output size ************* : " + appOutputs.size());
             }
             ApplicationModule wrfModule = appInterface.getApplicationModule(wrfModuleId);

http://git-wip-us.apache.org/repos/asf/airavata/blob/27deac00/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
----------------------------------------------------------------------
diff --git a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
index e7de0e8..5bf9daa 100644
--- a/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
+++ b/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/ws/WSComponentApplication.java
@@ -202,7 +202,7 @@ public class WSComponentApplication {
     public WSComponentApplication(ApplicationInterfaceDescription application) {
 		setApplicationId(application.getApplicationInterfaceId());
 		setName(application.getApplicationName());
-		setDescription(application.getApplicationDesription());
+		setDescription(application.getApplicationDescription());
                 
         List<InputDataObjectType> applicationInputs = application.getApplicationInputs();
         for (InputDataObjectType inputDataObjectType : applicationInputs) {


Mime
View raw message