Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E11EF200D68 for ; Thu, 14 Dec 2017 05:13:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DF6D0160C24; Thu, 14 Dec 2017 04:13:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F0A6A160C23 for ; Thu, 14 Dec 2017 05:13:11 +0100 (CET) Received: (qmail 49085 invoked by uid 500); 14 Dec 2017 04:13:11 -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 49075 invoked by uid 99); 14 Dec 2017 04:13:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2017 04:13:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5191C1809C4 for ; Thu, 14 Dec 2017 04:13:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=umail-iu-edu.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SfHEwKXluv6c for ; Thu, 14 Dec 2017 04:13:08 +0000 (UTC) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 400105F489 for ; Thu, 14 Dec 2017 04:13:08 +0000 (UTC) Received: by mail-it0-f42.google.com with SMTP id z6so8135414iti.4 for ; Wed, 13 Dec 2017 20:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umail-iu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8jHo6CpwGE9xfV1NRrDpX6RVCqhCVDlgMBaEdOws32I=; b=aa6RODSGOCIYsbQTPU89FwmAVAXyEnS0Tk5tLEH/3VfQ3T9H+itF3Pa2pcW3P2RyUk m70YJXkYaYfR/wnQiVV8deIR9olxlsoBPQ+ywSu/Qd08EPVZ5frzyqJ21qxiFm1+uc8H kH+VPOQIMOrN/gK+6W0FRl8eDD24DdqccjXMg6eXPtMR3bcVTqocHUU5LD8WXFOvvHwM 8cB70TiYIbMhODFGk1ry4yyIjHxkM8yeEzMDsgTj6ZxIxOIRcLI/ZoLkizb6nM76dU8X GbvmcvKCUxyBtdDvD0b/7krafMNxTPdjwlmuok7SJdZ2zYCzPZTpZl/FAoj/m4wEDAtB 2qvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8jHo6CpwGE9xfV1NRrDpX6RVCqhCVDlgMBaEdOws32I=; b=tKoz77XKFBjmUch7MFQXZqPTyVFbkOn+wJ60orukz9trcDHm6DL99Cue4rKBQprs+W 7XpbqlI2BpLpEz2DO5yOl6PQtLZEShX3sAm+uq3KWA7dYK5h9oXc3vv3fdP9SXWaa0aU So0+1RhYOXgY+z5ju2UhofDRR/QXhi3li6Xhy28Otsjg5pKMmVHNa9PGWol+iyKob2y6 QvHrIdbMgScifXqBj9CE9pTbBSbtukIiy5Pjx2bCXck3KcUoaWdbSyD6azENAmn5oZIt fnkZXQnr6Ptk91l2dBqyGGySxH/beI7jxgg/NyIRmATQXIJcEuetI8+7y6JoUZDqmAwD kDTg== X-Gm-Message-State: AKGB3mIt23E5OzeypCR9vT95TaI1L4k/IaN9Pt/EM7+ZO8KGHEHepSKO 1bsRMUcYt/EiuxMtNEQfBo8BujnZ2USCSX34gyd9mJ6B X-Google-Smtp-Source: ACJfBou+PcNOEozIg6rO3Ppfu9q9jE+g6c9yxssUQRtONBs5Xmdv8GZlabq0X3vr/bfLtwkqPNx8eadoXAAwWUUFeFM= X-Received: by 10.107.57.215 with SMTP id g206mr5297121ioa.194.1513224787442; Wed, 13 Dec 2017 20:13:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.197.195 with HTTP; Wed, 13 Dec 2017 20:13:06 -0800 (PST) In-Reply-To: References: <7844EEAD-5CFE-4F36-BDE2-F30C3FAE4CEE@apache.org> From: Shubham Kumar Date: Wed, 13 Dec 2017 23:13:06 -0500 Message-ID: Subject: Re: Project for Assignment 6 and 7 To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary="001a114ab9c2ebcd6005604519e5" archived-at: Thu, 14 Dec 2017 04:13:13 -0000 --001a114ab9c2ebcd6005604519e5 Content-Type: text/plain; charset="UTF-8" I have checked the mentioned PHP code. This code uses DataProductModel and DataReplicaLocationModel to handle tar Input files for experiment. THere is no description these models. I thought InputDataObjectType would be used to handle input files. Is this correct ? Best, Shubham On Fri, Dec 8, 2017 at 3:01 PM, Suresh Marru wrote: > Hi Subham, > > The two steps are Create and then Launch. In your sample you can have a > single client to do both. You can look at these PHP examples as a reference: > > https://github.com/SciGaP/ultrascan-airavata-bridge/ > blob/master/AiravataWrapper.php and https://github.com/ > SciGaP/ultrascan-airavata-bridge/blob/master/AiravataUtils.php > > Suresh > > > On Dec 8, 2017, at 2:58 PM, Shubham Kumar wrote: > > Hi, > > I cannot get client side code to createExperiment working. It throws error > - Error creating resource. Error while retrieving resource. > > I see that from UI side, creating experiment is a two step process. First > is to create experiment giving name and description and select application. > Another is to add input files, select compute resource and configurations > of cores and RAM to use. But createExperiment function we only set > owner,experiment > name and description. Is there an equivalent function for 2nd step. > > Best, > Shubham > > On Tue, Dec 5, 2017 at 1:41 PM, Shubham Kumar > wrote: > >> Hi, >> >> While coding, I found that the latest Airavata API library does not >> contains functions like SearchExperimentsByName , SearchExperimentsByDesc, >> SearchExperimentsByApplication , getAllUserProjects but they are used in >> php client side code. >> >> On Mon, Dec 4, 2017 at 3:27 PM, Suresh Marru wrote: >> >>> Hi Shubham, >>> >>> Please replace the python samples with Python 3 instead. Please refer to >>> airavata python client code in Django portal for reference - >>> https://github.com/apache/airavata-django-portal >>> >>> Suresh >>> >>> >>> On Dec 3, 2017, at 1:35 PM, Shubham Kumar wrote: >>> >>> Hello Dev, >>> >>> As discussed with Suresh, for my assignment 6 and 7, I will be working >>> on Developing more airavata python samples in python sdk module (JIRA - >>> https://issues.apache.org/jira/browse/AIRAVATA-1643). I will break up >>> this work into assignment 6 and 7. >>> >>> I see the current code is written in Python 2.7 and requires Thrift >>> 0.10.0 to compile. >>> >>> Best, >>> Shubham >>> >>> >>> >> > > --001a114ab9c2ebcd6005604519e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have checked the mentioned PHP code. This= code uses DataProductModel and DataReplicaLocationModel to handle tar Inpu= t files for experiment. THere is no description these models.
I th= ought=C2=A0 InputDataObjectType would be used to handle input files. Is thi= s correct ?

