[7.x] Move REST specs for data streams (#60111)

This commit is contained in:
Dan Hermann 2020-07-23 08:10:54 -05:00 committed by GitHub
parent db183c89ed
commit fe12217c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 5 deletions

View File

@ -915,7 +915,11 @@ public class RestHighLevelClientTests extends ESTestCase {
apiName.startsWith("async_search") == false &&
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we
// 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);
}
}

View File

@ -6,7 +6,7 @@ apply plugin: 'elasticsearch.rest-resources'
restResources {
restApi {
includeCore 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query'
includeXpack 'enrich'
includeXpack 'indices'
}
}

View File

@ -8,7 +8,7 @@ apply plugin: 'elasticsearch.rest-resources'
restResources {
restApi {
includeCore '_common', 'bulk', 'indices'
includeXpack 'eql'
includeXpack 'eql', 'indices'
}
}

View File

@ -12,7 +12,7 @@ dependencies {
restResources {
restApi {
includeCore '_common', 'cluster', 'indices', 'index', 'snapshot'
includeXpack 'ilm', 'slm', 'stack'
includeXpack 'ilm', 'slm', 'stack', 'indices'
}
}

View File

@ -10,7 +10,7 @@ dependencies {
restResources {
restApi {
includeXpack 'security', 'async_search'
includeXpack 'security', 'async_search', 'indices'
}
}