Repository navigation
Closed
Labels
priority: mediumMedium prioritytype: featureNew feature or requestworkload: daysLikely takes days to resolve
Description
Description
The Crypt4GH middleware lives in its own repository, protes-middleware-crypt4gh, with its own CI, packaging (Poetry) and image. It predates FOCA's plugin engine (elixir-cloud-aai/protes#321), so proTES can't load it the way it loads the plugins of this repository. Move it here as a plugin, following the repository's conventions (see plugins/README.md and "Writing a plugin").
Expected result
- New plugin
tes.data.crypt4gh(plugins/tes/data/crypt4gh/, distributionfoca-plugin-tes-data-crypt4gh): in therequestphase, it adds the decryption executor(s) and volumes for Crypt4GH inputs of a TES task, as the middleware does today; behaviour and settings documented in its README, with a changelog. - Check which parts are gateway-neutral (key handling, detecting Crypt4GH inputs) and keep them separate from the TES-specific task rewrite, so a WES variant can reuse them later (no WES plugin now).
- The decryption image (today's
Dockerfileanddecrypt.py) built and published from this repository, or kept where it is with a documented reason; the plugin's image reference configurable. - Tests ported to pytest with 100% coverage; test keys and encrypted fixtures marked as test data for the secret scanners.
- Open work in the old repository taken into account: issues build: version the meta package semantically #31 (teardown executor) and build: support FOCA 0.19 #32 (update the decryption), PRs docs: add a README citation section #29 (task tests) and build(deps-dev): Bump the python-dependencies group across 1 directory with 4 updates #33 (Dockerfile and middleware update); the move says which of them it includes and which become issues here.
- Docs: plugin README, catalogue entry, proTES configuration example.
- After the plugin's first release: the old repository's README points here, and the repository is archived (maintainer step).
Metadata
Metadata
Assignees
Labels
priority: mediumMedium prioritytype: featureNew feature or requestworkload: daysLikely takes days to resolve
Activity