Skip to content

Conversation

@gmarouli
Copy link
Contributor

@gmarouli gmarouli commented Apr 1, 2025

In this PR we introduce the data stream API in the es-rest-api using the feature flag feature. This enabled us to use the yamlRestTests tests instead of the javaRestTests.

@gmarouli gmarouli added >test Issues or PRs that are addressing/adding tests :Data Management/Data streams Data streams and their lifecycles labels Apr 1, 2025
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team v9.1.0 labels Apr 1, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except that there's one test which I think we might want to add. Other than that, just a few nits in comments or text (I'm guessing from copy-and-paste errors... I thought that was my speciality!).

'^cat.snapshots/*/*',
'^cluster.desired_balance/10_basic/*',
'^data_stream/40_supported_apis/Verify shard stores api', // uses _shard_stores API
'^data_stream/230_data_stream_options.yml', // updating data stream options does not yet support multi project
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make data stream options support multi-project in a follow up PR to keep this within scope.

@gmarouli
Copy link
Contributor Author

gmarouli commented Apr 2, 2025

Other than that, just a few nits in comments or text (I'm guessing from copy-and-paste errors... I thought that was my speciality!).

Oh no, I cannot say that you are the only specialist :p. Thanks for being vigilant and helping find them.

Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is all done now... LGTM when you're ready.

@gmarouli gmarouli added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged v8.19.0 labels Apr 2, 2025
@elasticsearchmachine elasticsearchmachine merged commit 2505049 into elastic:main Apr 2, 2025
17 checks passed
@gmarouli gmarouli deleted the data-stream-options-convert-to-yml branch April 2, 2025 14:33
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 126037

@gmarouli
Copy link
Contributor Author

gmarouli commented Apr 2, 2025

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

gmarouli added a commit to gmarouli/elasticsearch that referenced this pull request Apr 2, 2025
…lastic#126037)

In this PR we introduce the data stream API in the `es-rest-api` using
the feature flag feature. This enabled us to use the `yamlRestTests`
tests instead of the `javaRestTests`.

(cherry picked from commit 2505049)

# Conflicts:
#	x-pack/qa/multi-project/core-rest-tests-with-multiple-projects/build.gradle
elasticsearchmachine pushed a commit that referenced this pull request Apr 2, 2025
…126037) (#126142)

In this PR we introduce the data stream API in the `es-rest-api` using
the feature flag feature. This enabled us to use the `yamlRestTests`
tests instead of the `javaRestTests`.

(cherry picked from commit 2505049)

# Conflicts:
#	x-pack/qa/multi-project/core-rest-tests-with-multiple-projects/build.gradle
andreidan pushed a commit to andreidan/elasticsearch that referenced this pull request Apr 9, 2025
…lastic#126037)

In this PR we introduce the data stream API in the `es-rest-api` using
the feature flag feature. This enabled us to use the `yamlRestTests`
tests instead of the `javaRestTests`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants