-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Fcrepo 6 in Valkyrie (#6976)
* Convert Ldp::Gone to ObjectNotFoundError Ldp::Gone is the error raised by the fedora adapter when the resource is a tombstone after being deleted. * Use the real metadata adapter * Ensure embargo/lease factory is using DateTime The valkyrie fedora adapter does not convert RDF Date causing comparison failures. In real use the embargo transaction converts to a datetime, but this factory sets the value directly, so let's make it match real use. * Avoid using << on frozen default array in specs * Sometimes the original file is not first in file_ids * Convert Ldp::NotFound to Valkyrie::Persistence::ObjectNotFoundError This fixes file_set_indexer_spec which has a bunch of odd setup and mocking, likely from before our factories were equipped to handle building work/file_set/file_metadata stacks. However, it feels right to include here and be treated as an ObjectNotFoundError. * Fix specs stubbing Hyrax::TimeService with a string * More date format spec fixes * Limit rails versions to speed dependency resolution * Bump valkyrie, use main until new release * Unpin faraday, rdf 3.3.2 fixed the bug * Add sirenia to Github Actions CI; Significant rework of docker compose - All 3 test apps use the same container image. - dassie stays in hyrax-webapp, koppie/sirenia live in hyrax-koppie. - db_migrate service moved to dev-entrypoint in web service. - Worker waits to start until rails app is up, should reduce bundle install racing. - hyrax-engine-dev target now based on hyrax-worker-base. - Chrome is still a pain and randomly stops responding. * rubocop * Docker and GHA fixes Add worker to depends_on to avoid volume copy race. Fix Dockerfile style issues Align chrome service config Corrected container names for log capture * Relax class matcher strictness Now that this spec uses the real valkyrie adapter, the object coming out of wings is really an anonymous descendant of the valkyrie model class. * Restore `rake assets:precompile` for javascript tests * Publish deletion first to avoid encountering tombstones * Use correct rails root * rubocop * Convert custom queries added for statistics to solr * Optimize admin set list (also fixes sorting issues) * Sort the admin sets for real life * :clean_repo for flaky specs * Bump valkyrie version * Rename db-wait.sh script to service-wait.sh * Return Resources instead of SolrHits * Undo running koppie/sirenia from hyrax-koppie dir * We are not yet compatible with v1 of openseadragon gem
- Loading branch information
Showing
52 changed files
with
241 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.