-
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
Deploy OGC-API process using CWL payload #443
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
fmigneault
changed the title
update to docs about existing (though undocumented) features
Deploy OGC-API process using CWL payload
Jun 9, 2022
github-actions
bot
added
ci/doc
Issue related to documentation of the package
ci/tests
Tests of the package and features
feature/db
Related to database or datatype manipulation.
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
labels
Jun 9, 2022
… ID in payload (relates to #11)
…for process deploy
github-actions
bot
added
the
feature/opensearch
Issue related to OpenSearch functionalities.
label
Jun 10, 2022
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
==========================================
+ Coverage 81.50% 81.64% +0.13%
==========================================
Files 76 75 -1
Lines 14541 14668 +127
Branches 3158 3188 +30
==========================================
+ Hits 11851 11975 +124
- Misses 1973 1975 +2
- Partials 717 718 +1
Continue to review full report at Codecov.
|
github-actions
bot
added
the
ci/operations
Related to CI operations (actions, execution, install, builds, etc.)
label
Jun 10, 2022
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/CWL
Issue related to CWL support
feature/db
Related to database or datatype manipulation.
feature/job
Issues related to job execution, reporting and logging.
feature/oas
Issues related to OpenAPI specifications.
feature/opensearch
Issue related to OpenSearch functionalities.
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.
This PR provides important support of CWL directly specified as request content during process deployment (instead of nested under
executionUnit
), aligning with OGC Best Practices document.Changes
CWL
IANA types to allowProcess
deployment with the relevantContent-Type
headerfor the submitted payload.
Process
deployment using onlyCWL
content provided it contains anid
field representing the targetProcess
ID as per recommendation inOGC Best Practice for Earth Observation Application Package, CWL Document <https://docs.ogc.org/bp/20-089r1.html#toc26>
.Process
deployment with a payload usingYAML
content instead ofJSON
. ThisYAML
contentMUST be submitted in the request with a
Content-Type
header either equal toapplication/x-yaml
orapplication/ogcapppkg+yaml
for theOGC Application Package <https://github.com/opengeospatial/ogcapi-processes/blob/master/extensions/deploy_replace_undeploy/standard/openapi/schemas/ogcapppkg.yaml>
schema, or usingapplication/cwl+yaml
for aCWL
-only definition. The definition will be loaded and converted toJSON
for schema validation. Otherwise,JSON
contents is assumed to be directly provided in the request payload for validation as previously accomplished.weaver.cwl_processes_dir
configuration setting for preloading, registering or updating a set ofknown
Process
definitions fromCWL
files stored in a nested directory structure. This allows a service providerthat uses
Weaver
to offer theirProcesses
to directly maintain their definitions from the set ofCWL
files andupload changes in the web application at startup without need to manually undeploy and redeploy each
Process
.Fixes
Process
deployment using aWPS-1/2
URL reference defining aGetCapabilities
request to resolvethe corresponding
DescribeProcess
request if theProcess
ID can be inferred from other known locations(some items checked off from functional tests for process deployment #11).
References
file
's "magic" database common-workflow-language/common-workflow-language#421 (comment)