airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject [07/12] adding generated code for app-catalog
Date Sat, 28 Jun 2014 22:46:01 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/8ebb254f/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/AppCatalog/ApplicationCatalogAPI.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/AppCatalog/ApplicationCatalogAPI.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/AppCatalog/ApplicationCatalogAPI.php
index e2082cb..4b01af2 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/AppCatalog/ApplicationCatalogAPI.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/AppCatalog/ApplicationCatalogAPI.php
@@ -18,12 +18,12 @@ use Thrift\Exception\TApplicationException;
 
 interface ApplicationCatalogAPIIf {
   public function GetAPIVersion();
-  public function addComputeResourceDescription(\Airavata\Model\AppCatalog\ComputeResourceDescription $computeResourceDescription);
-  public function addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\SSHJobSubmission $jobSubmission);
-  public function addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GSISSHJobSubmission $jobSubmission);
-  public function addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GlobusJobSubmission $jobSubmission);
-  public function addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\SCPDataMovement $dataMovement);
-  public function addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\GridFTPDataMovement $dataMovement);
+  public function addComputeResourceDescription(\Airavata\Model\ComputeHost\ComputeResourceDescription $computeResourceDescription);
+  public function addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\SSHJobSubmission $jobSubmission);
+  public function addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GSISSHJobSubmission $jobSubmission);
+  public function addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GlobusJobSubmission $jobSubmission);
+  public function addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\SCPDataMovement $dataMovement);
+  public function addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\GridFTPDataMovement $dataMovement);
   public function listComputeResourceDescriptions();
   public function getComputeResourceDescription($computeResourceId);
   public function getSSHJobSubmissionProtocol($sshJobSubmissionProtocolResourceId);
@@ -33,10 +33,14 @@ interface ApplicationCatalogAPIIf {
   public function getGridFTPDataMovementProtocol($gridFTPDataMovementResourceId);
   public function isComputeResourceDescriptionRegistered($hostName);
   public function getComputeResourceDescriptionFromHostName($hostName);
-  public function addApplicationInterface(\Airavata\Model\AppCatalog\ApplicationInterface $applicationInterface);
+  public function addApplicationInterface(\Airavata\Model\Application\Interface\ApplicationInterfaceDescription $applicationInterface);
   public function listApplicationInterfaceIds();
   public function getApplicationInterface($applicationInterfaceId);
-  public function addApplicationDeployment($applicationInterfaceId, \Airavata\Model\AppCatalog\ApplicationDeployment $applicationDeployment);
+  public function registerAppicationModule(\Airavata\Model\Application\Deployment\ApplicationModule $applicationModule, $publish);
+  public function getAppicationModule($appModuleId);
+  public function updateAppicationModule($appModuleId, \Airavata\Model\Application\Deployment\ApplicationModule $applicationModule);
+  public function deleteAppicationModule($appModuleId);
+  public function addApplicationDeployment($applicationInterfaceId, \Airavata\Model\Application\Deployment\ApplicationDeploymentDescription $applicationDeployment);
   public function listApplicationDeploymentIds($applicationInterfaceId);
   public function getApplicationDeployment($applicationInterfaceId, $applicationDeploymentId);
 }
@@ -102,13 +106,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("GetAPIVersion failed: unknown result");
   }
 
-  public function addComputeResourceDescription(\Airavata\Model\AppCatalog\ComputeResourceDescription $computeResourceDescription)
+  public function addComputeResourceDescription(\Airavata\Model\ComputeHost\ComputeResourceDescription $computeResourceDescription)
   {
     $this->send_addComputeResourceDescription($computeResourceDescription);
     return $this->recv_addComputeResourceDescription();
   }
 
-  public function send_addComputeResourceDescription(\Airavata\Model\AppCatalog\ComputeResourceDescription $computeResourceDescription)
+  public function send_addComputeResourceDescription(\Airavata\Model\ComputeHost\ComputeResourceDescription $computeResourceDescription)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addComputeResourceDescription_args();
     $args->computeResourceDescription = $computeResourceDescription;
