On Fri, Mar 14, 2014 at 11:25 AM, Sachith Withana <[email protected]>wrote:

> Hi all,
>
> Almost all gateways have a requirement of retrieving the experiment
> summaries of all the experiments . The fields that are required  differ
> based on the gateway.
>
> For Example:
> CIPRES requires : Experiment name and status
> Some gateways requires the Experiment name with the inputs only.
>
> But right now the getAllExperiments() method returns the list of all the
> Experiments with all the experiment related attributes filled ( the whole
> Experiment Model).
>
> It's costly to get the whole Experiment objects from the API rather than
> getting the required few attributes.
>
> Any suggestions on how we could achieve this?
>
> One suggestion would be to have a getAllExperiments method with the
> parameters as a list of required fields of the Experiments and return only
> those fields.
>
+1, We should make the on-demand and unless number of experiments are very
low there's no way a gateway want to get all the experiments in one go. So
we should tell if experiment number is high api should allow to get few at
a time.

> --
> Thanks,
> Sachith Withana
>



-- 
System Analyst Programmer
PTI Lab
Indiana University

Reply via email to