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 2015/05/10 16:51:46 UTC

airavata git commit: Script to download raabitmq

Repository: airavata
Updated Branches:
  refs/heads/master 702399169 -> 34a840108


Script to download raabitmq


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

Branch: refs/heads/master
Commit: 34a8401081853f9ed67772c88bfddd31be661723
Parents: 7023991
Author: Suresh Marru <sm...@apache.org>
Authored: Sun May 10 10:51:40 2015 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Sun May 10 10:51:40 2015 -0400

----------------------------------------------------------------------
 .../experimentModel.thrift                      |  2 --
 tools/rabbitmq-download-start.sh                | 22 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/34a84010/airavata-api/thrift-interface-descriptions/experimentModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/experimentModel.thrift b/airavata-api/thrift-interface-descriptions/experimentModel.thrift
index 552475f..51aaca7 100644
--- a/airavata-api/thrift-interface-descriptions/experimentModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/experimentModel.thrift
@@ -233,8 +233,6 @@ struct QualityOfServiceParams {
     3: optional i32 numberofRetries
 }
 
-
-
 /**
  * A structure holding the experiment configuration.
  *

http://git-wip-us.apache.org/repos/asf/airavata/blob/34a84010/tools/rabbitmq-download-start.sh
----------------------------------------------------------------------
diff --git a/tools/rabbitmq-download-start.sh b/tools/rabbitmq-download-start.sh
new file mode 100755
index 0000000..ea4d9bd
--- /dev/null
+++ b/tools/rabbitmq-download-start.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+
+RABBITMQ_DOWNLOAD_URL="https://github.com/rabbitmq/rabbitmq-server/releases/download/rabbitmq_v3_5_1/rabbitmq-server-generic-unix-3.5.1.tar.gz"
+RABBITMQ_DIRECTORY="rabbitmq_server-3.5.1"
+
+echo "Downloading RabbitMQ Distribution from $RABBITMQ_DOWNLOAD_URL"
+
+curl -L $RABBITMQ_DOWNLOAD_URL | tar xz
+
+echo "Changing into RabbitMQ Directory $RABBITMQ_DIRECTORY"
+cd $RABBITMQ_DIRECTORY
+
+if [ -f `pwd`/$RABBITMQ_DIRECTORY/sbin/rabbitmq-server ]; then
+   echo "RabbitMQ Server script exists"
+else
+   echo "RabbitMQ startup script does not exist. Please check the download"
+fi
+
+
+
+
+