Skip to content

Commit 902c1fa

Browse files
authored
Move REST specs for data streams (#59634)
1 parent b551f75 commit 902c1fa

File tree

9 files changed

+9
-5
lines changed

9 files changed

+9
-5
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/RestHighLevelClientTests.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,11 @@ public void testApiNamingConventions() throws Exception {
916916
apiName.startsWith("async_search") == false &&
917917
// IndicesClientIT.getIndexTemplate should be renamed "getTemplate" in version 8.0 when we
918918
// can get rid of 7.0's deprecated "getTemplate"
919-
apiName.equals("indices.get_index_template") == false) {
919+
apiName.equals("indices.get_index_template") == false &&
920+
List.of("indices.data_streams_stats",
921+
"indices.delete_data_stream",
922+
"indices.create_data_stream",
923+
"indices.get_data_stream").contains(apiName) == false) {
920924
apiNotFound.add(apiName);
921925
}
922926
}

x-pack/plugin/data-streams/qa/rest/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ apply plugin: 'elasticsearch.rest-resources'
66
restResources {
77
restApi {
88
includeCore 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query'
9-
includeXpack 'enrich'
9+
includeXpack 'indices'
1010
}
1111
}
1212

x-pack/plugin/eql/qa/rest/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apply plugin: 'elasticsearch.rest-resources'
88
restResources {
99
restApi {
1010
includeCore '_common', 'bulk', 'indices'
11-
includeXpack 'eql'
11+
includeXpack 'eql', 'indices'
1212
}
1313
}
1414

x-pack/plugin/stack/qa/rest/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
restResources {
1313
restApi {
1414
includeCore '_common', 'cluster', 'indices', 'index', 'snapshot'
15-
includeXpack 'ilm', 'slm', 'stack'
15+
includeXpack 'ilm', 'slm', 'stack', 'indices'
1616
}
1717
}
1818

x-pack/qa/multi-cluster-search-security/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010

1111
restResources {
1212
restApi {
13-
includeXpack 'security', 'async_search'
13+
includeXpack 'security', 'async_search', 'indices'
1414
}
1515
}
1616

0 commit comments

Comments
 (0)