Update elasticsearch-rest-client to latest release 8.15.2
and update its dependencies accordingly
- httpasyncclient to 4.1.5 required by elasticsearch-rest-client 8.15.2
- httpcore-nio to 4.4.16, elasticsearch-rest-client 8.15.2 requires at
least 4.4.13, we already use httpcore 4.4.16 in Gerrit core
$ git log --oneline ^v8.3.2 v8.15.2 -- client/rest/src/main/
a50e58d99ac Use single-char variant of String.indexOf() where possible (#105205)
6f4e293d296 Add `require_data_stream` feature (#101872)
cd2bb08957a Set thread name used by REST client (#103160)
e8c3a72785a Extract constant for ?ignore pseudo-parameter (#102365)
f2154e86870 Fix unnecessary string concatenations (#90405)
4d2929bb281 Do not retry client requests when failing with ContentTooLargeException (#87248)
Change-Id: Ibeb7f307d95ed9383ea288f0b9f3291b16ece0dd
diff --git a/external_plugin_deps.bzl b/external_plugin_deps.bzl
index 72549a8..ea71773 100644
--- a/external_plugin_deps.bzl
+++ b/external_plugin_deps.bzl
@@ -70,20 +70,20 @@
# org.apache.httpcomponents dependencies in core.
maven_jar(
name = "elasticsearch-rest-client",
- artifact = "org.elasticsearch.client:elasticsearch-rest-client:8.3.2",
- sha1 = "bb5cb3dbd82ea75a6d49b9011ca5b1d125b30f00",
+ artifact = "org.elasticsearch.client:elasticsearch-rest-client:8.15.2",
+ sha1 = "ac92c1b9a542982b9a12683b608989e1a99e864c",
)
# elasticsearch-rest-client explicitly depends on this version
maven_jar(
name = "httpasyncclient",
- artifact = "org.apache.httpcomponents:httpasyncclient:4.1.4",
- sha1 = "f3a3240681faae3fa46b573a4c7e50cec9db0d86",
+ artifact = "org.apache.httpcomponents:httpasyncclient:4.1.5",
+ sha1 = "cd18227f1eb8e9a263286c1d7362ceb24f6f9b32",
)
# elasticsearch-rest-client explicitly depends on this version
maven_jar(
name = "httpcore-nio",
- artifact = "org.apache.httpcomponents:httpcore-nio:4.4.12",
- sha1 = "84cd29eca842f31db02987cfedea245af020198b",
+ artifact = "org.apache.httpcomponents:httpcore-nio:4.4.16",
+ sha1 = "cd21c80a9956be48c4c1cfd2f594ba02857d0927",
)
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index b2a31c1..009568d 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -4,7 +4,7 @@
Level REST Client (abbreviated as LLRC by the ES dev team) for integration with an Elasticsearch
cluster. The LLRC is licensed as Apache v2 (even after ES itself has moved to SSPL) and is
compatible with all ES versions. See the [LLRC
-docs](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.3/java-rest-low-usage-maven.html)
+docs](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.15/java-rest-low-usage-maven.html)
for more information.
## Build in Gerrit tree