@@ -37,41 +37,14 @@ private XPackSettings() {
3737 throw new IllegalStateException ("Utility class should not be instantiated" );
3838 }
3939
40- /**
41- * Setting for controlling whether or not enrich is enabled.
42- * <p>
43- * This setting is now a no-op: setting it to false is permitted, but does nothing.
44- */
45- @ Deprecated (since = "7.8.0" )
46- public static final Setting <Boolean > ENRICH_ENABLED_SETTING = Setting .boolSetting ("xpack.enrich.enabled" , true ,
47- Property .NodeScope , Property .Deprecated );
48-
4940 /**
5041 * Setting for controlling whether or not CCR is enabled.
5142 */
5243 public static final Setting <Boolean > CCR_ENABLED_SETTING = Setting .boolSetting ("xpack.ccr.enabled" , true , Property .NodeScope );
5344
54- /**
55- * Setting for enabling or disabling data frame. Defaults to true.
56- * <p>
57- * This setting is now a no-op: setting it to false is permitted, but does nothing.
58- */
59- @ Deprecated (since = "7.8.0" )
60- public static final Setting <Boolean > TRANSFORM_ENABLED = Setting .boolSetting ("xpack.transform.enabled" , true ,
61- Property .NodeScope , Property .Deprecated );
62-
6345 /** Setting for enabling or disabling security. Defaults to true. */
6446 public static final Setting <Boolean > SECURITY_ENABLED = Setting .boolSetting ("xpack.security.enabled" , true , Setting .Property .NodeScope );
6547
66- /**
67- * Setting for enabling or disabling monitoring.
68- * <p>
69- * This setting is now a no-op: setting it to false is permitted, but does nothing.
70- */
71- @ Deprecated (since = "7.8.0" )
72- public static final Setting <Boolean > MONITORING_ENABLED = Setting .boolSetting ("xpack.monitoring.enabled" , true ,
73- Property .NodeScope , Property .Deprecated );
74-
7548 /** Setting for enabling or disabling watcher. Defaults to true. */
7649 public static final Setting <Boolean > WATCHER_ENABLED = Setting .boolSetting ("xpack.watcher.enabled" , true , Setting .Property .NodeScope );
7750
@@ -82,15 +55,6 @@ private XPackSettings() {
8255 public static final Setting <Boolean > MACHINE_LEARNING_ENABLED = Setting .boolSetting ("xpack.ml.enabled" , true ,
8356 Setting .Property .NodeScope );
8457
85- /**
86- * Setting for enabling or disabling rollup. Defaults to true.
87- * <p>
88- * This setting is now a no-op: setting it to false is permitted, but does nothing.
89- */
90- @ Deprecated (since = "7.8.0" )
91- public static final Setting <Boolean > ROLLUP_ENABLED = Setting .boolSetting ("xpack.rollup.enabled" , true ,
92- Property .NodeScope , Property .Deprecated );
93-
9458 /** Setting for enabling or disabling auditing. Defaults to false. */
9559 public static final Setting <Boolean > AUDIT_ENABLED = Setting .boolSetting ("xpack.security.audit.enabled" , false ,
9660 Setting .Property .NodeScope );
@@ -99,33 +63,6 @@ private XPackSettings() {
9963 public static final Setting <Boolean > DLS_FLS_ENABLED = Setting .boolSetting ("xpack.security.dls_fls.enabled" , true ,
10064 Setting .Property .NodeScope );
10165
102- /**
103- * Setting for enabling or disabling Logstash extensions. Defaults to true.
104- * <p>
105- * This setting is now a no-op: setting it to false is permitted, but does nothing.
106- */
107- @ Deprecated (since = "7.8.0" )
108- public static final Setting <Boolean > LOGSTASH_ENABLED = Setting .boolSetting ("xpack.logstash.enabled" , true ,
109- Setting .Property .NodeScope , Property .Deprecated );
110-
111- /**
112- * Setting for enabling or disabling the index lifecycle extension. Defaults to true.
113- * <p>
114- * This setting is now a no-op: setting it to false is permitted, but does nothing.
115- */
116- @ Deprecated (since = "7.8.0" )
117- public static final Setting <Boolean > INDEX_LIFECYCLE_ENABLED = Setting .boolSetting ("xpack.ilm.enabled" , true ,
118- Property .NodeScope , Property .Deprecated );
119-
120- /**
121- * Setting for enabling or disabling the snapshot lifecycle extension. Defaults to true.
122- * <p>
123- * This setting is now a no-op: setting it to false is permitted, but does nothing.
124- */
125- @ Deprecated (since = "7.8.0" )
126- public static final Setting <Boolean > SNAPSHOT_LIFECYCLE_ENABLED = Setting .boolSetting ("xpack.slm.enabled" , true ,
127- Property .NodeScope , Property .Deprecated );
128-
12966 /** Setting for enabling or disabling TLS. Defaults to false. */
13067 public static final Setting <Boolean > TRANSPORT_SSL_ENABLED = Setting .boolSetting ("xpack.security.transport.ssl.enabled" , false ,
13168 Property .NodeScope );
@@ -150,33 +87,6 @@ private XPackSettings() {
15087 public static final Setting <Boolean > FIPS_MODE_ENABLED =
15188 Setting .boolSetting ("xpack.security.fips_mode.enabled" , false , Property .NodeScope );
15289
153- /**
154- * Setting for enabling or disabling sql. Defaults to true.
155- * <p>
156- * This setting is now a no-op: setting it to false is permitted, but does nothing.
157- */
158- @ Deprecated (since = "7.8.0" )
159- public static final Setting <Boolean > SQL_ENABLED = Setting .boolSetting ("xpack.sql.enabled" , true ,
160- Property .NodeScope , Property .Deprecated );
161-
162- /**
163- * Setting for enabling or disabling flattened fields. Defaults to true.
164- * <p>
165- * This setting is now a no-op: setting it to false is permitted, but does nothing.
166- */
167- @ Deprecated (since = "7.8.0" )
168- public static final Setting <Boolean > FLATTENED_ENABLED = Setting .boolSetting ("xpack.flattened.enabled" , true ,
169- Property .NodeScope , Property .Deprecated );
170-
171- /**
172- * Setting for enabling or disabling vectors. Defaults to true.
173- * <p>
174- * This setting is now a no-op: setting it to false is permitted, but does nothing.
175- */
176- @ Deprecated (since = "7.8.0" )
177- public static final Setting <Boolean > VECTORS_ENABLED = Setting .boolSetting ("xpack.vectors.enabled" , true ,
178- Property .NodeScope , Property .Deprecated );
179-
18090 /*
18191 * SSL settings. These are the settings that are specifically registered for SSL. Many are private as we do not explicitly use them
18292 * but instead parse based on a prefix (eg *.ssl.*)
@@ -271,28 +181,18 @@ public static List<Setting<?>> getAllSettings() {
271181 settings .addAll (HTTP_SSL .getAllSettings ());
272182 settings .addAll (TRANSPORT_SSL .getAllSettings ());
273183 settings .add (SECURITY_ENABLED );
274- settings .add (MONITORING_ENABLED );
275184 settings .add (GRAPH_ENABLED );
276185 settings .add (MACHINE_LEARNING_ENABLED );
277186 settings .add (AUDIT_ENABLED );
278187 settings .add (WATCHER_ENABLED );
279188 settings .add (DLS_FLS_ENABLED );
280- settings .add (LOGSTASH_ENABLED );
281189 settings .add (TRANSPORT_SSL_ENABLED );
282190 settings .add (HTTP_SSL_ENABLED );
283191 settings .add (RESERVED_REALM_ENABLED_SETTING );
284192 settings .add (TOKEN_SERVICE_ENABLED_SETTING );
285193 settings .add (API_KEY_SERVICE_ENABLED_SETTING );
286- settings .add (SQL_ENABLED );
287194 settings .add (USER_SETTING );
288- settings .add (ROLLUP_ENABLED );
289195 settings .add (PASSWORD_HASHING_ALGORITHM );
290- settings .add (INDEX_LIFECYCLE_ENABLED );
291- settings .add (SNAPSHOT_LIFECYCLE_ENABLED );
292- settings .add (TRANSFORM_ENABLED );
293- settings .add (FLATTENED_ENABLED );
294- settings .add (VECTORS_ENABLED );
295- settings .add (ENRICH_ENABLED_SETTING );
296196 return Collections .unmodifiableList (settings );
297197 }
298198
0 commit comments