crim-ca / weaver

Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
https://pavics-weaver.readthedocs.io
Apache License 2.0
23 stars 6 forks source link

[Feature] Alternate CWL package representations #668

Open fmigneault opened 2 weeks ago

fmigneault commented 2 weeks ago

Description

Using the output of the graph parser/viewer, eg: https://view.commonwl.org/workflows/github.com/common-workflow-language/workflows/blob/master/workflows/compile/compile1.cwl%23main

It is possible to obtain an interactive view of a given Application Package. Also, many more formats become available: image

Using https://github.com/common-workflow-language/cwltool and corresponding utilities hosted by https://github.com/common-workflow-language/cwlviewer, an Accept header (or f query) could be used to request all these type variations on /processes/{processID}/package.

Furthermore, given HTML support of the API (https://github.com/crim-ca/weaver/issues/636), the CWL could be immediately rendered inline in the process description page (and maybe even more shortcuts/buttons to obtain the alternate formats).

References