Internal: changed index templates api category from indices to cluster

This commit is contained in:
javanna 2014-08-19 13:43:23 +02:00 committed by Luca Cavanna
parent 383e64bd5c
commit b1f532eb85
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient;
public class DeleteIndexTemplateAction extends IndicesAction<DeleteIndexTemplateRequest, DeleteIndexTemplateResponse, DeleteIndexTemplateRequestBuilder> {
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);

View File

@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient;
public class GetIndexTemplatesAction extends IndicesAction<GetIndexTemplatesRequest, GetIndexTemplatesResponse, GetIndexTemplatesRequestBuilder> {
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);

View File

@ -27,7 +27,7 @@ import org.elasticsearch.client.IndicesAdminClient;
public class PutIndexTemplateAction extends IndicesAction<PutIndexTemplateRequest, PutIndexTemplateResponse, PutIndexTemplateRequestBuilder> {
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);