add CLI package operation + support CWL package retrieval for provider process #562
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
GET /providers/{provider_id}/processes/{process_id}/package
endpoint that allows retrieval of theCWL
Application Package
definition generated for the specificProvider
'sProcess
definition.CLI
package
operation to request the remoteProvider
or localProcess
CWL
Application Package
.CLI
output reporting of performed HTTP requests details when using the--debug/-d
option.visibility
field (underprocessDescription
orprocessDescription.process
)to employ the expected functionality by native
OGC API - Processes
clients that do not support this option(i.e.:
public
by default), and to align resolution strategy with deployments by directCWL
payload which do notinclude this feature either. A
Process
deployment that desires to employ this feature (visibility: private
) willhave to provide the value explicitly, or update the deployed
Process
definition afterwards with the relevantPUT
request. Sincepublic
will now be used by default, theCLI
will not automatically inject the valuein the payload anymore when omitted.
Fixes
links
listing duplicated in response fromProcess
deployment.Links will only be listed within the returned
processSummary
to respect theOGC API - Processes
schema.CLI
not removing embeddedlinks
inprocessSummary
fromdeploy
operation responsewhen
-nL
/--no-links
option is specified.