You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/07/22 17:05:59 UTC
[34/50] [abbrv] git commit: updating the test code
updating the test code
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8edd7114
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8edd7114
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8edd7114
Branch: refs/heads/workflow-support
Commit: 8edd7114f23ccb5fb5d951ab817e764406b53fb1
Parents: 4b266f2
Author: raminder <ra...@apache.org>
Authored: Mon Jul 14 08:31:07 2014 -0400
Committer: raminder <ra...@apache.org>
Committed: Mon Jul 14 08:31:07 2014 -0400
----------------------------------------------------------------------
.../airavata-client-api-tester.php | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/8edd7114/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/airavata-client-api-tester.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/airavata-client-api-tester.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/airavata-client-api-tester.php
index 10b9c44..7e662f8 100755
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/airavata-client-api-tester.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/airavata-client-api-tester.php
@@ -31,9 +31,6 @@ use Airavata\Model\Workspace\Experiment\ExperimentState;
$transport = new TSocket($airavataconfig['AIRAVATA_SERVER'], $airavataconfig['AIRAVATA_PORT']);
$transport->setRecvTimeout($airavataconfig['AIRAVATA_TIMEOUT']);
*/
-include 'getAiravataClient.php';
-global $airavataclient;
-global $transport;
try
{
@@ -63,12 +60,12 @@ try
$scheduling->resourceHostId = $appcatalogdocs['bigredResourceId'];
/* TACC Stampede Cluster */
- $scheduling->resourceHostId = $appcatalogdocs['stampedeResourceId'];
- $scheduling->ComputationalProjectAccount = "TG-STA110014S";
+ //$scheduling->resourceHostId = $appcatalogdocs['stampedeResourceId'];
+ //$scheduling->ComputationalProjectAccount = "TG-STA110014S";
/* SDSC Trestles Cluster */
- $scheduling->resourceHostId = $appcatalogdocs['trestlesResourceId'];
- $scheduling->ComputationalProjectAccount = "sds128";
+ //$scheduling->resourceHostId = $appcatalogdocs['trestlesResourceId'];
+ //$scheduling->ComputationalProjectAccount = "sds128";
/* Job dimensions and resource queue */
$scheduling->totalCPUCount = 1;
@@ -89,15 +86,6 @@ try
* executes the created experiment.
*/
- $experiment = new Experiment();
- $experiment->projectID = $projectId;
- $experiment->userName = $userName;
- $experiment->name = $experimentName;
- $experiment->applicationId = $applicationId;
- $experiment->userConfigurationData = $userConfigurationData;
- $experiment->experimentInputs = $experimentInputs;
-
-
/* Simple workflow test. */
$user = $argv[1];