elasticsearch-rest-client: Update to latest 8.3.2
The ES low-level Java REST client (abbreviated as LLRC by ES dev team)
continues to be licensed as Apache v2 and is compatible with all ES versions
[1].
$ git log --oneline ^v7.8.1 v8.3.2 -- client/rest/src/main/
02bcbe38424 Do not retry client requests when failing with ContentTooLargeException (#87248) (#87256)
d5e9bb34d01 Fix for exception self-suppression in Rest client (#83568)
8ab0d40cb55 Fix version resolution and encoding in LLRC (#81989)
f0bc3856e14 LLRC: expose http client and allow overriding meta header (#81955)
5b49982309d Formatting escape hatch (#81806)
12ad399c488 Reformat Elasticsearch source
88250c216c1 Exposing the ability to log deprecated settings at non-critical level (#79107)
fe1fc5f7d3d Add support for rest compatibility headers to the HLRC (#78490)
e55edf937ab Fix shadowed variables in various places - part 1 (#77555)
d01efa4fd63 Changes to keep Checkstyle happy after reformatting (#76464)
c06608d4e67 Verify that main info response returns correct product headers (#73910)
e5518e07f13 Fix Suppressing Interrupted Flag in Client (#68999)
63e9378dc83 LLRC - support new data roles (#66947)
71c0821ffc4 Keep low level rest client under Apache 2 software license (#68694)
a92a647b9f1 Update sources with new SSPL+Elastic-2.0 license headers
937c1c73f92 Added support for passing http query parameters (#67802)
1dcacfeabf7 [client] Add client metadata header on RestClient requests (#66303)
ad1f876daa7 Replace NOT operator with explicit `false` check (#67817)
4f29e3e1bad [client] Fix decompressed response headers (#63419)
67be92c7238 [client] Add simple support for gzip compression (#63230)
1259a46cbe8 Drop assertion that rest client header warnings conform to RFC 7234 (#61365)
648ac53ac5f [client] Handle non-default port in Cloud-Id (#61581)
e49e7220e72 Revert "Avoid StackOverflowError due to regex alternate paths (#61259)" (#61363)
bf8b7de05fc Avoid StackOverflowError due to regex alternate paths (#61259)
974f6e66b69 LLRC RequestOptions add RequestConfig (#57972)
4542dfc107b LLRC RestClient add isRunning method (#57973)
2621452473e Enable decompression of response within LowLevelRestClient (#55413)
89b0aad7bd8 Fix roles parsing in client nodes sniffer (#52888)
a6a3d2b8bab Improve warning value extraction performance in Response (#50208)
261b582697e Validate proxy base path at parse time (#47912)
0fb02aa6c4e Add cloudId builder to the HLRC (#47868)
4baab594aa3 Add support for cancelling async requests in low-level REST client (#45379)
e5805c961e3 Use the full hash in build info (#45163)
e586a218133 Remove SecurityClient from x-pack (#42471)
35b6239a8d4 Refactor HLRC RequestConverters parameters to be more explicit (#42128)
ee51702e780 Adapt low-level REST client to java 8 (#41537)
[1] https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.3/java-rest-low-usage-maven.html
Change-Id: Ib9ad9e9f2a19ca57fdfa70ed05fd099cc1827d4c
diff --git a/external_plugin_deps.bzl b/external_plugin_deps.bzl
index fc1420c..8b44d57 100644
--- a/external_plugin_deps.bzl
+++ b/external_plugin_deps.bzl
@@ -17,8 +17,8 @@
# WORKSPACE.
maven_jar(
name = "elasticsearch-rest-client",
- artifact = "org.elasticsearch.client:elasticsearch-rest-client:7.8.1",
- sha1 = "59feefe006a96a39f83b0dfb6780847e06c1d0a8",
+ artifact = "org.elasticsearch.client:elasticsearch-rest-client:8.3.2",
+ sha1 = "bb5cb3dbd82ea75a6d49b9011ca5b1d125b30f00",
)
maven_jar(
@@ -85,6 +85,7 @@
sha1 = "0f63b3b1da563767d04d2e4d3fc1ae0cdeffebe7",
)
+ # elasticsearch-rest-client explicitly depends on this version
maven_jar(
name = "httpasyncclient",
artifact = "org.apache.httpcomponents:httpasyncclient:4.1.4",
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 590c96d..acb8d85 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -1,6 +1,11 @@
# Build
-This plugin is built with Bazel in-tree build.
+This plugin is built with Bazel in-tree build. This plugin depends on the Elasticsearch Java Low
+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)
+for more information.
## Build in Gerrit tree