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 various return preference header #414

Open
6 tasks
fmigneault opened this issue Mar 15, 2022 · 3 comments
Open
6 tasks

Support various return preference header #414

fmigneault opened this issue Mar 15, 2022 · 3 comments
Assignees
Labels
project/CRIM-DEVOPS Project linked to the CRIM project DevOps/Weaver (https://crim-ca.atlassian.net/browse/GD-47). 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

fmigneault commented Mar 15, 2022

Description

  • Allow specification of return=minimal|representation in Prefer header to control how to return results.
    (equivalent of current response parameter in request body, see Support response: raw execution results #376)
  • Provide the Preference-Applied header in response with return if honoured.

Conformance items

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 15, 2022
@fmigneault fmigneault self-assigned this Mar 15, 2022
@christophenoel
Copy link

I like this proposal ! 👍 (even if I'd prefer to see the output resources links available in the job resource aka 'status' 😆 )

@fmigneault
Copy link
Collaborator Author

fmigneault commented Jul 5, 2022

@christophenoel
One approach could be to have similar Prefer: return=minimal|representation header for the /jobs/{jobID} status request itself (instead of the execution request).
By default, minimal job status would indicate to omit results inline (as currently defined by the spec), while representation would merge them all together in the status response to avoid the second request to /jobs/{jobID}/results to obtain them.

@christophenoel
Copy link

That's a very creative solution that I fully support ! 👍

@fmigneault fmigneault added the project/CRIM-DEVOPS Project linked to the CRIM project DevOps/Weaver (https://crim-ca.atlassian.net/browse/GD-47). label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/CRIM-DEVOPS Project linked to the CRIM project DevOps/Weaver (https://crim-ca.atlassian.net/browse/GD-47). 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

2 participants