OpenSearch/client
Christoph Büscher 9e561c2921 Fix AbstractBulkByScrollRequest slices parameter via Rest (#53068)
Currently the AbstractBulkByScrollRequest accepts slice values of 0 via its
`setSlices` method, denoting the "auto" slicing behaviour that is usable by
settting the "slices=auto" parameter on rest requests. When using the High Level
Rest Client, however, we send the 0 value as an integer, which is then rejected
as invalid by `AbstractBulkByScrollRequest#parseSlices`. Instead of making
parsing of the rest request more lenient, this PR opts for changing the
RequestConverter logic in the client to translate 0 values to "auto" on the rest
requests.

Closes #53044
2020-03-06 15:38:04 +01:00
..
benchmark [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
client-benchmark-noop-api-plugin Remove Xlint exclusions from gradle files 2020-02-20 14:12:05 +00:00
rest Fix roles parsing in client nodes sniffer (#52888) 2020-02-27 15:26:49 -05:00
rest-high-level Fix AbstractBulkByScrollRequest slices parameter via Rest (#53068) 2020-03-06 15:38:04 +01:00
sniffer Fix roles parsing in client nodes sniffer (#52888) 2020-02-27 15:26:49 -05:00
test Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
transport [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00