Skip to content

Commit

Permalink
adjust conformance prefer return none (relates to #414)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Mar 15, 2022
1 parent 6de71bc commit 161cf9c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/opensearch/json/opensearch_describe_process.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
],
"version": "1.0.0",
"jobControlOptions": [
"async"
"async-execute"
],
"outputTransmission": [
"reference"
Expand Down
23 changes: 16 additions & 7 deletions weaver/wps_restapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,23 +321,33 @@ def api_conformance(request): # noqa: F811
# ogcapi_proc_core + "/per/core/process-execute-input-inline-bbox",
ogcapi_proc_core + "/per/core/process-execute-sync-job",
ogcapi_proc_core + "/per/core/limit-response",
# ogcapi_proc_core + "/per/core/limit-default-minimum-maximum",
ogcapi_proc_core + "/per/core/prev",
ogcapi_proc_core + "/per/job-list/limit-response",
ogcapi_proc_core + "/per/job-list/prev",
# ogcapi_proc_core + "/rec/core/access-control-expose-headers",
ogcapi_proc_core + "/rec/core/api-definition-oas",
ogcapi_proc_core + "/rec/core/cross-origin",
ogcapi_proc_core + "/rec/core/content-length",
# ogcapi_proc_core + "/rec/core/html",
# ogcapi_proc_core + "/rec/core/http-head",
ogcapi_proc_core + "/rec/core/job-status",
ogcapi_proc_core + "/rec/core/job-results-async-many-json-prefer-none",
# FIXME: https://github.com/crim-ca/weaver/issues/414
# ogcapi_proc_core + "/rec/core/job-results-async-many-json-prefer-minimal",
# ogcapi_proc_core + "/rec/core/job-results-async-many-json-prefer-representation",
# ogcapi_proc_core + "/per/core/job-results-async-many-other-formats",
ogcapi_proc_core + "/rec/core/process-execute-sync-many-json-prefer-none",
# ogcapi_proc_core + "/rec/core/process-execute-sync-many-json-prefer-minimal",
# ogcapi_proc_core + "/rec/core/process-execute-sync-many-json-prefer-representation",
# ogcapi_proc_core + "/rec/core/link-header",
ogcapi_proc_core + "/rec/core/ogc-process-description",
# FIXME: error details (for all below: https://github.com/crim-ca/weaver/issues/320)
# ogcapi_proc_core + "/rec/core/problem-details",
# FIXME: https://github.com/crim-ca/weaver/issues/247 (Prefer header)
# ogcapi_proc_core + "/rec/core/process-execute-handle-prefer",
# ogcapi_proc_core + "/rec/core/process-execute-honor-prefer",
# ogcapi_proc_core + "/rec/core/process-execute-mode-auto",
# ogcapi_proc_core + "/rec/core/process-execute-preference-applied",
ogcapi_proc_core + "/rec/core/process-execute-handle-prefer",
ogcapi_proc_core + "/rec/core/process-execute-honor-prefer",
ogcapi_proc_core + "/rec/core/process-execute-mode-auto",
ogcapi_proc_core + "/rec/core/process-execute-preference-applied",
ogcapi_proc_core + "/rec/core/process-execute-sync-document-ref",
ogcapi_proc_core + "/rec/core/next-1",
ogcapi_proc_core + "/rec/core/next-2",
Expand Down Expand Up @@ -382,8 +392,7 @@ def api_conformance(request): # noqa: F811
ogcapi_proc_core + "/req/core/process",
ogcapi_proc_core + "/req/core/process-success",
ogcapi_proc_core + "/req/core/process-exception/no-such-process",
# FIXME: https://github.com/crim-ca/weaver/issues/247 (Prefer header)
# ogcapi_proc_core + "/req/core/process-execute-auto-execution-mode",
ogcapi_proc_core + "/req/core/process-execute-auto-execution-mode",
ogcapi_proc_core + "/req/core/process-execute-default-execution-mode",
ogcapi_proc_core + "/req/core/process-execute-default-outputs",
ogcapi_proc_core + "/req/core/process-execute-input-array",
Expand Down

0 comments on commit 161cf9c

Please sign in to comment.