OpenSearch/modules
javanna 1fbec71243 Rest client: introduce async performRequest method and use async client under the hood for sync requests too
The new method accepts the usual parameters (method, endpoint, params, entity and headers) plus a response listener and an async response consumer. Shortcut methods are also added that don't require params, entity and the async response consumer optional.

There are a few relevant api changes as a consequence of the move to async client that affect sync methods:
- Response doesn't implement Closeable anymore, responses don't need to be closed
- performRequest throws Exception rather than just IOException, as that is the the exception that we get from the FutureCallback#failed method in the async http client
- ssl configuration is a bit simpler, one only needs to call setSSLStrategy from a custom HttpClientConfigCallback, that doesn't end up overridng any other default around connection pooling (it used to happen with the sync client and make ssl configuration more complex)

Relates to #19055
2016-07-19 15:15:58 +02:00
..
aggs-matrix-stats Fix MatrixAggregationRestIT test 2016-07-15 19:41:47 -04:00
ingest-common Template cleanup: 2016-07-18 10:16:01 +02:00
lang-expression Compile each Groovy script in its own classloader 2016-06-20 08:17:09 +02:00
lang-groovy Removes ensureYellow() calls after index creation in the (#19452) 2016-07-15 15:37:35 -04:00
lang-mustache Template cleanup: 2016-07-18 10:16:01 +02:00
lang-painless Removed deprecated 1.x script and template syntax 2016-07-13 15:07:36 +02:00
percolator Template cleanup: 2016-07-18 10:16:01 +02:00
reindex Rest client: introduce async performRequest method and use async client under the hood for sync requests too 2016-07-19 15:15:58 +02:00
transport-netty3 Add a dedicated client/transport project for transport-client (#19435) 2016-07-18 15:42:24 +02:00
build.gradle Make module client jars go to org.elasticsearch.plugin groupId 2016-07-14 02:58:27 -07:00