OpenSearch/client
Nik Everett 9626e700ce
LLRC: Make warning behavior pluggable per request (#36345)
This allows you to plug the behavior that the LLRC uses to handle
warnings on a per request basis.

We entertained the idea of allowing you to set the warnings behavior to
strict mode on a per request basis but that wouldn't allow the high
level rest client to fail when it sees an unexpected warning.

We also entertained the idea of adding a list of "required warnings" to
the `RequestOptions` but that won't work well with failures that occur
*sometimes* like those we see in mixed clusters.

Adding a list of "allowed warnings" to the `RequestOptions` would work
for mixed clusters but it'd leave many of the assertions in our tests
weaker than we'd like.

This behavior plugging implementation allows us to make a "required
warnings" option when we need it and an "allowed warnings" behavior when
we need it.

I don't think this behavior is going to be commonly used by used outside
of the Elasticsearch build, but I expect they'll be a few commendably
paranoid folks who could use this behavior.
2018-12-10 08:32:00 -05:00
..
benchmark Use Gradle wrapper in client benchmark README 2018-11-08 15:32:47 +01:00
client-benchmark-noop-api-plugin Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
rest LLRC: Make warning behavior pluggable per request (#36345) 2018-12-10 08:32:00 -05:00
rest-high-level re-enabled test with added logging to have more info when it fails. 2018-12-10 13:15:30 +01:00
sniffer Checkstyle: Catch wide snippets (#34163) 2018-10-01 15:22:15 -04:00
test Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
transport Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00