artefactual-sdps / enduro

A tool to support ingest and automation in digital preservation workflows
https://enduro.readthedocs.io/
Apache License 2.0
4 stars 3 forks source link

Problem: package upload API endpoint is in an unnecessary service #977

Closed jraddaoui closed 1 month ago

jraddaoui commented 5 months ago

Is your feature request related to a problem? Please describe.

There is an entirely different service in the API called upload, with a single endpoint /upload used to upload SIPs to the MinIO bucket that triggers the ingest workflow.

Describe the solution you'd like

I'd like to remove that entire service and move that endpoint to the existing package service.

Describe alternatives you've considered

None.

Additional context

When we discussed the scopes/attributes needed for access control we decided to use package:upload in this endpoint, which evidences the need to move it to the package service.