OpenSearch/qa
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
..
backwards-5.0 Bump version to 5.0.0-alpha5. 2016-07-05 14:34:23 +02:00
evil-tests Remove `node.mode` and `node.local` settings (#19428) 2016-07-14 13:21:10 +02:00
smoke-test-client Add a dedicated client/transport project for transport-client (#19435) 2016-07-18 15:42:24 +02:00
smoke-test-http 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
smoke-test-ingest-disabled ingest: Move processors from core to ingest-common module. 2016-06-07 17:32:52 +02:00
smoke-test-ingest-with-all-dependencies Build: Simplify plugin configuration for rest tests 2016-07-15 14:34:21 -07:00
smoke-test-multinode Build: Get multi node smoke tests working 2015-11-22 14:49:05 -08:00
smoke-test-plugins Build: Simplify plugin configuration for rest tests 2016-07-15 14:34:21 -07:00
smoke-test-reindex-with-painless Removes waiting for yellow cluster health upon index (#19460) 2016-07-15 17:18:34 -04:00
vagrant Fix syntax for template tests 2016-07-13 11:34:06 -04:00