Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FBE0DA78 for ; Mon, 5 Nov 2012 16:01:23 +0000 (UTC) Received: (qmail 65188 invoked by uid 500); 5 Nov 2012 16:01:23 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 65113 invoked by uid 500); 5 Nov 2012 16:01:21 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 64683 invoked by uid 99); 5 Nov 2012 16:01:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 16:01:21 +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, 05 Nov 2012 16:01:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 71F1623889D5 for ; Mon, 5 Nov 2012 16:00:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1405854 - in /airavata/sandbox/client-api-demo/src/main/webapp: ./ js/ jsp/ Date: Mon, 05 Nov 2012 16:00:59 -0000 To: commits@airavata.apache.org From: heshan@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121105160059.71F1623889D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: heshan Date: Mon Nov 5 16:00:57 2012 New Revision: 1405854 URL: http://svn.apache.org/viewvc?rev=1405854&view=rev Log: Restructred code. Added: airavata/sandbox/client-api-demo/src/main/webapp/index.html airavata/sandbox/client-api-demo/src/main/webapp/js/ airavata/sandbox/client-api-demo/src/main/webapp/js/x_app_descriptor_save_json.js - copied unchanged from r1405839, airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.js airavata/sandbox/client-api-demo/src/main/webapp/js/x_host_descriptor_save_json.js - copied, changed from r1405840, airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.js airavata/sandbox/client-api-demo/src/main/webapp/jsp/ airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_app.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_app.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_app_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_app_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_workflow_init.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_init.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_workflow_list.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_list.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_workflow_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/execute_workflow_run.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_run.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/index.jsp - copied, changed from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/index.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/monitor_experiment.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/monitor_experiment.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/monitor_experiment_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/monitor_experiment_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/register_app.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/register_app.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/register_app_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/register_app_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/register_host.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/register_host.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/register_host_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/register_host_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/server_info.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/server_info.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/server_info_result.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/server_info_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/jsp/temp.jsp - copied unchanged from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/temp.jsp Removed: airavata/sandbox/client-api-demo/src/main/webapp/execute_app.jsp airavata/sandbox/client-api-demo/src/main/webapp/execute_app_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_init.jsp airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_list.jsp airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/execute_workflow_run.jsp airavata/sandbox/client-api-demo/src/main/webapp/index.jsp airavata/sandbox/client-api-demo/src/main/webapp/monitor_experiment.jsp airavata/sandbox/client-api-demo/src/main/webapp/monitor_experiment_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/register_app.jsp airavata/sandbox/client-api-demo/src/main/webapp/register_app_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/register_host.jsp airavata/sandbox/client-api-demo/src/main/webapp/register_host_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/server_info.jsp airavata/sandbox/client-api-demo/src/main/webapp/server_info_result.jsp airavata/sandbox/client-api-demo/src/main/webapp/temp.jsp airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.js airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.js Modified: airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.html airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.html Added: airavata/sandbox/client-api-demo/src/main/webapp/index.html URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/index.html?rev=1405854&view=auto ============================================================================== --- airavata/sandbox/client-api-demo/src/main/webapp/index.html (added) +++ airavata/sandbox/client-api-demo/src/main/webapp/index.html Mon Nov 5 16:00:57 2012 @@ -0,0 +1,27 @@ + + + + Airavata Demo + + + +

Airavata API Demo

+ +
+

View Host Descriptors - Jason

+

View App Descriptors - Jason

+ +
+

Save Host Descriptor - jason

+

Save App Descriptor - Jason

+
+ +

Save Host Descriptor

+

Save App Descriptor

+ +

Registry Service Test Get

+

Registry Service Test Post

+ + + \ No newline at end of file Copied: airavata/sandbox/client-api-demo/src/main/webapp/js/x_host_descriptor_save_json.js (from r1405840, airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.js) URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/js/x_host_descriptor_save_json.js?p2=airavata/sandbox/client-api-demo/src/main/webapp/js/x_host_descriptor_save_json.js&p1=airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.js&r1=1405840&r2=1405854&rev=1405854&view=diff ============================================================================== --- airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.js (original) +++ airavata/sandbox/client-api-demo/src/main/webapp/js/x_host_descriptor_save_json.js Mon Nov 5 16:00:57 2012 @@ -30,10 +30,10 @@ $(document).ready(function(){ var hostName = $("#hostName1").val(); var hostAddress = $("#hostAddress1").val(); var hostEndpoint = $("#hostEndpoint1").val(); - alert(hostEndpoint); - alert(hostEndpoint); - alert("hostEndpoint null :" + hostEndpoint == null); - alert("hostEndpoint empty :" + hostEndpoint == ""); +// alert(hostEndpoint); +// alert(hostEndpoint); +// alert("hostEndpoint null :" + hostEndpoint == null); +// alert("hostEndpoint empty :" + hostEndpoint == ""); var gatekeeperEndpoint = $("#gatekeeperEndpoint1").val(); var xml = $('' + hostName + '' + hostAddress + ''); @@ -47,9 +47,9 @@ $(document).ready(function(){ } console.log(xmlString); - alert(hostName); - alert(hostAddress); - alert(xmlString); +// alert(hostName); +// alert(hostAddress); +// alert(xmlString); if (("" == hostEndpoint) || ("" == gatekeeperEndpoint)) { alert("if Case"); Copied: airavata/sandbox/client-api-demo/src/main/webapp/jsp/index.jsp (from r1405775, airavata/sandbox/client-api-demo/src/main/webapp/index.jsp) URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/jsp/index.jsp?p2=airavata/sandbox/client-api-demo/src/main/webapp/jsp/index.jsp&p1=airavata/sandbox/client-api-demo/src/main/webapp/index.jsp&r1=1405775&r2=1405854&rev=1405854&view=diff ============================================================================== --- airavata/sandbox/client-api-demo/src/main/webapp/index.jsp (original) +++ airavata/sandbox/client-api-demo/src/main/webapp/jsp/index.jsp Mon Nov 5 16:00:57 2012 @@ -15,18 +15,18 @@ <%--

Register an Application

--%> <%--

Execute an Application

--%>
-

View Host Descriptors - Jason

-

View App Descriptors - Jason

+

View Host Descriptors - Jason

+

View App Descriptors - Jason


-

Save Host Descriptor - jason

-

Save App Descriptor - Jason

+

Save Host Descriptor - jason

+

Save App Descriptor - Jason


-

Save Host Descriptor

-

Save App Descriptor

+

Save Host Descriptor

+

Save App Descriptor

-

Registry Service Test Get

-

Registry Service Test Post

+

Registry Service Test Get

+

Registry Service Test Post

\ No newline at end of file Modified: airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.html URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.html?rev=1405854&r1=1405853&r2=1405854&view=diff ============================================================================== --- airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.html (original) +++ airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_json.html Mon Nov 5 16:00:57 2012 @@ -7,7 +7,7 @@ - + Register Host Description
Modified: airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.html URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.html?rev=1405854&r1=1405853&r2=1405854&view=diff ============================================================================== --- airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.html (original) +++ airavata/sandbox/client-api-demo/src/main/webapp/x_host_descriptor_save_json.html Mon Nov 5 16:00:57 2012 @@ -7,7 +7,7 @@ - + Register Host Description