-
Notifications
You must be signed in to change notification settings - Fork 6
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
quote-estimator integration #531
Conversation
…+ quote schema definitions
…ry params for process listing + add $schema in API responses
…reserve schema keyword metadata + add 405 schemas
14124e3
to
501cae7
Compare
656ab84
to
d726fdd
Compare
@francisPLT |
…eference property
Codecov Report
@@ Coverage Diff @@
## master #531 +/- ##
==========================================
+ Coverage 84.29% 84.39% +0.10%
==========================================
Files 78 79 +1
Lines 16865 17596 +731
Branches 2565 2670 +105
==========================================
+ Hits 14216 14850 +634
- Misses 1952 2017 +65
- Partials 697 729 +32
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Changes
weaver.quotation = true|false
setting that allows control over the activation of all endpoints and operationsrelated to the OGC API - Processes https://github.com/opengeospatial/ogcapi-processes/tree/master/extensions/billing and https://github.com/opengeospatial/ogcapi-processes/tree/master/extensions/quotation extensions.
Process
with new requestsusing
GET
,PUT
,DELETE
methods on/processes/{processID}/estimator
endpoint. The configuredalgorithm is provided by a reference
Docker
image defined byweaver.quotation_docker_[...]
settings.The algorithm itself expects a highly customizable configuration to estimate quotation parameters based on
conceptual categories, as defined by the ./schemas/quotation/quote-estimator.yaml schema optionally using versatile definitions.
The
Docker
operation should return a JSON matching the ./schemas/quotation/quote-estimation-result.yaml schema, which is parsed and included in the producedQuote
based on providedProcess
execution parameters.Process
execution I/O pre-validation against theProcess
description before submitting theJob
to avoidunnecessary allocation of computing resources for erroneous cases that can easily be detected in advance.
$schema
references to source OGC API - Processes or other schema registries for applicable contentdefinitions in responses.
OGC API - Processes
schema references with published definitionsunder
https://schemas.opengis.net/ogcapi/processes/part1/1.0/
when applicable.links
request query parameter to/processes
and/providers/{providerID}/processes
listing toprovide control over reporting of
links
for eachProcess
summary item. By default,link=true
andautomatically disable it when
detail=false
is specified.405
response schema for allOpenAPI
endpoints as handled by the API when the requested HTTP methodis not applicable for the given path.
Fixes
title
,summary
,description
, etc.) not being rendered inOpenAPI
output forkeyword schemas (
allOf
,anyOf
,oneOf
,not
).OpenAPI
into the requested orderby
_sort_first
and_sort_after
control attributes.