Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cluster.get_component_template API #3617

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Jan 27, 2025

deprecated was added by elastic/elasticsearch#101148

Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
cluster.allocation_explain 🟢 4/4 4/4
cluster.delete_component_template 🟢 2/2 2/2
cluster.delete_voting_config_exclusions 🟢 1/1 1/1
cluster.exists_component_template Missing test Missing test
cluster.get_component_template 🟢 12/12 12/12
cluster.get_settings 🟢 7/7 7/7
cluster.health 🟢 159/159 159/159
cluster.info 🟢 4/4 4/4
cluster.pending_tasks 🟢 3/3 3/3
cluster.post_voting_config_exclusions 🟢 5/5 5/5
cluster.put_component_template 🔴 21/29 29/29
cluster.put_settings 🟢 59/59 58/58
cluster.remote_info 🟢 3/3 3/3
cluster.reroute 🟢 7/7 6/6
cluster.state 🟢 81/81 80/80
cluster.stats 🔴 27/27 0/27

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin merged commit 1972d83 into main Jan 27, 2025
12 checks passed
@pquentin pquentin deleted the fix-cluster-component-template branch January 27, 2025 10:29
github-actions bot pushed a commit that referenced this pull request Jan 27, 2025
Copy link
Contributor

The backport to 8.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.17 8.17
# Navigate to the new working tree
cd .worktrees/backport-8.17
# Create a new branch
git switch --create backport-3617-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1972d8361f9259c7bfe9ed1f04208dab443cae2b
# Push it to GitHub
git push --set-upstream origin backport-3617-to-8.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.17

Then, create a pull request where the base branch is 8.17 and the compare/head branch is backport-3617-to-8.17.

pquentin added a commit that referenced this pull request Jan 27, 2025
(cherry picked from commit 1972d83)

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Jan 27, 2025
(cherry picked from commit 1972d83)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
@pquentin
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.17

Questions ?

Please refer to the Backport tool documentation

pquentin added a commit that referenced this pull request Jan 27, 2025
(cherry picked from commit 1972d83)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants