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 149A5C7A6 for ; Thu, 13 Nov 2014 15:07:54 +0000 (UTC) Received: (qmail 97241 invoked by uid 500); 13 Nov 2014 15:07:54 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 97194 invoked by uid 500); 13 Nov 2014 15:07: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 97184 invoked by uid 99); 13 Nov 2014 15:07:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 15:07: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 (nike.apache.org: domain of raminderjsingh@gmail.com designates 209.85.192.47 as permitted sender) Received: from [209.85.192.47] (HELO mail-qg0-f47.google.com) (209.85.192.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 15:07:27 +0000 Received: by mail-qg0-f47.google.com with SMTP id j107so10388670qga.20 for ; Thu, 13 Nov 2014 07:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=NLoCnV3jOjoKA+y2fSRQZivpWZ77EFkLeoqtogbcU38=; b=mwQnYksQ5AT/uJEwDwN5Tx/ZHqvTiseY4U1MTdvJ9MN1ymN5vI9KjIAI0olvvGMgkF IAD02652xoEDUlED1UEoORXA10gcVXULj3n41iQtVojAFY/8fiwOgC5oY2FxqWNFUGst 9yEIVVBDADgjstFC1+E9jzj5M7L+ObXBlkvcA5kJOyFeIucVW5boAn4MlkFvZBZIefEt HK9irNjaPz8nwk4WE0CX8HcwPjSahmpi+BRKDS2uiGIiXQURAnacZrA3Kk1aDklUtfCi Vdbr9b8l1NagaR9/i9Iousi4BbXa6VT/R8VEpQUPbwBgkEtUteB4cCY+2ONvXEAGIWGj j52w== X-Received: by 10.140.87.11 with SMTP id q11mr3847357qgd.6.1415891201295; Thu, 13 Nov 2014 07:06:41 -0800 (PST) Received: from ?IPv6:2001:18e8:2:28c6:f000::1ffb? ([2001:18e8:2:28c6:f000::1ffb]) by mx.google.com with ESMTPSA id n89sm13446143qge.24.2014.11.13.07.06.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 07:06:40 -0800 (PST) From: Raminder Singh Content-Type: multipart/alternative; boundary="Apple-Mail=_B69D8013-C48D-4658-A6EB-6B6B9F8ECB6C" Message-Id: <0852E601-2447-403F-A291-4FFD0705B1AD@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Questions about Custom Application Registration and Complex Input/Output Data Date: Thu, 13 Nov 2014 10:06:37 -0500 References: ,,<20141105180559.GC8515@merrimac.sdsc.edu>, ,<4ECA10A8-6468-45B3-A812-E8FB7E606A7E@apache.org> To: dev@airavata.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_B69D8013-C48D-4658-A6EB-6B6B9F8ECB6C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 TokenID are used for credential store and can be used to store and = retrieve SSH or Grid credentials. You can read [1] for more details. = Yes, you are right incase of localhost we don=92t need any credentials = and we ignore the value. For developers and evaluation users, we have = SSH and Myproxy properties in airavata-server.properties. Incase you = send a token which does not exist in credential store (sample values), = we use airavata-server properties values. I hope this helps. I will let = Suresh reply to your other queries.=20 1. = https://scholarworks.iu.edu/dspace/bitstream/handle/2022/17379/ccgrid_2014= _credential_store.pdf?sequence=3D1 Thanks Raminder On Nov 13, 2014, at 9:21 AM, SmashRod Alfredo = wrote: > Hi Suresh and Everyone, > I have another question to add to my previous meanwhile, > what do sshTokenId and gsisshTokenId mean (into launchExperiment = method)? In the samples are hard-coded values.. are they really = influent? At least using localhost as computeHost it's unnecessary to = use/generate them right? >=20 > Thanks again, >=20 > Alfredo >=20 > > Subject: Re: Questions about Custom Application Registration and = Complex Input/Output Data > > From: smarru@apache.org > > Date: Tue, 11 Nov 2014 16:54:39 -0500 > > To: dev@airavata.apache.org > >=20 > > Hi Alfredo, > >=20 > > Thank you for these thoughtful questions. I will get back to you in = detail ASAP. > >=20 > > Suresh > >=20 > > On Nov 11, 2014, at 1:00 PM, SmashRod Alfredo = wrote: > >=20 > > > Hi everyone! > > >=20 > > > I understand how to retrieves specific experiment results directly = into a customized version of CreateLaunchExperiment java class.=20 > > >=20 > > > There are more open issues that I would like to ask you: > > >=20 > > > Assuming this scenario: I have a local application (named "MyApp") = developed in a certain language (let's assume python or C++) which takes = some string as launching arguments, (string1 string2 string3), it does = some processing and creates a more or less complex "output" during it's = process. I want to generate an interface application on airavata of that = application. My questions are: > > > a) When creating the registration script for airavata of MyApp, = the 3 argument string that my application needs are translated as 3 = separated InputDataObjectType (of string type)? > > > b) Assuming a simple case where "output" is composed by a string = indicating the result of the processing, how is this "output" associated = to the output of the airavata interface which I'm creating? it's always = what happens comes with the stout of the system or there is a specific = procedure to follow into MyApp or before create the registration script? > > > c) (Related to question b) If the Input (or the Ouput) of an = application is a complex object (not simple object such as string or int = but more or less complex structures) wow can translate that into the = airavata Interface? .Is it supported? Do I need to register = class/structure on apache thrift server and use the thrift-generates = interfaces directly into my application in order to associate a possible = airavata OutputDataObjectType? > > >=20 > > > I hope to have been sufficiently clear exposing my doubts, > > >=20 > > > Thanks for your replies > > >=20 > > > Alfredo > > --Apple-Mail=_B69D8013-C48D-4658-A6EB-6B6B9F8ECB6C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 TokenID are used for credential store and can be = used to store and retrieve SSH or Grid credentials. You can read [1] for = more details. Yes, you are right incase of localhost we don=92t need any = credentials and we ignore the value. For developers and evaluation = users, we have SSH and Myproxy properties in airavata-server.properties. = Incase you send a token which does not exist in credential store (sample = values), we use airavata-server properties values. I hope this helps. I = will let Suresh reply to your other = queries. 

1. https://scholarworks.iu.edu/ds= pace/bitstream/handle/2022/17379/ccgrid_2014_credential_store.pdf?sequence= =3D1

Thanks
Raminder

On Nov 13, 2014, at 9:21 AM, SmashRod Alfredo <smashrod@hotmail.it> = wrote:

Hi Suresh and = Everyone,
I have another question to add to my previous = meanwhile,
what do sshTokenId and gsisshTokenId mean (into = launchExperiment method)? In the samples are hard-coded values.. are = they really influent? At least using localhost as computeHost it's = unnecessary to use/generate them right?

Thanks = again,

Alfredo

> Subject: Re: Questions about = Custom Application Registration and Complex Input/Output Data
> = From: smarru@apache.org
> Date: = Tue, 11 Nov 2014 16:54:39 -0500
> To: dev@airavata.apache.org
>= ; 
> Hi = Alfredo,
> 
> Thank you for = these thoughtful questions. I will get back to you in detail = ASAP.
> 
> = Suresh
> 
> = On Nov 11, 2014, at 1:00 PM, SmashRod Alfredo <smashrod@hotmail.it> = wrote:
> 
> = > Hi everyone!
> > 
> > I understand = how to retrieves specific experiment results directly into a customized = version of CreateLaunchExperiment java class. 
> > 
> > There are = more open issues that I would like to ask you:
> > 
> > Assuming this = scenario: I have a local application (named "MyApp") developed in a = certain language (let's assume python or C++) which takes some string as = launching arguments, (string1 string2 string3), it does some processing = and creates a more or less complex "output" during it's process. I want = to generate an interface application on airavata of that application. My = questions are:
> > a) When creating the registration script for = airavata of MyApp, the 3 argument string that my application needs are = translated as 3 separated InputDataObjectType (of string type)?
> = > b) Assuming a simple case where "output" is composed by a string = indicating the result of the processing, how is this "output" associated = to the output of the airavata interface which I'm creating? it's always = what happens comes with the stout of the system or there is a specific = procedure to follow into MyApp or before create the registration = script?
> > c) (Related to question b) If the Input (or the = Ouput) of an application is a complex object (not simple object such as = string or int but more or less complex structures) wow can translate = that into the airavata Interface? .Is it supported? Do I need to = register class/structure on apache thrift server and use the = thrift-generates interfaces directly into my application in order to = associate a possible airavata OutputDataObjectType?
> > 
> > I hope to = have been sufficiently clear exposing my doubts,
> > 
> > Thanks for = your replies
> > 
> > = Alfredo
>

= --Apple-Mail=_B69D8013-C48D-4658-A6EB-6B6B9F8ECB6C--