Skip to content

Commit

Permalink
Change Solr core name for Koppie
Browse files Browse the repository at this point in the history
  • Loading branch information
abelemlih authored and jeremyf committed Jan 25, 2024
1 parent e33aae6 commit 7b9dd81
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .koppie/.env
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ SOLR_CORES=koppie
SOLR_HOST=solr
SOLR_PORT=8983
SOLR_URL=http://solr:8983/solr/koppie
SOLR_TEST_URL=http://solr:8983/solr/koppie_test
SOLR_TEST_URL=http://solr:8983/solr/hydra-test
VALKYRIE_METADATA_ADAPTER=pg_metadata
VALKYRIE_STORAGE_ADAPTER=versioned_disk_storage
VALKYRIE_STORAGE_ADAPTER=versioned_disk_storage
2 changes: 1 addition & 1 deletion docker-compose-koppie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ services:
command:
- sh
- "-c"
- "precreate-core koppie_test /opt/solr/server/configsets/hyraxconf; solr-precreate koppie /opt/solr/server/configsets/hyraxconf"
- "precreate-core hydra-test /opt/solr/server/configsets/hyraxconf; solr-precreate koppie /opt/solr/server/configsets/hyraxconf"
volumes:
- solr_home:/var/solr/data:cached
- .koppie/solr/conf:/opt/solr/server/configsets/hyraxconf
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-sirenia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ services:
image: fcrepo/fcrepo:6.4.0
environment:
- >-
CATALINA_OPTS=-Dfcrepo.home=/fcrepo-home -Djava.awt.headless=true -Dfile.encoding=UTF-8
-server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
CATALINA_OPTS=-Dfcrepo.home=/fcrepo-home -Djava.awt.headless=true -Dfile.encoding=UTF-8
-server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
- JAVA_OPTS=-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
volumes:
Expand Down Expand Up @@ -170,7 +170,7 @@ services:
command:
- sh
- "-c"
- "precreate-core koppie_test /opt/solr/server/configsets/hyraxconf; solr-precreate koppie /opt/solr/server/configsets/hyraxconf"
- "precreate-core hydra-test /opt/solr/server/configsets/hyraxconf; solr-precreate koppie /opt/solr/server/configsets/hyraxconf"
volumes:
- solr_home:/var/solr/data:cached
- .koppie/solr/conf:/opt/solr/server/configsets/hyraxconf
Expand Down
2 changes: 1 addition & 1 deletion spec/valkyrie/indexing/solr/indexing_adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:metadata_adapter) { Wings::Valkyrie::MetadataAdapter.new }
let(:resource) { FactoryBot.valkyrie_create(:hyrax_resource) }
let(:resource2) { FactoryBot.valkyrie_create(:hyrax_resource) }
let(:expected_solr_core) { Hyrax.config.disable_wings ? 'koppie_test' : 'valkyrie-test' }
let(:expected_solr_core) { Hyrax.config.disable_wings ? 'hydra-test' : 'valkyrie-test' }

describe "#connection" do
it "returns connection" do
Expand Down

0 comments on commit 7b9dd81

Please sign in to comment.