Skip to content

Eut 410 - Implementing endpoint to import CWLProv via the sprov API

Saskia Wagenaar requested to merge EUT-410 into master

The POST endpoint /workflowexecutions/import has been created, which accepts two parameters:

  • archive: A zip archive file containing the provenance files to be mapped to sprov
  • format: A parameter describing the format of the provenance files to be imported. Currently only CWLProv is allowed

The actual mapping still needs to be integrated, this is being build in EUT-409.

Next to implementing the endpoint, the following actions have been performed:

  • Upgrade to Python 3
  • Documenting development environment

When this is merged, we also need to update the docker file in https://gitlab.com/project-dare/dare-bdi/blob/devel/containers/sprov/Dockerfile. Things to update here are:

  • Use python 3 instead of python 2, might need to update libraries for this as well
  • The requirements.txt file has moved, update the path
  • Create a folder /tmp/import which is used to temporarily store the files to be imported

Merge request reports