-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBX-6507: Multirepo setup for Solr & ES
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
features/setup/multirepository/multirepository_elastic.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Feature: Multirepository setup for testing with Elastic | ||
|
||
@multirepository | ||
Scenario: Set up new connection and make the default one unaccessible | ||
Given I set configuration to "ibexa_elasticsearch.connections" in "config/packages/ibexa_elasticsearch.yaml" | ||
""" | ||
default: | ||
hosts: | ||
- "%elasticsearch_dsn_invalid%" | ||
second_connection: | ||
hosts: | ||
- "%elasticsearch_dsn%" | ||
""" |
30 changes: 30 additions & 0 deletions
30
features/setup/multirepository/multirepository_solr.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Feature: Multirepository setup for testing with Solr | ||
|
||
@multirepository | ||
Scenario: Set up new connection and make the default one unaccessible | ||
Given I append configuration to "parameters" in "config/packages/ibexa_solr.yaml" | ||
""" | ||
solr_dsn_invalid: 'INVALID' | ||
solr_core_invalid: 'INVALID' | ||
""" | ||
And I set configuration to "ibexa_solr" in "config/packages/ibexa_solr.yaml" | ||
""" | ||
endpoints: | ||
endpoint0: | ||
dsn: '%solr_dsn%' | ||
core: '%solr_core%' | ||
endpoint1_invalid: | ||
dsn: '%solr_dsn_invalid%' | ||
core: '%solr_core_invalid%' | ||
connections: | ||
default: | ||
entry_endpoints: | ||
- endpoint1_invalid | ||
mapping: | ||
default: endpoint1_invalid | ||
second_connection: | ||
entry_endpoints: | ||
- endpoint0 | ||
mapping: | ||
default: endpoint0 | ||
""" |