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] Refactor SSL handler retrieval to use HttpChannel / TranportChannel APIs instead of typecasting (#3917) #3922

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Jan 5, 2024

Backport of #3917 to 2.x

…PIs instead of typecasting (opensearch-project#3917)

This is cherry-pick from
opensearch-project#3514 to use the
channel properties instead of type-casting

Closes  opensearch-project#3911

Is this a backport? If so, please add backport PR # and/or commits #

The change is covered by existing test suites

- [X] New functionality includes testing
- [X] New functionality has been documented
- [X] Commits are signed per the DCO using --signoff

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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit b038f93)
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7efea06) 65.06% compared to head (f2c5c4a) 65.05%.
Report is 1 commits behind head on 2.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x    #3922      +/-   ##
==========================================
- Coverage   65.06%   65.05%   -0.02%     
==========================================
  Files         297      297              
  Lines       21007    20995      -12     
  Branches     3442     3439       -3     
==========================================
- Hits        13668    13658      -10     
  Misses       5632     5632              
+ Partials     1707     1705       -2     
Files Coverage Δ
...urity/ssl/transport/SecuritySSLRequestHandler.java 71.95% <100.00%> (+1.62%) ⬆️
...y/tools/democonfig/SecuritySettingsConfigurer.java 74.10% <100.00%> (+0.18%) ⬆️
...org/opensearch/security/filter/NettyAttribute.java 81.81% <85.71%> (ø)
.../opensearch/security/filter/OpenSearchRequest.java 76.92% <50.00%> (+0.45%) ⬆️

... and 2 files with indirect coverage changes

@reta reta merged commit 3b42a4d into opensearch-project:2.x Jan 5, 2024
78 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