OpenSearch/client
Julie Tibshirani b1735aa93b
Support both typed and typeless 'get mapping' requests in the HLRC. (#37796)
From previous PRs, we've already added support for include_type_name to
the get mapping API. We had also taken an approach to the HLRC where the
server-side `GetMappingResponse#fromXContent` could only handle typeless
input.

This PR updates the HLRC for 'get mapping' to be in line with our new approach:

* Add a typeless 'get mappings' method to the Java HLRC, that accepts new
client-side request and response objects. This new response only handles
typeless mapping definitions.
* Switch the old version of `GetMappingResponse` back to expecting typed
mappings, and deprecate the corresponding method on the HLRC.

Finally, the PR also does some small, related clean-up around 'get field mappings'.
2019-01-27 16:02:22 -08:00
..
benchmark Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
client-benchmark-noop-api-plugin Type removal - added deprecation warnings to _bulk apis (#36549) 2019-01-10 21:35:19 +00:00
rest Fix potential IllegalCapacityException in LLRC when selecting nodes (#37821) 2019-01-25 15:57:50 -07:00
rest-high-level Support both typed and typeless 'get mapping' requests in the HLRC. (#37796) 2019-01-27 16:02:22 -08:00
sniffer Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00
test Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00
transport Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00