-
Notifications
You must be signed in to change notification settings - Fork 58
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
Integrated Async Java Client #558
Conversation
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #558 +/- ##
============================================
+ Coverage 67.67% 67.89% +0.22%
- Complexity 200 203 +3
============================================
Files 36 36
Lines 863 869 +6
Branches 26 26
============================================
+ Hits 584 590 +6
Misses 269 269
Partials 10 10 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
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 for now. The whole initialize and close thing really could use an overhaul at some point.
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> (cherry picked from commit 8e0b1f6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Integrated Async Java Client * Correct ordering of method * Updated method name --------- (cherry picked from commit 8e0b1f6) Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Nurym <nurym0807@gmail.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Nurym <nurym0807@gmail.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Nurym <nurym0807@gmail.com>
* Integrated Async Java Client Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Correct ordering of method Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Updated method name Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Nurym <nurym0807@gmail.com>
Description
To invoke the Actions residing in OpenSearch. Extensions will use Java Client to call the action using REST requests available. Currently, we support synchronous Java Client. As AD plugin uses asynchronous request calls, create an async Java Client for the same.
This is needed for the migration of Start Detector.
Issues Resolved
Fixes #557
Fixes #296
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.