Skip to content

Commit 3c9e4d6

Browse files
committed
Downgrade Elastic Client and Neo4J Driver for compatibility
1 parent dde1ab4 commit 3c9e4d6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ private Health processResponse(Health.Builder builder, HealthResponse response)
6767
builder.withDetail("number_of_pending_tasks", response.numberOfPendingTasks());
6868
builder.withDetail("number_of_in_flight_fetch", response.numberOfInFlightFetch());
6969
builder.withDetail("task_max_waiting_in_queue_millis", response.taskMaxWaitingInQueueMillis());
70-
builder.withDetail("active_shards_percent_as_number", response.activeShardsPercentAsNumber());
70+
builder.withDetail("active_shards_percent_as_number",
71+
Double.parseDouble(response.activeShardsPercentAsNumber()));
7172
builder.withDetail("unassigned_primary_shards", response.unassignedPrimaryShards());
7273
return builder.build();
7374
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ bom {
333333
releaseNotes("https://github.com/ehcache/ehcache3/releases/tag/v{version}")
334334
}
335335
}
336-
library("Elasticsearch Client", "8.18.1") {
336+
library("Elasticsearch Client", "8.17.4") {
337337
prohibit {
338338
contains "-alpha"
339339
contains "-beta"
@@ -1607,7 +1607,7 @@ bom {
16071607
]
16081608
}
16091609
}
1610-
library("Neo4j Java Driver", "5.28.5") {
1610+
library("Neo4j Java Driver", "5.28.4") {
16111611
alignWith {
16121612
version {
16131613
from "org.springframework.data:spring-data-neo4j"

0 commit comments

Comments
 (0)