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 bug
Date Tue, 28 Jun 2016 16:50:29 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 2fd10b0b6 -> fb4c36cf9


fixing bug


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

Branch: refs/heads/develop
Commit: fb4c36cf9736115a880145414c5b2809279ff8bf
Parents: 2fd10b0
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue Jun 28 12:50:26 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Tue Jun 28 12:50:26 2016 -0400

----------------------------------------------------------------------
 app/routes.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/fb4c36cf/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index 437f812..cd0b20f 100644
--- a/app/routes.php
+++ b/app/routes.php
@@ -121,7 +121,7 @@ Route::get("download", function(){
         $dataProductModel = Airavata::getDataProduct(Session::get('authz-token'), $id);
         $currentOutputPath = "";
         foreach ($dataProductModel->replicaLocations as $rp) {
-            if($rp->replicaLocationCategory == ReplicaLocationCategory::GATEWAY_DATA_STORE){
+            if($rp->replicaLocationCategory == Airavata\Model\Data\Replica\ReplicaLocationCategory::GATEWAY_DATA_STORE){
                 $currentOutputPath = $rp->filePath;
                 break;
             }


Mime
View raw message