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 <shuku...@umail.iu.edu> 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 <shuku...@umail.iu.edu 
> <mailto:shuku...@umail.iu.edu>> 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 <sma...@apache.org 
> <mailto:sma...@apache.org>> 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 <shuku...@umail.iu.edu 
>> <mailto:shuku...@umail.iu.edu>> 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