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] Switch to built-in security transports from core (#4119) #4174

Merged

Conversation

reta
Copy link
Collaborator

@reta reta commented Mar 26, 2024

Backport of #4119 to 2.x

…4119)

The security plugin does not need to provide the secure transports
anymore but SecureSettingsFactory so the core transport modules will be
able to configure those.

Closes opensearch-project#4118

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

[Please provide details of testing done: unit testing, integration
testing and manual testing]

- [ ] New functionality includes testing
- [ ] New functionality has been documented
- [ ] 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 e2a06f0)
@reta
Copy link
Collaborator Author

reta commented Mar 26, 2024

@peternied @cwperks mind please approving backport folks? thank you

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

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

Project coverage is 65.79%. Comparing base (80cee28) to head (ebb5d5d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x    #4174      +/-   ##
==========================================
- Coverage   65.82%   65.79%   -0.03%     
==========================================
  Files         298      296       -2     
  Lines       21190    21082     -108     
  Branches     3464     3456       -8     
==========================================
- Hits        13948    13871      -77     
+ Misses       5510     5484      -26     
+ Partials     1732     1727       -5     
Files Coverage Δ
.../opensearch/security/OpenSearchSecurityPlugin.java 84.79% <100.00%> (+0.04%) ⬆️
...org/opensearch/security/filter/NettyAttribute.java 81.81% <ø> (ø)
...opensearch/security/filter/SecurityRestFilter.java 70.37% <ø> (ø)
...earch/security/http/NonSslHttpServerTransport.java 100.00% <ø> (ø)
...earch/security/http/SecureHttpServerTransport.java 100.00% <100.00%> (ø)
.../security/ssl/OpenSearchSecureSettingsFactory.java 100.00% <100.00%> (ø)
.../ssl/http/netty/Netty4ConditionalDecompressor.java 100.00% <ø> (ø)
...sl/http/netty/Netty4HttpRequestHeaderVerifier.java 85.71% <ø> (ø)
...arch/security/ssl/OpenSearchSecuritySSLPlugin.java 86.25% <90.32%> (+1.13%) ⬆️

... and 7 files with indirect coverage changes

@peternied peternied merged commit f4705b2 into opensearch-project:2.x Mar 26, 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.

3 participants