OpenSearch/plugins
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
..
analysis-icu Fix deprecation logging for lenient booleans 2017-01-19 12:30:33 -05:00
analysis-kuromoji Fix deprecation logging for lenient booleans 2017-01-19 12:30:33 -05:00
analysis-phonetic Fix deprecation logging for lenient booleans 2017-01-19 12:30:33 -05:00
analysis-smartcn Upgrade to lucene-6.4.0-snapshot-084f7a0. (#22413) 2017-01-04 19:03:52 +01:00
analysis-stempel Fix thread safety of Stempel's token filter factory (#22610) 2017-01-16 10:36:36 -05:00
analysis-ukrainian Make boolean conversion strict (#22200) 2017-01-19 07:59:18 +01:00
discovery-azure-classic Add doPrivilege blocks for socket connect operations in plugins (#22534) 2017-01-18 10:12:18 -06:00
discovery-ec2 Add doPrivilege blocks for socket connect operations in plugins (#22534) 2017-01-18 10:12:18 -06:00
discovery-file Remove SearchRequestParsers (#22538) 2017-01-11 10:28:14 -05:00
discovery-gce Add doPrivilege blocks for socket connect operations in plugins (#22534) 2017-01-18 10:12:18 -06:00
ingest-attachment Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
ingest-geoip Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
ingest-user-agent Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
jvm-example Deguice rest handlers (#22575) 2017-01-20 11:48:51 -05:00
mapper-murmur3 Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
mapper-size Make boolean conversion strict (#22200) 2017-01-19 07:59:18 +01:00
repository-azure Add doPrivilege blocks for socket connect operations in plugins (#22534) 2017-01-18 10:12:18 -06:00
repository-gcs Add doPrivilege blocks for socket connect operations in plugins (#22534) 2017-01-18 10:12:18 -06:00
repository-hdfs Make build Gradle 2.14 / 3.x compatible (#22669) 2017-01-19 09:56:54 +01:00
repository-s3 S3 repository: Deprecate specifying credentials through env vars, sys props, and remove profile files (#22567) 2017-01-19 12:36:32 -08:00
store-smb Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
build.gradle Build: Remove old maven deploy support (#20403) 2016-09-19 15:10:41 -07:00