Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application 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).
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](https://github.com/crim-ca/weaver/assets/19194484/00a22d2f-144d-4dfa-9282-b070a5be366f)
Using https://github.com/common-workflow-language/cwltool and corresponding utilities hosted by https://github.com/common-workflow-language/cwlviewer, an
Accept
header (orf
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