Skip to content

Commit

Permalink
Merge pull request #181 from sul-dlss/catalog-credentials
Browse files Browse the repository at this point in the history
Set the credentials for the catalog service client
  • Loading branch information
justinlittman committed Dec 18, 2018
2 parents 0d2951d + 428d3ac commit 6717164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/dor_config.rb
Expand Up @@ -31,8 +31,11 @@
pass Settings.SURI.PASS
end

# Configure the client that connects to the catalog service during object registration
metadata do
catalog.url Settings.METADATA.CATALOG_URL
catalog.user Settings.METADATA.CATALOG_USER
catalog.pass Settings.METADATA.CATALOG_PASS
end

stomp do
Expand Down
2 changes: 2 additions & 0 deletions config/settings.yml
Expand Up @@ -20,6 +20,8 @@ INDEXER:
# Metadata
METADATA:
CATALOG_URL: 'https://catalog.example.com/catalog/mods'
CATALOG_USER: 'user'
CATALOG_PASS: 'password'

# SSL
SSL:
Expand Down

0 comments on commit 6717164

Please sign in to comment.