airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing wrong include statements
Date Wed, 02 Mar 2016 17:08:19 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop bcf167a5c -> 3d99c1d97


fixing wrong include statements


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/3d99c1d9
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/3d99c1d9
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/3d99c1d9

Branch: refs/heads/develop
Commit: 3d99c1d9776a9fff88c6b0bcd4f5d14516a8d98f
Parents: bcf167a
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Mar 2 12:08:11 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Mar 2 12:08:11 2016 -0500

----------------------------------------------------------------------
 app/libraries/AppUtilities.php | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3d99c1d9/app/libraries/AppUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AppUtilities.php b/app/libraries/AppUtilities.php
index 64a0d82..ee1a122 100644
--- a/app/libraries/AppUtilities.php
+++ b/app/libraries/AppUtilities.php
@@ -3,7 +3,7 @@
 //Airavata classes - loaded from app/libraries/Airavata
 use Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription;
 use Airavata\Model\AppCatalog\AppDeployment\ApplicationModule;
-use Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType;
+use Airavata\Model\AppCatalog\Parallelism\ApplicationParallelismType;
 use Airavata\Model\AppCatalog\AppDeployment\SetEnvPaths;
 use Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription;
 use Airavata\Model\Application\Io\DataType;
@@ -218,22 +218,22 @@ class AppUtilities
         if (isset($appDeploymentValues["parallelism"])) {
             switch($appDeploymentValues["parallelism"]){
                 case "MPI":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::MPI;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::MPI;
                     break;
                 case "SERIAL":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::SERIAL;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::SERIAL;
                     break;
                 case "OPENMP":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::OPENMP;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::OPENMP;
                     break;
                 case "OPENMP_MPI":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::OPENMP_MPI;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::OPENMP_MPI;
                     break;
                 case "CRAY_MPI":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::CRAY_MPI;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::CRAY_MPI;
                     break;
                 case "CCM":
-                    $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::CCM;
+                    $appDeploymentValues["parallelism"] = ApplicationParallelismType::CCM;
                     break;
             }
         }


Mime
View raw message