-
Notifications
You must be signed in to change notification settings - Fork 2
Testing Valkyrie with Fedora 6 OCFL storage adapter
Anusha Ranganathan edited this page Aug 18, 2023
·
2 revisions
We have an instance of Fedora 6 running OCFL storage.
The steps involved in using Valkyrie to interface with Fedora 6 are:
-
Add Valkyrie in the Gemfile - code
-
Initialise a new storage adapter in Hyrax - code example
-
Create a class to add the metadata and files from your work to OCFL using the storage adapter - code example
- This creates a new container and saves the metadata and the files in Fedora6 OCFL store.
- It also has an example code to delete files from Fedora6 OCFL store.
- The Fedora storage adapter in Valkyrie does not support adding remote files.
- We were not able to open a transaction and do all of the operations within a transaction.
You can view all of the code in this PR