Skip to content

Commit

Permalink
Get settings for fixture storage roots out of the way of shared_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tallenaz authored and jmartin-sul committed Oct 26, 2017
1 parent 0775baf commit 5697cf0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ endpoints:

moab:
# this is a list of named storage roots. the names are used to seed the endpoints table.
storage_roots:
# any named storage roots added in the root settings.yml will always be inherited by env specific configs, even
# if they aren't listed directly in the settings/*.yml file for an environment. so list storage roots directly in
# the relevant settings file for the env, including for vanilla unit test env.
# storage_roots:
# name: '/location/on/disk' # e.g.
fixture_sr1: 'spec/fixtures/storage_root01'
fixture_sr2: 'spec/fixtures/storage_root02'
# fixture_sr1: 'spec/fixtures/storage_root01'
# fixture_sr2: 'spec/fixtures/storage_root02'
# storage_trunk is the name of the directory under a storage_root which contains
# the druid trees: e.g. 'spec/fixtures/moab_storage_root' will contain all the druid
# trees for this configuration. if there are multiple storage roots, each will have
Expand Down
7 changes: 7 additions & 0 deletions config/settings/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
moab:
# this is a list of named storage roots. the names are used to seed the endpoints table.
storage_roots:
# name: '/location/on/disk' # e.g.
fixture_sr1: 'spec/fixtures/storage_root01'
fixture_sr2: 'spec/fixtures/storage_root02'

6 changes: 6 additions & 0 deletions config/settings/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
moab:
# this is a list of named storage roots. the names are used to seed the endpoints table.
storage_roots:
# name: '/location/on/disk' # e.g.
fixture_sr1: 'spec/fixtures/storage_root01'
fixture_sr2: 'spec/fixtures/storage_root02'

0 comments on commit 5697cf0

Please sign in to comment.