Hi Subham,

Yes thats correct, you should be using the InputDataObjectType to set all 
inputs. 

Suresh

> On Dec 13, 2017, at 11:13 PM, Shubham Kumar <[email protected]> wrote:
> 
> 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 <[email protected] 
> <mailto:[email protected]>> 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
>  
> <https://github.com/SciGaP/ultrascan-airavata-bridge/blob/master/AiravataWrapper.php>
>  and 
> https://github.com/SciGaP/ultrascan-airavata-bridge/blob/master/AiravataUtils.php
>  
> <https://github.com/SciGaP/ultrascan-airavata-bridge/blob/master/AiravataUtils.php>
> 
> Suresh
> 
> 
>> On Dec 8, 2017, at 2:58 PM, Shubham Kumar <[email protected] 
>> <mailto:[email protected]>> 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 <[email protected] 
>> <mailto:[email protected]>> 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 <[email protected] 
>> <mailto:[email protected]>> 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 
>> <https://github.com/apache/airavata-django-portal>
>> 
>> Suresh
>> 
>> 
>>> On Dec 3, 2017, at 1:35 PM, Shubham Kumar <[email protected] 
>>> <mailto:[email protected]>> 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 
>>> <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
>> 
>> 
>> 
> 
> 

Reply via email to