-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsample_islandora_config_fetch_digest_from_drupal.yml
49 lines (39 loc) · 1.86 KB
/
sample_islandora_config_fetch_digest_from_drupal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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.
#
# Note that the PluginFetchDigestFromDrupal plugin uses the file's UUID, and
# not its URL, as its 'resource ID'.
####################
# 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'
# 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']