From 0374c3d563860c3484a5a5a65f059959734b2e75 Mon Sep 17 00:00:00 2001 From: Leo Li <269739606@qq.com> Date: Sat, 18 Sep 2021 11:29:25 +0800 Subject: [PATCH 1/2] Add default value for "s.d.elasticsearch.client.reactive.endpoints" See gh-28061 --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index d1d4ea4612..a8845fbb1b 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -612,6 +612,12 @@ "description": "Whether to enable Elasticsearch repositories.", "defaultValue": true }, + { + "name": "spring.data.elasticsearch.client.reactive.endpoints", + "defaultValue": [ + "http://localhost:9200" + ] + }, { "name": "spring.data.jdbc.repositories.enabled", "type": "java.lang.Boolean", From 15de85d89affc2b7ea9476c05d0c3d7f138a3c4c Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 21 Sep 2021 08:18:08 +0200 Subject: [PATCH 2/2] Polish contribution See gh-28061 --- .../additional-spring-configuration-metadata.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index a8845fbb1b..0b09fcbcf7 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -582,6 +582,12 @@ "description": "Type of Couchbase repositories to enable.", "defaultValue": "auto" }, + { + "name": "spring.data.elasticsearch.client.reactive.endpoints", + "defaultValue": [ + "localhost:9200" + ] + }, { "name": "spring.data.elasticsearch.cluster-name", "type": "java.lang.String", @@ -612,12 +618,6 @@ "description": "Whether to enable Elasticsearch repositories.", "defaultValue": true }, - { - "name": "spring.data.elasticsearch.client.reactive.endpoints", - "defaultValue": [ - "http://localhost:9200" - ] - }, { "name": "spring.data.jdbc.repositories.enabled", "type": "java.lang.Boolean",