Skip to content

Commit c475eb8

Browse files
author
Madhan
committed
Add indices.modify_data_stream to HLRC notRequiredApi allowlist
RestHighLevelClientTests.testApiNamingConventions asserts that every API in the rest-api-spec is either implemented in the High-Level REST Client or listed in an allowlist. The new indices.modify_data_stream spec is not implemented in the HLRC (which is deprecated and no longer extended for new APIs), so it must be listed in notRequiredApi - consistent with how other recent server-only APIs (e.g. wlm_stats_list) are handled. Fixes the gradle-check failure in :client:rest-high-level:test.
1 parent 32435a8 commit c475eb8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ public void testApiNamingConventions() throws Exception {
867867
"indices.recovery",
868868
"indices.segments",
869869
"indices.stats",
870+
"indices.modify_data_stream",
870871
"ingest.processor_grok",
871872
"nodes.info",
872873
"nodes.stats",

0 commit comments

Comments
 (0)