diff --git a/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 49148dbee1c..235d6ef2332 100644 --- a/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -874,213 +874,228 @@ } }, { - "name" : "jolokia.config", - "type" : "java.util.Map", - "description" : "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.", - "deprecation" : { - "replacement" : "management.jolokia.config", - "level" : "error" + "name": "jolokia.config", + "type": "java.util.Map", + "description": "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.", + "deprecation": { + "replacement": "management.jolokia.config", + "level": "error" } }, { - "name" : "management.security.enabled", - "type" : "java.lang.Boolean", - "description" : "Enable security.", - "defaultValue" : true, - "deprecation" : { + "name": "management.security.enabled", + "type": "java.lang.Boolean", + "description": "Enable security.", + "defaultValue": true, + "deprecation": { "reason": "A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "management.security.roles", - "type" : "java.util.List", - "description" : "Comma-separated list of roles that can access the management endpoint.", - "deprecation" : { + }, + { + "name": "management.security.roles", + "type": "java.util.List", + "description": "Comma-separated list of roles that can access the management endpoint.", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "management.security.sessions", - "description" : "Session creating policy for security use (always, never, if_required,\n stateless).", - "defaultValue" : "stateless", - "deprecation" : { + }, + { + "name": "management.security.sessions", + "description": "Session creating policy for security use (always, never, if_required,\n stateless).", + "defaultValue": "stateless", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } }, { - "name" : "management.shell.auth.jaas.domain", - "type" : "java.lang.String", - "description" : "JAAS domain.", - "defaultValue" : "my-domain", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.jaas.domain", + "type": "java.lang.String", + "description": "JAAS domain.", + "defaultValue": "my-domain", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.auth.key.path", - "type" : "java.lang.String", - "description" : "Path to the authentication key. This should point to a valid \".pem\" file.", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.key.path", + "type": "java.lang.String", + "description": "Path to the authentication key. This should point to a valid \".pem\" file.", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.auth.simple.user.name", - "type" : "java.lang.String", - "description" : "Login user.", - "defaultValue" : "user", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.simple.user.name", + "type": "java.lang.String", + "description": "Login user.", + "defaultValue": "user", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.auth.simple.user.password", - "type" : "java.lang.String", - "description" : "Login password.", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.simple.user.password", + "type": "java.lang.String", + "description": "Login password.", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.auth.spring.roles", - "type" : "java.lang.String[]", - "description" : "Comma-separated list of required roles to login to the CRaSH console.", - "defaultValue" : [ "ACTUATOR" ], - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.spring.roles", + "type": "java.lang.String[]", + "description": "Comma-separated list of required roles to login to the CRaSH console.", + "defaultValue": [ + "ACTUATOR" + ], + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.auth.type", - "type" : "java.lang.String", - "description" : "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).", - "defaultValue" : "simple", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.auth.type", + "type": "java.lang.String", + "description": "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).", + "defaultValue": "simple", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.command-path-patterns", - "type" : "java.lang.String[]", - "description" : "Patterns to use to look for commands.", - "defaultValue" : [ "classpath*:/commands/**", "classpath*:/crash/commands/**" ], - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.command-path-patterns", + "type": "java.lang.String[]", + "description": "Patterns to use to look for commands.", + "defaultValue": [ + "classpath*:/commands/**", + "classpath*:/crash/commands/**" + ], + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.command-refresh-interval", - "type" : "java.lang.Integer", - "description" : "Scan for changes and update the command if necessary (in seconds).", - "defaultValue" : -1, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.command-refresh-interval", + "type": "java.lang.Integer", + "description": "Scan for changes and update the command if necessary (in seconds).", + "defaultValue": -1, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.config-path-patterns", - "type" : "java.lang.String[]", - "description" : "Patterns to use to look for configurations.", - "defaultValue" : [ "classpath*:/crash/*" ], - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.config-path-patterns", + "type": "java.lang.String[]", + "description": "Patterns to use to look for configurations.", + "defaultValue": [ + "classpath*:/crash/*" + ], + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.disabled-commands", - "type" : "java.lang.String[]", - "description" : "Comma-separated list of commands to disable.", - "defaultValue" : [ "jpa*", "jdbc*", "jndi*" ], - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" - } - }, { - "name" : "management.shell.disabled-plugins", - "type" : "java.lang.String[]", - "description" : "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.", - "defaultValue" : [ ], - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.disabled-commands", + "type": "java.lang.String[]", + "description": "Comma-separated list of commands to disable.", + "defaultValue": [ + "jpa*", + "jdbc*", + "jndi*" + ], + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.ssh.auth-timeout", - "type" : "java.lang.Integer", - "description" : "Number of milliseconds after user will be prompted to login again.", - "defaultValue" : 600000, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" - } - }, { - "name" : "management.shell.ssh.enabled", - "type" : "java.lang.Boolean", - "description" : "Enable CRaSH SSH support.", - "defaultValue" : true, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.disabled-plugins", + "type": "java.lang.String[]", + "description": "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.", + "defaultValue": [], + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.ssh.idle-timeout", - "type" : "java.lang.Integer", - "description" : "Number of milliseconds after which unused connections are closed.", - "defaultValue" : 600000, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.ssh.auth-timeout", + "type": "java.lang.Integer", + "description": "Number of milliseconds after user will be prompted to login again.", + "defaultValue": 600000, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.ssh.key-path", - "type" : "java.lang.String", - "description" : "Path to the SSH server key.", - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.ssh.enabled", + "type": "java.lang.Boolean", + "description": "Enable CRaSH SSH support.", + "defaultValue": true, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.ssh.port", - "type" : "java.lang.Integer", - "description" : "SSH port.", - "defaultValue" : 2000, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.ssh.idle-timeout", + "type": "java.lang.Integer", + "description": "Number of milliseconds after which unused connections are closed.", + "defaultValue": 600000, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.telnet.enabled", - "type" : "java.lang.Boolean", - "description" : "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.", - "defaultValue" : false, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.ssh.key-path", + "type": "java.lang.String", + "description": "Path to the SSH server key.", + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { - "name" : "management.shell.telnet.port", - "type" : "java.lang.Integer", - "description" : "Telnet port.", - "defaultValue" : 5000, - "deprecation" : { - "reason" : "CRaSH support is no longer available.", - "level" : "error" + "name": "management.shell.ssh.port", + "type": "java.lang.Integer", + "description": "SSH port.", + "defaultValue": 2000, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" + } + }, + { + "name": "management.shell.telnet.enabled", + "type": "java.lang.Boolean", + "description": "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.", + "defaultValue": false, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" + } + }, + { + "name": "management.shell.telnet.port", + "type": "java.lang.Integer", + "description": "Telnet port.", + "defaultValue": 5000, + "deprecation": { + "reason": "CRaSH support is no longer available.", + "level": "error" } }, { diff --git a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 5bdd232ea21..a79228ce3fb 100644 --- a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1,31 +1,31 @@ {"properties": [ { - "name" : "security.basic.enabled", - "type" : "java.lang.Boolean", - "description" : "Enable basic authentication.", - "defaultValue" : true, - "deprecation" : { + "name": "security.basic.enabled", + "type": "java.lang.Boolean", + "description": "Enable basic authentication.", + "defaultValue": true, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } }, { - "name" : "security.filter-dispatcher-types", - "type" : "java.util.Set", - "description" : "Security filter chain dispatcher types.", - "deprecation" : { - "replacement" : "spring.security.filter.dispatcher-types", - "level" : "error" + "name": "security.filter-dispatcher-types", + "type": "java.util.Set", + "description": "Security filter chain dispatcher types.", + "deprecation": { + "replacement": "spring.security.filter.dispatcher-types", + "level": "error" } }, { - "name" : "security.filter-order", - "type" : "java.lang.Integer", - "description" : "Security filter chain order.", - "defaultValue" : 0, - "deprecation" : { - "replacement" : "spring.security.filter.order", - "level" : "error" + "name": "security.filter-order", + "type": "java.lang.Integer", + "description": "Security filter chain order.", + "defaultValue": 0, + "deprecation": { + "replacement": "spring.security.filter.order", + "level": "error" } }, { @@ -171,7 +171,9 @@ }, { "name": "spring.elasticsearch.jest.uris", - "defaultValue": ["http://localhost:9200"] + "defaultValue": [ + "http://localhost:9200" + ] }, { "name": "spring.http.encoding.enabled", @@ -180,9 +182,9 @@ "defaultValue": true }, { - "name": "spring.http.converters.preferred-json-mapper", - "type": "java.lang.String", - "description": "Preferred JSON mapper to use for HTTP message conversion. Set to \"gson\" to force the use of Gson when both it and Jackson are on the classpath." + "name": "spring.http.converters.preferred-json-mapper", + "type": "java.lang.String", + "description": "Preferred JSON mapper to use for HTTP message conversion. Set to \"gson\" to force the use of Gson when both it and Jackson are on the classpath." }, { "name": "spring.jersey.type", @@ -382,7 +384,11 @@ }, { "name": "spring.security.filter.dispatcher-types", - "defaultValue": ["async", "error", "request"] + "defaultValue": [ + "async", + "error", + "request" + ] }, { "name": "spring.session.hazelcast.flush-mode", @@ -390,7 +396,11 @@ }, { "name": "spring.session.servlet.filter-dispatcher-types", - "defaultValue": ["async", "error", "request"] + "defaultValue": [ + "async", + "error", + "request" + ] }, { "name": "spring.session.redis.flush-mode", @@ -403,18 +413,19 @@ "defaultValue": false }, { - "name" : "flyway.baseline-description", - "type" : "java.lang.String", - "deprecation" : { - "replacement" : "spring.flyway.baseline-description", - "level" : "error" + "name": "flyway.baseline-description", + "type": "java.lang.String", + "deprecation": { + "replacement": "spring.flyway.baseline-description", + "level": "error" } - }, { - "name" : "flyway.baseline-on-migrate", - "type" : "java.lang.Boolean", - "deprecation" : { - "replacement" : "spring.flyway.baseline-on-migrate", - "level" : "error" + }, + { + "name": "flyway.baseline-on-migrate", + "type": "java.lang.Boolean", + "deprecation": { + "replacement": "spring.flyway.baseline-on-migrate", + "level": "error" } }, { @@ -744,167 +755,187 @@ } }, { - "name" : "security.basic.authorize-mode", - "description" : "Security authorize mode to apply.", - "defaultValue" : "role", - "deprecation" : { + "name": "security.basic.authorize-mode", + "description": "Security authorize mode to apply.", + "defaultValue": "role", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.basic.path", - "type" : "java.lang.String[]", - "description" : "Comma-separated list of paths to secure.", - "defaultValue" : [ "/**" ], - "deprecation" : { + }, + { + "name": "security.basic.path", + "type": "java.lang.String[]", + "description": "Comma-separated list of paths to secure.", + "defaultValue": [ + "/**" + ], + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.basic.realm", - "type" : "java.lang.String", - "description" : "HTTP basic realm name.", - "defaultValue" : "Spring", - "deprecation" : { + }, + { + "name": "security.basic.realm", + "type": "java.lang.String", + "description": "HTTP basic realm name.", + "defaultValue": "Spring", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.enable-csrf", - "type" : "java.lang.Boolean", - "description" : "Enable Cross Site Request Forgery support.", - "defaultValue" : false, - "deprecation" : { + }, + { + "name": "security.enable-csrf", + "type": "java.lang.Boolean", + "description": "Enable Cross Site Request Forgery support.", + "defaultValue": false, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.cache", - "type" : "java.lang.Boolean", - "description" : "Enable cache control HTTP headers.", - "defaultValue" : true, - "deprecation" : { + }, + { + "name": "security.headers.cache", + "type": "java.lang.Boolean", + "description": "Enable cache control HTTP headers.", + "defaultValue": true, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.content-security-policy", - "type" : "java.lang.String", - "description" : "Value for content security policy header.", - "deprecation" : { + }, + { + "name": "security.headers.content-security-policy", + "type": "java.lang.String", + "description": "Value for content security policy header.", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.content-security-policy-mode", - "description" : "Content security policy mode.", - "defaultValue" : "default", - "deprecation" : { + }, + { + "name": "security.headers.content-security-policy-mode", + "description": "Content security policy mode.", + "defaultValue": "default", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.content-type", - "type" : "java.lang.Boolean", - "description" : "Enable \"X-Content-Type-Options\" header.", - "defaultValue" : true, - "deprecation" : { + }, + { + "name": "security.headers.content-type", + "type": "java.lang.Boolean", + "description": "Enable \"X-Content-Type-Options\" header.", + "defaultValue": true, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.frame", - "type" : "java.lang.Boolean", - "description" : "Enable \"X-Frame-Options\" header.", - "defaultValue" : true, - "deprecation" : { + }, + { + "name": "security.headers.frame", + "type": "java.lang.Boolean", + "description": "Enable \"X-Frame-Options\" header.", + "defaultValue": true, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.hsts", - "description" : "HTTP Strict Transport Security (HSTS) mode (none, domain, all).", - "defaultValue" : "all", - "deprecation" : { + }, + { + "name": "security.headers.hsts", + "description": "HTTP Strict Transport Security (HSTS) mode (none, domain, all).", + "defaultValue": "all", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.headers.xss", - "type" : "java.lang.Boolean", - "description" : "Enable cross site scripting (XSS) protection.", - "defaultValue" : true, - "deprecation" : { + }, + { + "name": "security.headers.xss", + "type": "java.lang.Boolean", + "description": "Enable cross site scripting (XSS) protection.", + "defaultValue": true, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.ignored", - "type" : "java.util.List", - "description" : "Comma-separated list of paths to exclude from the default secured paths.", - "deprecation" : { + }, + { + "name": "security.ignored", + "type": "java.util.List", + "description": "Comma-separated list of paths to exclude from the default secured paths.", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.oauth2.resource.filter-order", - "type" : "java.lang.Integer", - "description" : "The order of the filter chain used to authenticate tokens. Default puts it after\n the actuator endpoints and before the default HTTP basic filter chain (catchall).", - "defaultValue" : 0, - "deprecation" : { + }, + { + "name": "security.oauth2.resource.filter-order", + "type": "java.lang.Integer", + "description": "The order of the filter chain used to authenticate tokens. Default puts it after\n the actuator endpoints and before the default HTTP basic filter chain (catchall).", + "defaultValue": 0, + "deprecation": { "reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.oauth2.sso.filter-order", - "type" : "java.lang.Integer", - "description" : "Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (in\n which case the order can be provided there instead).", - "deprecation" : { + }, + { + "name": "security.oauth2.sso.filter-order", + "type": "java.lang.Integer", + "description": "Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (in\n which case the order can be provided there instead).", + "deprecation": { "reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.require-ssl", - "type" : "java.lang.Boolean", - "description" : "Enable secure channel for all requests.", - "defaultValue" : false, - "deprecation" : { + }, + { + "name": "security.require-ssl", + "type": "java.lang.Boolean", + "description": "Enable secure channel for all requests.", + "defaultValue": false, + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.sessions", - "type" : "org.springframework.security.config.http.SessionCreationPolicy", - "description" : "Session creation policy (always, never, if_required, stateless).", - "defaultValue" : "stateless", - "deprecation" : { + }, + { + "name": "security.sessions", + "type": "org.springframework.security.config.http.SessionCreationPolicy", + "description": "Session creation policy (always, never, if_required, stateless).", + "defaultValue": "stateless", + "deprecation": { "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.user.name", - "type" : "java.lang.String", - "description" : "Default user name.", - "defaultValue" : "user", - "deprecation" : { + }, + { + "name": "security.user.name", + "type": "java.lang.String", + "description": "Default user name.", + "defaultValue": "user", + "deprecation": { "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.user.password", - "type" : "java.lang.String", - "description" : "Password for the default user name.", - "deprecation" : { + }, + { + "name": "security.user.password", + "type": "java.lang.String", + "description": "Password for the default user name.", + "deprecation": { "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", - "level" : "error" + "level": "error" } - }, { - "name" : "security.user.role", - "type" : "java.util.List", - "description" : "Granted roles for the default user name.", - "deprecation" : { + }, + { + "name": "security.user.role", + "type": "java.util.List", + "description": "Granted roles for the default user name.", + "deprecation": { "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", - "level" : "error" + "level": "error" } }, { diff --git a/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 65d8cc9fe1f..04dabaef52d 100644 --- a/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -162,7 +162,9 @@ "sourceType": "org.springframework.boot.SpringApplication", "description": "Display the banner when the application runs.", "defaultValue": true, - "deprecation": {"replacement": "spring.main.banner-mode"} + "deprecation": { + "replacement": "spring.main.banner-mode" + } }, { "name": "spring.main.sources", @@ -182,7 +184,9 @@ "sourceType": "org.springframework.boot.SpringApplication", "description": "Run the application in a web environment (auto-detected by default).", "deprecated": true, - "deprecation": {"replacement": "spring.main.web-application-type"} + "deprecation": { + "replacement": "spring.main.web-application-type" + } }, { "name": "spring.output.ansi.enabled", @@ -260,7 +264,6 @@ { "value": "off" } - ], "providers": [ {