OpenSearch/client
Nik Everett 6265ef1c1b Deguice rest handlers (#22575)
There are presently 7 ctor args used in any rest handlers:
* `Settings`: Every handler uses it to initialize a logger and
  some other strange things.
* `RestController`: Every handler registers itself with it.
* `ClusterSettings`: Used by `RestClusterGetSettingsAction` to
  render the default values for cluster settings.
* `IndexScopedSettings`: Used by `RestGetSettingsAction` to get
  the default values for index settings.
* `SettingsFilter`: Used by a few handlers to filter returned
  settings so we don't expose stuff like passwords.
* `IndexNameExpressionResolver`: Used by `_cat/indices` to
  filter the list of indices.
* `Supplier<DiscoveryNodes>`: Used to fill enrich the response
  by handlers that list tasks.

We probably want to reduce these arguments over time but
switching construction away from guice gives us tighter
control over the list of available arguments.

These parameters are passed to plugins using
`ActionPlugin#initRestHandlers` which is expected to build and
return that handlers immediately. This felt simpler than
returning an reference to the ctors given all the different
possible args.

Breaks java plugins by moving rest handlers off of guice.
2017-01-20 11:48:51 -05:00
..
benchmark Remove `modules/transport_netty_3` in favor of `netty_4` (#21590) 2016-11-17 12:44:42 +01:00
client-benchmark-noop-api-plugin Deguice rest handlers (#22575) 2017-01-20 11:48:51 -05:00
rest move ignore parameter support from yaml test client to low level rest client (#22637) 2017-01-16 18:54:44 +01:00
rest-high-level Make RestHighLevelClient non final 2017-01-05 11:29:41 +01:00
sniffer Update Jackson to 2.8.6 (#22596) 2017-01-13 09:05:48 +01:00
test move ignore parameter support from yaml test client to low level rest client (#22637) 2017-01-16 18:54:44 +01:00
transport Upgrade to Netty 4.1.7 2017-01-12 10:58:21 -05:00