airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject [31/50] [abbrv] git commit: disable samples
Date Tue, 22 Jul 2014 15:05:56 GMT
disable samples


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

Branch: refs/heads/workflow-support
Commit: f4b384bfe36cd6a71e3db8b1e62a1e8161382724
Parents: 1a223e8
Author: Saminda Wijeratne <samindaw@gmail.com>
Authored: Sun Jul 13 22:20:51 2014 -0400
Committer: Saminda Wijeratne <samindaw@gmail.com>
Committed: Sun Jul 13 22:20:51 2014 -0400

----------------------------------------------------------------------
 .../resources/php-cli-samples/deleteApplicationInterface.php   | 2 ++
 .../main/resources/php-cli-samples/deleteComputeResource.php   | 2 ++
 .../php-cli-samples/deleteGatewayComputeResourcePreference.php | 2 ++
 .../src/main/resources/php-cli-samples/getAiravataClient.php   | 6 +++++-
 .../resources/php-cli-samples/registerApplicationInterface.php | 2 ++
 .../resources/php-cli-samples/updateApplicationInterface.php   | 2 ++
 6 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteApplicationInterface.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteApplicationInterface.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteApplicationInterface.php
index 604cc2d..1710905 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteApplicationInterface.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteApplicationInterface.php
@@ -8,6 +8,8 @@ include 'getAiravataClient.php';
 global $airavataclient;
 global $transport;
 
+Airavata\Client\Samples\sampleDisabled();
+
 use Airavata\API\Error\AiravataClientException;
 use Airavata\API\Error\AiravataSystemException;
 use Airavata\API\Error\InvalidRequestException;

http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteComputeResource.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteComputeResource.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteComputeResource.php
index eb2738f..86a1154 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteComputeResource.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteComputeResource.php
@@ -8,6 +8,8 @@ include 'getAiravataClient.php';
 global $airavataclient;
 global $transport;
 
+Airavata\Client\Samples\sampleDisabled();
+
 use Airavata\API\Error\AiravataClientException;
 use Airavata\API\Error\AiravataSystemException;
 use Airavata\API\Error\InvalidRequestException;

http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteGatewayComputeResourcePreference.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteGatewayComputeResourcePreference.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteGatewayComputeResourcePreference.php
index 1d1cb08..1a165ae 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteGatewayComputeResourcePreference.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/deleteGatewayComputeResourcePreference.php
@@ -8,6 +8,8 @@ include 'getAiravataClient.php';
 global $airavataclient;
 global $transport;
 
+Airavata\Client\Samples\sampleDisabled();
+
 use Airavata\API\Error\AiravataClientException;
 use Airavata\API\Error\AiravataSystemException;
 use Airavata\API\Error\InvalidRequestException;

http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/getAiravataClient.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/getAiravataClient.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/getAiravataClient.php
index 15440ce..3d394d6 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/getAiravataClient.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/getAiravataClient.php
@@ -48,5 +48,9 @@ $protocol = new TBinaryProtocol($transport);
 $transport->open();
 $airavataclient = new AiravataClient($protocol);
 
-
+function sampleDisabled()
+{
+	echo 'Execution of this and few other samples is disabled so that pre-configured data for
the XSEDE14 tutorial will remain consistent for the rest of the samples.'."\n\n";
+	exit(0);
+}
 ?>

http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
index bb7491e..4a1e84c 100755
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/registerApplicationInterface.php
@@ -8,6 +8,8 @@ include 'getAiravataClient.php';
 global $airavataclient;
 global $transport;
 
+Airavata\Client\Samples\sampleDisabled();
+
 use Airavata\API\Error\AiravataClientException;
 use Airavata\API\Error\AiravataSystemException;
 use Airavata\API\Error\InvalidRequestException;

http://git-wip-us.apache.org/repos/asf/airavata/blob/f4b384bf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/updateApplicationInterface.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/updateApplicationInterface.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/updateApplicationInterface.php
index 5b96be8..b3c8e94 100755
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/updateApplicationInterface.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples/updateApplicationInterface.php
@@ -12,6 +12,8 @@ use Airavata\API\Error\AiravataClientException;
 use Airavata\API\Error\AiravataSystemException;
 use Airavata\API\Error\InvalidRequestException;
 
+Airavata\Client\Samples\sampleDisabled();
+
 use Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription;
 use Airavata\Model\AppCatalog\AppInterface\InputDataObjectType;
 use Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType;


Mime
View raw message