Internal: changed index templates api category from indices to cluster
This commit is contained in:
parent
383e64bd5c
commit
b1f532eb85
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue