-
Notifications
You must be signed in to change notification settings - Fork 300
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
Format SSLConfigConstants.java and fix typos #5145
Format SSLConfigConstants.java and fix typos #5145
Conversation
Replace hard coded setting prefixes with static constants. Signed-off-by: Finn Carroll <carrofin@amazon.com>
…used in plugin. Signed-off-by: Finn Carroll <carrofin@amazon.com>
…TTP_CRL_FILE. Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
TransportClient was removed in OS 2.0: opensearch-project/OpenSearch#1669 Looks like we still have lingering references in this repo that could be removed. Thank you for this PR @finnegancarroll! |
Signed-off-by: Finn Carroll <carrofin@amazon.com>
I think |
While this failed test is asserting on a bunch of settings touched in this PR I think it's just unrelated flakiness due to the stack trace? It looks like maybe a race condition writing a config file in test setup. I don't see failures running the same locally. Will try rerunning.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5145 +/- ##
==========================================
- Coverage 71.67% 0 -71.68%
==========================================
Files 337 0 -337
Lines 22783 0 -22783
Branches 3604 0 -3604
==========================================
- Hits 16329 0 -16329
+ Misses 4653 0 -4653
+ Partials 1801 0 -1801 🚀 New features to boost your workflow:
|
@willyborankin Can you take a look as well? If there are effectively no usages of |
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
We set up the client for extended SSL configuration at the transport layer. |
Signed-off-by: Finn Carroll <carrofin@amazon.com> Co-authored-by: Darshit Chanpura <dchanp@amazon.com> (cherry picked from commit 487fb05) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Some *mostly non functional formatting changes to
SSLConfigConstants
.SSECURITY_SSL_HTTP_CRL_FILE
->SECURITY_SSL_HTTP_CRL_FILE
SSL_TRANSPORT_CLIENT_PREFIX
has a typo and is set asplugins.security.ssl.transportclient.
but should read...transport.client.
to match documented settings.Within the plugin
SSL_TRANSPORT_CLIENT_PREFIX
is only referenced byCertType
andTRANSPORT_CLIENT.sslConfigPrefix()
is never invoked soSSL_TRANSPORT_CLIENT_PREFIX
is effectively unused.The last two changes could break compatibility if some other component is referencing these public variables.
Searching the project on github I don't see any references and 3.0 release is maybe a good opportunity to make these changes.
Issues Resolved
N/A
Testing
N/A
Check List
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.