hyrax
hyrax copied to clipboard
WINGS: Replace ActiveFedora::FixityService
Descriptive summary
The fixity service is configured in Hyrax. It is currently configured to use ActiveFedora::FixityService. To remove the dependency on ActiveFedora, this service needs to be updated.
Code impacted by this change
FixityCheckJob#perform method runs the fixity checkFixityCheckJob#fixity_service_for method gets the configured fixity service fromHyrax.config.fixity_serviceHyrax::Configuration#fixity_service method is set to return Hyrax::Fixity::ActiveFedoraFixityService class by defaultHyrax::Fixity::ActiveFedoraFixityServiceinherits fromActiveFedora::FixityService
it looks like Hyrax::Fixity::ActiveFedoraFixityService is parameterized as Hyrax.config.fixity_service. providing a reimplementation of that service against your preferred storage backend is probably sufficient?
i made a start at it here: https://github.com/samvera/hyrax/tree/fixity