@@ -162,13 +166,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("addComputeResourceDescription failed: unknown result");
   }
 
-  public function addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\SSHJobSubmission $jobSubmission)
+  public function addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\SSHJobSubmission $jobSubmission)
   {
     $this->send_addSSHJobSubmissionProtocol($computeResourceId, $jobSubmission);
     return $this->recv_addSSHJobSubmissionProtocol();
   }
 
-  public function send_addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\SSHJobSubmission $jobSubmission)
+  public function send_addSSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\SSHJobSubmission $jobSubmission)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addSSHJobSubmissionProtocol_args();
     $args->computeResourceId = $computeResourceId;
@@ -223,13 +227,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("addSSHJobSubmissionProtocol failed: unknown result");
   }
 
-  public function addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GSISSHJobSubmission $jobSubmission)
+  public function addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GSISSHJobSubmission $jobSubmission)
   {
     $this->send_addGSISSHJobSubmissionProtocol($computeResourceId, $jobSubmission);
     return $this->recv_addGSISSHJobSubmissionProtocol();
   }
 
-  public function send_addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GSISSHJobSubmission $jobSubmission)
+  public function send_addGSISSHJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GSISSHJobSubmission $jobSubmission)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addGSISSHJobSubmissionProtocol_args();
     $args->computeResourceId = $computeResourceId;
@@ -284,13 +288,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("addGSISSHJobSubmissionProtocol failed: unknown result");
   }
 
-  public function addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GlobusJobSubmission $jobSubmission)
+  public function addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GlobusJobSubmission $jobSubmission)
   {
     $this->send_addGlobusJobSubmissionProtocol($computeResourceId, $jobSubmission);
     return $this->recv_addGlobusJobSubmissionProtocol();
   }
 
-  public function send_addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\AppCatalog\GlobusJobSubmission $jobSubmission)
+  public function send_addGlobusJobSubmissionProtocol($computeResourceId, \Airavata\Model\ComputeHost\GlobusJobSubmission $jobSubmission)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addGlobusJobSubmissionProtocol_args();
     $args->computeResourceId = $computeResourceId;
@@ -345,13 +349,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("addGlobusJobSubmissionProtocol failed: unknown result");
   }
 
-  public function addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\SCPDataMovement $dataMovement)
+  public function addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\SCPDataMovement $dataMovement)
   {
     $this->send_addSCPDataMovementProtocol($computeResourceId, $dataMovement);
     return $this->recv_addSCPDataMovementProtocol();
   }
 
-  public function send_addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\SCPDataMovement $dataMovement)
+  public function send_addSCPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\SCPDataMovement $dataMovement)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addSCPDataMovementProtocol_args();
     $args->computeResourceId = $computeResourceId;
@@ -406,13 +410,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("addSCPDataMovementProtocol failed: unknown result");
   }
 
-  public function addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\GridFTPDataMovement $dataMovement)
+  public function addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\GridFTPDataMovement $dataMovement)
   {
     $this->send_addGridFTPDataMovementProtocol($computeResourceId, $dataMovement);
     return $this->recv_addGridFTPDataMovementProtocol();
   }
 
-  public function send_addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\AppCatalog\GridFTPDataMovement $dataMovement)
+  public function send_addGridFTPDataMovementProtocol($computeResourceId, \Airavata\Model\ComputeHost\GridFTPDataMovement $dataMovement)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addGridFTPDataMovementProtocol_args();
     $args->computeResourceId = $computeResourceId;
@@ -1006,13 +1010,13 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("getComputeResourceDescriptionFromHostName failed: unknown result");
   }
 
-  public function addApplicationInterface(\Airavata\Model\AppCatalog\ApplicationInterface $applicationInterface)
+  public function addApplicationInterface(\Airavata\Model\Application\Interface\ApplicationInterfaceDescription $applicationInterface)
   {
     $this->send_addApplicationInterface($applicationInterface);
     return $this->recv_addApplicationInterface();
   }
 
