Browse Source

Downgrade Elastic Client and Neo4J Driver for compatibility

pull/45379/head
Phillip Webb 8 months ago
parent
commit
3c9e4d69d8
  1. 3
      spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/data/elasticsearch/ElasticsearchReactiveHealthIndicator.java
  2. 4
      spring-boot-project/spring-boot-dependencies/build.gradle

3
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/data/elasticsearch/ElasticsearchReactiveHealthIndicator.java

@ -67,7 +67,8 @@ public class ElasticsearchReactiveHealthIndicator extends AbstractReactiveHealth @@ -67,7 +67,8 @@ public class ElasticsearchReactiveHealthIndicator extends AbstractReactiveHealth
builder.withDetail("number_of_pending_tasks", response.numberOfPendingTasks());
builder.withDetail("number_of_in_flight_fetch", response.numberOfInFlightFetch());
builder.withDetail("task_max_waiting_in_queue_millis", response.taskMaxWaitingInQueueMillis());
builder.withDetail("active_shards_percent_as_number", response.activeShardsPercentAsNumber());
builder.withDetail("active_shards_percent_as_number",
Double.parseDouble(response.activeShardsPercentAsNumber()));
builder.withDetail("unassigned_primary_shards", response.unassignedPrimaryShards());
return builder.build();
}

4
spring-boot-project/spring-boot-dependencies/build.gradle

@ -333,7 +333,7 @@ bom { @@ -333,7 +333,7 @@ bom {
releaseNotes("https://github.com/ehcache/ehcache3/releases/tag/v{version}")
}
}
library("Elasticsearch Client", "8.18.1") {
library("Elasticsearch Client", "8.17.4") {
prohibit {
contains "-alpha"
contains "-beta"
@ -1607,7 +1607,7 @@ bom { @@ -1607,7 +1607,7 @@ bom {
]
}
}
library("Neo4j Java Driver", "5.28.5") {
library("Neo4j Java Driver", "5.28.4") {
alignWith {
version {
from "org.springframework.data:spring-data-neo4j"

Loading…
Cancel
Save