-
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
Don't change Extension REST client Settings with transport node info #786
Conversation
Signed-off-by: Daniel Widdis <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #786 +/- ##
============================================
- Coverage 43.81% 43.39% -0.43%
+ Complexity 314 312 -2
============================================
Files 69 69
Lines 1990 1975 -15
Branches 139 138 -1
============================================
- Hits 872 857 -15
+ Misses 1102 1101 -1
- Partials 16 17 +1
|
Are we ok with merging despite the slight codecov decrease? |
Well, that's weird because:
I looked into the specific changes. The lost coverage is that the new settings here are never actually used/tested: - .put(OPENSEARCH_HOST_SETTING, extensionSettings.getOpensearchAddress())
- .put(OPENSEARCH_PORT_SETTING, extensionSettings.getOpensearchPort()) But they were removed alerady here: https://github.com/opensearch-project/opensearch-sdk-java/pull/783/files So codecov is using a different base. |
Ok, seems like we can just merge it in then |
…786) Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit ba15d56) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…786) (#787) (cherry picked from commit ba15d56) Signed-off-by: Daniel Widdis <[email protected]> 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>
Description
Removes the line of code from #730 that updates Extension Settings in the SDK (used for REST connections) based on the OpenSearch node from initialization (used for Transport connections)
Issues Resolved
Part of ongoing work on #782. See comment.
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.