-
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
EchoProcess + Support UOMs + Support BBOX #580
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e of value in double_input.
…correcting bugs for EchoProcess
…a/weaver into implement-example-process
db0fdbd
to
a304816
Compare
…y#43) and pyramid_celery==5.0.0a (sontek/pyramid_celery#102)
43a5a95
to
60d1c08
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci/doc
Issue related to documentation of the package
ci/operations
Related to CI operations (actions, execution, install, builds, etc.)
ci/tests
Tests of the package and features
feature/cli
Issues or features related to CLI operations.
feature/CWL
Issue related to CWL support
feature/docker
Issue related to Docker application package execution.
feature/job
Issues related to job execution, reporting and logging.
feature/oas
Issues related to OpenAPI specifications.
feature/providers
Issue related to providers convertion to WPS-REST processes.
feature/vault
Issue related to Vault storage feature.
process/builtin
Issue related to builtin application processes
process/wps3
Issue related to WPS 3.x (REST-JSON) processes support
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
weaver.formats.ContentEncoding
with handlers for common encoding manipulation from input values.weaver.processes.builtin
definitions with itsCWL
representation andcomplementary
OGC API - Processes
reference implementation details. ThisProcess
will be automatically deployedat
API
startup, and is employed to validate multiple parsing combinations of execution I/O values and encodings(fixes Implement example process #379).
OGC
BoundingBox
definition (bbox
andcrs
fields) asProcess
execution input valuewith appropriate schema validation (fixes Support of BoundingBox I/O #51).
Unit of Measure
(UoM
) definition (measurement
anduom
fields) asProcess
executioninput value with appropriate schema validation (fixes`Support I/O literal with unit of measure #430).
create_metalink
utility function to facilitate generation of a.meta4
or.metalink
file definitionfrom a list of file link references (relates to How to handle "multiple output" #25).
Fixes
weaver.wps_restapi.swagger_definitions.ExecuteInputValues
deserialization that sometimes silently droppedinvalid
JSON
-formatted inputs that did not fulfill schema validation. This was caused by a side effect regardinghow
weaver.wps_restapi.colander_extras.VariableSchemaNode
handled "unknown"JSON
properties
from submittedcontent. In cases where required
Process
inputs were causing the invalid schema,Job
execution would be abortedand the error would be reported due to "missing" inputs. However, if the
JSON
failing schema validation happened tobe nested under an optional input definition, the
Job
execution could have resumed silently by omitting thisinput's value propagation to the downstream
CWL
,WPS
orOGC API - Processes
implementation, which could makeit use an alternative default value than the real input that was submitted for the
Job
.colander.Invalid
error when a schema validation failed, inorder to better represent deeply nested schema using multiple
oneOf
,anyOf
,allOf
schema nodes.Using
colander.Invalid.asdict
, each dictionary key now properly indicates the specific path of sub-nodes withtheir relevant schema validation error.
variable
schema node names to provide a{SchemaName}<{VariableName}>
representation, such that it can bemore easily identified. Schema nodes with a
variable
(i.e.: schema underadditionalProperties
) previously onlyindicated
{VariableName}
, which made it complicated to follow reference schema classes that formed the error path.Each of the evaluated fields against each possible
variable
schema will now report their corresponding nestedschema validation error as
{SchemaName}<{VariableName}>({field})
such that results can be understood.href
) dropping aschema
URL reference if provided explicitly.This parameter now remains within the produced content passed to the
Job
, and forwarded to a remoteProcess
ifapplicable, but no further schema validation is accomplished with the value in
schema
for the moment.ContentType.IMAGE_OGC_GEOTIFF
using invalid media-type name (missingi
inimage
).Job
input validation stripping additional parameters from provided Media-Type, potentially causing mismatchingContent-Type validation against the corresponding
Process
description inputs. Types should now match exactly theoriginal
Process
definition, including any additional parameters and sub-types.anyOf
schema raisingcolander.Invalid
even when the property was marked as optionalusing
missing=colander.drop
.$schema
ofOGC
nameReferenceType
being reported under everydataType
ofliteralDataDomains
forliteral
I/O
ofProcess
descriptions. The reference is not only included in theOpenAPI
definition as intended.References
pywps==4.6.0
)owslib==0.30.0
)pywps
andowslib
updates.EchoProcess
from OGC API Processes in CWL #541To Do