Skip to content

Commit

Permalink
Remove TEST_JETTY_PORT variable from blacklight.yml
Browse files Browse the repository at this point in the history
This is not something we use in Blacklight and can easily be set in an application that uses blacklight if needed.

Also removed old comments about jetty_path, a configuration option that was removed long ago.
  • Loading branch information
jcoyne committed Dec 3, 2018
1 parent dfb341a commit 085cb29
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions lib/generators/blacklight/templates/config/blacklight.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
# = jetty_path key
# each environment can have a jetty_path with absolute or relative
# (to app root) path to a jetty/solr install. This is used
# by the rake tasks that start up solr automatically for testing
# and by rake solr:marc:index.
#
# jetty_path is not used by a running Blacklight application
# at all. In general you do NOT need to deploy solr in Jetty, you can deploy it
# however you want.
# jetty_path is only required for rake tasks that need to know
# how to start up solr, generally for automated testing.

development:
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/blacklight-core" %>
test: &test
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:#{ENV['TEST_JETTY_PORT'] || 8983}/solr/blacklight-core" %>
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983}/solr/blacklight-core" %>
production:
adapter: solr
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/blacklight-core" %>

0 comments on commit 085cb29

Please sign in to comment.