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

Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API #10101

Merged
merged 5 commits into from
Oct 5, 2023

Add more tests

72ec43f
Select commit
Loading
Failed to load commit list.
Merged

Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API #10101

Add more tests
72ec43f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 5, 2023 in 1s

71.27% of diff hit (target 71.16%)

View this Pull Request on Codecov

71.27% of diff hit (target 71.16%)

Annotations

Check warning on line 231 in client/rest-high-level/src/main/java/org/opensearch/client/tasks/TaskInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rest-high-level/src/main/java/org/opensearch/client/tasks/TaskInfo.java#L230-L231

Added lines #L230 - L231 were not covered by tests

Check warning on line 112 in modules/transport-netty4/src/main/java/org/opensearch/transport/Netty4ModulePlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/transport-netty4/src/main/java/org/opensearch/transport/Netty4ModulePlugin.java#L112

Added line #L112 was not covered by tests

Check warning on line 97 in plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageRepository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageRepository.java#L97

Added line #L97 was not covered by tests

Check warning on line 121 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3BlobStore.java#L116-L121

Added lines #L116 - L121 were not covered by tests

Check warning on line 369 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L369

Added line #L369 was not covered by tests

Check warning on line 374 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L373-L374

Added lines #L373 - L374 were not covered by tests

Check warning on line 379 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L377-L379

Added lines #L377 - L379 were not covered by tests

Check warning on line 384 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L382-L384

Added lines #L382 - L384 were not covered by tests

Check warning on line 405 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L405

Added line #L405 was not covered by tests

Check warning on line 427 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L425-L427

Added lines #L425 - L427 were not covered by tests

Check warning on line 432 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L432

Added line #L432 was not covered by tests

Check warning on line 459 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L459

Added line #L459 was not covered by tests

Check warning on line 461 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L461

Added line #L461 was not covered by tests

Check warning on line 465 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L465

Added line #L465 was not covered by tests

Check warning on line 467 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L467

Added line #L467 was not covered by tests

Check warning on line 476 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L476

Added line #L476 was not covered by tests

Check warning on line 480 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java#L480

Added line #L480 was not covered by tests

Check warning on line 185 in plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3RepositoryPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3RepositoryPlugin.java#L185

Added line #L185 was not covered by tests

Check warning on line 61 in plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/OTelSpan.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/telemetry-otel/src/main/java/org/opensearch/telemetry/tracing/OTelSpan.java#L61

Added line #L61 was not covered by tests

Check warning on line 107 in plugins/transport-nio/src/main/java/org/opensearch/transport/nio/NioTransportPlugin.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/transport-nio/src/main/java/org/opensearch/transport/nio/NioTransportPlugin.java#L107

Added line #L107 was not covered by tests

Check warning on line 223 in server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java#L223

Added line #L223 was not covered by tests

Check warning on line 238 in server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java#L238

Added line #L238 was not covered by tests

Check warning on line 251 in server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/ingest/SimulatePipelineRequest.java#L251

Added line #L251 was not covered by tests

Check warning on line 62 in server/src/main/java/org/opensearch/common/blobstore/BlobStore.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/BlobStore.java#L62

Added line #L62 was not covered by tests

Check warning on line 101 in server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/ReadContextListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/ReadContextListener.java#L99-L101

Added lines #L99 - L101 were not covered by tests