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

svn commit: r826821 - in /websites/staging/airavata/trunk/content: ./ airavata/documentation/system/airavata-in-10-minutes.html

Author: buildbot
Date: Tue Jul 24 16:08:33 2012
New Revision: 826821

Log:
Staging update by buildbot for airavata

Modified:
    websites/staging/airavata/trunk/content/   (props changed)
    websites/staging/airavata/trunk/content/airavata/documentation/system/airavata-in-10-minutes.html

Propchange: websites/staging/airavata/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 24 16:08:33 2012
@@ -1 +1 @@
-1365027
+1365152

Modified: websites/staging/airavata/trunk/content/airavata/documentation/system/airavata-in-10-minutes.html
==============================================================================
--- websites/staging/airavata/trunk/content/airavata/documentation/system/airavata-in-10-minutes.html (original)
+++ websites/staging/airavata/trunk/content/airavata/documentation/system/airavata-in-10-minutes.html Tue Jul 24 16:08:33 2012
@@ -140,54 +140,89 @@ AIRAVATA_HOME/bin/xbaya-gui.sh - This wi
 <li>
 <p>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</p>
 <ul>
-<li>First, we will register a Host Description using menu XBaya-&gt; New -&gt; Host Description...
+<li>First, we will register a Host Description using menu XBaya -&gt; 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>
-<img alt="1" src="/airavata/documentation/system/airavata-in-10-minutes/1.png" /> 
-<br></br>
-<img alt="2" src="/airavata/documentation/system/airavata-in-10-minutes/2.png" />
 <br></br></li>
 <li>Give name and address of the host. Use Localhost and 127.0.0.1 for this tutorial
-<br></br>
-<img alt="3" src="/airavata/documentation/system/airavata-in-10-minutes/3.png" />
 <br></br></li>
-<li>Second, we will register a Service Description using menu XBaya -&gt; New -&gt; Service Description...
+<li>
+<p>Second, we will register a Service Description using menu XBaya -&gt; 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>
-<img alt="4" src="/airavata/documentation/system/airavata-in-10-minutes/4.png" />
-<br></br>
-<img alt="5" src="/airavata/documentation/system/airavata-in-10-minutes/5.png" />
-<br></br></li>
-<li>Lastly, we will register a Deployment Description using menu XBaya -&gt; New -&gt; 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). <br />
-  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>
-<img alt="6" src="/airavata/documentation/system/airavata-in-10-minutes/6.png" />
-<br></br>
-<img alt="7" src="/airavata/documentation/system/airavata-in-10-minutes/7.png" />
-<br></br></li>
+  Note*: output parameter name must be echo_output in order to use with this echo.sh sample.</p>
+<div class="codehilite"><pre><span class="nt">&lt;table&gt;</span>
+    <span class="nt">&lt;tr&gt;</span>
+        <span class="nt">&lt;th</span> <span class="na">width=</span><span class="s">&quot;100&quot;</span><span class="nt">&gt;&lt;b&gt;</span>IO<span class="nt">&lt;/b&gt;&lt;/th&gt;</span>
+        <span class="nt">&lt;th&gt;</span>Parameter Name<span class="nt">&lt;/th&gt;</span>
+        <span class="nt">&lt;th&gt;</span>Type<span class="nt">&lt;/th&gt;</span>
+    <span class="nt">&lt;/tr&gt;</span>
+    <span class="nt">&lt;tr&gt;</span>
+        <span class="nt">&lt;td</span> <span class="na">width=</span><span class="s">&quot;100&quot;</span><span class="nt">&gt;</span>Input<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;td&gt;</span>echo_input<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;td&gt;</span>String<span class="nt">&lt;/td&gt;</span>
+    <span class="nt">&lt;/tr&gt;</span>
+    <span class="nt">&lt;tr&gt;</span>
+        <span class="nt">&lt;td</span> <span class="na">width=</span><span class="s">&quot;100&quot;</span><span class="nt">&gt;</span>Output<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;td&gt;</span>echo_output<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;td&gt;</span>String<span class="nt">&lt;/td&gt;</span>
+    <span class="nt">&lt;/tr&gt;</span>
+<span class="nt">&lt;/table&gt;</span>
+<span class="nt">&lt;br&gt;&lt;/br&gt;</span>
+- Then, click &quot;New Deployment&quot; button. Give a name, an executable location, and a temporary directory to store
+  runtime data.
+</pre></div>
+
+
+</li>
 </ul>
+<p>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".</p>
+<div class="codehilite"><pre>    <span class="nt">&lt;table&gt;</span>
+        <span class="nt">&lt;tr&gt;</span>
+            <span class="nt">&lt;td</span> <span class="na">width=</span><span class="s">&quot;100&quot;</span><span class="nt">&gt;&lt;b&gt;</span>Application Host<span class="nt">&lt;/b&gt;&lt;/td&gt;</span>
+            <span class="nt">&lt;td&gt;</span>0.1 or later<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;/tr&gt;</span>
+        <span class="nt">&lt;tr&gt;</span>
+            <span class="nt">&lt;td&gt;&lt;b&gt;</span>Executable path<span class="nt">&lt;/b&gt;&lt;/td&gt;</span>
+            <span class="nt">&lt;td&gt;</span>/bin/echo.sh<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;/tr&gt;</span>
+        <span class="nt">&lt;tr&gt;</span>
+            <span class="nt">&lt;td&gt;&lt;b&gt;</span>Scratch working directory<span class="nt">&lt;/b&gt;&lt;/td&gt;</span>
+            <span class="nt">&lt;td&gt;</span>/tmp<span class="nt">&lt;/td&gt;</span>
+        <span class="nt">&lt;/tr&gt;</span>
+    <span class="nt">&lt;/table&gt;</span>
+</pre></div>
+
+
+<p>Afterwards Click the "Add" button.
+<br></br>
+- Lastly, click the "Register" button to register the application.
+<br></br></p>
 </li>
 <li>
-<p>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.
+<p>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>
 <img alt="8" src="/airavata/documentation/system/airavata-in-10-minutes/8.png" />
 <br></br></p>
 </li>
 <li>
-<p>Now, it's time to invoke the workflow created in Step 5. To invoke this workflow click on Run -&gt; 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.
+<p>Now, it's time to invoke the workflow created in Step 5. To invoke this workflow click on Run -&gt; 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>
 <img alt="9" src="/airavata/documentation/system/airavata-in-10-minutes/9.png" />
 <br></br></p>
 </li>
 <li>
-<p>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.
+<p>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>
 <img alt="12" src="/airavata/documentation/system/airavata-in-10-minutes/11.png" />
 <br></br></p>