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

Re-generated client code using latest OpenSearch API specification #1113

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

@opensearch-trigger-bot opensearch-trigger-bot bot commented Jul 29, 2024

Re-generated client code using latest OpenSearch API specification.
Date: 2024-09-23

@dblock
Copy link
Member

dblock commented Jul 29, 2024

Before merging this we need to / should add the SQL namespace? @Xtansia

…24-09-23)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Xtansia Xtansia merged commit 230a92c into main Sep 23, 2024
100 checks passed
@Xtansia Xtansia deleted the code-gen/main/update branch September 23, 2024 05:30
@Xtansia Xtansia added the backport 2.x Backport to 2.x branch label Sep 23, 2024
@opensearch-trigger-bot
Copy link
Contributor Author

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

Xtansia pushed a commit to Xtansia/opensearch-java that referenced this pull request Sep 23, 2024
…24-09-23) (opensearch-project#1113)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 230a92c)
Xtansia added a commit that referenced this pull request Sep 23, 2024
…ecification (2024-09-23) (#1113) (#1205)

* Re-generate client code using latest OpenSearch API specification (2024-09-23) (#1113)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 230a92c)

* Regenerate tasks namespace (#1187)

* Fix codegen integer handling

Signed-off-by: Thomas Farr <[email protected]>

* Add failing tests

Signed-off-by: Thomas Farr <[email protected]>

* Begin re-generating `tasks.ListRequest` and `TaskExecutingNode`

renaming `State` to `TaskInfo`

Signed-off-by: Thomas Farr <[email protected]>

* Simplify client request methods

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate _types.Retries

Signed-off-by: Thomas Farr <[email protected]>

* Handle types that are used in both abstract and concrete contexts

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate tasks.ListResponse

Signed-off-by: Thomas Farr <[email protected]>

* Regenerate tasks.cancel

Signed-off-by: Thomas Farr <[email protected]>

* Regenerate tasks.get

Signed-off-by: Thomas Farr <[email protected]>

* spotless

Signed-off-by: Thomas Farr <[email protected]>

* Fixes

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit cb89246)

* Support new mechanism of defining deprecated enum variants in OpenAPI (#1198)

* Support new mechanism of defining deprecated enum variants in OpenAPI

Signed-off-by: Thomas Farr <[email protected]>

* Spotless

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 432919c)

* Ensure codegen uptodate

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut backport 2.x Backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants