You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/07/30 18:36:00 UTC

[jira] [Commented] (AIRAVATA-3491) JavaScript utility code for creating an experiment

    [ https://issues.apache.org/jira/browse/AIRAVATA-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390743#comment-17390743 ] 

ASF subversion and git services commented on AIRAVATA-3491:
-----------------------------------------------------------

Commit 307e51833a3165a3767d4d1554ac811100c37e96 in airavata-django-portal's branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=307e518 ]

AIRAVATA-3491: tutorial: update to use createExperiment utility


> JavaScript utility code for creating an experiment
> --------------------------------------------------
>
>                 Key: AIRAVATA-3491
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3491
>             Project: Airavata
>          Issue Type: Improvement
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Creating an Airavata Experiment object requires loading several different objects from the API (application interface, group resource profile, application deployments, compute resources), even if the developer is only interested in acquiring the default values. For some (most?) custom Django app interfaces that create Experiment objects, there is no need in the UI to give users the flexibility of choosing the Group Resource Profile or Compute Resource (application deployment) or the queue or the cores/nodes/walltime. The default values are sufficient.
> Thus it would be quite convenient to custom UI developers to have a JavaScript utility that could take in some simple settings, like the application name or id and the compute resource name, and load the necessary objects to construct a default Experiment object.
> As an example, see this boilerplate code in the SimCCS maptool UI that constructs an experiment object, which could be replaced by the utility function envisioned by this issue:
> https://github.com/SciGaP/simccs-maptool/blob/master/simccs_maptool/templates/simccs_maptool/build.html#L558-L645



--
This message was sent by Atlassian Jira
(v8.3.4#803005)