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

Add runAs to Subject interface and introduce IdentityAwarePlugin extension point #14630

Merged
merged 87 commits into from
Aug 28, 2024

Merge branch 'main' into plugin-aware-thread-context

681ea8f
Select commit
Loading
Failed to load commit list.
Merged

Add runAs to Subject interface and introduce IdentityAwarePlugin extension point #14630

Merge branch 'main' into plugin-aware-thread-context
681ea8f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 28, 2024 in 0s

71.92% (target 70.00%)

View this Pull Request on Codecov

71.92% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 48.97959% with 25 lines in your changes missing coverage. Please review.

Project coverage is 71.92%. Comparing base (b30df02) to head (681ea8f).

Files with missing lines Patch % Lines
server/src/main/java/org/opensearch/node/Node.java 33.33% 7 Missing and 1 partial ⚠️
.../opensearch/identity/shiro/ShiroPluginSubject.java 0.00% 6 Missing ⚠️
.../main/java/org/opensearch/rest/RestController.java 0.00% 4 Missing ⚠️
...opensearch/identity/shiro/ShiroIdentityPlugin.java 0.00% 3 Missing ⚠️
...rch/extensions/rest/RestSendToExtensionAction.java 0.00% 1 Missing ⚠️
.../java/org/opensearch/identity/IdentityService.java 88.88% 0 Missing and 1 partial ⚠️
...src/main/java/org/opensearch/identity/Subject.java 0.00% 1 Missing ⚠️
...va/org/opensearch/plugins/IdentityAwarePlugin.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14630      +/-   ##
============================================
- Coverage     71.92%   71.92%   -0.01%     
- Complexity    63328    63357      +29     
============================================
  Files          5227     5231       +4     
  Lines        296497   296526      +29     
  Branches      42830    42832       +2     
============================================
+ Hits         213248   213267      +19     
+ Misses        65764    65676      -88     
- Partials      17485    17583      +98     

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