OpenSearch/client
Nik Everett b225f5e5c6
HLRest: Allow caller to set per request options (#30490)
This modifies the high level rest client to allow calling code to
customize per request options for the bulk API. You do the actual
customization by passing a `RequestOptions` object to the API call
which is set on the `Request` that is generated by the high level
client. It also makes the `RequestOptions` a thing in the low level
rest client. For now that just means you use it to customize the
headers and the `httpAsyncResponseConsumerFactory` and we'll add
node selectors and per request timeouts in a follow up.

I only implemented this on the bulk API because it is the first one
in the list alphabetically and I wanted to keep the change small
enough to review. I'll convert the remaining APIs in a followup.
2018-05-31 13:59:52 -04:00
..
benchmark Core: Remove RequestBuilder from Action (#30966) 2018-05-31 16:15:00 +02:00
client-benchmark-noop-api-plugin Core: Remove RequestBuilder from Action (#30966) 2018-05-31 16:15:00 +02:00
rest HLRest: Allow caller to set per request options (#30490) 2018-05-31 13:59:52 -04:00
rest-high-level HLRest: Allow caller to set per request options (#30490) 2018-05-31 13:59:52 -04:00
sniffer Refactor Sniffer and make it testable (#29638) 2018-05-31 16:05:09 +02:00
test Replace Request#setHeaders with addHeader (#30588) 2018-05-22 20:32:30 +02:00
transport Add rank-eval module to transport client and HL client dependencies 2017-12-13 18:05:43 +01:00