Skip to content

Fix cat common query parameters #3340

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

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Fix cat common query parameters #3340

merged 2 commits into from
Dec 18, 2024

Conversation

pquentin
Copy link
Member

This extracts the cat APIs changes from #3297.

Co-authored-by: Sylvain Wallez <[email protected]>
@pquentin pquentin requested a review from a team as a code owner December 17, 2024 06:12
Copy link
Contributor

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

API Status Request Response
cat.aliases 🟢 29/29 29/29
cat.allocation 🟢 12/12 12/12
cat.component_templates Missing test Missing test
cat.help Missing test Missing test
cat.indices 🟢 33/33 32/32
cat.master 🟢 1/1 1/1
cat.ml_data_frame_analytics 🟢 5/5 5/5
cat.ml_trained_models 🟢 1/1 1/1
cat.nodeattrs 🟢 5/5 5/5
cat.nodes 🟢 11/11 11/11
cat.pending_tasks 🟢 1/1 1/1
cat.plugins 🟢 2/2 2/2
cat.recovery 🟢 6/6 6/6
cat.repositories 🟢 6/6 6/6
cat.segments 🟢 9/9 9/9
cat.shards 🟢 11/11 11/11
cat.snapshots 🟢 4/4 4/4
cat.tasks 🟢 11/11 11/11
cat.templates 🟢 17/17 17/17
cat.thread_pool 🟢 9/9 9/9

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

Copy link
Contributor

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

API Status Request Response
cat.aliases 🟢 29/29 29/29
cat.allocation 🟢 12/12 12/12
cat.component_templates Missing test Missing test
cat.help Missing test Missing test
cat.indices 🟢 33/33 32/32
cat.master 🟢 1/1 1/1
cat.ml_data_frame_analytics 🟢 5/5 5/5
cat.ml_trained_models 🟢 1/1 1/1
cat.nodeattrs 🟢 5/5 5/5
cat.nodes 🟢 11/11 11/11
cat.pending_tasks 🟢 1/1 1/1
cat.plugins 🟢 2/2 2/2
cat.recovery 🟢 6/6 6/6
cat.repositories 🟢 6/6 6/6
cat.segments 🟢 9/9 9/9
cat.shards 🟢 11/11 11/11
cat.snapshots 🟢 4/4 4/4
cat.tasks 🟢 11/11 11/11
cat.templates 🟢 17/17 17/17
cat.thread_pool 🟢 9/9 9/9

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

@pquentin pquentin merged commit eb357d5 into main Dec 18, 2024
10 checks passed
@pquentin pquentin deleted the cat-query-parameters branch December 18, 2024 08:48
Copy link
Contributor

The backport to 8.x 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.x 8.x
# Navigate to the new working tree
cd .worktrees/backport-8.x
# Create a new branch
git switch --create backport-3340-to-8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 eb357d581b62b371223de9a0064a220c055a7fe1
# Push it to GitHub
git push --set-upstream origin backport-3340-to-8.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.x

Then, create a pull request where the base branch is 8.x and the compare/head branch is backport-3340-to-8.x.

Copy link
Contributor

The backport to 8.16 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.16 8.16
# Navigate to the new working tree
cd .worktrees/backport-8.16
# Create a new branch
git switch --create backport-3340-to-8.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 eb357d581b62b371223de9a0064a220c055a7fe1
# Push it to GitHub
git push --set-upstream origin backport-3340-to-8.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.16

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

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-3340-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 eb357d581b62b371223de9a0064a220c055a7fe1
# Push it to GitHub
git push --set-upstream origin backport-3340-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-3340-to-8.17.

pquentin added a commit that referenced this pull request Dec 18, 2024
* Fix cat common query parameters

Co-authored-by: Sylvain Wallez <[email protected]>

* Address review requests

---------

Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit eb357d5)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
#	output/typescript/types.ts
#	specification/cat/aliases/CatAliasesRequest.ts
pquentin added a commit that referenced this pull request Dec 18, 2024
* Fix cat common query parameters

Co-authored-by: Sylvain Wallez <[email protected]>

* Address review requests

---------

Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit eb357d5)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
#	output/typescript/types.ts
#	specification/cat/aliases/CatAliasesRequest.ts
@pquentin
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.x
8.17

Questions ?

Please refer to the Backport tool documentation

pquentin added a commit that referenced this pull request Dec 18, 2024
* Fix cat common query parameters

Co-authored-by: Sylvain Wallez <[email protected]>

* Address review requests

---------

Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit eb357d5)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
#	output/typescript/types.ts
#	specification/cat/aliases/CatAliasesRequest.ts
pquentin added a commit that referenced this pull request Dec 18, 2024
* Fix cat common query parameters

Co-authored-by: Sylvain Wallez <[email protected]>

* Address review requests

---------

Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit eb357d5)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
#	output/typescript/types.ts
#	specification/cat/aliases/CatAliasesRequest.ts
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