You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by pa...@apache.org on 2011/10/13 22:24:02 UTC

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

Author: patanachai
Date: Thu Oct 13 20:24:02 2011
New Revision: 1183069

URL: http://svn.apache.org/viewvc?rev=1183069&view=rev
Log:
Update 10 minutes tutorial

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=1183069&r1=1183068&r2=1183069&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 Thu Oct 13 20:24:02 2011
@@ -26,61 +26,61 @@ AIRAVATA_HOME/bin/jackrabbit-server.sh -
 AIRAVATA_HOME/bin/airavata-server.sh - This will start SimpleAxis2Server on port 8080
 AIRAVATA_HOME/bin/xbaya-gui.sh - This will start XBaya GUI application.
 
-3. Now you have the simple-math-service running on Axis2 and next step is to invoke that service from an XBaya workflow. Use following screenshots to create the workflow and invoke.
+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
 
-
-
-
-  - Add Registry Instance to XBaya by giving URL :
-        http://localhost:8081/rmi (keep the default values as it is) with
-        registry  username and password as admin/admin from XBaya ->
-        Component -> Add Registry menu. After adding registry successfully
-        you will see a new Component (JCR Component) in component List in
-        left-hand side of XBaya.3.3.
+  - First, we will register a Host Description using menu Register Applications -> Register Compute/Service 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/01.png) 
 </br></br>
 ![2](/airavata/documentation/system/airavata-in-10-minutes/02.png)
 </br></br>
+  
+  - 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/03.png)
 </br></br>
+
+  - Second, we will register a Service Description using menu Register Applications -> Register Application 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/04.png)
 </br></br>
 ![5](/airavata/documentation/system/airavata-in-10-minutes/05.png)
 </br></br>
+
+  - Lastly, we will register a Deployment Description using menu Register Applications -> Register Application Deployment 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: An executable location is a echo.sh location on your machine.
+
 ![6](/airavata/documentation/system/airavata-in-10-minutes/06.png)
 </br></br>
 ![7](/airavata/documentation/system/airavata-in-10-minutes/07.png)
 </br></br>
+
+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.
+
 ![8](/airavata/documentation/system/airavata-in-10-minutes/08.png)
 </br></br>
 ![9](/airavata/documentation/system/airavata-in-10-minutes/09.png)
 </br></br>
 ![10](/airavata/documentation/system/airavata-in-10-minutes/10.png)
 </br></br>
+
+
+5.Now Its time to invoke the workflow created in Step 4. To invoke this workflow click on Workflow -> Launch Dynamic Workflow 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 a text and click OK.
+
 ![11](/airavata/documentation/system/airavata-in-10-minutes/11.png)
 </br></br>
-![12](/airavata/documentation/system/airavata-in-10-minutes/12.png)
-</br></br>
-
-  - Providing the WSDL URL of the SimpleMathService we are going to
-    invoke as http://localhost:8080/axis2/services/SimpleMathService?wsdl to XBaya-> Component -> Add WSDL by URL Menu.
 
-  - After successfully adding WSDL you will see another Component in
-    Component List .. click on the new Components showing up until you
-    see set of operations in SimpleMathServcie.
-    
-  - Now Select greet Method and drag and drop the greet method in to
-    workflow sheet in right handside then drag and drop
-    Components->System Components -> Input  and Components -> System
-    Components -> Output and connect the Input and Output to greet box
-    as in the below screen shots.
-
-  - Now you are have successfully created a workflow with SimpleMathService greet operation.
-
-
-4.Now Its time to invoke the workflow created in Step 3. To invoke this workflow click on Workflow -> Launch Dynamic Workflow 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 a text and click OK. 
-Press OK button for Provide Unique Name for workflow Notification popup too as in below screenshots.
+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.
 
-5.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/12.png)
+</br></br>