Serialize MediaType as an integer to avoid string parsing #16073
75.00% of diff hit (target 72.01%)
View this Pull Request on Codecov
75.00% of diff hit (target 72.01%)
Annotations
codecov / codecov/patch
libs/core/src/main/java/org/opensearch/core/common/io/stream/StreamInput.java#L355
Added line #L355 was not covered by tests
Check warning on line 108 in libs/core/src/main/java/org/opensearch/core/xcontent/MediaType.java
codecov / codecov/patch
libs/core/src/main/java/org/opensearch/core/xcontent/MediaType.java#L108
Added line #L108 was not covered by tests
codecov / codecov/patch
libs/core/src/main/java/org/opensearch/core/xcontent/MediaTypeRegistry.java#L94-L95
Added lines #L94 - L95 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java#L51
Added line #L51 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/PutSearchPipelineRequest.java#L76
Added line #L76 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java#L124
Added line #L124 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/search/pipeline/PipelineConfiguration.java#L140
Added line #L140 was not covered by tests