-  public function send_addApplicationInterface(\Airavata\Model\AppCatalog\ApplicationInterface $applicationInterface)
+  public function send_addApplicationInterface(\Airavata\Model\Application\Interface\ApplicationInterfaceDescription $applicationInterface)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addApplicationInterface_args();
     $args->applicationInterface = $applicationInterface;
@@ -1185,13 +1189,255 @@ class ApplicationCatalogAPIClient implements \Airavata\API\AppCatalog\Applicatio
     throw new \Exception("getApplicationInterface failed: unknown result");
   }
 
-  public function addApplicationDeployment($applicationInterfaceId, \Airavata\Model\AppCatalog\ApplicationDeployment $applicationDeployment)
+  public function registerAppicationModule(\Airavata\Model\Application\Deployment\ApplicationModule $applicationModule, $publish)
+  {
+    $this->send_registerAppicationModule($applicationModule, $publish);
+    return $this->recv_registerAppicationModule();
+  }
+
+  public function send_registerAppicationModule(\Airavata\Model\Application\Deployment\ApplicationModule $applicationModule, $publish)
+  {
+    $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_registerAppicationModule_args();
+    $args->applicationModule = $applicationModule;
+    $args->publish = $publish;
+    $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+    if ($bin_accel)
+    {
+      thrift_protocol_write_binary($this->output_, 'registerAppicationModule', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+    }
+    else
+    {
+      $this->output_->writeMessageBegin('registerAppicationModule', TMessageType::CALL, $this->seqid_);
+      $args->write($this->output_);
+      $this->output_->writeMessageEnd();
+      $this->output_->getTransport()->flush();
+    }
+  }
+
+  public function recv_registerAppicationModule()
+  {
+    $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
+    if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\AppCatalog\ApplicationCatalogAPI_registerAppicationModule_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\AppCatalog\ApplicationCatalogAPI_registerAppicationModule_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("registerAppicationModule failed: unknown result");
+  }
+
+  public function getAppicationModule($appModuleId)
+  {
+    $this->send_getAppicationModule($appModuleId);
+    return $this->recv_getAppicationModule();
+  }
+
+  public function send_getAppicationModule($appModuleId)
+  {
+    $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_getAppicationModule_args();
+    $args->appModuleId = $appModuleId;
+    $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+    if ($bin_accel)
+    {
+      thrift_protocol_write_binary($this->output_, 'getAppicationModule', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+    }
+    else
+    {
+      $this->output_->writeMessageBegin('getAppicationModule', TMessageType::CALL, $this->seqid_);
+      $args->write($this->output_);
+      $this->output_->writeMessageEnd();
+      $this->output_->getTransport()->flush();
+    }
+  }
+
+  public function recv_getAppicationModule()
+  {
+    $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
+    if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\AppCatalog\ApplicationCatalogAPI_getAppicationModule_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\AppCatalog\ApplicationCatalogAPI_getAppicationModule_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("getAppicationModule failed: unknown result");
+  }
+
+  public function updateAppicationModule($appModuleId, \Airavata\Model\Application\Deployment\ApplicationModule $applicationModule)
+  {
+    $this->send_updateAppicationModule($appModuleId, $applicationModule);
+    return $this->recv_updateAppicationModule();
+  }
+
+  public function send_updateAppicationModule($appModuleId, \Airavata\Model\Application\Deployment\ApplicationModule $applicationModule)
+  {
+    $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_updateAppicationModule_args();
+    $args->appModuleId = $appModuleId;
+    $args->applicationModule = $applicationModule;
+    $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+    if ($bin_accel)
+    {
+      thrift_protocol_write_binary($this->output_, 'updateAppicationModule', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+    }
+    else
+    {
+      $this->output_->writeMessageBegin('updateAppicationModule', TMessageType::CALL, $this->seqid_);
+      $args->write($this->output_);
+      $this->output_->writeMessageEnd();
+      $this->output_->getTransport()->flush();
+    }
+  }
+
+  public function recv_updateAppicationModule()
+  {
+    $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
+    if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\AppCatalog\ApplicationCatalogAPI_updateAppicationModule_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\AppCatalog\ApplicationCatalogAPI_updateAppicationModule_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("updateAppicationModule failed: unknown result");
+  }
+
+  public function deleteAppicationModule($appModuleId)
+  {
+    $this->send_deleteAppicationModule($appModuleId);
+    return $this->recv_deleteAppicationModule();
+  }
+
+  public function send_deleteAppicationModule($appModuleId)
+  {
+    $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_deleteAppicationModule_args();
+    $args->appModuleId = $appModuleId;
+    $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+    if ($bin_accel)
+    {
+      thrift_protocol_write_binary($this->output_, 'deleteAppicationModule', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+    }
+    else
+    {
+      $this->output_->writeMessageBegin('deleteAppicationModule', TMessageType::CALL, $this->seqid_);
+      $args->write($this->output_);
+      $this->output_->writeMessageEnd();
+      $this->output_->getTransport()->flush();
+    }
+  }
+
+  public function recv_deleteAppicationModule()
+  {
+    $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
+    if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\AppCatalog\ApplicationCatalogAPI_deleteAppicationModule_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\AppCatalog\ApplicationCatalogAPI_deleteAppicationModule_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("deleteAppicationModule failed: unknown result");
+  }
+
+  public function addApplicationDeployment($applicationInterfaceId, \Airavata\Model\Application\Deployment\ApplicationDeploymentDescription $applicationDeployment)
   {
     $this->send_addApplicationDeployment($applicationInterfaceId, $applicationDeployment);
     return $this->recv_addApplicationDeployment();
   }
 
-  public function send_addApplicationDeployment($applicationInterfaceId, \Airavata\Model\AppCatalog\ApplicationDeployment $applicationDeployment)
+  public function send_addApplicationDeployment($applicationInterfaceId, \Airavata\Model\Application\Deployment\ApplicationDeploymentDescription $applicationDeployment)
   {
     $args = new \Airavata\API\AppCatalog\ApplicationCatalogAPI_addApplicationDeployment_args();
     $args->applicationInterfaceId = $applicationInterfaceId;
@@ -1504,7 +1750,7 @@ class ApplicationCatalogAPI_addComputeResourceDescription_args {
         1 => array(
           'var' => 'computeResourceDescription',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ComputeResourceDescription',
+          'class' => '\Airavata\Model\ComputeHost\ComputeResourceDescription',
           ),
         );
     }
@@ -1536,7 +1782,7 @@ class ApplicationCatalogAPI_addComputeResourceDescription_args {
       {
         case 1:
           if ($ftype == TType::STRUCT) {
-            $this->computeResourceDescription = new \Airavata\Model\AppCatalog\ComputeResourceDescription();
+            $this->computeResourceDescription = new \Airavata\Model\ComputeHost\ComputeResourceDescription();
             $xfer += $this->computeResourceDescription->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -1724,7 +1970,7 @@ class ApplicationCatalogAPI_addSSHJobSubmissionProtocol_args {
         2 => array(
           'var' => 'jobSubmission',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\SSHJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\SSHJobSubmission',
           ),
         );
     }
@@ -1766,7 +2012,7 @@ class ApplicationCatalogAPI_addSSHJobSubmissionProtocol_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->jobSubmission = new \Airavata\Model\AppCatalog\SSHJobSubmission();
+            $this->jobSubmission = new \Airavata\Model\ComputeHost\SSHJobSubmission();
             $xfer += $this->jobSubmission->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -1959,7 +2205,7 @@ class ApplicationCatalogAPI_addGSISSHJobSubmissionProtocol_args {
         2 => array(
           'var' => 'jobSubmission',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GSISSHJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\GSISSHJobSubmission',
           ),
         );
     }
@@ -2001,7 +2247,7 @@ class ApplicationCatalogAPI_addGSISSHJobSubmissionProtocol_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->jobSubmission = new \Airavata\Model\AppCatalog\GSISSHJobSubmission();
+            $this->jobSubmission = new \Airavata\Model\ComputeHost\GSISSHJobSubmission();
             $xfer += $this->jobSubmission->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -2194,7 +2440,7 @@ class ApplicationCatalogAPI_addGlobusJobSubmissionProtocol_args {
         2 => array(
           'var' => 'jobSubmission',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GlobusJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\GlobusJobSubmission',
           ),
         );
     }
@@ -2236,7 +2482,7 @@ class ApplicationCatalogAPI_addGlobusJobSubmissionProtocol_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->jobSubmission = new \Airavata\Model\AppCatalog\GlobusJobSubmission();
+            $this->jobSubmission = new \Airavata\Model\ComputeHost\GlobusJobSubmission();
             $xfer += $this->jobSubmission->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -2429,7 +2675,7 @@ class ApplicationCatalogAPI_addSCPDataMovementProtocol_args {
         2 => array(
           'var' => 'dataMovement',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\SCPDataMovement',
+          'class' => '\Airavata\Model\ComputeHost\SCPDataMovement',
           ),
         );
     }
@@ -2471,7 +2717,7 @@ class ApplicationCatalogAPI_addSCPDataMovementProtocol_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->dataMovement = new \Airavata\Model\AppCatalog\SCPDataMovement();
+            $this->dataMovement = new \Airavata\Model\ComputeHost\SCPDataMovement();
             $xfer += $this->dataMovement->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -2664,7 +2910,7 @@ class ApplicationCatalogAPI_addGridFTPDataMovementProtocol_args {
         2 => array(
           'var' => 'dataMovement',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GridFTPDataMovement',
+          'class' => '\Airavata\Model\ComputeHost\GridFTPDataMovement',
           ),
         );
     }
@@ -2706,7 +2952,7 @@ class ApplicationCatalogAPI_addGridFTPDataMovementProtocol_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->dataMovement = new \Airavata\Model\AppCatalog\GridFTPDataMovement();
+            $this->dataMovement = new \Airavata\Model\ComputeHost\GridFTPDataMovement();
             $xfer += $this->dataMovement->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -3183,7 +3429,7 @@ class ApplicationCatalogAPI_getComputeResourceDescription_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ComputeResourceDescription',
+          'class' => '\Airavata\Model\ComputeHost\ComputeResourceDescription',
           ),
         1 => array(
           'var' => 'ire',
@@ -3239,7 +3485,7 @@ class ApplicationCatalogAPI_getComputeResourceDescription_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\ComputeResourceDescription();
+            $this->success = new \Airavata\Model\ComputeHost\ComputeResourceDescription();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -3398,7 +3644,7 @@ class ApplicationCatalogAPI_getSSHJobSubmissionProtocol_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\SSHJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\SSHJobSubmission',
           ),
         1 => array(
           'var' => 'ire',
@@ -3454,7 +3700,7 @@ class ApplicationCatalogAPI_getSSHJobSubmissionProtocol_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\SSHJobSubmission();
+            $this->success = new \Airavata\Model\ComputeHost\SSHJobSubmission();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -3613,7 +3859,7 @@ class ApplicationCatalogAPI_getGSISSHJobSubmissionProtocol_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GSISSHJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\GSISSHJobSubmission',
           ),
         1 => array(
           'var' => 'ire',
@@ -3669,7 +3915,7 @@ class ApplicationCatalogAPI_getGSISSHJobSubmissionProtocol_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\GSISSHJobSubmission();
+            $this->success = new \Airavata\Model\ComputeHost\GSISSHJobSubmission();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -3828,7 +4074,7 @@ class ApplicationCatalogAPI_getGlobusJobSubmissionProtocol_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GlobusJobSubmission',
+          'class' => '\Airavata\Model\ComputeHost\GlobusJobSubmission',
           ),
         1 => array(
           'var' => 'ire',
@@ -3884,7 +4130,7 @@ class ApplicationCatalogAPI_getGlobusJobSubmissionProtocol_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\GlobusJobSubmission();
+            $this->success = new \Airavata\Model\ComputeHost\GlobusJobSubmission();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -4043,7 +4289,7 @@ class ApplicationCatalogAPI_getSCPDataMovementProtocol_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\SCPDataMovement',
+          'class' => '\Airavata\Model\ComputeHost\SCPDataMovement',
           ),
         1 => array(
           'var' => 'ire',
@@ -4099,7 +4345,7 @@ class ApplicationCatalogAPI_getSCPDataMovementProtocol_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\SCPDataMovement();
+            $this->success = new \Airavata\Model\ComputeHost\SCPDataMovement();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -4258,7 +4504,7 @@ class ApplicationCatalogAPI_getGridFTPDataMovementProtocol_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\GridFTPDataMovement',
+          'class' => '\Airavata\Model\ComputeHost\GridFTPDataMovement',
           ),
         1 => array(
           'var' => 'ire',
@@ -4314,7 +4560,7 @@ class ApplicationCatalogAPI_getGridFTPDataMovementProtocol_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\GridFTPDataMovement();
+            $this->success = new \Airavata\Model\ComputeHost\GridFTPDataMovement();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -4683,7 +4929,7 @@ class ApplicationCatalogAPI_getComputeResourceDescriptionFromHostName_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ComputeResourceDescription',
+          'class' => '\Airavata\Model\ComputeHost\ComputeResourceDescription',
           ),
         1 => array(
           'var' => 'ire',
@@ -4739,7 +4985,7 @@ class ApplicationCatalogAPI_getComputeResourceDescriptionFromHostName_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\ComputeResourceDescription();
+            $this->success = new \Airavata\Model\ComputeHost\ComputeResourceDescription();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -4823,7 +5069,7 @@ class ApplicationCatalogAPI_addApplicationInterface_args {
         1 => array(
           'var' => 'applicationInterface',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ApplicationInterface',
+          'class' => '\Airavata\Model\Application\Interface\ApplicationInterfaceDescription',
           ),
         );
     }
@@ -4855,7 +5101,7 @@ class ApplicationCatalogAPI_addApplicationInterface_args {
       {
         case 1:
           if ($ftype == TType::STRUCT) {
-            $this->applicationInterface = new \Airavata\Model\AppCatalog\ApplicationInterface();
+            $this->applicationInterface = new \Airavata\Model\Application\Interface\ApplicationInterfaceDescription();
             $xfer += $this->applicationInterface->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -5327,7 +5573,7 @@ class ApplicationCatalogAPI_getApplicationInterface_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ApplicationInterface',
+          'class' => '\Airavata\Model\Application\Interface\ApplicationInterfaceDescription',
           ),
         1 => array(
           'var' => 'ire',
@@ -5383,7 +5629,7 @@ class ApplicationCatalogAPI_getApplicationInterface_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\ApplicationInterface();
+            $this->success = new \Airavata\Model\Application\Interface\ApplicationInterfaceDescription();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -5456,6 +5702,901 @@ class ApplicationCatalogAPI_getApplicationInterface_result {
 
 }
 
+class ApplicationCatalogAPI_registerAppicationModule_args {
+  static $_TSPEC;
+
+  public $applicationModule = null;
+  public $publish = null;
+
+  public function __construct($vals=null) {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        1 => array(
+          'var' => 'applicationModule',
+          'type' => TType::STRUCT,
+          'class' => '\Airavata\Model\Application\Deployment\ApplicationModule',
+          ),
+        2 => array(
+          'var' => 'publish',
+          'type' => TType::BOOL,
+          ),
+        );
+    }
+    if (is_array($vals)) {
+      if (isset($vals['applicationModule'])) {
+        $this->applicationModule = $vals['applicationModule'];
+      }
+      if (isset($vals['publish'])) {
+        $this->publish = $vals['publish'];
+      }
+    }
+  }
+
+  public function getName() {
+    return 'ApplicationCatalogAPI_registerAppicationModule_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)
+      {
+        case 1:
+          if ($ftype == TType::STRUCT) {
+            $this->applicationModule = new \Airavata\Model\Application\Deployment\ApplicationModule();
+            $xfer += $this->applicationModule->read($input);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 2:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->publish);
+          } 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('ApplicationCatalogAPI_registerAppicationModule_args');
+    if ($this->applicationModule !== null) {
+      if (!is_object($this->applicationModule)) {
+        throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+      }
+      $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 1);
+      $xfer += $this->applicationModule->write($output);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->publish !== null) {
+      $xfer += $output->writeFieldBegin('publish', TType::BOOL, 2);
+      $xfer += $output->writeBool($this->publish);
+      $xfer += $output->writeFieldEnd();
+    }
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
+class ApplicationCatalogAPI_registerAppicationModule_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::STRING,
+          ),
+        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 'ApplicationCatalogAPI_registerAppicationModule_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::STRING) {
+            $xfer += $input->readString($this->success);
+          } 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('ApplicationCatalogAPI_registerAppicationModule_result');
+    if ($this->success !== null) {
+      $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+      $xfer += $output->writeString($this->success);
+      $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 ApplicationCatalogAPI_getAppicationModule_args {
+  static $_TSPEC;
+
+  public $appModuleId = null;
+
+  public function __construct($vals=null) {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        1 => array(
+          'var' => 'appModuleId',
+          'type' => TType::STRING,
+          ),
+        );
+    }
+    if (is_array($vals)) {
+      if (isset($vals['appModuleId'])) {
+        $this->appModuleId = $vals['appModuleId'];
+      }
+    }
+  }
+
+  public function getName() {
+    return 'ApplicationCatalogAPI_getAppicationModule_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)
+      {
+        case 1:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->appModuleId);
+          } 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('ApplicationCatalogAPI_getAppicationModule_args');
+    if ($this->appModuleId !== null) {
+      $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 1);
+      $xfer += $output->writeString($this->appModuleId);
+      $xfer += $output->writeFieldEnd();
+    }
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
+class ApplicationCatalogAPI_getAppicationModule_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::STRUCT,
+          'class' => '\Airavata\Model\Application\Deployment\ApplicationModule',
+          ),
+        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 'ApplicationCatalogAPI_getAppicationModule_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::STRUCT) {
+            $this->success = new \Airavata\Model\Application\Deployment\ApplicationModule();
+            $xfer += $this->success->read($input);
+          } 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('ApplicationCatalogAPI_getAppicationModule_result');
+    if ($this->success !== null) {
+      if (!is_object($this->success)) {
+        throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+      }
+      $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+      $xfer += $this->success->write($output);
+      $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 ApplicationCatalogAPI_updateAppicationModule_args {
+  static $_TSPEC;
+
+  public $appModuleId = null;
+  public $applicationModule = null;
+
+  public function __construct($vals=null) {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        1 => array(
+          'var' => 'appModuleId',
+          'type' => TType::STRING,
+          ),
+        2 => array(
+          'var' => 'applicationModule',
+          'type' => TType::STRUCT,
+          'class' => '\Airavata\Model\Application\Deployment\ApplicationModule',
+          ),
+        );
+    }
+    if (is_array($vals)) {
+      if (isset($vals['appModuleId'])) {
+        $this->appModuleId = $vals['appModuleId'];
+      }
+      if (isset($vals['applicationModule'])) {
+        $this->applicationModule = $vals['applicationModule'];
+      }
+    }
+  }
+
+  public function getName() {
+    return 'ApplicationCatalogAPI_updateAppicationModule_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)
+      {
+        case 1:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->appModuleId);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
+        case 2:
+          if ($ftype == TType::STRUCT) {
+            $this->applicationModule = new \Airavata\Model\Application\Deployment\ApplicationModule();
+            $xfer += $this->applicationModule->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('ApplicationCatalogAPI_updateAppicationModule_args');
+    if ($this->appModuleId !== null) {
+      $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 1);
+      $xfer += $output->writeString($this->appModuleId);
+      $xfer += $output->writeFieldEnd();
+    }
+    if ($this->applicationModule !== null) {
+      if (!is_object($this->applicationModule)) {
+        throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+      }
+      $xfer += $output->writeFieldBegin('applicationModule', TType::STRUCT, 2);
+      $xfer += $this->applicationModule->write($output);
+      $xfer += $output->writeFieldEnd();
+    }
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
+class ApplicationCatalogAPI_updateAppicationModule_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::BOOL,
+          ),
+        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 'ApplicationCatalogAPI_updateAppicationModule_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::BOOL) {
+            $xfer += $input->readBool($this->success);
+          } 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('ApplicationCatalogAPI_updateAppicationModule_result');
+    if ($this->success !== null) {
+      $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+      $xfer += $output->writeBool($this->success);
+      $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 ApplicationCatalogAPI_deleteAppicationModule_args {
+  static $_TSPEC;
+
+  public $appModuleId = null;
+
+  public function __construct($vals=null) {
+    if (!isset(self::$_TSPEC)) {
+      self::$_TSPEC = array(
+        1 => array(
+          'var' => 'appModuleId',
+          'type' => TType::STRING,
+          ),
+        );
+    }
+    if (is_array($vals)) {
+      if (isset($vals['appModuleId'])) {
+        $this->appModuleId = $vals['appModuleId'];
+      }
+    }
+  }
+
+  public function getName() {
+    return 'ApplicationCatalogAPI_deleteAppicationModule_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)
+      {
+        case 1:
+          if ($ftype == TType::STRING) {
+            $xfer += $input->readString($this->appModuleId);
+          } 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('ApplicationCatalogAPI_deleteAppicationModule_args');
+    if ($this->appModuleId !== null) {
+      $xfer += $output->writeFieldBegin('appModuleId', TType::STRING, 1);
+      $xfer += $output->writeString($this->appModuleId);
+      $xfer += $output->writeFieldEnd();
+    }
+    $xfer += $output->writeFieldStop();
+    $xfer += $output->writeStructEnd();
+    return $xfer;
+  }
+
+}
+
+class ApplicationCatalogAPI_deleteAppicationModule_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::BOOL,
+          ),
+        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 'ApplicationCatalogAPI_deleteAppicationModule_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::BOOL) {
+            $xfer += $input->readBool($this->success);
+          } 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('ApplicationCatalogAPI_deleteAppicationModule_result');
+    if ($this->success !== null) {
+      $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+      $xfer += $output->writeBool($this->success);
+      $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 ApplicationCatalogAPI_addApplicationDeployment_args {
   static $_TSPEC;
 
@@ -5472,7 +6613,7 @@ class ApplicationCatalogAPI_addApplicationDeployment_args {
         2 => array(
           'var' => 'applicationDeployment',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ApplicationDeployment',
+          'class' => '\Airavata\Model\Application\Deployment\ApplicationDeploymentDescription',
           ),
         );
     }
@@ -5514,7 +6655,7 @@ class ApplicationCatalogAPI_addApplicationDeployment_args {
           break;
         case 2:
           if ($ftype == TType::STRUCT) {
-            $this->applicationDeployment = new \Airavata\Model\AppCatalog\ApplicationDeployment();
+            $this->applicationDeployment = new \Airavata\Model\Application\Deployment\ApplicationDeploymentDescription();
             $xfer += $this->applicationDeployment->read($input);
           } else {
             $xfer += $input->skip($ftype);
@@ -6033,7 +7174,7 @@ class ApplicationCatalogAPI_getApplicationDeployment_result {
         0 => array(
           'var' => 'success',
           'type' => TType::STRUCT,
-          'class' => '\Airavata\Model\AppCatalog\ApplicationDeployment',
+          'class' => '\Airavata\Model\Application\Deployment\ApplicationDeploymentDescription',
           ),
         1 => array(
           'var' => 'ire',
@@ -6089,7 +7230,7 @@ class ApplicationCatalogAPI_getApplicationDeployment_result {
       {
         case 0:
           if ($ftype == TType::STRUCT) {
-            $this->success = new \Airavata\Model\AppCatalog\ApplicationDeployment();
+            $this->success = new \Airavata\Model\Application\Deployment\ApplicationDeploymentDescription();
             $xfer += $this->success->read($input);
           } else {
             $xfer += $input->skip($ftype);


Mime
View raw message