Skip to content

Adds index API requests and responses - part 2 #2993

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 11 commits into from
Dec 10, 2024
Merged

Adds index API requests and responses - part 2 #2993

merged 11 commits into from
Dec 10, 2024

Conversation

szabosteve
Copy link
Contributor

Overview

Related to #2482.
This PR adds request and response examples to the index API. As this is an extensive namespace, I separated the work into two PRs, so it's easier to overview/review. This is the second PR.

First PR: #2979

Copy link
Contributor

github-actions bot commented Oct 8, 2024

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

API Status Request Response
indices.put_index_template 🔴 52/62 62/62
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

1 similar comment
Copy link
Contributor

github-actions bot commented Oct 8, 2024

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

API Status Request Response
indices.put_index_template 🔴 52/62 62/62
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

Copy link
Contributor

github-actions bot commented Dec 3, 2024

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

API Status Request Response
indices.put_index_template 🔴 57/66 66/66
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

Copy link
Contributor

github-actions bot commented Dec 3, 2024

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

API Status Request Response
indices.put_index_template 🔴 57/66 66/66
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

Copy link
Contributor

github-actions bot commented Dec 9, 2024

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

API Status Request Response
indices.put_index_template 🔴 58/67 67/67
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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
indices.put_index_template 🔴 58/67 67/67
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

@szabosteve szabosteve requested a review from lcawl December 10, 2024 14:35
Copy link
Contributor

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

API Status Request Response
indices.put_index_template 🔴 58/67 67/67
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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
indices.put_index_template 🔴 58/67 67/67
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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
indices.put_index_template 🔴 58/67 67/67
indices.put_mapping 🔴 111/115 115/115
indices.put_settings 🔴 54/57 57/57
indices.put_template 🔴 45/46 46/46
indices.recovery 🟢 9/9 9/9
indices.resolve_cluster 🔴 10/12 12/12
indices.resolve_index 🟢 6/6 6/6
indices.rollover 🔴 26/26 1/26
indices.shrink 🟢 5/5 5/5
indices.split 🟢 11/11 11/11

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

@lcawl lcawl merged commit f65ad48 into main Dec 10, 2024
7 checks passed
@lcawl lcawl deleted the api-examples-pt7 branch December 10, 2024 22:46
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-2993-to-8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 f65ad48da93a1f1d97b1fc8db87bf93778f38402
# Push it to GitHub
git push --set-upstream origin backport-2993-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-2993-to-8.x.

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

lcawl added a commit that referenced this pull request Dec 10, 2024
Co-authored-by: Lisa Cawley <[email protected]>
(cherry picked from commit f65ad48)
@lcawl
Copy link
Contributor

lcawl commented Dec 10, 2024

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit that referenced this pull request Dec 10, 2024
Co-authored-by: Lisa Cawley <[email protected]>
(cherry picked from commit f65ad48)
@lcawl
Copy link
Contributor

lcawl commented Dec 10, 2024

💚 All backports created successfully

Status Branch Result
8.17

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit that referenced this pull request Dec 10, 2024
Co-authored-by: Lisa Cawley <[email protected]>
(cherry picked from commit f65ad48)

Co-authored-by: István Zoltán Szabó <[email protected]>
lcawl added a commit that referenced this pull request Dec 11, 2024
Co-authored-by: Lisa Cawley <[email protected]>
(cherry picked from commit f65ad48)

Co-authored-by: István Zoltán Szabó <[email protected]>
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