You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2014/07/01 00:56:52 UTC
[13/50] [abbrv] git commit: project function changed
project function changed
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/169818fa
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/169818fa
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/169818fa
Branch: refs/heads/master
Commit: 169818fa0dfba4373a8df5db2eb73479460de435
Parents: fb0e725
Author: raminder <ra...@indiana.edu>
Authored: Thu May 22 12:33:25 2014 -0400
Committer: raminder <ra...@indiana.edu>
Committed: Thu May 22 12:33:25 2014 -0400
----------------------------------------------------------------------
client-samples/airavata-client-api-tester.php | 6 +++---
client-samples/updateProject.php | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/169818fa/client-samples/airavata-client-api-tester.php
----------------------------------------------------------------------
diff --git a/client-samples/airavata-client-api-tester.php b/client-samples/airavata-client-api-tester.php
index 22b304c..fe21651 100755
--- a/client-samples/airavata-client-api-tester.php
+++ b/client-samples/airavata-client-api-tester.php
@@ -149,7 +149,7 @@ try
/* Update Project */
$uproj->description = "Updated project description: ".time();
- $airavataclient->updateProject($uproj);
+ $airavataclient->updateProject($projId, $uproj);
echo "$user updated project $projId. \n";
/* Get whole experiment */
@@ -179,8 +179,8 @@ try
//echo "$user updated resource scheduleing for experiment $expId. \n";
/* Validate experiment */
- //$valid = $airavataclient->validateExperiment($expId);
- //echo "$user experiment $expId validation is $valid. \n";
+ $valid = $airavataclient->validateExperiment($expId);
+ echo "$user experiment $expId validation is $valid. \n";
/* Launch Experiment */
//$airavataclient->launchExperiment($expId, 'airavataToken');
http://git-wip-us.apache.org/repos/asf/airavata/blob/169818fa/client-samples/updateProject.php
----------------------------------------------------------------------
diff --git a/client-samples/updateProject.php b/client-samples/updateProject.php
index 6093d23..18d2b3b 100644
--- a/client-samples/updateProject.php
+++ b/client-samples/updateProject.php
@@ -55,7 +55,7 @@ try
{
$project=$airavataclient->getProject($argv[1]);
$project->description = $argv[2];
- $airavataclient->updateProject($project);
+ $airavataclient->updateProject($argv[1], $project);
}
}