Skip to content

Commit

Permalink
HSEARCH-4101 Remove some configurations that are now the default
Browse files Browse the repository at this point in the history
  • Loading branch information
fax4ever committed Nov 10, 2020
1 parent e8290c3 commit ba7b880
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions documentation/src/test/resources/META-INF/persistence.xml
Expand Up @@ -81,9 +81,6 @@
value="${test.elasticsearch.connection.aws.credentials.access_key_id}"/>
<property name="hibernate.search.backend.aws.credentials.secret_access_key"
value="${test.elasticsearch.connection.aws.credentials.secret_access_key}"/>
<!-- Make this test work even if there is only a single node in the cluster -->
<property name="hibernate.search.backend.schema_management.minimal_required_status"
value="yellow"/>
<property name="hibernate.search.automatic_indexing.synchronization.strategy"
value="sync"/>
</properties>
Expand Down Expand Up @@ -149,9 +146,6 @@
value="${test.elasticsearch.connection.aws.credentials.access_key_id}"/>
<property name="hibernate.search.backend.aws.credentials.secret_access_key"
value="${test.elasticsearch.connection.aws.credentials.secret_access_key}"/>
<!-- Make this test work even if there is only a single node in the cluster -->
<property name="hibernate.search.backend.schema_management.minimal_required_status"
value="yellow"/>
<property name="hibernate.search.automatic_indexing.synchronization.strategy"
value="sync"/>
</properties>
Expand Down
Expand Up @@ -27,7 +27,6 @@ class ElasticsearchTckBackendSetupStrategy implements TckBackendSetupStrategy {
ElasticsearchTckBackendSetupStrategy() {
setProperty( "log.json_pretty_printing", "true" );
setProperty( "analysis.configurer", DefaultITAnalysisConfigurer.class.getName() );
setProperty( "schema_management.minimal_required_status", "yellow" );
// Always add configuration options that allow to connect to Elasticsearch
ElasticsearchTestHostConnectionConfiguration.get().addToBackendProperties( properties );
}
Expand Down
Expand Up @@ -24,5 +24,4 @@ hibernate.search.backend.aws.credentials.type = ${test.elasticsearch.connection.
hibernate.search.backend.aws.credentials.access_key_id = ${test.elasticsearch.connection.aws.credentials.access_key_id}
hibernate.search.backend.aws.credentials.secret_access_key = ${test.elasticsearch.connection.aws.credentials.secret_access_key}
hibernate.search.backend.log.json_pretty_printing = true
hibernate.search.backend.schema_management.minimal_required_status = yellow
hibernate.search.backend.analysis.configurer = org.hibernate.search.integrationtest.java.module.config.MyElasticsearchAnalysisConfigurer
Expand Up @@ -48,7 +48,6 @@
<property name="hibernate.search.backend.aws.credentials.access_key_id" value="${test.elasticsearch.connection.aws.credentials.access_key_id}" />
<property name="hibernate.search.backend.aws.credentials.secret_access_key" value="${test.elasticsearch.connection.aws.credentials.secret_access_key}" />

<property name="hibernate.search.backend.schema_management.minimal_required_status" value="yellow" />
<property name="hibernate.search.backend.log.json_pretty_printing" value="true" />
</properties>
</persistence-unit>
Expand Down
Expand Up @@ -2,5 +2,4 @@ spring.jpa:
properties:
hibernate.search:
backend:
schema_management.minimal_required_status: yellow
log.json_pretty_printing: true
Expand Up @@ -33,7 +33,6 @@ public Optional<TestRule> testRule() {
protected Map<String, Object> backendProperties() {
Map<String, Object> properties = new LinkedHashMap<>();
properties.put( "log.json_pretty_printing", "true" );
properties.put( "schema_management.minimal_required_status", "yellow" );
ElasticsearchTestHostConnectionConfiguration.get().addToBackendProperties( properties );
return properties;
}
Expand Down

0 comments on commit ba7b880

Please sign in to comment.