OpenSearch/client
Adrien Grand b841de2e38
Don't emit deprecation warnings on calls to the monitoring bulk API. (#39805) (#39838)
The monitoring bulk API accepts the same format as the bulk API, yet its concept
of types is different from "mapping types" and the deprecation warning is only
emitted as a side-effect of this API reusing the parsing logic of bulk requests.

This commit extracts the parsing logic from `_bulk` into its own class with a
new flag that allows to configure whether usage of `_type` should emit a warning
or not. Support for payloads has been removed for simplicity since they were
unused.

@jakelandis has a separate change that removes this notion of type from the
monitoring bulk API that we are considering bringing to 8.0.
2019-03-11 07:58:28 +01: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 Don't emit deprecation warnings on calls to the monitoring bulk API. (#39805) (#39838) 2019-03-11 07:58:28 +01:00
rest Drop support for the low-level REST client on JDK 7 (#38540) 2019-02-08 19:48:44 -05:00
rest-high-level Don't emit deprecation warnings on calls to the monitoring bulk API. (#39805) (#39838) 2019-03-11 07:58:28 +01:00
sniffer Drop support for the low-level REST client on JDK 7 (#38540) 2019-02-08 19:48:44 -05:00
test Drop support for the low-level REST client on JDK 7 (#38540) 2019-02-08 19:48:44 -05:00
transport Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00