Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception to status on failed job #605

Open
fmigneault opened this issue Mar 4, 2024 · 0 comments
Open

Add exception to status on failed job #605

fmigneault opened this issue Mar 4, 2024 · 0 comments
Assignees
Labels
project/OGC Related to OGC testbeds or relavant projects. triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

Description

As per https://github.com/opengeospatial/ogcapi-processes/pull/399/files, the status response can now directly include the exception field.

When the job ends in status: failed, this field could be appended.
The exception details are already encoded in the job object:

"exceptions": self.exceptions,

Only need to add the value to the schema definition for it to be reported in the response.
Needs to consider which exception to return since a list is supported in the case of the existing job property.

References

@fmigneault fmigneault added triage/feature New requested feature. triage/conformance Issue related to fixing/ensuring compliance to specifications. project/OGC Related to OGC testbeds or relavant projects. labels Mar 4, 2024
@fmigneault fmigneault self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/OGC Related to OGC testbeds or relavant projects. triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant