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(Subject subject) to Client interface #16976

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Fix shiro test

be4b7a5
Select commit
Loading
Failed to load commit list.
Open

Add runAs(Subject subject) to Client interface #16976

Fix shiro test
be4b7a5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 7, 2025 in 1s

20.00% of diff hit (target 72.11%)

View this Pull Request on Codecov

20.00% of diff hit (target 72.11%)

Annotations

Check warning on line 88 in plugins/identity-shiro/src/main/java/org/opensearch/identity/shiro/ShiroIdentityPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/identity-shiro/src/main/java/org/opensearch/identity/shiro/ShiroIdentityPlugin.java#L88

Added line #L88 was not covered by tests

Check warning on line 145 in plugins/identity-shiro/src/main/java/org/opensearch/identity/shiro/ShiroIdentityPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/identity-shiro/src/main/java/org/opensearch/identity/shiro/ShiroIdentityPlugin.java#L145

Added line #L145 was not covered by tests

Check warning on line 72 in server/src/main/java/org/opensearch/identity/IdentityService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/IdentityService.java#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 53 in server/src/main/java/org/opensearch/identity/noop/NoopIdentityPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/NoopIdentityPlugin.java#L53

Added line #L53 was not covered by tests

Check warning on line 33 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 41 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L41

Added line #L41 was not covered by tests

Check warning on line 43 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L43

Added line #L43 was not covered by tests

Check warning on line 51 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L45-L51

Added lines #L45 - L51 were not covered by tests

Check warning on line 53 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L53

Added line #L53 was not covered by tests

Check warning on line 55 in server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/identity/noop/RunAsSystemClient.java#L55

Added line #L55 was not covered by tests

Check warning on line 618 in server/src/main/java/org/opensearch/node/Node.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/Node.java#L617-L618

Added lines #L617 - L618 were not covered by tests

Check warning on line 623 in server/src/main/java/org/opensearch/node/Node.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/Node.java#L620-L623

Added lines #L620 - L623 were not covered by tests

Check warning on line 33 in server/src/main/java/org/opensearch/plugins/IdentityAwarePlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/plugins/IdentityAwarePlugin.java#L33

Added line #L33 was not covered by tests

Check warning on line 838 in server/src/main/java/org/opensearch/plugins/PluginsService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/plugins/PluginsService.java#L838

Added line #L838 was not covered by tests