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 1A9B510450 for ; Sun, 2 Mar 2014 21:04:49 +0000 (UTC) Received: (qmail 11840 invoked by uid 500); 2 Mar 2014 21:04:48 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 11774 invoked by uid 500); 2 Mar 2014 21:04:48 -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 11766 invoked by uid 99); 2 Mar 2014 21:04:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2014 21:04:48 +0000 Received: from localhost (HELO [10.0.1.4]) (127.0.0.1) (smtp-auth username smarru, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2014 21:04:47 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Integrating the thrift client into a Gateway From: Suresh Marru In-Reply-To: Date: Sun, 2 Mar 2014 16:04:45 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <502F0DEF-E231-4BF9-A69B-111584DF8776@apache.org> References: To: Airavata Dev X-Mailer: Apple Mail (2.1874) Hi Supun, We started on the host description model [1], but it will take some time = before the implementation of it completes. So you can expect to work = with these very soon. While you wait, you can try few things: * Get familiar with the status of previous web interfaces so we can = weigh on if changing XBaya is better or finishing the web interface. = Please refer to [2] and [3], build the codes and get a feel for whats = already there. The codes should be in [4]. Suresh [1] - = https://git-wip-us.apache.org/repos/asf?p=3Dairavata.git;a=3Dblob_plain;f=3D= airavata-api/thrift-interface-descriptions/computeResourceDescription.thri= ft;hb=3DHEAD [2] - = https://cwiki.apache.org/confluence/display/AIRAVATA/WebUI+-+Architecture+= and+Components+overview [3] - = https://cwiki.apache.org/confluence/display/AIRAVATA/Web-Based+Experiment+= Builder [4] - https://svn.apache.org/repos/asf/airavata/sandbox/gsoc2013/ On Mar 1, 2014, at 1:37 PM, Lahiru Gunathilake = wrote: > Hi Supun, >=20 > First its a good question. We currently do not support those = operations in thrift-client-api. If you can have a look at = OrchestratorClientFactoryTest.java u can see how we are saving = descriptor documents. Please use the old Registry to do those tasks. >=20 > Lahiru >=20 >=20 > On Sat, Mar 1, 2014 at 12:55 PM, Supun Nakandala = wrote: > Hi Lahiru, >=20 > Since Sachith has asked about the Airavata client sdk I think this is = the best place to ask my question. >=20 > I went through the documentation related to the new thrift API and = also through the airavata-api code. But I cannot understand how to do = the actions like > -> Adding host descriptors to the registry > -> Adding service descriptors to the registry > -> Adding workflows to the registry etc ... > using the new thrift API which can be done using the 0.11 Airavata = API.=20 >=20 > Can you explain me how can we use the new thrift api to achieve the = above tasks. >=20 > Thank you. >=20 >=20 > On Sat, Mar 1, 2014 at 12:33 PM, Lahiru Gunathilake = wrote: > Hi Sachith, >=20 > You don't have to generate any code,we are providing client bundle and = just have to use it to program against the api we provide. We will be = able to come up with a full working sample just using our thrift client, = then you just have to follow that sample. >=20 > Lahiru >=20 >=20 > On Sat, Mar 1, 2014 at 1:59 AM, Sachith Withana = wrote: > Hi all, >=20 > Can someone tell me how I can integrate the java client into a = gateway? > Do you have the jars or do I need to generate my client using the = thrift file? >=20 > --=20 > Thanks, > Sachith Withana >=20 >=20 >=20 >=20 > --=20 > System Analyst Programmer > PTI Lab > Indiana University >=20 >=20 >=20 > --=20 > Thank you > Supun Nakandala > Dept. Computer Science and Engineering > University of Moratuwa >=20 >=20 >=20 > --=20 > System Analyst Programmer > PTI Lab > Indiana University