artefactual-sdps / enduro

Designed to automate the processing of transfers in multiple Archivematica pipelines.
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

Open jraddaoui opened 5 days ago

jraddaoui commented 5 days 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.