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
24 stars 6 forks source link

Support CWL File contents and OGC-API/WPS raw value as Complex Data input #538

Open fmigneault opened 1 year ago

fmigneault commented 1 year ago

Description

Using CWL, it is possible to pass File contents directly instead of path/location using the following definition:

input-name:
  class: File
  contents: |
    File contents as literal string

Provided that OGC API / WPS Complex Input can be specified by raw value instead of href, this could be the way to handle the transition with CWL.

Weaver does not handle well raw data provided as input to a Complex input/output. It expects an href at the moment. This doesn't provide the greatest flexibility for users and compliance to OGC specification.

This strategy could be one approach for supporting #51.

References