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

characterize valkyrie file uploads #5278

Closed
wants to merge 8 commits into from
Closed

Conversation

dunn
Copy link
Contributor

@dunn dunn commented Dec 8, 2021

this adds characterization metadata to Hyrax::FileMetadata for whatever setters it has defined that match the terms extracted by fits.

this is accomplished by

  • adding a new ValkyrieUploadsHandler to circumvent the current pipeline that makes many AF assumptions (this means that the Valkyrie logic in JobIOWrapper is dead code now)
  • adding a new event object.file.uploaded (distinct from object.metadata.updated because characterization should not run every time metadata is chaged)
  • adding a new listener that runs a new ValkyrieCharacterizationService to execute fits and attach the metadata (currently runs synchronously, but making it run as a job may be added as acceptance criteria)

this does not yet teach Hyrax how to display characterization information in the UI.

@samvera/hyrax-code-reviewers

@dunn dunn requested review from no-reply and elrayle December 8, 2021 00:31
@dunn
Copy link
Contributor Author

dunn commented Dec 10, 2021

closing while i rethink this a bit

@dunn dunn closed this Dec 10, 2021
@dunn dunn deleted the valkyrie-characterization branch December 15, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants