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

Valkyrie Fedora metadata/storage adapter compatibility #6329

Merged
merged 5 commits into from
Sep 26, 2023
Merged

Conversation

dlpierce
Copy link
Contributor

Summary

Various fixes needed to run Hyrax using valkyrie fedora adapters

Guidance for testing, such as acceptance criteria or new user interface behaviors:

  • Reconfigure koppie to use Valkyrie::Persistence::Fedora::MetadataAdapter and Valkyrie::Storage::Fedora configured for a Fedora 6 instance
  • koppie can create a monograph and display the IIIF viewer for it.

Changes proposed in this pull request:

  • Replace use of << with += []
  • Patch ::File to have length alias for size
  • Don't use io object directly for basename
  • Add config for faraday connection for valkyrie fedora adapters

@samvera/hyrax-code-reviewers

The Fedora storage adapter sets io to be an IOProxy which basename cannot make use of.
The Fedora metadata adapter provides frozen empty arrays as default values. It is unknown why the Postgres adapter defaults are unfrozen.
@dlpierce dlpierce added the notes-minor Release Notes: Non-breaking features label Sep 26, 2023
@dlpierce dlpierce merged commit 1c4060d into main Sep 26, 2023
@dlpierce dlpierce deleted the fedora-compat branch September 26, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-minor Release Notes: Non-breaking features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants