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

Support expected status response on Sync Job Execute #545

Closed
fmigneault opened this issue Jul 7, 2023 · 1 comment
Closed

Support expected status response on Sync Job Execute #545

fmigneault opened this issue Jul 7, 2023 · 1 comment
Assignees
Labels
project/OGC Related to OGC testbeds or relavant projects. triage/bug Something isn't working triage/conformance Issue related to fixing/ensuring compliance to specifications.

Comments

@fmigneault
Copy link
Collaborator

Describe the bug

Invalid HTTP status code reported from POST execution of a process job in sync.

How to Reproduce

Run OGC test suite, or run a process manually in sync execution mode.

Expected behavior

Sync Job Execute is expected to return 200 OK, as per the specification
https://github.com/opengeospatial/ogcapi-processes/blob/master/openapi/paths/processes-core/pExecution.yaml

In our case, it reports 201 because a Job object is created even though not running in async.

Context

@fmigneault fmigneault added triage/bug Something isn't working triage/conformance Issue related to fixing/ensuring compliance to specifications. project/OGC Related to OGC testbeds or relavant projects. labels Jul 7, 2023
@fmigneault fmigneault self-assigned this Jul 7, 2023
@fmigneault fmigneault added this to the OGC-API Conformances milestone Nov 3, 2023
@fmigneault
Copy link
Collaborator Author

Appropriate codes are returned by sync.
Added a while ago.

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/bug Something isn't working triage/conformance Issue related to fixing/ensuring compliance to specifications.
Projects
None yet
Development

No branches or pull requests

1 participant