From e8967fd2d6bed8d26b63723d7bf082c1267711d6 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 17 Jun 2019 13:00:43 -0700 Subject: [PATCH] Deprecate native code info in xpack info api 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;