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

Add RestClient initialization code snippets #501

Merged
merged 2 commits into from
May 27, 2023

Conversation

reta
Copy link
Collaborator

@reta reta commented May 23, 2023

Description

Add RestClient initialization code snippets

Issues Resolved

Closes #499

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

szczepanczykd
szczepanczykd previously approved these changes May 23, 2023
USER_GUIDE.md Outdated Show resolved Hide resolved
USER_GUIDE.md Outdated Show resolved Hide resolved
Signed-off-by: Andriy Redko <[email protected]>
@reta reta requested a review from szczepanczykd May 26, 2023 20:54
@reta reta merged commit 9c81502 into opensearch-project:main May 27, 2023
@reta reta added the backport 2.x Backport to 2.x branch label May 27, 2023
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

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

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

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

reta added a commit to reta/opensearch-java that referenced this pull request May 29, 2023
* Add RestClient initialization code snippets

Signed-off-by: Andriy Redko <[email protected]>

* Address code review comments

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 9c81502)
dblock pushed a commit that referenced this pull request May 30, 2023
* Add RestClient initialization code snippets

Signed-off-by: Andriy Redko <[email protected]>

* Address code review comments

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 9c81502)
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Opensearch 2.7.x client documentation improvements
3 participants