OpenSearch/x-pack/plugin
Tim Vernum cad0f6bf28
Do not load SSLService in plugin contructor (#50519)
XPackPlugin created an SSLService within the plugin contructor.
This has 2 negative consequences:

1. The service may be constructed based on a partial view of settings.
   Other plugins are free to add setting values via the
   additionalSettings() method, but this (necessarily) happens after
   plugins have been constructed.

2. Any exceptions thrown during the plugin construction are handled
   differently than exceptions thrown during "createComponents".
   Since SSL configurations exceptions are relatively common, it is
   far preferable for them to be thrown and handled as part of the
   createComponents flow.

This commit moves the creation of the SSLService to
XPackPlugin.createComponents, and alters the sequence of some other
steps to accommodate this change.

Backport of: #49667
2019-12-30 14:42:32 +11:00
..
analytics Decouple pipeline reductions from final agg reduction (#45796) 2019-12-05 16:11:54 -05:00
ccr Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
core Do not load SSLService in plugin contructor (#50519) 2019-12-30 14:42:32 +11:00
deprecation Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
enrich Backport: Fix ingest simulate response document order if processor executes async (#50269) 2019-12-17 12:27:07 +01:00
frozen-indices Use more specific loggers in subclasses of TMNA (#50076) 2019-12-11 15:07:47 +00:00
graph Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ilm [7.x] Add ILM histore store index (#50287) (#50345) 2019-12-20 12:33:36 -07:00
logstash Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
mapper-flattened Add telemetry for flattened fields. (#48972) (#49125) 2019-11-18 12:29:42 -08:00
ml [7.x] Fix accuracy metric (#50310) (#50433) 2019-12-20 15:34:38 +01:00
monitoring [7.x] Add ILM histore store index (#50287) (#50345) 2019-12-20 12:33:36 -07:00
rollup Use more specific loggers in subclasses of TMNA (#50076) 2019-12-11 15:07:47 +00:00
search-business-rules Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
security Do not load SSLService in plugin contructor (#50519) 2019-12-30 14:42:32 +11:00
spatial Geo: Switch generated GeoJson type names to camel case (#50400) 2019-12-20 15:37:22 -05:00
sql SQL: Fix issue with CAST and NULL checking. (#50371) 2019-12-20 10:24:35 +02:00
src/test Fix Source Only Snapshot REST Test Failure (#50456) (#50459) 2019-12-23 12:24:08 +01:00
transform [Transform] improve checkpoint reporting (#50369) 2019-12-20 10:49:53 +01:00
vectors Increase the number of vector dims to 2048 (#46895) 2019-11-20 07:47:33 -05:00
voting-only-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
watcher [7.x] Add ILM histore store index (#50287) (#50345) 2019-12-20 12:33:36 -07:00
build.gradle Skip enterprise license tests in release build (#50182) 2019-12-16 10:11:21 +11:00