Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82E2AE478 for ; Tue, 5 Feb 2013 18:42:53 +0000 (UTC) Received: (qmail 912 invoked by uid 500); 5 Feb 2013 18:42:53 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 877 invoked by uid 500); 5 Feb 2013 18:42:53 -0000 Mailing-List: contact dev-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 dev@airavata.apache.org Received: (qmail 868 invoked by uid 99); 5 Feb 2013 18:42:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 18:42:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pedrorcs@gmail.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 18:42:46 +0000 Received: by mail-we0-f181.google.com with SMTP id t44so419851wey.12 for ; Tue, 05 Feb 2013 10:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=hufA/pssykhUtAPq4/3YLo/Pb4n+A4BLRZ2b/3+etIM=; b=Fb2XpP7Ok57UewHfflm7crD3LEd7vdtbKfrKvpzQGl3RNRi78y4sw6HRXFPumV42pN uf/NBZ5vpY41zPTPrRvx9hMrGksGIQHoQLPUcze8+elFO3ZWQlewfWGtyxPsuItSFxeV Muy3I+xjH6RTWPBcwfhUyWLhxp4mpPOvH51pEdZdXCDzYheSTz44WVk2jPhGhLrJoSIK zIkoIH1uKWYGzHZMWQTe6eWyRZDUpzGR/KbFyDqBBbSNWhNqR9+SGW8rWWSy6kgsm247 GZPkP4soyWkJtaMmg104GclSdemGTcTS9ym3YVr0TQtynfXnSiEN2EXiJYLt8J6hG+Au TV6g== MIME-Version: 1.0 X-Received: by 10.180.84.165 with SMTP id a5mr221637wiz.6.1360089745613; Tue, 05 Feb 2013 10:42:25 -0800 (PST) Received: by 10.194.37.198 with HTTP; Tue, 5 Feb 2013 10:42:25 -0800 (PST) Date: Tue, 5 Feb 2013 12:42:25 -0600 Message-ID: Subject: API Client questions From: Pedro da Silveira To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=f46d0418270e26636a04d4fe92a2 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418270e26636a04d4fe92a2 Content-Type: text/plain; charset=ISO-8859-1 Hi Dev, I have a few question regarding to Airavata API Client. I tested both 2 samples from the directory "apache-airavata-client-0.7-SNAPSHOT/samples". They all ran the echo example successfully. I modified the sample "workflow-run" to submit my pre-defined workflow, which has 4 inputs file "URI", 2 Application Services and total wall time 20 minutes. My workflow ran successfully using API Client as it did on Xbaya. 1 - One part of the code that got my attention was a call to the method "getWorkflowComposeContent()", which reads my workflow saved file with extension ".xwf". I didn't understand the call for this method. Can someone help me? airavataAPI.getWorkflowManager().saveWorkflow(getWorkflowComposeContent()); 2 - The API client transfered my input correctly from my desktop to Lonestar, How can I get one output file back from Lonestar to my desktop using the API? In general, my outputs are just text file and less than 500MB. 3 - I noticed in the monitoring part of the code that a Java Thread is created and keep the application hanging until the end of the monitoring execution. Is that possible to create the thread, check the monitor status and kill thread to check the status later in about N minutes? Or Do I have to keep the thread alive during the job execution? Thank you, Pedro da Silveira --f46d0418270e26636a04d4fe92a2--