-
Notifications
You must be signed in to change notification settings - Fork 265
Low level client update #974
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
Conversation
…for overloaded methods
This reverts commit 48f2b57.
b3846d8
to
b1287e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The backport to
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-9.0 9.0
# Navigate to the new working tree
cd .worktrees/backport-9.0
# Create a new branch
git switch --create backport-974-to-9.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 06164fb52da0b766f14399c55aace75da1a0f708
# Push it to GitHub
git push --set-upstream origin backport-974-to-9.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-9.0 Then, create a pull request where the |
* new transport * fix multibufferentity * client builder refactor * temp * temp * temp * original tests * new tests * fixing tests * flatten low level client folder structure * Move things around, remove duplicated tests * naming refactor * Add ElasticsearchTestClient that randomly chooses an implementation * regen from latest spec * test fixes * esql test config fix * porting low level client unit tests * low level client tests to junit 5 * Randomize client implementation, remove cloud-id on Rest5, add tests for overloaded methods * Refine client builder * todos and timeouts fix * checkstyle fixes * remove maven local + remove legacy test * Add insecure SSLContext * temp rebase fix * Reduce public API surface * Extract HttpRequest.Node (future-proof this class for later use) * Remove Node.boundHosts: it's mostly useless in the container era * Port RestClient's sniffer to Rest5Client * Move Node back to its original location. TransportHttpClient is self-contained * Refactor client builder to transport configuration * Allow extensions of ElasticsearchTransportConfig * Remove calls to AccessController which is deprecated for removal * Fix licenseReport * Revert "temp rebase fix" This reverts commit 48f2b57. * [codegen] update to latest spec and generator * fixing tests * regen --------- Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
* new transport * fix multibufferentity * client builder refactor * temp * temp * temp * original tests * new tests * fixing tests * flatten low level client folder structure * Move things around, remove duplicated tests * naming refactor * Add ElasticsearchTestClient that randomly chooses an implementation * regen from latest spec * test fixes * esql test config fix * porting low level client unit tests * low level client tests to junit 5 * Randomize client implementation, remove cloud-id on Rest5, add tests for overloaded methods * Refine client builder * todos and timeouts fix * checkstyle fixes * remove maven local + remove legacy test * Add insecure SSLContext * temp rebase fix * Reduce public API surface * Extract HttpRequest.Node (future-proof this class for later use) * Remove Node.boundHosts: it's mostly useless in the container era * Port RestClient's sniffer to Rest5Client * Move Node back to its original location. TransportHttpClient is self-contained * Refactor client builder to transport configuration * Allow extensions of ElasticsearchTransportConfig * Remove calls to AccessController which is deprecated for removal * Fix licenseReport * Revert "temp rebase fix" This reverts commit 48f2b57. * [codegen] update to latest spec and generator * fixing tests * regen --------- Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
Is Java 8 deprecated after this change set was merged? Are you guys planning to drop support ? |
hey @cfedericovonwernich, version 8.x of the java client will continue to be built with java 8, while for version 9.x we have decided to update to java 17, we'll make it clearer in the breaking changes documentation. |
Adding new Rest5Client transport implementation based on Apache Http Client version 5, adding more builders and helpers for the client itself and for its methods.