Skip to content

Clean up REST API (Part 1) (#2900)

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

82.89% of diff hit (target 62.18%)

View this Pull Request on Codecov

82.89% of diff hit (target 62.18%)

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 202 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#L202

Added line #L202 was not covered by tests

Check warning on line 230 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#L230

Added line #L230 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 253 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#L253

Added line #L253 was not covered by tests

Check warning on line 261 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#L261

Added line #L261 was not covered by tests

Check warning on line 272 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#L272

Added line #L272 was not covered by tests

Check warning on line 278 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#L278

Added line #L278 was not covered by tests

Check warning on line 284 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#L284

Added line #L284 was not covered by tests

Check warning on line 311 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#L311

Added line #L311 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