Skip to content

Commit

Permalink
[7.x] Move REST specs for data streams (#60111)
Browse files Browse the repository at this point in the history
  • Loading branch information
danhermann authored Jul 23, 2020
1 parent db183c8 commit fe12217
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,11 @@ public void testApiNamingConventions() throws Exception {
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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/data-streams/qa/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/eql/qa/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apply plugin: 'elasticsearch.rest-resources'
restResources {
restApi {
includeCore '_common', 'bulk', 'indices'
includeXpack 'eql'
includeXpack 'eql', 'indices'
}
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/stack/qa/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
restResources {
restApi {
includeCore '_common', 'cluster', 'indices', 'index', 'snapshot'
includeXpack 'ilm', 'slm', 'stack'
includeXpack 'ilm', 'slm', 'stack', 'indices'
}
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/qa/multi-cluster-search-security/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {

restResources {
restApi {
includeXpack 'security', 'async_search'
includeXpack 'security', 'async_search', 'indices'
}
}

Expand Down

0 comments on commit fe12217

Please sign in to comment.