Skip to content

Implementing pagination for _cat/shards (#14641)

Codecov / codecov/patch succeeded Oct 21, 2024 in 0s

78.82% of diff hit (target 71.81%)

View this Pull Request on Codecov

78.82% of diff hit (target 71.81%)

Annotations

Check warning on line 81 in server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsResponse.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/CatShardsResponse.java#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 63 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L63

Added line #L63 was not covered by tests

Check warning on line 65 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L65

Added line #L65 was not covered by tests

Check warning on line 98 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 105 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L102-L105

Added lines #L102 - L105 were not covered by tests

Check warning on line 108 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L107-L108

Added lines #L107 - L108 were not covered by tests

Check warning on line 115 in server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/admin/cluster/shards/TransportCatShardsAction.java#L111-L115

Added lines #L111 - L115 were not covered by tests

Check warning on line 80 in server/src/main/java/org/opensearch/action/pagination/PageParams.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/pagination/PageParams.java#L80

Added line #L80 was not covered by tests

Check warning on line 72 in server/src/main/java/org/opensearch/action/pagination/PageToken.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/pagination/PageToken.java#L72

Added line #L72 was not covered by tests

Check warning on line 79 in server/src/main/java/org/opensearch/action/pagination/ShardPaginationStrategy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/pagination/ShardPaginationStrategy.java#L79

Added line #L79 was not covered by tests

Check warning on line 125 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L125

Added line #L125 was not covered by tests

Check warning on line 130 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 135 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L132-L135

Added lines #L132 - L135 were not covered by tests

Check warning on line 145 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L145

Added line #L145 was not covered by tests

Check warning on line 360 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L359-L360

Added lines #L359 - L360 were not covered by tests