You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/03/25 21:49:02 UTC
[17/40] airavata-php-gateway git commit: fixing API call issue
fixing API call issue
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/167dee4b
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/167dee4b
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/167dee4b
Branch: refs/heads/master
Commit: 167dee4b2d34551c6f07f3a4a22154d4b539e7ae
Parents: cc4ba94
Author: scnakandala <su...@gmail.com>
Authored: Wed Mar 23 17:15:53 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Wed Mar 23 17:15:53 2016 -0400
----------------------------------------------------------------------
app/libraries/ExperimentUtilities.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/167dee4b/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 74b1309..2b08772 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -432,7 +432,7 @@ class ExperimentUtilities
if ($experimentInput->type == DataType::URI) {
$currentInputPath = $experimentInput->value;
$hostPathConstant = 'file://' . $hostName . ':';
- $dataProductModel = Airavata::getDataProduct($experimentInput->value);
+ $dataProductModel = Airavata::getDataProduct(Session::get('authz-token'), $experimentInput->value);
$currentInputPath = "";
foreach ($dataProductModel->replicaLocations as $rp) {
if($rp->replicaLocationCategory == ReplicaLocationCategory::GATEWAY_DATA_STORE){