Replace RestHighLevelClient with OpenSearch Java Client - #6420
Conversation
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 04e0362. ⛔ Hard block: Issues at High severity or above will block this PR from merging.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Reviewer Guide 🔍(Review updated until commit 5d7fffe)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 5d7fffe Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit f06c6e5
Suggestions up to commit bb2a1fa
Suggestions up to commit 27530a4
Suggestions up to commit e02e519
Suggestions up to commit db0cfea
|
|
Persistent review updated to latest commit 6c90a83 |
|
Persistent review updated to latest commit 2f0e8cf |
|
Persistent review updated to latest commit 74efc55 |
|
Persistent review updated to latest commit 2a88324 |
|
Persistent review updated to latest commit 85d969b |
|
Persistent review updated to latest commit 2544a96 |
|
Persistent review updated to latest commit 55cc2f8 |
|
Persistent review updated to latest commit b2e6259 |
|
Persistent review updated to latest commit 08c1489 |
|
Persistent review updated to latest commit 807e6bb |
|
Persistent review updated to latest commit a870004 |
|
Persistent review updated to latest commit 7855f7a |
|
Persistent review updated to latest commit 3eb18ac |
|
Persistent review updated to latest commit a819af9 |
|
Persistent review updated to latest commit db0cfea |
|
Persistent review updated to latest commit e02e519 |
|
Persistent review updated to latest commit 27530a4 |
|
Persistent review updated to latest commit bb2a1fa |
|
Persistent review updated to latest commit f06c6e5 |
Signed-off-by: Andriy Redko <drreta@gmail.com>
|
Persistent review updated to latest commit 5d7fffe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6420 +/- ##
==========================================
+ Coverage 75.75% 75.79% +0.04%
==========================================
Files 457 457
Lines 30508 30508
Branches 4615 4615
==========================================
+ Hits 23111 23124 +13
+ Misses 5276 5264 -12
+ Partials 2121 2120 -1 🚀 New features to boost your workflow:
|
|
@cwperks I think we are in good shape here:
I haven't removed the dependency yet (there is usage of the RHLC related classes in the main codebase) but I will be working on this next, didn't want to inflate this pull request even more. Thank you |
Description
In scope of opensearch-project/OpenSearch#22578, the suggestion is to deprecate the
RestHighLevelClientin favor of a single official Java client (OpenSearch Java Client). To make the case that we have no gaps, replacingRestHighLevelClientusage withOpenSearchClient.Issues Resolved
Part of opensearch-project/OpenSearch#22578
Is this a backport? If so, please add backport PR # and/or commits #, and remove
backport-failedlabel from the original PR.Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here
Testing
Covered by existing tests
Check List
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.