Skip to content

Commit 5efcbad

Browse files
committed
Polish
1 parent ddde3c5 commit 5efcbad

File tree

3 files changed

+372
-323
lines changed

3 files changed

+372
-323
lines changed

spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 164 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -874,213 +874,228 @@
874874
}
875875
},
876876
{
877-
"name" : "jolokia.config",
878-
"type" : "java.util.Map<java.lang.String,java.lang.String>",
879-
"description" : "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.",
880-
"deprecation" : {
881-
"replacement" : "management.jolokia.config",
882-
"level" : "error"
877+
"name": "jolokia.config",
878+
"type": "java.util.Map<java.lang.String,java.lang.String>",
879+
"description": "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.",
880+
"deprecation": {
881+
"replacement": "management.jolokia.config",
882+
"level": "error"
883883
}
884884
},
885885
{
886-
"name" : "management.security.enabled",
887-
"type" : "java.lang.Boolean",
888-
"description" : "Enable security.",
889-
"defaultValue" : true,
890-
"deprecation" : {
886+
"name": "management.security.enabled",
887+
"type": "java.lang.Boolean",
888+
"description": "Enable security.",
889+
"defaultValue": true,
890+
"deprecation": {
891891
"reason": "A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.",
892-
"level" : "error"
892+
"level": "error"
893893
}
894-
}, {
895-
"name" : "management.security.roles",
896-
"type" : "java.util.List<java.lang.String>",
897-
"description" : "Comma-separated list of roles that can access the management endpoint.",
898-
"deprecation" : {
894+
},
895+
{
896+
"name": "management.security.roles",
897+
"type": "java.util.List<java.lang.String>",
898+
"description": "Comma-separated list of roles that can access the management endpoint.",
899+
"deprecation": {
899900
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
900-
"level" : "error"
901+
"level": "error"
901902
}
902-
}, {
903-
"name" : "management.security.sessions",
904-
"description" : "Session creating policy for security use (always, never, if_required,\n stateless).",
905-
"defaultValue" : "stateless",
906-
"deprecation" : {
903+
},
904+
{
905+
"name": "management.security.sessions",
906+
"description": "Session creating policy for security use (always, never, if_required,\n stateless).",
907+
"defaultValue": "stateless",
908+
"deprecation": {
907909
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
908-
"level" : "error"
910+
"level": "error"
909911
}
910912
},
911913
{
912-
"name" : "management.shell.auth.jaas.domain",
913-
"type" : "java.lang.String",
914-
"description" : "JAAS domain.",
915-
"defaultValue" : "my-domain",
916-
"deprecation" : {
917-
"reason" : "CRaSH support is no longer available.",
918-
"level" : "error"
914+
"name": "management.shell.auth.jaas.domain",
915+
"type": "java.lang.String",
916+
"description": "JAAS domain.",
917+
"defaultValue": "my-domain",
918+
"deprecation": {
919+
"reason": "CRaSH support is no longer available.",
920+
"level": "error"
919921
}
920922
},
921923
{
922-
"name" : "management.shell.auth.key.path",
923-
"type" : "java.lang.String",
924-
"description" : "Path to the authentication key. This should point to a valid \".pem\" file.",
925-
"deprecation" : {
926-
"reason" : "CRaSH support is no longer available.",
927-
"level" : "error"
924+
"name": "management.shell.auth.key.path",
925+
"type": "java.lang.String",
926+
"description": "Path to the authentication key. This should point to a valid \".pem\" file.",
927+
"deprecation": {
928+
"reason": "CRaSH support is no longer available.",
929+
"level": "error"
928930
}
929931
},
930932
{
931-
"name" : "management.shell.auth.simple.user.name",
932-
"type" : "java.lang.String",
933-
"description" : "Login user.",
934-
"defaultValue" : "user",
935-
"deprecation" : {
936-
"reason" : "CRaSH support is no longer available.",
937-
"level" : "error"
933+
"name": "management.shell.auth.simple.user.name",
934+
"type": "java.lang.String",
935+
"description": "Login user.",
936+
"defaultValue": "user",
937+
"deprecation": {
938+
"reason": "CRaSH support is no longer available.",
939+
"level": "error"
938940
}
939941
},
940942
{
941-
"name" : "management.shell.auth.simple.user.password",
942-
"type" : "java.lang.String",
943-
"description" : "Login password.",
944-
"deprecation" : {
945-
"reason" : "CRaSH support is no longer available.",
946-
"level" : "error"
943+
"name": "management.shell.auth.simple.user.password",
944+
"type": "java.lang.String",
945+
"description": "Login password.",
946+
"deprecation": {
947+
"reason": "CRaSH support is no longer available.",
948+
"level": "error"
947949
}
948950
},
949951
{
950-
"name" : "management.shell.auth.spring.roles",
951-
"type" : "java.lang.String[]",
952-
"description" : "Comma-separated list of required roles to login to the CRaSH console.",
953-
"defaultValue" : [ "ACTUATOR" ],
954-
"deprecation" : {
955-
"reason" : "CRaSH support is no longer available.",
956-
"level" : "error"
952+
"name": "management.shell.auth.spring.roles",
953+
"type": "java.lang.String[]",
954+
"description": "Comma-separated list of required roles to login to the CRaSH console.",
955+
"defaultValue": [
956+
"ACTUATOR"
957+
],
958+
"deprecation": {
959+
"reason": "CRaSH support is no longer available.",
960+
"level": "error"
957961
}
958962
},
959963
{
960-
"name" : "management.shell.auth.type",
961-
"type" : "java.lang.String",
962-
"description" : "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).",
963-
"defaultValue" : "simple",
964-
"deprecation" : {
965-
"reason" : "CRaSH support is no longer available.",
966-
"level" : "error"
964+
"name": "management.shell.auth.type",
965+
"type": "java.lang.String",
966+
"description": "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).",
967+
"defaultValue": "simple",
968+
"deprecation": {
969+
"reason": "CRaSH support is no longer available.",
970+
"level": "error"
967971
}
968972
},
969973
{
970-
"name" : "management.shell.command-path-patterns",
971-
"type" : "java.lang.String[]",
972-
"description" : "Patterns to use to look for commands.",
973-
"defaultValue" : [ "classpath*:/commands/**", "classpath*:/crash/commands/**" ],
974-
"deprecation" : {
975-
"reason" : "CRaSH support is no longer available.",
976-
"level" : "error"
974+
"name": "management.shell.command-path-patterns",
975+
"type": "java.lang.String[]",
976+
"description": "Patterns to use to look for commands.",
977+
"defaultValue": [
978+
"classpath*:/commands/**",
979+
"classpath*:/crash/commands/**"
980+
],
981+
"deprecation": {
982+
"reason": "CRaSH support is no longer available.",
983+
"level": "error"
977984
}
978985
},
979986
{
980-
"name" : "management.shell.command-refresh-interval",
981-
"type" : "java.lang.Integer",
982-
"description" : "Scan for changes and update the command if necessary (in seconds).",
983-
"defaultValue" : -1,
984-
"deprecation" : {
985-
"reason" : "CRaSH support is no longer available.",
986-
"level" : "error"
987+
"name": "management.shell.command-refresh-interval",
988+
"type": "java.lang.Integer",
989+
"description": "Scan for changes and update the command if necessary (in seconds).",
990+
"defaultValue": -1,
991+
"deprecation": {
992+
"reason": "CRaSH support is no longer available.",
993+
"level": "error"
987994
}
988995
},
989996
{
990-
"name" : "management.shell.config-path-patterns",
991-
"type" : "java.lang.String[]",
992-
"description" : "Patterns to use to look for configurations.",
993-
"defaultValue" : [ "classpath*:/crash/*" ],
994-
"deprecation" : {
995-
"reason" : "CRaSH support is no longer available.",
996-
"level" : "error"
997+
"name": "management.shell.config-path-patterns",
998+
"type": "java.lang.String[]",
999+
"description": "Patterns to use to look for configurations.",
1000+
"defaultValue": [
1001+
"classpath*:/crash/*"
1002+
],
1003+
"deprecation": {
1004+
"reason": "CRaSH support is no longer available.",
1005+
"level": "error"
9971006
}
9981007
},
9991008
{
1000-
"name" : "management.shell.disabled-commands",
1001-
"type" : "java.lang.String[]",
1002-
"description" : "Comma-separated list of commands to disable.",
1003-
"defaultValue" : [ "jpa*", "jdbc*", "jndi*" ],
1004-
"deprecation" : {
1005-
"reason" : "CRaSH support is no longer available.",
1006-
"level" : "error"
1009+
"name": "management.shell.disabled-commands",
1010+
"type": "java.lang.String[]",
1011+
"description": "Comma-separated list of commands to disable.",
1012+
"defaultValue": [
1013+
"jpa*",
1014+
"jdbc*",
1015+
"jndi*"
1016+
],
1017+
"deprecation": {
1018+
"reason": "CRaSH support is no longer available.",
1019+
"level": "error"
10071020
}
1008-
}, {
1009-
"name" : "management.shell.disabled-plugins",
1010-
"type" : "java.lang.String[]",
1011-
"description" : "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.",
1012-
"defaultValue" : [ ],
1013-
"deprecation" : {
1014-
"reason" : "CRaSH support is no longer available.",
1015-
"level" : "error"
1021+
},
1022+
{
1023+
"name": "management.shell.disabled-plugins",
1024+
"type": "java.lang.String[]",
1025+
"description": "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.",
1026+
"defaultValue": [],
1027+
"deprecation": {
1028+
"reason": "CRaSH support is no longer available.",
1029+
"level": "error"
10161030
}
10171031
},
10181032
{
1019-
"name" : "management.shell.ssh.auth-timeout",
1020-
"type" : "java.lang.Integer",
1021-
"description" : "Number of milliseconds after user will be prompted to login again.",
1022-
"defaultValue" : 600000,
1023-
"deprecation" : {
1024-
"reason" : "CRaSH support is no longer available.",
1025-
"level" : "error"
1033+
"name": "management.shell.ssh.auth-timeout",
1034+
"type": "java.lang.Integer",
1035+
"description": "Number of milliseconds after user will be prompted to login again.",
1036+
"defaultValue": 600000,
1037+
"deprecation": {
1038+
"reason": "CRaSH support is no longer available.",
1039+
"level": "error"
10261040
}
1027-
}, {
1028-
"name" : "management.shell.ssh.enabled",
1029-
"type" : "java.lang.Boolean",
1030-
"description" : "Enable CRaSH SSH support.",
1031-
"defaultValue" : true,
1032-
"deprecation" : {
1033-
"reason" : "CRaSH support is no longer available.",
1034-
"level" : "error"
1041+
},
1042+
{
1043+
"name": "management.shell.ssh.enabled",
1044+
"type": "java.lang.Boolean",
1045+
"description": "Enable CRaSH SSH support.",
1046+
"defaultValue": true,
1047+
"deprecation": {
1048+
"reason": "CRaSH support is no longer available.",
1049+
"level": "error"
10351050
}
10361051
},
10371052
{
1038-
"name" : "management.shell.ssh.idle-timeout",
1039-
"type" : "java.lang.Integer",
1040-
"description" : "Number of milliseconds after which unused connections are closed.",
1041-
"defaultValue" : 600000,
1042-
"deprecation" : {
1043-
"reason" : "CRaSH support is no longer available.",
1044-
"level" : "error"
1053+
"name": "management.shell.ssh.idle-timeout",
1054+
"type": "java.lang.Integer",
1055+
"description": "Number of milliseconds after which unused connections are closed.",
1056+
"defaultValue": 600000,
1057+
"deprecation": {
1058+
"reason": "CRaSH support is no longer available.",
1059+
"level": "error"
10451060
}
10461061
},
10471062
{
1048-
"name" : "management.shell.ssh.key-path",
1049-
"type" : "java.lang.String",
1050-
"description" : "Path to the SSH server key.",
1051-
"deprecation" : {
1052-
"reason" : "CRaSH support is no longer available.",
1053-
"level" : "error"
1063+
"name": "management.shell.ssh.key-path",
1064+
"type": "java.lang.String",
1065+
"description": "Path to the SSH server key.",
1066+
"deprecation": {
1067+
"reason": "CRaSH support is no longer available.",
1068+
"level": "error"
10541069
}
10551070
},
10561071
{
1057-
"name" : "management.shell.ssh.port",
1058-
"type" : "java.lang.Integer",
1059-
"description" : "SSH port.",
1060-
"defaultValue" : 2000,
1061-
"deprecation" : {
1062-
"reason" : "CRaSH support is no longer available.",
1063-
"level" : "error"
1072+
"name": "management.shell.ssh.port",
1073+
"type": "java.lang.Integer",
1074+
"description": "SSH port.",
1075+
"defaultValue": 2000,
1076+
"deprecation": {
1077+
"reason": "CRaSH support is no longer available.",
1078+
"level": "error"
10641079
}
10651080
},
10661081
{
1067-
"name" : "management.shell.telnet.enabled",
1068-
"type" : "java.lang.Boolean",
1069-
"description" : "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.",
1070-
"defaultValue" : false,
1071-
"deprecation" : {
1072-
"reason" : "CRaSH support is no longer available.",
1073-
"level" : "error"
1082+
"name": "management.shell.telnet.enabled",
1083+
"type": "java.lang.Boolean",
1084+
"description": "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.",
1085+
"defaultValue": false,
1086+
"deprecation": {
1087+
"reason": "CRaSH support is no longer available.",
1088+
"level": "error"
10741089
}
10751090
},
10761091
{
1077-
"name" : "management.shell.telnet.port",
1078-
"type" : "java.lang.Integer",
1079-
"description" : "Telnet port.",
1080-
"defaultValue" : 5000,
1081-
"deprecation" : {
1082-
"reason" : "CRaSH support is no longer available.",
1083-
"level" : "error"
1092+
"name": "management.shell.telnet.port",
1093+
"type": "java.lang.Integer",
1094+
"description": "Telnet port.",
1095+
"defaultValue": 5000,
1096+
"deprecation": {
1097+
"reason": "CRaSH support is no longer available.",
1098+
"level": "error"
10841099
}
10851100
},
10861101
{

0 commit comments

Comments
 (0)