diff --git a/marvel/src/main/java/org/elasticsearch/marvel/shield/SecuredClient.java b/marvel/src/main/java/org/elasticsearch/marvel/shield/SecuredClient.java index 9a0b13e3ae8..3e7904fc7ed 100644 --- a/marvel/src/main/java/org/elasticsearch/marvel/shield/SecuredClient.java +++ b/marvel/src/main/java/org/elasticsearch/marvel/shield/SecuredClient.java @@ -1047,18 +1047,6 @@ public class SecuredClient implements Client { return new ValidateQueryRequestBuilder(this, ValidateQueryAction.INSTANCE).setIndices(indices); } - public ActionFuture renderSearchTemplate(RenderSearchTemplateRequest request) { - return this.execute(RenderSearchTemplateAction.INSTANCE, request); - } - - public void renderSearchTemplate(RenderSearchTemplateRequest request, ActionListener listener) { - this.execute(RenderSearchTemplateAction.INSTANCE, request, listener); - } - - public RenderSearchTemplateRequestBuilder prepareRenderSearchTemplate() { - return new RenderSearchTemplateRequestBuilder(this, RenderSearchTemplateAction.INSTANCE); - } - public ActionFuture putWarmer(PutWarmerRequest request) { return this.execute(PutWarmerAction.INSTANCE, request); } @@ -1370,6 +1358,18 @@ public class SecuredClient implements Client { public SnapshotsStatusRequestBuilder prepareSnapshotStatus() { return new SnapshotsStatusRequestBuilder(this, SnapshotsStatusAction.INSTANCE); } + + public ActionFuture renderSearchTemplate(RenderSearchTemplateRequest request) { + return this.execute(RenderSearchTemplateAction.INSTANCE, request); + } + + public void renderSearchTemplate(RenderSearchTemplateRequest request, ActionListener listener) { + this.execute(RenderSearchTemplateAction.INSTANCE, request, listener); + } + + public RenderSearchTemplateRequestBuilder prepareRenderSearchTemplate() { + return new RenderSearchTemplateRequestBuilder(this, RenderSearchTemplateAction.INSTANCE); + } } static class Admin implements AdminClient {