Skip to content

REST API code cleaning

Codecov / codecov/patch succeeded Jul 21, 2023 in 1s

82.89% of diff hit (target 62.49%)

View this Pull Request on Codecov

82.89% of diff hit (target 62.49%)

Annotations

Check warning on line 225 in src/main/java/org/opensearch/security/dlic/rest/api/AbstractApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AbstractApiAction.java#L225

Added line #L225 was not covered by tests

Check warning on line 491 in src/main/java/org/opensearch/security/dlic/rest/api/AbstractApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AbstractApiAction.java#L491

Added line #L491 was not covered by tests

Check warning on line 164 in src/main/java/org/opensearch/security/dlic/rest/api/AccountApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AccountApiAction.java#L164

Added line #L164 was not covered by tests

Check warning on line 105 in src/main/java/org/opensearch/security/dlic/rest/api/ActionGroupsApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/ActionGroupsApiAction.java#L105

Added line #L105 was not covered by tests

Check warning on line 197 in src/main/java/org/opensearch/security/dlic/rest/api/AllowlistApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AllowlistApiAction.java#L197

Added line #L197 was not covered by tests

Check warning on line 298 in src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java#L298

Added line #L298 was not covered by tests

Check warning on line 303 in src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java#L303

Added line #L303 was not covered by tests

Check warning on line 86 in src/main/java/org/opensearch/security/dlic/rest/api/AuthTokenProcessorAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/AuthTokenProcessorAction.java#L86

Added line #L86 was not covered by tests

Check warning on line 107 in src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java#L107

Added line #L107 was not covered by tests

Check warning on line 113 in src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java#L113

Added line #L113 was not covered by tests

Check warning on line 119 in src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/FlushCacheApiAction.java#L119

Added line #L119 was not covered by tests

Check warning on line 193 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L193

Added line #L193 was not covered by tests

Check warning on line 221 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L221

Added line #L221 was not covered by tests

Check warning on line 235 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L235

Added line #L235 was not covered by tests

Check warning on line 244 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L244

Added line #L244 was not covered by tests

Check warning on line 252 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L252

Added line #L252 was not covered by tests

Check warning on line 263 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L263

Added line #L263 was not covered by tests

Check warning on line 269 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L269

Added line #L269 was not covered by tests

Check warning on line 275 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L275

Added line #L275 was not covered by tests

Check warning on line 302 in src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MigrateApiAction.java#L302

Added line #L302 was not covered by tests

Check warning on line 111 in src/main/java/org/opensearch/security/dlic/rest/api/MultiTenancyConfigApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MultiTenancyConfigApiAction.java#L111

Added line #L111 was not covered by tests

Check warning on line 163 in src/main/java/org/opensearch/security/dlic/rest/api/MultiTenancyConfigApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/MultiTenancyConfigApiAction.java#L163

Added line #L163 was not covered by tests

Check warning on line 195 in src/main/java/org/opensearch/security/dlic/rest/api/NodesDnApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/NodesDnApiAction.java#L195

Added line #L195 was not covered by tests

Check warning on line 151 in src/main/java/org/opensearch/security/dlic/rest/api/PatchableResourceApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/PatchableResourceApiAction.java#L151

Added line #L151 was not covered by tests

Check warning on line 84 in src/main/java/org/opensearch/security/dlic/rest/api/RolesApiAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/security/dlic/rest/api/RolesApiAction.java#L83-L84

Added lines #L83 - L84 were not covered by tests