-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
173 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Sample Riprap config file for using Islandora/database plugins. | ||
# Requires that the "Riprap resource list" View be enabled in | ||
# the Islandora instance. This View is bundled with the Islandora Riprap | ||
# module. | ||
# | ||
# This plugin is agnostic to which media have fixity event checks performed | ||
# on them. The filters in the "Riprap resource list" View determine that. | ||
# See the View's filter criteria GUI for examples. | ||
# | ||
# This plugin differs from sample_islandora_config.yml in that it gets the | ||
# media file's digest from Drupal, not Fedora. To do this, it calls the | ||
# /islandora_riprap/checksum/{file_hash}/{algorithm} endpoint added by the | ||
# Islandora Riprap module. | ||
|
||
#################### | ||
# General settings # | ||
#################### | ||
|
||
# thin: true | ||
# One of 'md5', 'sha1', or 'sha256'. | ||
fixity_algorithm: sha1 | ||
|
||
# Absolute or relative to the Riprap application directory. | ||
failures_log_path: 'var/riprap_failed_events.log' | ||
|
||
################### | ||
# Plugin settings # | ||
################### | ||
|
||
# Use this plugin if you want to use the 'Riprap resource (media) list' View provided by Islandora Riprap. | ||
plugins.fetchresourcelist: ['PluginFetchResourceListFromDrupalView'] | ||
drupal_baseurl: 'http://localhost:8000' | ||
drupal_user: admin | ||
drupal_password: islandora | ||
# Absolute or relative to the Riprap application directory. | ||
views_pager_data_file_path: 'var/fetchresourcelist.from.drupal.pager.txt' | ||
use_fedora_urls: false | ||
|
||
# Required. Non-standard or custom media need to have the fieldname they use to contain the file added to this list. | ||
drupal_file_fieldnames: ['field_media_audio', 'field_media_document', 'field_edited_text', 'field_media_file', 'field_media_image', 'field_media_video_file'] | ||
|
||
plugins.fetchdigest: PluginFetchDigestFromDrupal | ||
|
||
plugins.persist: PluginPersistToDatabase | ||
|
||
plugins.postcheck: ['PluginPostCheckCopyFailures'] | ||
|
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