Best,
Shubham

On Fri, Dec 8, 2017 at 3:01 PM, Sur= esh Marru <smarru@apache.org> wrote:
Hi Subham,

The two steps are Create and then Launch. In= your sample you can have a single client to do both. You can look at these= PHP examples as a reference:


Suresh


On Dec 8, 20= 17, at 2:58 PM, Shubham Kumar <shukumar@umail.iu.edu> wrote:

Hi,

I cannot get client side code to createE= xperiment working. It throws error - Error creating resource. Error while r= etrieving resource.

I see that from UI side, creat= ing experiment is a two step process. First is to create experiment giving = name and description and select application.
Another is to add input fi= les, select compute resource and configurations of cores and RAM to use. Bu= t createExperiment function we only set owner,experiment
name and = description. Is there an equivalent function for 2nd step.

Bes= t,
Shubham

On Tue, Dec 5, 2017 at 1:41 PM, Shubham Kumar <shukumar@um= ail.iu.edu> wrote:
Hi,

While coding, I found that the latest Airava= ta API library does not contains functions like SearchExperimentsByName , S= earchExperimentsByDesc, SearchExperimentsByApplication , getAllUserProjects= but they are used in php client side code.

On Mon, Dec 4, 2017 at 3:27 PM, = Suresh Marru <smarru@apache.org> wrote:
Hi Shubham,

Please replace the python samples with P= ython 3 instead. Please refer to airavata python client code in Django port= al for reference -=C2=A0https://github.com/apache/airavata-django-= portal

Suresh


On Dec 3, 2017,= at 1:35 PM, Shubham Kumar <shukumar@umail.iu.edu> wrote:

Hello Dev,

As= discussed with Suresh, for my assignment 6 and 7, I will be working on Dev= eloping more airavata python samples in python sdk module (JIRA - = https://issues.apache.org/jira/browse/AIRAVATA-1643). I will break= up this work into assignment 6 and 7.

I see t= he current code is written in Python 2.7 and requires Thrift 0.10.0 to comp= ile.

Best,
Shubham




--001a114ab9c2ebcd6005604519e5--