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

[DRAFT] Add a new sandbox module to provide system index protection from the core #16695

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Add WildcardMatcherTests

8a2a8a4
Select commit
Loading
Failed to load commit list.
Draft

[DRAFT] Add a new sandbox module to provide system index protection from the core #16695

Add WildcardMatcherTests
8a2a8a4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Feb 1, 2025 in 1s

9.06% of diff hit (target 72.12%)

View this Pull Request on Codecov

9.06% of diff hit (target 72.12%)

Annotations

Check warning on line 41 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L39-L41

Added lines #L39 - L41 were not covered by tests

Check warning on line 47 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L45-L47

Added lines #L45 - L47 were not covered by tests

Check warning on line 52 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L52

Added line #L52 was not covered by tests

Check warning on line 54 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L54

Added line #L54 was not covered by tests

Check warning on line 56 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L56

Added line #L56 was not covered by tests

Check warning on line 60 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L60

Added line #L60 was not covered by tests

Check warning on line 63 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L63

Added line #L63 was not covered by tests

Check warning on line 67 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L67

Added line #L67 was not covered by tests

Check warning on line 73 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L73

Added line #L73 was not covered by tests

Check warning on line 75 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L75

Added line #L75 was not covered by tests

Check warning on line 78 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L78

Added line #L78 was not covered by tests

Check warning on line 84 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L84

Added line #L84 was not covered by tests

Check warning on line 86 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L86

Added line #L86 was not covered by tests

Check warning on line 93 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/ClusterInfoHolder.java#L93

Added line #L93 was not covered by tests

Check warning on line 99 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 103 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L103

Added line #L103 was not covered by tests

Check warning on line 113 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L109-L113

Added lines #L109 - L113 were not covered by tests

Check warning on line 120 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L120

Added line #L120 was not covered by tests

Check warning on line 124 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L124

Added line #L124 was not covered by tests

Check warning on line 128 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L128

Added line #L128 was not covered by tests

Check warning on line 131 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L131

Added line #L131 was not covered by tests

Check warning on line 140 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L140

Added line #L140 was not covered by tests

Check warning on line 144 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L144

Added line #L144 was not covered by tests

Check warning on line 148 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L148

Added line #L148 was not covered by tests

Check warning on line 151 in sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sandbox/modules/system-index-protection/src/main/java/org/opensearch/index/filter/IndexResolverReplacer.java#L151

Added line #L151 was not covered by tests