Downgrade Elastic Client and Neo4J Driver for compatibility

This commit is contained in:
Phillip Webb 2025-05-09 14:56:42 -07:00
parent dde1ab4aa8
commit 3c9e4d69d8
2 changed files with 4 additions and 3 deletions

View File

@ -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();
}

View File

@ -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 {
]
}
}
library("Neo4j Java Driver", "5.28.5") {
library("Neo4j Java Driver", "5.28.4") {
alignWith {
version {
from "org.springframework.data:spring-data-neo4j"