-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script for populating attachments #14
Labels
enhancement
New feature or request
Comments
Probably worth having an option in the script to generate mock ones for a specific entity id so can be more targeted. Added ral-facilities/inventory-management-system-api#392 as a pre-requisite as I think it could be useful to reduce the total number anyway. |
joelvdavies
added a commit
that referenced
this issue
Oct 14, 2024
3 tasks
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 15, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 16, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 16, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 18, 2024
joelvdavies
added a commit
that referenced
this issue
Oct 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful for development and testing. E.g. the
db-import
in https://github.com/ral-facilities/inventory-management-system-api/blob/develop/scripts/dev_cli.py.While we could use the same method of creating a dump for preserving the MongoDB data, I don't believe it will be possible for MinIO. It will also need to link to entities on IMS, so we will need to obtain IDs from there to add them here and using dumps would not work as well as a result. Ideally future download requests would fail gracefully if the object was never uploaded, so arguably we may be able to avoid having actual files for each attachment created with the script.
The text was updated successfully, but these errors were encountered: