From b1f532eb851a436c073fe95301b66efb8b07610d Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 19 Aug 2014 13:43:23 +0200 Subject: [PATCH] Internal: changed index templates api category from indices to cluster --- .../indices/template/delete/DeleteIndexTemplateAction.java | 2 +- .../admin/indices/template/get/GetIndexTemplatesAction.java | 2 +- .../admin/indices/template/put/PutIndexTemplateAction.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java b/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java index e826b76f971..6fcbe42dac2 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java @@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient; public class DeleteIndexTemplateAction extends IndicesAction { public static final DeleteIndexTemplateAction INSTANCE = new DeleteIndexTemplateAction(); - public static final String NAME = "indices:admin/template/delete"; + public static final String NAME = "cluster:admin/template/delete"; private DeleteIndexTemplateAction() { super(NAME); diff --git a/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java b/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java index de3ded1a64e..71f5af46f2f 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java @@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient; public class GetIndexTemplatesAction extends IndicesAction { public static final GetIndexTemplatesAction INSTANCE = new GetIndexTemplatesAction(); - public static final String NAME = "indices:admin/template/get"; + public static final String NAME = "cluster:admin/template/get"; protected GetIndexTemplatesAction() { super(NAME); diff --git a/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java b/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java index 00f98bc46b6..fa01d6720c6 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java @@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient; public class PutIndexTemplateAction extends IndicesAction { public static final PutIndexTemplateAction INSTANCE = new PutIndexTemplateAction(); - public static final String NAME = "indices:admin/template/put"; + public static final String NAME = "cluster:admin/template/put"; private PutIndexTemplateAction() { super(NAME);