Skip to content
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

Transport service #191

Merged
merged 3 commits into from
Oct 13, 2022
Merged

Conversation

mloufra
Copy link
Contributor

@mloufra mloufra commented Oct 12, 2022

Signed-off-by: mloufra [email protected]

To avoid passing the object of extensionRunner in ExtensionsRunner main function, move all of the required methods and variables to NettyTransport file
Address comment from previous PR.
Fixed the bind errors by moving the netty initialization out of the constructor in the Extensions Runner and backed out the "hack" solution from intervening PR.

Issues Resolved

#166
#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.

@mloufra mloufra requested a review from a team October 12, 2022 21:24
dbwiddis
dbwiddis previously approved these changes Oct 13, 2022
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the minor changes requested.

Signed-off-by: mloufra <[email protected]>
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@codecov-commenter
Copy link

Codecov Report

Merging #191 (0687b8f) into main (0ddc9aa) will decrease coverage by 0.67%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##               main     #191      +/-   ##
============================================
- Coverage     66.66%   65.99%   -0.68%     
+ Complexity      106      105       -1     
============================================
  Files            25       25              
  Lines           495      497       +2     
  Branches         25       25              
============================================
- Hits            330      328       -2     
- Misses          149      152       +3     
- Partials         16       17       +1     
Impacted Files Coverage Δ
...main/java/org/opensearch/sdk/ExtensionsRunner.java 68.25% <0.00%> (-1.59%) ⬇️
...c/main/java/org/opensearch/sdk/NettyTransport.java 93.10% <100.00%> (-6.90%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@owaiskazi19 owaiskazi19 merged commit 120aff9 into opensearch-project:main Oct 13, 2022
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
* handle transportService object

Signed-off-by: mloufra <[email protected]>

* fix merge conflict

Signed-off-by: mloufra <[email protected]>

* address comment

Signed-off-by: mloufra <[email protected]>

Signed-off-by: mloufra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants