mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
HLRC: Convert xpack methods to client side objects (#40705)
This commit fixes a problem with BWC that was brought up in #40511. A newer version of the code was emitting a new value for an enum to an older version, and the older version could not handle that. It caused the response to error. The MainResponse is now relaxed, and will accept whatever values the server expose, and holds most of them as Strings instead of complex objects. Fixes #40511
This commit is contained in:
parent
0897a2bfb2
commit
86e4b04301
10 changed files with 361 additions and 38 deletions
|
@ -20,8 +20,3 @@ The returned `MainResponse` provides various kinds of information about the clus
|
|||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-response]
|
||||
--------------------------------------------------
|
||||
<1> Retrieve the name of the cluster as a `ClusterName`
|
||||
<2> Retrieve the unique identifier of the cluster
|
||||
<3> Retrieve the name of the node the request has been executed on
|
||||
<4> Retrieve the version of the node the request has been executed on
|
||||
<5> Retrieve the build information of the node the request has been executed on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue