Skip to content

Extensible jobControlOptions for Processes - Part 3 #41

@jerstlouis

Description

@jerstlouis

Describe the bug
Currently, extending the jobControlOptions with a value not specified in jobControlOptons.yaml results in a test failure. There is a plan to add a new value for the OGC API - Processes - Part 3: Workflows & Chaining "Collection Output" requirements class. The value will likely be "collection-output", possibly "landing-page-output" as well.

Expected behavior
There should be a mechanism to extend the jobControlOptions (possibly the schema could have been a oneOf with any string or an enum string), or at least some provision to allow implementing Part 3 "Collection Output" while avertising support for this execution mode (?response=collection / ?response=landingPage), while conforming to Part 1: Core.

One alternative might be to extend outputDescription.yaml, but this execution mode really is neither sync nor async excution.

Currently our implementation includes workflow-collection, and this fails for Test Process List Success with:

body.processes.9.jobControlOptions.1: Value 'workflow-collection' is not defined in the schema. (code: 1006)
From: body.processes.9.<items>.<processSummary.yaml>.<allOf>.jobControlOptions.1.<items>.<jobControlOptions.yaml>.<enum>

We will likely change this to collection-output, and add landing-page-output once supported as well, and update Part 3 to reflect this if it makes sense.

cc @pcdion @gfenoy @pvretano

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions