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: there is not an easy way to load initial data into the system #961

Open jraddaoui opened 3 weeks ago

jraddaoui commented 3 weeks ago

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

The current workflow requires a default location in the database in order to store and/or proxy package downloads. In the development environment we work around this issue by using a Kubernetes job that makes sure a default location is created in the enduro_storage.location table.

However, in other environments that location needs to be created manually in the DB.

Describe the solution you'd like

Just an idea to investigate and make sure it's feasible for production environments.

I'd like a way to indicate an initial data file/folder that's read by Enduro and makes sure that data is added to the persistence layer in an initial installation.

Describe alternatives you've considered

Additional context

Some examples I recently came up with: