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

[Backport 2.x] Abstracting outbound side of transport (#13293) #13656

Merged
merged 1 commit into from
May 14, 2024

Conversation

VachaShah
Copy link
Collaborator

@VachaShah VachaShah commented May 13, 2024

  • Abstracting outbound side of transport

  • Making outbound handler protocol dependent via inbound handler

  • Fixing precommit

  • Addressing comments

  • Fixing precommit

  • Cleaning up code

  • Addressing comments

  • Cleaning up

  • Addressing comments

  • Abstracting InboundHandlerTests

  • Abstracting TransportLoggerTests


Description

Backport #13293 to 2.x

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • API changes companion pull request created.
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

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.

* Abstracting outbound side of transport

Signed-off-by: Vacha Shah <[email protected]>

* Making outbound handler protocol dependent via inbound handler

Signed-off-by: Vacha Shah <[email protected]>

* Fixing precommit

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Fixing precommit

Signed-off-by: Vacha Shah <[email protected]>

* Cleaning up code

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Cleaning up

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Abstracting InboundHandlerTests

Signed-off-by: Vacha Shah <[email protected]>

* Abstracting TransportLoggerTests

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Copy link
Contributor

❌ Gradle check result for 6b356e5: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta
Copy link
Collaborator

reta commented May 14, 2024

❌ Gradle check result for 6b356e5: FAILURE

#12308
#13473

Copy link
Contributor

✅ Gradle check result for 6b356e5: SUCCESS

Copy link

codecov bot commented May 14, 2024

Codecov Report

Attention: Patch coverage is 95.31250% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 71.30%. Comparing base (0dd892c) to head (6b356e5).
Report is 244 commits behind head on 2.x.

Files Patch % Lines
...ransport/nativeprotocol/NativeOutboundHandler.java 95.65% 1 Missing and 1 partial ⚠️
...ransport/nativeprotocol/NativeOutboundMessage.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #13656      +/-   ##
============================================
+ Coverage     71.28%   71.30%   +0.02%     
- Complexity    60145    61209    +1064     
============================================
  Files          4957     5030      +73     
  Lines        282799   287818    +5019     
  Branches      41409    42072     +663     
============================================
+ Hits         201591   205239    +3648     
- Misses        64189    65240    +1051     
- Partials      17019    17339     +320     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta reta merged commit a154486 into opensearch-project:2.x May 14, 2024
58 checks passed
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.

2 participants