You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/07/24 18:08:30 UTC

svn commit: r1365152 - /incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-10-minutes.mdtext

Author: heshan
Date: Tue Jul 24 16:08:29 2012
New Revision: 1365152

URL: http://svn.apache.org/viewvc?rev=1365152&view=rev
Log:
Updating 10 minute article.

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=1365152&r1=1365151&r2=1365152&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 Tue Jul 24 16:08:29 2012
@@ -52,50 +52,82 @@ AIRAVATA_HOME/bin/xbaya-gui.sh - This wi
 <br></br>
 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...
+	- First, we will register a Host Description using menu XBaya -> Add Host ...
 	  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
 	<br></br>
-	![1](/airavata/documentation/system/airavata-in-10-minutes/1.png) 
-	<br></br>
-	![2](/airavata/documentation/system/airavata-in-10-minutes/2.png)
-	<br></br>
   	- Give name and address of the host. Use Localhost and 127.0.0.1 for this tutorial
 	<br></br>
-	![3](/airavata/documentation/system/airavata-in-10-minutes/3.png)
-	<br></br>
-	- Second, we will register a Service Description using menu XBaya -> New -> Service Description...
+	- Second, we will register a Service Description using menu XBaya -> Register Application ...
 	  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.
-	<br></br>
-	![4](/airavata/documentation/system/airavata-in-10-minutes/4.png)
-	<br></br>
-	![5](/airavata/documentation/system/airavata-in-10-minutes/5.png)
-	<br></br>
-	- 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. 
-	<br></br>
-	![6](/airavata/documentation/system/airavata-in-10-minutes/6.png)
-	<br></br>
-	![7](/airavata/documentation/system/airavata-in-10-minutes/7.png)
-	<br></br>
 
-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.
+            <table>
+                <tr>
+                    <th width="100"><b>IO</b></th>
+                    <th>Parameter Name</th>
+                    <th>Type</th>
+                </tr>
+                <tr>
+                    <td width="100">Input</td>
+                    <td>echo_input</td>
+                    <td>String</td>
+                </tr>
+                <tr>
+                    <td width="100">Output</td>
+                    <td>echo_output</td>
+                    <td>String</td>
+                </tr>
+            </table>
+	<br></br>
+	- Then, click "New Deployment" button. Give a name, an executable location, and a temporary directory to store
+	  runtime data.
+
+	  Select the Application Host from the drop down list. Preferably, select the Host that you already created or
+	  "LocalHost" from the drop down list. Add executable path as "/bin/echo.sh" and Scratch working directory as "/tmp".
+
+            <table>
+                <tr>
+                    <td width="100"><b>Application Host</b></td>
+                    <td>0.1 or later</td>
+                </tr>
+                <tr>
+                    <td><b>Executable path</b></td>
+                    <td>/bin/echo.sh</td>
+                </tr>
+                <tr>
+                    <td><b>Scratch working directory</b></td>
+                    <td>/tmp</td>
+                </tr>
+            </table>
+
+
+	  Afterwards Click the "Add" button.
+	<br></br>
+	- Lastly, click the "Register" button to register the application.
+	<br></br>
+
+5. Now you have the EchoApplication 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 register Application, you will see EchoApplication item comes under JCR
+Component menu.
 <br></br>
 ![8](/airavata/documentation/system/airavata-in-10-minutes/8.png)
 <br></br>
 
-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.
+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.
 <br></br>
 ![9](/airavata/documentation/system/airavata-in-10-minutes/9.png)
 <br></br>
 
-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.
+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.
 <br></br>
 ![12](/airavata/documentation/system/airavata-in-10-minutes/11.png)
 <br></br>