Skip to content
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

filemanager: add event-based update of attributes. #461

Open
mmalenic opened this issue Aug 9, 2024 · 0 comments
Open

filemanager: add event-based update of attributes. #461

mmalenic opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
feature New feature filemanager an issue relating to the filemanager

Comments

@mmalenic
Copy link
Member

mmalenic commented Aug 9, 2024

Instead of updating attributes via a PATCH request, the attributes would ideally be updated using the event bus in order to better control mutable access to the filemanager database. The API would ideally be read-only, and if it can PATCH, the attributes should probably be append-only, rather than supporting the full set of JSON patch operations.

This may require saving requested attribute updates in the filemanager database asynchronously, as it's possible that not all S3 events will have arrived when the event to update attributes is received. This could also be an opportunity to introduce some of the features discussed in https://github.com/umccr/orcabus/blob/docs/filemanager-linking/lib/workload/stateless/stacks/filemanager/docs/ATTRIBUTE_LINKING.md.

@mmalenic mmalenic self-assigned this Aug 9, 2024
@mmalenic mmalenic added feature New feature filemanager an issue relating to the filemanager labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature filemanager an issue relating to the filemanager
Projects
None yet
Development

No branches or pull requests

1 participant