Skip to content
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 process directly with CWL content #434

Closed
Tracked by #11
fmigneault opened this issue May 11, 2022 · 0 comments · Fixed by #443
Closed
Tracked by #11

Deploy process directly with CWL content #434

fmigneault opened this issue May 11, 2022 · 0 comments · Fixed by #443
Assignees
Labels
feature/CWL Issue related to CWL support project/OGC Related to OGC testbeds or relavant projects.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented May 11, 2022

Given common-workflow-language/common-workflow-language#421 (comment)
Following types can be expected:

  • application/cwl
  • application/cwl+json
  • application/cwl+yaml

Because Weaver can deploy and parse a body using application/ogcapppkg+json content (see Deploy description), ie:
https://github.com/opengeospatial/ogcapi-processes/blob/master/extensions/deploy_replace_undeploy/standard/openapi/schemas/ogcapppkg.yaml

And that body can minimally contain the following:

{
   "processDescription": { "id" : "<process>" },
   "executionUnit": [ { "unit": { "<CWL>" } } ]
} 

We can support direct deployment of the { CWL } portion as JSON forming the request body.

Detection should take into consideration the provided Content-Type header as per:
https://github.com/opengeospatial/ogcapi-processes/blob/master/extensions/deploy_replace_undeploy/standard/requirements/deploy-replace-undeploy/deploy/REQ_content-type.adoc

Since no merging of I/O definitions from WPS/CWL will happen in this case, more metadata should be supported to be provided directly from CWL contents. The most important is the id that will become required in this case.
Other metadata can also be considered, as per conversion recommendations in https://docs.ogc.org/bp/20-089r1.html#toc26

@fmigneault fmigneault changed the title deploy directly with CWL content Deploy process directly with CWL content May 11, 2022
@fmigneault fmigneault self-assigned this May 11, 2022
@fmigneault fmigneault added the feature/CWL Issue related to CWL support label May 11, 2022
@fmigneault fmigneault added the project/OGC Related to OGC testbeds or relavant projects. label May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/CWL Issue related to CWL support project/OGC Related to OGC testbeds or relavant projects.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant