Replace java.security.AccessController with org.opensearch.secure_sm.AccessController in discovery plugins#19802
Conversation
…AccessController in discovery plugins Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❌ Gradle check result for 0d4c60b: null 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? |
|
❌ Gradle check result for 0d4c60b: 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? |
|
❌ Gradle check result for 0896720: 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? |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #19802 +/- ##
============================================
- Coverage 73.30% 73.16% -0.14%
+ Complexity 71419 71269 -150
============================================
Files 5770 5768 -2
Lines 325740 325614 -126
Branches 47173 47143 -30
============================================
- Hits 238769 238243 -526
- Misses 67829 68241 +412
+ Partials 19142 19130 -12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
plugins/discovery-ec2/src/main/java/org/opensearch/discovery/ec2/Ec2DiscoveryPlugin.java
Show resolved
Hide resolved
plugins/discovery-ec2/src/main/java/org/opensearch/discovery/ec2/Ec2NameResolver.java
Show resolved
Hide resolved
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❌ Gradle check result for 670aedc: 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? |
|
❕ Gradle check result for 670aedc: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
…AccessController in discovery plugins (opensearch-project#19802) * Replace java.security.AccessController with org.opensearch.secure_sm.AccessController in discovery plugins Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> * Fix test Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
Description
Replace java.security.AccessController with org.opensearch.secure_sm.AccessController in discovery plugins.
Replacing all of these calls in a single PR would be a lot to review, so opting to split up the core by subprojects to replace the calls.
Related Issues
Related to #18339
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.