-
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
Refactor transportservice request #167
Refactor transportservice request #167
Conversation
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Signed-off-by: mloufra <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #167 +/- ##
============================================
+ Coverage 65.80% 66.00% +0.20%
- Complexity 95 96 +1
============================================
Files 25 25
Lines 465 456 -9
Branches 13 13
============================================
- Hits 306 301 -5
+ Misses 151 147 -4
Partials 8 8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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!
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.
Does the methods implemented below, have been tested by either mocking them or passing the dummy objects on the local machine, in order to ensure the right execution of it?
* issue opensearch-project#28 Signed-off-by: mloufra <[email protected]> * Update the lastest coomit Signed-off-by: mloufra <[email protected]> * Rename the method and fix the conflict Signed-off-by: mloufra <[email protected]> * fix merge conflict Signed-off-by: mloufra <[email protected]> * Add code coverage report Signed-off-by: mloufra <[email protected]> * Rebase the lastest commit Signed-off-by: mloufra <[email protected]> * update the lastest commit Signed-off-by: mloufra <[email protected]> * Refactor transportService request Signed-off-by: mloufra <[email protected]> * delete transportService object change Signed-off-by: mloufra <[email protected]> Signed-off-by: mloufra <[email protected]>
Description
Creating a new method
sendGenericRequestWithExceptionHandling
to handle the duplicate code for transport request methodsendClusterStateRequest
,sendClusterSettingsRequest
,sendLocalNodeRequest
.Issues Resolved
#116
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.