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

Support POST /jobs for various workflow implementations #716

Open
5 of 21 tasks
fmigneault opened this issue Sep 18, 2024 · 0 comments
Open
5 of 21 tasks

Support POST /jobs for various workflow implementations #716

fmigneault opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
feature/CWL Issue related to CWL support process/OAP-Part4: Jobs OGC API - Processes - Part 4: Job Management process/workflow Related to a Workflow process. project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Sep 18, 2024

Description

Alternate execution endpoints POST /jobs allowing cross-walk between openEO, CWL and OGC API - Processes - Part 3: ad-hoc/nested Workflows.

  • 1. support Content-Type: application/json with Content-Schema to identify the workflow type

  • 2. GET /jobs/{jobId}/run

  • 3. GET /jobs/{jobID}/logs

  • 4. n/a

  • 5. n/a

  • 6. Support status: created

    • Allow submitting POST /jobs with status: created and leave it pending until requested
    • Return a job status response (as if async, but not submitted to workers)
    • POST /jobs/{jobId}/results to request its execution (transition from created to ... see (8) )
  • 7. PUT /jobs/{jobId} or PATCH /jobs/{jobId} to update the job definition

    • Job MUST be in created status to allow the operation
    • Allow modifying the execution modes, output transmission, response, etc.
      (however, some might still be again override-able when execution is requested)
  • 8. n/a

  • 9. POST /jobs/{jobId}/results to request execution of the pending job

    • Apply logic of Support various return preference header #414
    • Consider parameters sorted in the job (when created/updated from POST /jobs)
    • Consider parameters provided during POST /jobs/{jobId}/results as overrides (to update in job)
  • 10. n/a

  • 11. Content-Type: application/json; profile={openeo|ogcapi-processes} as alternate to (1) Content-Schema

References

@fmigneault fmigneault added the triage/feature New requested feature. label Sep 18, 2024
@fmigneault fmigneault self-assigned this Sep 18, 2024
@github-actions github-actions bot added feature/CWL Issue related to CWL support process/workflow Related to a Workflow process. labels Sep 18, 2024
@fmigneault fmigneault added project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube process/OAP-Part4: Jobs OGC API - Processes - Part 4: Job Management triage/conformance Issue related to fixing/ensuring compliance to specifications. and removed feature/CWL Issue related to CWL support process/workflow Related to a Workflow process. labels Sep 18, 2024
@github-actions github-actions bot added feature/CWL Issue related to CWL support process/workflow Related to a Workflow process. labels Sep 18, 2024
@fmigneault fmigneault changed the title Support POST /jobs for various *workflow* implementations Support POST /jobs for various workflow implementations Sep 18, 2024
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 process/OAP-Part4: Jobs OGC API - Processes - Part 4: Job Management process/workflow Related to a Workflow process. project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube triage/conformance Issue related to fixing/ensuring compliance to specifications. triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant