[7.x] Move REST specs for data streams (#60111)
This commit is contained in:
parent
db183c89ed
commit
fe12217c7f
|
@ -915,7 +915,11 @@ public class RestHighLevelClientTests extends ESTestCase {
|
||||||
apiName.startsWith("async_search") == false &&
|
apiName.startsWith("async_search") == false &&
|
||||||
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we
|
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we
|
||||||
// can get rid of 7.0's deprecated "getTemplate"
|
// can get rid of 7.0's deprecated "getTemplate"
|
||||||
apiName.equals("indices.get_index_template") == false) {
|
apiName.equals("indices.get_index_template") == false &&
|
||||||
|
org.elasticsearch.common.collect.List.of("indices.data_streams_stats",
|
||||||
|
"indices.delete_data_stream",
|
||||||
|
"indices.create_data_stream",
|
||||||
|
"indices.get_data_stream").contains(apiName) == false) {
|
||||||
apiNotFound.add(apiName);
|
apiNotFound.add(apiName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ apply plugin: 'elasticsearch.rest-resources'
|
||||||
restResources {
|
restResources {
|
||||||
restApi {
|
restApi {
|
||||||
includeCore 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query'
|
includeCore 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query'
|
||||||
includeXpack 'enrich'
|
includeXpack 'indices'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ apply plugin: 'elasticsearch.rest-resources'
|
||||||
restResources {
|
restResources {
|
||||||
restApi {
|
restApi {
|
||||||
includeCore '_common', 'bulk', 'indices'
|
includeCore '_common', 'bulk', 'indices'
|
||||||
includeXpack 'eql'
|
includeXpack 'eql', 'indices'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ dependencies {
|
||||||
restResources {
|
restResources {
|
||||||
restApi {
|
restApi {
|
||||||
includeCore '_common', 'cluster', 'indices', 'index', 'snapshot'
|
includeCore '_common', 'cluster', 'indices', 'index', 'snapshot'
|
||||||
includeXpack 'ilm', 'slm', 'stack'
|
includeXpack 'ilm', 'slm', 'stack', 'indices'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ dependencies {
|
||||||
|
|
||||||
restResources {
|
restResources {
|
||||||
restApi {
|
restApi {
|
||||||
includeXpack 'security', 'async_search'
|
includeXpack 'security', 'async_search', 'indices'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue