Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

config/authentication.yml

PurposeDefines the Authentication Providers for Avalon to choose from.
FormatYAML
Example
---
- :name: My LDAP Server
:logo: auth_provider_logo.png
:provider: :ldap
:params:
:method: :ssl
:host: ldap.example.edu
:port: 636
:bind_dn: cn=avalon,ou=service,dc=example,dc=edu
:password: avalon_bind_password
NotesThe name and logo settings are used when displaying multiple auth providers to choose from at login time. provider and params are passed directly to config.omniauth as described in the Devise OmniAuth Overview.

 

 

config/database.yml

PurposeProvide environment-specific database connection information for Rails.
FormatYAML
Example
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000 
NotesSee Configuring a Database in the Ruby on Rails Getting Started Guide for more options. Changing the database adapter will require updating Gemfile to require the correct adapter.
  

config/fedora.yml

PurposeProvide environment-specific Fedora repository connection information for Hydra.
FormatYAML
Example
production:
user: fedoraAdmin
password: fedoraAdmin
url: http://127.0.0.1:8983/fedora
  

config/hydrant.yml

PurposeProvide environment-specific Avalon configuration options.
FormatYAML
Example
production:
fedora:
namespace: 'numedia'
dropbox:
path: '/usr/local/masterfiles/dropbox/'
upload_uri: 'sftp://localhost/srv/avalon/dropbox'
matterhorn:
root: 'http://avalon-mhorn-dev.library.northwestern.edu:8080/'
media_path: '/usr/local/masterfiles'
mediainfo:
path: '/usr/bin/mediainfo'
email:
comments: 'digitalcollections@northwestern.edu'
notification: 'digitalcollections@northwestern.edu'
support: 'digitalcollections@northwestern.edu'
  

config/matterhorn.yml

PurposeProvide environment-specific Matterhorn connection information for Avalon's Matterhorn adapter.
FormatYAML
Example
production:
url: http://matterhorn_system_account:CHANGE_ME@127.0.0.1:8080/
NotesThis file specifies the system account used to send media to and fetch updates from Matterhorn, as opposed to the Matterhorn root URL provided in hydrant.yml, which is used solely for client-side interactions.
  

config/solr.yml

PurposeProvide environment-specific Solr connection information for Hydra.
FormatYAML
Example
production:
url: http://localhost:8983/solr/production
  

config/role_map_*.yml

PurposeProvide a list of role groups and associated members to initialize the Hydra access controls database with.
FormatYAML
Example
archivist:
- archivist1@example.edu
- archivist2@example.edu
donor:
- donor1@example.com
researcher:
- researcher1@example.edu
registered:
- user1@example.edu
- user2@otherinstitution.edu
admin_policy_object_editor:
- archivist1@example.edu
- admin@example.edu