Skip to content

Commit 38745d4

Browse files
committed
Add deprecated metadata for CRaSH support
See gh-10076
1 parent 08ce7e2 commit 38745d4

File tree

1 file changed

+176
-0
lines changed

1 file changed

+176
-0
lines changed

Diff for: spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json

+176
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,182 @@
197197
"deprecation": {
198198
"replacement": "spring.info.git.location"
199199
}
200+
},
201+
{
202+
"name" : "management.shell.auth.jaas.domain",
203+
"type" : "java.lang.String",
204+
"description" : "JAAS domain.",
205+
"defaultValue" : "my-domain",
206+
"deprecation" : {
207+
"reason" : "CRaSH support is no longer available.",
208+
"level" : "error"
209+
}
210+
},
211+
{
212+
"name" : "management.shell.auth.key.path",
213+
"type" : "java.lang.String",
214+
"description" : "Path to the authentication key. This should point to a valid \".pem\" file.",
215+
"deprecation" : {
216+
"reason" : "CRaSH support is no longer available.",
217+
"level" : "error"
218+
}
219+
},
220+
{
221+
"name" : "management.shell.auth.simple.user.name",
222+
"type" : "java.lang.String",
223+
"description" : "Login user.",
224+
"defaultValue" : "user",
225+
"deprecation" : {
226+
"reason" : "CRaSH support is no longer available.",
227+
"level" : "error"
228+
}
229+
},
230+
{
231+
"name" : "management.shell.auth.simple.user.password",
232+
"type" : "java.lang.String",
233+
"description" : "Login password.",
234+
"deprecation" : {
235+
"reason" : "CRaSH support is no longer available.",
236+
"level" : "error"
237+
}
238+
},
239+
{
240+
"name" : "management.shell.auth.spring.roles",
241+
"type" : "java.lang.String[]",
242+
"description" : "Comma-separated list of required roles to login to the CRaSH console.",
243+
"defaultValue" : [ "ACTUATOR" ],
244+
"deprecation" : {
245+
"replacement" : "management.security.roles",
246+
"reason" : "CRaSH support is no longer available.",
247+
"level" : "error"
248+
}
249+
},
250+
{
251+
"name" : "management.shell.auth.type",
252+
"type" : "java.lang.String",
253+
"description" : "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).",
254+
"defaultValue" : "simple",
255+
"deprecation" : {
256+
"reason" : "CRaSH support is no longer available.",
257+
"level" : "error"
258+
}
259+
},
260+
{
261+
"name" : "management.shell.command-path-patterns",
262+
"type" : "java.lang.String[]",
263+
"description" : "Patterns to use to look for commands.",
264+
"defaultValue" : [ "classpath*:/commands/**", "classpath*:/crash/commands/**" ],
265+
"deprecation" : {
266+
"reason" : "CRaSH support is no longer available.",
267+
"level" : "error"
268+
}
269+
},
270+
{
271+
"name" : "management.shell.command-refresh-interval",
272+
"type" : "java.lang.Integer",
273+
"description" : "Scan for changes and update the command if necessary (in seconds).",
274+
"defaultValue" : -1,
275+
"deprecation" : {
276+
"reason" : "CRaSH support is no longer available.",
277+
"level" : "error"
278+
}
279+
},
280+
{
281+
"name" : "management.shell.config-path-patterns",
282+
"type" : "java.lang.String[]",
283+
"description" : "Patterns to use to look for configurations.",
284+
"defaultValue" : [ "classpath*:/crash/*" ],
285+
"deprecation" : {
286+
"reason" : "CRaSH support is no longer available.",
287+
"level" : "error"
288+
}
289+
},
290+
{
291+
"name" : "management.shell.disabled-commands",
292+
"type" : "java.lang.String[]",
293+
"description" : "Comma-separated list of commands to disable.",
294+
"defaultValue" : [ "jpa*", "jdbc*", "jndi*" ],
295+
"deprecation" : {
296+
"reason" : "CRaSH support is no longer available.",
297+
"level" : "error"
298+
}
299+
}, {
300+
"name" : "management.shell.disabled-plugins",
301+
"type" : "java.lang.String[]",
302+
"description" : "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.",
303+
"defaultValue" : [ ],
304+
"deprecation" : {
305+
"reason" : "CRaSH support is no longer available.",
306+
"level" : "error"
307+
}
308+
},
309+
{
310+
"name" : "management.shell.ssh.auth-timeout",
311+
"type" : "java.lang.Integer",
312+
"description" : "Number of milliseconds after user will be prompted to login again.",
313+
"defaultValue" : 600000,
314+
"deprecation" : {
315+
"reason" : "CRaSH support is no longer available.",
316+
"level" : "error"
317+
}
318+
}, {
319+
"name" : "management.shell.ssh.enabled",
320+
"type" : "java.lang.Boolean",
321+
"description" : "Enable CRaSH SSH support.",
322+
"defaultValue" : true,
323+
"deprecation" : {
324+
"reason" : "CRaSH support is no longer available.",
325+
"level" : "error"
326+
}
327+
},
328+
{
329+
"name" : "management.shell.ssh.idle-timeout",
330+
"type" : "java.lang.Integer",
331+
"description" : "Number of milliseconds after which unused connections are closed.",
332+
"defaultValue" : 600000,
333+
"deprecation" : {
334+
"reason" : "CRaSH support is no longer available.",
335+
"level" : "error"
336+
}
337+
},
338+
{
339+
"name" : "management.shell.ssh.key-path",
340+
"type" : "java.lang.String",
341+
"description" : "Path to the SSH server key.",
342+
"deprecation" : {
343+
"reason" : "CRaSH support is no longer available.",
344+
"level" : "error"
345+
}
346+
},
347+
{
348+
"name" : "management.shell.ssh.port",
349+
"type" : "java.lang.Integer",
350+
"description" : "SSH port.",
351+
"defaultValue" : 2000,
352+
"deprecation" : {
353+
"reason" : "CRaSH support is no longer available.",
354+
"level" : "error"
355+
}
356+
},
357+
{
358+
"name" : "management.shell.telnet.enabled",
359+
"type" : "java.lang.Boolean",
360+
"description" : "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.",
361+
"defaultValue" : false,
362+
"deprecation" : {
363+
"reason" : "CRaSH support is no longer available.",
364+
"level" : "error"
365+
}
366+
},
367+
{
368+
"name" : "management.shell.telnet.port",
369+
"type" : "java.lang.Integer",
370+
"description" : "Telnet port.",
371+
"defaultValue" : 5000,
372+
"deprecation" : {
373+
"reason" : "CRaSH support is no longer available.",
374+
"level" : "error"
375+
}
200376
}
201377
],"hints": [
202378
{

0 commit comments

Comments
 (0)