From a1942e49e6f624b9de6d0042bd18152871234aa9 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 18 Jun 2019 07:23:05 -0700 Subject: [PATCH] Deprecate native code info in xpack info api (#43297) The xpack info api currently returns native code info within each feature. This commit deprecates retrieving that info, which is now available directly in the ML info api. --- .../org/elasticsearch/client/xpack/XPackInfoResponse.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/rest-high-level/src/main/java/org/elasticsearch/client/xpack/XPackInfoResponse.java b/client/rest-high-level/src/main/java/org/elasticsearch/client/xpack/XPackInfoResponse.java index 85080cae20e71..62f19570c6bc8 100644 --- a/client/rest-high-level/src/main/java/org/elasticsearch/client/xpack/XPackInfoResponse.java +++ b/client/rest-high-level/src/main/java/org/elasticsearch/client/xpack/XPackInfoResponse.java @@ -326,6 +326,11 @@ public boolean enabled() { return enabled; } + /** + * Return native code info + * @deprecated Use ML info api to find native code info + */ + @Deprecated @Nullable public Map nativeCodeInfo() { return nativeCodeInfo;