CWL guidance improvements + Multipart Deploy/Replace#588
Open
fmigneault wants to merge 4 commits into
Open
Conversation
This was referenced May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves CWL guidance in the DRU extension by fixing incorrect conformance references and adding practical multipart request examples. I also fixed a few formatting items encountered along the way in DRU.
Changes
rc_ogcapppkgtorc_cwl) in CWL deploy/replace requirement bodies.startroot-part selection andContent-ID/cid:host+UUID reference patterns.Content-Dispositionfilename-based part mapping examples.Content-Locationremote-reference variant in multipart example.(e.g.: dealing with encoding vs registered
application/cwl,application/cwl+json,application/cwl+yamlmedia-types and their implications in by-ref vs by-value submission)Future Considerations
Using the proposed
multipart/related, it might be possible to better improve the unification between Part 1, Part 2 DRU, and Part 3 Ad-hoc workflows using CWL. More specifically, the samemultipart/relatedfor the "Deploy" parts might be supplemented by another "Execute"application/jsonpart. A single workflow execution request could then dynamically run the provided workflow and inputs/outputs requirements.The updates provided in this PR would define the "main chuck" of the workflow "Deploy" similarly across Part 2 and Part 3. Therefore, Part 3 would just need to merge Part 2 "Multipart CWL Deploy" with "Core Execute" to define the ad-hoc CWL in a very concrete fashion.
Relates to Ad-hoc CWL workflows not applicable #500
Follow-up PR to be done if ⬆️ sounds good for all.
@pvretano @gfenoy @jerstlouis FYI