OpenSearch/plugins/discovery-ec2
Nik Everett e28509fbfe
Core: Less settings to AbstractComponent (#35140)
Stop passing `Settings` to `AbstractComponent`'s ctor. This allows us to
stop passing around `Settings` in a *ton* of places. While this change
touches many files, it touches them all in fairly small, mechanical
ways, doing a few things per file:
1. Drop the `super(settings);` line on everything that extends
`AbstractComponent`.
2. Drop the `settings` argument to the ctor if it is no longer used.
3. If the file doesn't use `logger` then drop `extends
AbstractComponent` from it.
4. Clean up all compilation failure caused by the `settings` removal
and drop any now unused `settings` isntances and method arguments.

I've intentionally *not* removed the `settings` argument from a few
files:
1. TransportAction
2. AbstractLifecycleComponent
3. BaseRestHandler

These files don't *need* `settings` either, but this change is large
enough as is.

Relates to #34488
2018-10-31 21:23:20 -04:00
..
config/discovery-ec2 Configure AWS SDK logging configuration 2016-09-03 06:41:07 -04:00
licenses Upgrade AWS SDK Jackson Databind to 2.6.7.1 2017-11-13 12:05:14 -05:00
qa Detect and prevent configuration that triggers a Gradle bug (#31912) 2018-07-19 06:46:58 +00:00
src Core: Less settings to AbstractComponent (#35140) 2018-10-31 21:23:20 -04:00
build.gradle Run Third party audit with forbidden APIs CLI (part3/3) (#33052) 2018-08-28 10:03:30 +03:00