Return-Path: X-Original-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D07C90CA for ; Mon, 11 Jun 2012 10:44:51 +0000 (UTC) Received: (qmail 78376 invoked by uid 500); 11 Jun 2012 10:44:51 -0000 Delivered-To: apmail-incubator-airavata-commits-archive@incubator.apache.org Received: (qmail 78313 invoked by uid 500); 11 Jun 2012 10:44:50 -0000 Mailing-List: contact airavata-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: airavata-dev@incubator.apache.org Delivered-To: mailing list airavata-commits@incubator.apache.org Received: (qmail 78284 invoked by uid 99); 11 Jun 2012 10:44:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 10:44:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 10:44:48 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 077C023889BF; Mon, 11 Jun 2012 10:44:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1348789 - /incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext Date: Mon, 11 Jun 2012 10:44:27 -0000 To: airavata-commits@incubator.apache.org From: smarru@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120611104428.077C023889BF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: smarru Date: Mon Jun 11 10:44:27 2012 New Revision: 1348789 URL: http://svn.apache.org/viewvc?rev=1348789&view=rev Log: accepting Hasitha's patch for AIRAVATA-462 Modified: incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext Modified: incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext URL: http://svn.apache.org/viewvc/incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext?rev=1348789&r1=1348788&r2=1348789&view=diff ============================================================================== --- incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext (original) +++ incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext Mon Jun 11 10:44:27 2012 @@ -42,7 +42,7 @@ Note: Currently Airavata will work with ##Tutorial 1. [Build from source][1] or download the latest Airavata release pack from downloads link 2. Extract the distribution archive (the rest of this document assumes the path to extracted directory is AIRAVATA_HOME) -2. Now Run the following scripts in the given order below to start the components of Airavata. +3. Now Run the following scripts in the given order below to start the components of Airavata.

AIRAVATA_HOME/bin/jackrabbit-server.sh - This will start Jackrabbit repository on port 8081.

@@ -50,55 +50,55 @@ AIRAVATA_HOME/bin/airavata-server.sh - T

AIRAVATA_HOME/bin/xbaya-gui.sh - This will start XBaya GUI application.

-3. The release package will contains an echo command-line application in AIRAVATA_HOME/samples/echo.sh. Now you will register this application and wrap it as a Web service using XBaya. Use following screenshots to register an application +4. The release package will contains an echo command-line application in AIRAVATA_HOME/samples/echo.sh. Now you will register this application and wrap it as a Web service using XBaya. Use following screenshots to register an application - - First, we will register a Host Description using menu XBaya-> New -> Host Description... - If Registry location is unknown, there will be a popup asking for an Registry URL. - Giving URL: http://localhost:8081/rmi (keep the default values as it is) with - registry username and password as admin/admin. After adding registry successfully - you will see a Host Desciption Register form -

-![1](/airavata/documentation/system/airavata-in-10-minutes/1.png) -

-![2](/airavata/documentation/system/airavata-in-10-minutes/2.png) -

- - Give name and address of the host. Use Localhost and 127.0.0.1 for this tutorial -

-![3](/airavata/documentation/system/airavata-in-10-minutes/3.png) -

- - Second, we will register a Service Description using menu XBaya -> New -> Service Description... - This information is used to describe our web service i.e. service name, input parameters, and output parameters. - Since our echo.sh need String as an input and will produce String as output, insert the following value. - Note*: output parameter name must be echo_output in order to use with this echo.sh sample. -

-![4](/airavata/documentation/system/airavata-in-10-minutes/4.png) -

-![5](/airavata/documentation/system/airavata-in-10-minutes/5.png) -

- - Lastly, we will register a Deployment Description using menu XBaya -> New -> Application Description... - It describes how GFac will invoke a command-line application for a specific Web Service (Service Description) on a particular host (Host Description). - Give a name, an executable location, and a temporary directory to store runtime data. Since we have only a Service Description and a Host Description, it is automatically selected. - Note:When you fill the Executable location replace AIRAVATA_HOME path with your extracted location. -

-![6](/airavata/documentation/system/airavata-in-10-minutes/6.png) -

-![7](/airavata/documentation/system/airavata-in-10-minutes/7.png) -

- -4. Now you have the Echo service in the Registry. The next step is to add the registered description as a component in an XBaya workflow and use it to compose a workflow. For a simple workflow composing, please refer to airavata-in-5-minutes tutorial. After you adding Service Description, you will see EchoService item comes under JCR Component menu. + - First, we will register a Host Description using menu XBaya-> New -> Host Description... + If Registry location is unknown, there will be a popup asking for an Registry URL. + Giving URL: http://localhost:8081/rmi (keep the default values as it is) with + registry username and password as admin/admin. After adding registry successfully + you will see a Host Desciption Register form +

+ ![1](/airavata/documentation/system/airavata-in-10-minutes/1.png) +

+ ![2](/airavata/documentation/system/airavata-in-10-minutes/2.png) +

+ - Give name and address of the host. Use Localhost and 127.0.0.1 for this tutorial +

+ ![3](/airavata/documentation/system/airavata-in-10-minutes/3.png) +

+ - Second, we will register a Service Description using menu XBaya -> New -> Service Description... + This information is used to describe our web service i.e. service name, input parameters, and output parameters. + Since our echo.sh need String as an input and will produce String as output, insert the following value. + Note*: output parameter name must be echo_output in order to use with this echo.sh sample. +

+ ![4](/airavata/documentation/system/airavata-in-10-minutes/4.png) +

+ ![5](/airavata/documentation/system/airavata-in-10-minutes/5.png) +

+ - Lastly, we will register a Deployment Description using menu XBaya -> New -> Application Description... + It describes how GFac will invoke a command-line application for a specific Web Service (Service Description) on a particular host (Host Description). + Give a name, an executable location, and a temporary directory to store runtime data. Since we have only a Service Description and a Host Description, it is automatically selected. + Note:When you fill the Executable location replace AIRAVATA_HOME path with your extracted location. +

+ ![6](/airavata/documentation/system/airavata-in-10-minutes/6.png) +

+ ![7](/airavata/documentation/system/airavata-in-10-minutes/7.png) +

+5. Now you have the Echo service in the Registry. The next step is to add the registered description as a component in an XBaya workflow and use it to compose a workflow. For a simple workflow composing, please refer to airavata-in-5-minutes tutorial. After you adding Service Description, you will see EchoService item comes under JCR Component menu.

![8](/airavata/documentation/system/airavata-in-10-minutes/8.png) -

-5. Now, it's time to invoke the workflow created in Step 4. To invoke this workflow click on Run -> Run workflow or just click on red play icon at the top of menu then it will popup a dialog box which you need to provide your input Value (Notification topic and GFac URL will work with default values). Fill up the Input Value with the given XML content you can see in the below screenshot. +

+6. Now, it's time to invoke the workflow created in Step 5. To invoke this workflow click on Run -> Run workflow or just click on red play icon at the top of menu then it will popup a dialog box which you need to provide your input Value (Notification topic and GFac URL will work with default values). Fill up the Input Value with the given XML content you can see in the below screenshot. +

![9](/airavata/documentation/system/airavata-in-10-minutes/9.png) -

+

-6. Now you have invoked the workflow and you will direct in to the Monitoring menu at the bottom of XBaya which will show you the progress of the workflow invocation. -

+7. Now you have invoked the workflow and you will direct in to the Monitoring menu at the bottom of XBaya which will show you the progress of the workflow invocation. +

![12](/airavata/documentation/system/airavata-in-10-minutes/11.png) -

+

- [1]: ../../development/build.html \ No newline at end of file + [1]: ../../development/build.html