diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index c47249a854d..6d8d00e4251 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1,900 +1,10 @@ { "properties": [ - { - "name": "endpoints.actuator.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the endpoint.", - "deprecation": { - "reason": "The \"actuator\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.actuator.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "reason": "The \"actuator\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.actuator.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "The \"actuator\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.auditevents.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.auditevents.enabled", - "level": "error" - } - }, - { - "name": "endpoints.auditevents.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.auditevents", - "level": "error" - } - }, - { - "name": "endpoints.auditevents.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.autoconfig.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.conditions.enabled", - "level": "error" - } - }, - { - "name": "endpoints.autoconfig.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.autoconfig.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.conditions", - "level": "error" - } - }, - { - "name": "endpoints.autoconfig.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.beans.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.beans.enabled", - "level": "error" - } - }, - { - "name": "endpoints.beans.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.beans.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.beans", - "level": "error" - } - }, - { - "name": "endpoints.beans.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.configprops.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.configprops.enabled", - "level": "error" - } - }, - { - "name": "endpoints.configprops.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.configprops.keys-to-sanitize", - "type": "java.lang.String[]", - "description": "Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions.", - "deprecation": { - "replacement": "management.endpoint.configprops.keys-to-sanitize", - "level": "error" - } - }, - { - "name": "endpoints.configprops.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.configprops", - "level": "error" - } - }, - { - "name": "endpoints.configprops.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.cors.allow-credentials", - "type": "java.lang.Boolean", - "description": "Set whether credentials are supported. When not set, credentials are not supported.", - "deprecation": { - "replacement": "management.endpoints.web.cors.allow-credentials", - "level": "error" - } - }, - { - "name": "endpoints.cors.allowed-headers", - "type": "java.util.List", - "description": "Comma-separated list of headers to allow in a request. '*' allows all headers.", - "deprecation": { - "replacement": "management.endpoints.web.cors.allowed-headers", - "level": "error" - } - }, - { - "name": "endpoints.cors.allowed-methods", - "type": "java.util.List", - "description": "Comma-separated list of methods to allow. '*' allows all methods. When not set,\n defaults to GET.", - "deprecation": { - "replacement": "management.endpoints.web.cors.allowed-methods", - "level": "error" - } - }, - { - "name": "endpoints.cors.allowed-origins", - "type": "java.util.List", - "description": "Comma-separated list of origins to allow. '*' allows all origins. When not set,\n CORS support is disabled.", - "deprecation": { - "replacement": "management.endpoints.web.cors.allowed-origins", - "level": "error" - } - }, - { - "name": "endpoints.cors.exposed-headers", - "type": "java.util.List", - "description": "Comma-separated list of headers to include in a response.", - "deprecation": { - "replacement": "management.endpoints.web.cors.exposed-headers", - "level": "error" - } - }, - { - "name": "endpoints.cors.max-age", - "type": "java.lang.Long", - "description": "How long, in seconds, the response from a pre-flight request can be cached by\n clients.", - "defaultValue": 1800, - "deprecation": { - "replacement": "management.endpoints.web.cors.max-age", - "level": "error" - } - }, - { - "name": "endpoints.docs.curies.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the curie generation.", - "defaultValue": false, - "deprecation": { - "reason": "The \"docs\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.docs.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the endpoint.", - "deprecation": { - "reason": "The \"docs\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.docs.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "reason": "The \"docs\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.docs.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "The \"docs\" endpoint is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.dump.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.threaddump.enabled", - "level": "error" - } - }, - { - "name": "endpoints.dump.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.dump.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.dump", - "level": "error" - } - }, - { - "name": "endpoints.dump.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable endpoints.", - "defaultValue": true, - "deprecation": { - "replacement": "management.endpoints.enabled-by-default", - "level": "error" - } - }, - { - "name": "endpoints.env.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.env.enabled", - "level": "error" - } - }, - { - "name": "endpoints.env.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.env.keys-to-sanitize", - "type": "java.lang.String[]", - "description": "Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions.", - "deprecation": { - "replacement": "management.endpoint.env.keys-to-sanitize", - "level": "error" - } - }, - { - "name": "endpoints.env.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.env", - "level": "error" - } - }, - { - "name": "endpoints.env.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.flyway.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.flyway.enabled", - "level": "error" - } - }, - { - "name": "endpoints.flyway.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.flyway.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.health.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.health.enabled", - "level": "error" - } - }, - { - "name": "endpoints.health.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.health.mapping", - "type": "java.util.Map", - "description": "Mapping of health statuses to HTTP status codes. By default, registered health\n statuses map to sensible defaults (i.e. UP maps to 200).", - "deprecation": { - "replacement": "management.health.status.http-mapping", - "level": "error" - } - }, - { - "name": "endpoints.health.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.health", - "level": "error" - } - }, - { - "name": "endpoints.health.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.health.time-to-live", - "type": "java.lang.Long", - "description": "Time to live for cached result, in milliseconds.", - "defaultValue": 1000, - "deprecation": { - "replacement": "management.endpoint.health.cache.time-to-live", - "level": "error" - } - }, - { - "name": "endpoints.heapdump.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.heapdump.enabled", - "level": "error" - } - }, - { - "name": "endpoints.heapdump.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.heapdump", - "level": "error" - } - }, - { - "name": "endpoints.heapdump.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.hypermedia.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable hypermedia support for endpoints.", - "defaultValue": false, - "deprecation": { - "reason": "Hypermedia support in the Actuator is no longer available.", - "level": "error" - } - }, - { - "name": "endpoints.info.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.info.enabled", - "level": "error" - } - }, - { - "name": "endpoints.info.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.info.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.info", - "level": "error" - } - }, - { - "name": "endpoints.info.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.jmx.domain", - "type": "java.lang.String", - "description": "JMX domain name. Initialized with the value of 'spring.jmx.default-domain' if set.", - "deprecation": { - "replacement": "management.endpoints.jmx.domain", - "level": "error" - } - }, - { - "name": "endpoints.jmx.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable JMX export of all endpoints.", - "defaultValue": true, - "deprecation": { - "replacement": "management.endpoints.jmx.exposure.exclude", - "level": "error" - } - }, - { - "name": "endpoints.jmx.static-names", - "type": "java.util.Properties", - "description": "Additional static properties to append to all ObjectNames of MBeans representing\n Endpoints.", - "deprecation": { - "replacement": "management.endpoints.jmx.static-names", - "level": "error" - } - }, - { - "name": "endpoints.jmx.unique-names", - "type": "java.lang.Boolean", - "description": "Whether to ensure that ObjectNames are modified in case of conflict.", - "defaultValue": false, - "deprecation": { - "replacement": "management.endpoints.jmx.unique-names", - "level": "error" - } - }, - { - "name": "endpoints.jolokia.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.jolokia.enabled", - "level": "error" - } - }, - { - "name": "endpoints.jolokia.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.jolokia", - "level": "error" - } - }, - { - "name": "endpoints.jolokia.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.liquibase.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.liquibase.enabled", - "level": "error" - } - }, - { - "name": "endpoints.liquibase.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.liquibase.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.logfile.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.logfile.enabled", - "level": "error" - } - }, - { - "name": "endpoints.logfile.external-file", - "type": "java.io.File", - "description": "External Logfile to be accessed. Can be used if the logfile is written by output\n redirect and not by the logging-system itself.", - "deprecation": { - "replacement": "management.endpoint.logfile.external-file", - "level": "error" - } - }, - { - "name": "endpoints.logfile.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.logfile", - "level": "error" - } - }, - { - "name": "endpoints.logfile.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.loggers.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.loggers.enabled", - "level": "error" - } - }, - { - "name": "endpoints.loggers.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.loggers.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.loggers", - "level": "error" - } - }, - { - "name": "endpoints.loggers.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.mappings.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.mappings.enabled", - "level": "error" - } - }, - { - "name": "endpoints.mappings.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.mappings.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.mappings", - "level": "error" - } - }, - { - "name": "endpoints.mappings.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.metrics.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.metrics.enabled", - "level": "error" - } - }, - { - "name": "endpoints.metrics.filter.counter-submissions", - "description": "Submissions that should be made to the counter.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "endpoints.metrics.filter.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable the metrics servlet filter.", - "defaultValue": true, - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "endpoints.metrics.filter.gauge-submissions", - "description": "Submissions that should be made to the gauge.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "endpoints.metrics.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.metrics.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.metrics", - "level": "error" - } - }, - { - "name": "endpoints.metrics.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.sensitive", - "type": "java.lang.Boolean", - "description": "Default endpoint sensitive setting.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.shutdown.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.shutdown.enabled", - "level": "error" - } - }, - { - "name": "endpoints.shutdown.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.shutdown.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.shutdown", - "level": "error" - } - }, - { - "name": "endpoints.shutdown.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, - { - "name": "endpoints.trace.enabled", - "type": "java.lang.Boolean", - "description": "Enable the endpoint.", - "deprecation": { - "replacement": "management.endpoint.httptrace.enabled", - "level": "error" - } - }, - { - "name": "endpoints.trace.filter.enabled", - "type": "java.lang.Boolean", - "description": "Enable the trace servlet filter.", - "defaultValue": true, - "deprecation": { - "replacement": "management.trace.http.enabled", - "level": "error" - } - }, - { - "name": "endpoints.trace.id", - "type": "java.lang.String", - "description": "Endpoint identifier. With HTTP monitoring the identifier of the endpoint is mapped\n to a URL (e.g. 'foo' is mapped to '/foo').", - "deprecation": { - "reason": "Endpoint identifier is no longer customizable.", - "level": "error" - } - }, - { - "name": "endpoints.trace.path", - "type": "java.lang.String", - "description": "Endpoint URL path.", - "deprecation": { - "replacement": "management.endpoints.web.path-mapping.httptrace", - "level": "error" - } - }, - { - "name": "endpoints.trace.sensitive", - "type": "java.lang.Boolean", - "description": "Mark if the endpoint exposes sensitive information.", - "deprecation": { - "reason": "Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration\n. Create or adapt your security configuration accordingly.", - "level": "error" - } - }, { "name": "info", "type": "java.util.Map", "description": "Arbitrary properties to add to the info endpoint." }, - { - "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.endpoint.jolokia.config", - "level": "error" - } - }, - { - "name": "management.add-application-context-header", - "type": "java.lang.Boolean", - "description": "Add the \"X-Application-Context\" HTTP header in each response.", - "defaultValue": true, - "deprecation": { - "replacement": "management.server.add-application-context-header", - "level": "error" - } - }, - { - "name": "management.address", - "type": "java.net.InetAddress", - "description": "Network address that the management endpoints should bind to.", - "deprecation": { - "replacement": "management.server.address", - "level": "error" - } - }, { "name": "management.auditevents.enabled", "type": "java.lang.Boolean", @@ -913,16 +23,6 @@ "description": "Whether to skip SSL verification for Cloud Foundry actuator endpoint security calls.", "defaultValue": false }, - { - "name": "management.context-path", - "type": "java.lang.String", - "description": "Management endpoint context-path.", - "defaultValue": "", - "deprecation": { - "replacement": "management.server.servlet.context-path", - "level": "error" - } - }, { "name": "management.endpoint.configprops.keys-to-sanitize", "defaultValue": [ @@ -1443,43 +543,6 @@ "level": "error" } }, - { - "name": "management.port", - "type": "java.lang.Integer", - "description": "Management endpoint HTTP port. Use the same port as the application by default.", - "deprecation": { - "replacement": "management.server.port", - "level": "error" - } - }, - { - "name": "management.security.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable security.", - "defaultValue": true, - "deprecation": { - "reason": "A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.", - "level": "error" - } - }, - { - "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" - } - }, - { - "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" - } - }, { "name": "management.server.add-application-context-header", "type": "java.lang.Boolean", @@ -1548,313 +611,6 @@ "name": "management.server.ssl.trust-store-type", "description": "Type of the trust store." }, - { - "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.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.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.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.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.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": "Whether to enable CRaSH SSH support.", - "defaultValue": true, - "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.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.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": "Whether to enable CRaSH telnet support. Enabled by default if the TelnetPlugin is 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" - } - }, - { - "name": "management.ssl.ciphers", - "type": "java.lang.String[]", - "deprecation": { - "replacement": "management.server.ssl.ciphers", - "level": "error" - } - }, - { - "name": "management.ssl.client-auth", - "deprecation": { - "replacement": "management.server.ssl.client-auth", - "level": "error" - } - }, - { - "name": "management.ssl.enabled", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "management.server.ssl.enabled", - "level": "error" - } - }, - { - "name": "management.ssl.enabled-protocols", - "type": "java.lang.String[]", - "deprecation": { - "replacement": "management.server.ssl.enabled-protocols", - "level": "error" - } - }, - { - "name": "management.ssl.key-alias", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-alias", - "level": "error" - } - }, - { - "name": "management.ssl.key-password", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-password", - "level": "error" - } - }, - { - "name": "management.ssl.key-store", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-store", - "level": "error" - } - }, - { - "name": "management.ssl.key-store-password", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-store-password", - "level": "error" - } - }, - { - "name": "management.ssl.key-store-provider", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-store-provider", - "level": "error" - } - }, - { - "name": "management.ssl.key-store-type", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.key-store-type", - "level": "error" - } - }, - { - "name": "management.ssl.protocol", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.protocol", - "level": "error" - } - }, - { - "name": "management.ssl.trust-store", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.trust-store", - "level": "error" - } - }, - { - "name": "management.ssl.trust-store-password", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.trust-store-password", - "level": "error" - } - }, - { - "name": "management.ssl.trust-store-provider", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.trust-store-provider", - "level": "error" - } - }, - { - "name": "management.ssl.trust-store-type", - "type": "java.lang.String", - "deprecation": { - "replacement": "management.server.ssl.trust-store-type", - "level": "error" - } - }, { "name": "management.trace.http.enabled", "type": "java.lang.Boolean", @@ -1876,128 +632,6 @@ "replacement": "management.trace.http.include", "level": "error" } - }, - { - "name": "spring.metrics.export.aggregate.key-pattern", - "type": "java.lang.String", - "description": "Pattern that tells the aggregator what to do with the keys from the source\n repository. The keys in the source repository are assumed to be period\n separated, and the pattern is in the same format, e.g. \"d.d.k.d\". Here \"d\"\n means \"discard\" and \"k\" means \"keep\" the key segment in the corresponding\n position in the source.", - "defaultValue": "", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.aggregate.prefix", - "type": "java.lang.String", - "description": "Prefix for global repository if active. Should be unique for this JVM, but most\n useful if it also has the form \"a.b\" where \"a\" is unique to this logical\n process (this application) and \"b\" is unique to this physical process. If you\n set spring.application.name elsewhere, then the default will be in the right\n form.", - "defaultValue": "", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.delay-millis", - "type": "java.lang.Long", - "description": "Delay in milliseconds between export ticks. Metrics are exported to external\n sources on a schedule with this delay.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.enabled", - "type": "java.lang.Boolean", - "description": "Flag to enable metric export (assuming a MetricWriter is available).", - "defaultValue": true, - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.excludes", - "type": "java.lang.String[]", - "description": "List of patterns for metric names to exclude. Applied after the includes.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.includes", - "type": "java.lang.String[]", - "description": "List of patterns for metric names to include.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.redis.key", - "type": "java.lang.String", - "description": "Key for redis repository export (if active). Should be globally unique for a\n system sharing a redis repository across multiple processes.", - "defaultValue": "keys.spring.metrics", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.redis.prefix", - "type": "java.lang.String", - "description": "Prefix for redis repository if active. Should be globally unique across all\n processes sharing the same repository.", - "defaultValue": "spring.metrics", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.send-latest", - "type": "java.lang.Boolean", - "description": "Flag to switch off any available optimizations based on not exporting unchanged\n metric values.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.statsd.host", - "type": "java.lang.String", - "description": "Host of a statsd server to receive exported metrics.", - "deprecation": { - "replacement": "management.metrics.export.statsd.host", - "level": "error" - } - }, - { - "name": "spring.metrics.export.statsd.port", - "type": "java.lang.Integer", - "description": "Port of a statsd server to receive exported metrics.", - "defaultValue": 8125, - "deprecation": { - "replacement": "management.metrics.export.statsd.port", - "level": "error" - } - }, - { - "name": "spring.metrics.export.statsd.prefix", - "type": "java.lang.String", - "description": "Prefix for statsd exported metrics.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } - }, - { - "name": "spring.metrics.export.triggers", - "description": "Specific trigger properties per MetricWriter bean name.", - "deprecation": { - "reason": "Metrics support is now using Micrometer.", - "level": "error" - } } ], "hints": [ diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6c86bc2b517..4979e811881 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1,534 +1,5 @@ { "properties": [ - { - "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-version", - "type": "org.flywaydb.core.api.MigrationVersion", - "deprecation": { - "replacement": "spring.flyway.baseline-version", - "level": "error" - } - }, - { - "name": "flyway.check-location", - "type": "java.lang.Boolean", - "description": "Check that migration scripts location exists.", - "defaultValue": false, - "deprecation": { - "replacement": "spring.flyway.check-location", - "level": "error" - } - }, - { - "name": "flyway.clean-on-validation-error", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "spring.flyway.clean-on-validation-error", - "level": "error" - } - }, - { - "name": "flyway.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable flyway.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.flyway.enabled", - "level": "error" - } - }, - { - "name": "flyway.encoding", - "type": "java.nio.charset.Charset", - "description": "Encoding of SQL migrations.", - "deprecation": { - "replacement": "spring.flyway.encoding", - "level": "error" - } - }, - { - "name": "flyway.init-description", - "type": "java.lang.String", - "deprecation": { - "level": "error" - } - }, - { - "name": "flyway.init-on-migrate", - "type": "java.lang.Boolean", - "deprecation": { - "level": "error" - } - }, - { - "name": "flyway.init-sqls", - "type": "java.util.List", - "description": "SQL statements to execute to initialize a connection immediately after obtaining\n it.", - "deprecation": { - "replacement": "spring.flyway.init-sqls", - "level": "error" - } - }, - { - "name": "flyway.init-version", - "type": "org.flywaydb.core.api.MigrationVersion", - "deprecation": { - "level": "error" - } - }, - { - "name": "flyway.locations", - "type": "java.util.List", - "description": "Locations of migrations scripts. Can contain the special \"{vendor}\" placeholder to\n use vendor-specific locations.", - "deprecation": { - "replacement": "spring.flyway.locations", - "level": "error" - } - }, - { - "name": "flyway.out-of-order", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "spring.flyway.out-of-order", - "level": "error" - } - }, - { - "name": "flyway.password", - "type": "java.lang.String", - "description": "Login password of the database to migrate.", - "deprecation": { - "replacement": "spring.flyway.password", - "level": "error" - } - }, - { - "name": "flyway.placeholder-prefix", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.placeholder-prefix", - "level": "error" - } - }, - { - "name": "flyway.placeholder-replacement", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "spring.flyway.placeholder-replacement", - "level": "error" - } - }, - { - "name": "flyway.placeholder-suffix", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.placeholder-suffix", - "level": "error" - } - }, - { - "name": "flyway.placeholders", - "type": "java.util.Map", - "deprecation": { - "replacement": "spring.flyway.placeholders", - "level": "error" - } - }, - { - "name": "flyway.schemas", - "type": "java.lang.String[]", - "deprecation": { - "replacement": "spring.flyway.schemas", - "level": "error" - } - }, - { - "name": "flyway.sql-migration-prefix", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.sql-migration-prefix", - "level": "error" - } - }, - { - "name": "flyway.sql-migration-separator", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.sql-migration-separator", - "level": "error" - } - }, - { - "name": "flyway.sql-migration-suffix", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.sql-migration-suffixes", - "level": "error" - } - }, - { - "name": "flyway.table", - "type": "java.lang.String", - "deprecation": { - "replacement": "spring.flyway.table", - "level": "error" - } - }, - { - "name": "flyway.target", - "type": "org.flywaydb.core.api.MigrationVersion", - "deprecation": { - "replacement": "spring.flyway.target", - "level": "error" - } - }, - { - "name": "flyway.url", - "type": "java.lang.String", - "description": "JDBC url of the database to migrate. If not set, the primary configured data source\n is used.", - "deprecation": { - "replacement": "spring.flyway.url", - "level": "error" - } - }, - { - "name": "flyway.user", - "type": "java.lang.String", - "description": "Login user of the database to migrate.", - "deprecation": { - "replacement": "spring.flyway.user", - "level": "error" - } - }, - { - "name": "flyway.validate-on-migrate", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "spring.flyway.validate-on-migrate", - "level": "error" - } - }, - { - "name": "liquibase.change-log", - "type": "java.lang.String", - "description": "Change log configuration path.", - "defaultValue": "classpath:/db/changelog/db.changelog-master.yaml", - "deprecation": { - "replacement": "spring.liquibase.change-log", - "level": "error" - } - }, - { - "name": "liquibase.check-change-log-location", - "type": "java.lang.Boolean", - "description": "Check the change log location exists.", - "defaultValue": true, - "deprecation": { - "reason": "Liquibase has its own check that checks if the change log location exists making this property redundant.", - "level": "error" - } - }, - { - "name": "liquibase.contexts", - "type": "java.lang.String", - "description": "Comma-separated list of runtime contexts to use.", - "deprecation": { - "replacement": "spring.liquibase.contexts", - "level": "error" - } - }, - { - "name": "liquibase.default-schema", - "type": "java.lang.String", - "description": "Default database schema.", - "deprecation": { - "replacement": "spring.liquibase.default-schema", - "level": "error" - } - }, - { - "name": "liquibase.drop-first", - "type": "java.lang.Boolean", - "description": "Drop the database schema first.", - "defaultValue": false, - "deprecation": { - "replacement": "spring.liquibase.drop-first", - "level": "error" - } - }, - { - "name": "liquibase.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable liquibase support.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.liquibase.enabled", - "level": "error" - } - }, - { - "name": "liquibase.labels", - "type": "java.lang.String", - "description": "Comma-separated list of runtime labels to use.", - "deprecation": { - "replacement": "spring.liquibase.labels", - "level": "error" - } - }, - { - "name": "liquibase.parameters", - "type": "java.util.Map", - "description": "Change log parameters.", - "deprecation": { - "replacement": "spring.liquibase.parameters", - "level": "error" - } - }, - { - "name": "liquibase.password", - "type": "java.lang.String", - "description": "Login password of the database to migrate.", - "deprecation": { - "replacement": "spring.liquibase.password", - "level": "error" - } - }, - { - "name": "liquibase.rollback-file", - "type": "java.io.File", - "description": "File to which rollback SQL will be written when an update is performed.", - "deprecation": { - "replacement": "spring.liquibase.rollback-file", - "level": "error" - } - }, - { - "name": "liquibase.url", - "type": "java.lang.String", - "description": "JDBC url of the database to migrate. If not set, the primary configured data source\n is used.", - "deprecation": { - "replacement": "spring.liquibase.url", - "level": "error" - } - }, - { - "name": "liquibase.user", - "type": "java.lang.String", - "description": "Login user of the database to migrate.", - "deprecation": { - "replacement": "spring.liquibase.user", - "level": "error" - } - }, - { - "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" - } - }, - { - "name": "security.basic.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable basic authentication.", - "defaultValue": true, - "deprecation": { - "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", - "level": "error" - } - }, - { - "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" - } - }, - { - "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" - } - }, - { - "name": "security.enable-csrf", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "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.headers.cache", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "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" - } - }, - { - "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" - } - }, - { - "name": "security.headers.content-type", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "name": "security.headers.frame", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "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" - } - }, - { - "name": "security.headers.xss", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "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" - } - }, - { - "name": "security.require-ssl", - "type": "java.lang.Boolean", - "description": "Whether to 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" - } - }, - { - "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" - } - }, - { - "name": "security.user.name", - "type": "java.lang.String", - "description": "Default user name.", - "defaultValue": "user", - "deprecation": { - "replacement": "spring.security.user.name", - "level": "error" - } - }, - { - "name": "security.user.password", - "type": "java.lang.String", - "description": "Password for the default user name.", - "deprecation": { - "replacement": "spring.security.user.password", - "level": "error" - } - }, - { - "name": "security.user.role", - "type": "java.util.List", - "description": "Granted roles for the default user name.", - "deprecation": { - "replacement": "spring.security.user.roles", - "level": "error" - } - }, { "name": "server.compression.enabled", "description": "Whether response compression is enabled.", @@ -565,34 +36,6 @@ "level": "error" } }, - { - "name": "server.context-parameters", - "type": "java.util.Map", - "description": "ServletContext parameters.", - "deprecation": { - "replacement": "server.servlet.context-parameters", - "level": "error" - } - }, - { - "name": "server.context-path", - "type": "java.lang.String", - "description": "Context path of the application.", - "deprecation": { - "replacement": "server.servlet.context-path", - "level": "error" - } - }, - { - "name": "server.display-name", - "type": "java.lang.String", - "description": "Display name of the application.", - "defaultValue": "application", - "deprecation": { - "replacement": "server.servlet.application-display-name", - "level": "error" - } - }, { "name": "server.error.include-details", "defaultValue": "never" @@ -667,30 +110,6 @@ "level": "error" } }, - { - "name": "server.jsp-servlet.class-name", - "type": "java.lang.String", - "deprecation": { - "replacement": "server.servlet.jsp.class-name", - "level": "error" - } - }, - { - "name": "server.jsp-servlet.init-parameters", - "type": "java.util.Map", - "deprecation": { - "replacement": "server.servlet.jsp.init-parameters", - "level": "error" - } - }, - { - "name": "server.jsp-servlet.registered", - "type": "java.lang.Boolean", - "deprecation": { - "replacement": "server.servlet.jsp.registered", - "level": "error" - } - }, { "name": "server.max-http-post-size", "type": "java.lang.Integer", @@ -705,16 +124,6 @@ "name": "server.port", "defaultValue": 8080 }, - { - "name": "server.servlet-path", - "type": "java.lang.String", - "description": "Path of the main dispatcher servlet.", - "defaultValue": "/", - "deprecation": { - "replacement": "spring.mvc.servlet.path", - "level": "error" - } - }, { "name": "server.servlet.encoding.enabled", "type": "java.lang.Boolean", @@ -791,106 +200,6 @@ "name": "server.servlet.session.tracking-modes", "description": "Session tracking modes." }, - { - "name": "server.session.cookie.comment", - "type": "java.lang.String", - "description": "Comment for the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.comment", - "level": "error" - } - }, - { - "name": "server.session.cookie.domain", - "type": "java.lang.String", - "description": "Domain for the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.domain", - "level": "error" - } - }, - { - "name": "server.session.cookie.http-only", - "type": "java.lang.Boolean", - "description": "\"HttpOnly\" flag for the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.http-only", - "level": "error" - } - }, - { - "name": "server.session.cookie.max-age", - "type": "java.time.Duration", - "description": "Maximum age of the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.max-age", - "level": "error" - } - }, - { - "name": "server.session.cookie.name", - "type": "java.lang.String", - "description": "Session cookie name.", - "deprecation": { - "replacement": "server.servlet.session.cookie.name", - "level": "error" - } - }, - { - "name": "server.session.cookie.path", - "type": "java.lang.String", - "description": "Path of the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.path", - "level": "error" - } - }, - { - "name": "server.session.cookie.secure", - "type": "java.lang.Boolean", - "description": "\"Secure\" flag for the session cookie.", - "deprecation": { - "replacement": "server.servlet.session.cookie.secure", - "level": "error" - } - }, - { - "name": "server.session.persistent", - "type": "java.lang.Boolean", - "description": "Whether to persist session data between restarts.", - "defaultValue": false, - "deprecation": { - "replacement": "server.servlet.session.persistent", - "level": "error" - } - }, - { - "name": "server.session.store-dir", - "type": "java.io.File", - "description": "Directory used to store session data.", - "deprecation": { - "replacement": "server.servlet.session.store-dir", - "level": "error" - } - }, - { - "name": "server.session.timeout", - "type": "java.time.Duration", - "description": "Session timeout. If a duration suffix is not specified, seconds will be used.", - "deprecation": { - "replacement": "server.servlet.session.timeout", - "level": "error" - } - }, - { - "name": "server.session.tracking-modes", - "type": "java.util.Set", - "description": "Session tracking modes (one or more of the following: \"cookie\", \"url\", \"ssl\").", - "deprecation": { - "replacement": "server.servlet.session.tracking-modes", - "level": "error" - } - }, { "name": "server.ssl.ciphers", "description": "Supported SSL ciphers." @@ -1186,15 +495,6 @@ "name": "spring.data.cassandra.compression", "defaultValue": "none" }, - { - "name": "spring.data.cassandra.connect-timeout-millis", - "type": "java.lang.Integer", - "description": "Socket option: connection time out.", - "deprecation": { - "replacement": "spring.data.cassandra.connect-timeout", - "level": "error" - } - }, { "name": "spring.data.cassandra.contact-points", "defaultValue": [ @@ -1244,15 +544,6 @@ "level": "error" } }, - { - "name": "spring.data.cassandra.read-timeout-millis", - "type": "java.lang.Integer", - "description": "Socket option: read time out.", - "deprecation": { - "replacement": "spring.data.cassandra.read-timeout", - "level": "error" - } - }, { "name": "spring.data.cassandra.reconnection-policy", "type": "java.lang.Class", @@ -1261,16 +552,6 @@ "level": "error" } }, - { - "name": "spring.data.cassandra.repositories.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable Cassandra repositories.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.data.cassandra.repositories.type", - "level": "error" - } - }, { "name": "spring.data.cassandra.repositories.type", "type": "org.springframework.boot.autoconfigure.data.RepositoryType", @@ -1296,16 +577,6 @@ "level": "error" } }, - { - "name": "spring.data.couchbase.repositories.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable Couchbase repositories.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.data.couchbase.repositories.type", - "level": "error" - } - }, { "name": "spring.data.couchbase.repositories.type", "type": "org.springframework.boot.autoconfigure.data.RepositoryType", @@ -1366,16 +637,6 @@ "description": "Whether to enable LDAP repositories.", "defaultValue": true }, - { - "name": "spring.data.mongodb.repositories.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable Mongo repositories.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.data.mongodb.repositories.type", - "level": "error" - } - }, { "name": "spring.data.mongodb.repositories.type", "type": "org.springframework.boot.autoconfigure.data.RepositoryType", @@ -1394,15 +655,6 @@ "name": "spring.data.neo4j.auto-index", "defaultValue": "none" }, - { - "name": "spring.data.neo4j.compiler", - "type": "java.lang.String", - "description": "Compiler to use.", - "deprecation": { - "reason": "Not supported anymore as of Neo4j 3.", - "level": "error" - } - }, { "name": "spring.data.neo4j.open-in-view", "type": "java.lang.Boolean", @@ -1441,14 +693,6 @@ "name": "spring.datasource.initialization-mode", "defaultValue": "embedded" }, - { - "name": "spring.datasource.initialize", - "defaultValue": true, - "deprecation": { - "replacement": "spring.datasource.initialization-mode", - "level": "error" - } - }, { "name": "spring.datasource.jmx-enabled", "type": "java.lang.Boolean", @@ -1678,65 +922,6 @@ "level": "error" } }, - { - "name": "spring.http.multipart.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable support of multipart uploads.", - "defaultValue": true, - "deprecation": { - "replacement": "spring.servlet.multipart.enabled", - "level": "error" - } - }, - { - "name": "spring.http.multipart.file-size-threshold", - "type": "java.lang.String", - "description": "Threshold after which files will be written to disk. Values can use the suffixes\n \"MB\" or \"KB\" to indicate megabytes or kilobytes respectively.", - "defaultValue": "0", - "deprecation": { - "replacement": "spring.servlet.multipart.file-size-threshold", - "level": "error" - } - }, - { - "name": "spring.http.multipart.location", - "type": "java.lang.String", - "description": "Intermediate location of uploaded files.", - "deprecation": { - "replacement": "spring.servlet.multipart.location", - "level": "error" - } - }, - { - "name": "spring.http.multipart.max-file-size", - "type": "java.lang.String", - "description": "Max file size. Values can use the suffixes \"MB\" or \"KB\" to indicate megabytes or\n kilobytes respectively.", - "defaultValue": "1MB", - "deprecation": { - "replacement": "spring.servlet.multipart.max-file-size", - "level": "error" - } - }, - { - "name": "spring.http.multipart.max-request-size", - "type": "java.lang.String", - "description": "Max request size. Values can use the suffixes \"MB\" or \"KB\" to indicate megabytes or\n kilobytes respectively.", - "defaultValue": "10MB", - "deprecation": { - "replacement": "spring.servlet.multipart.max-request-size", - "level": "error" - } - }, - { - "name": "spring.http.multipart.resolve-lazily", - "type": "java.lang.Boolean", - "description": "Whether to resolve the multipart request lazily at the time of file or parameter\n access.", - "defaultValue": false, - "deprecation": { - "replacement": "spring.servlet.multipart.resolve-lazily", - "level": "error" - } - }, { "name": "spring.info.build.location", "defaultValue": "classpath:META-INF/build-info.properties" @@ -1784,15 +969,6 @@ "description": "Whether unique runtime object names should be ensured.", "defaultValue": false }, - { - "name": "spring.jpa.hibernate.naming.strategy", - "type": "java.lang.String", - "description": "Hibernate 4 naming strategy fully qualified name. Not supported with Hibernate\n 5.", - "deprecation": { - "reason": "Auto-configuration for Hibernate 4 is no longer provided.", - "level": "error" - } - }, { "name": "spring.jpa.open-in-view", "defaultValue": true @@ -2218,15 +1394,6 @@ "type": "java.lang.Boolean", "defaultValue": false }, - { - "name": "spring.messages.cache-seconds", - "type": "java.lang.Integer", - "description": "Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.", - "deprecation": { - "replacement": "spring.messages.cache-duration", - "level": "error" - } - }, { "name": "spring.mongodb.embedded.features", "defaultValue": [ @@ -2280,15 +1447,6 @@ "name": "spring.mvc.locale-resolver", "defaultValue": "accept-header" }, - { - "name": "spring.mvc.media-types", - "type": "java.util.Map", - "description": "Maps file extensions to media types for content negotiation, e.g. yml to text/yaml.", - "deprecation": { - "replacement": "spring.mvc.contentnegotiation.media-types", - "level": "error" - } - }, { "name": "spring.quartz.jdbc.comment-prefix", "defaultValue": [ @@ -2357,55 +1515,6 @@ "replacement": "spring.reactor.debug-agent.enabled" } }, - { - "name": "spring.redis.pool.max-active", - "type": "java.lang.Integer", - "description": "Max number of connections that can be allocated by the pool at a given time.\n Use a negative value for no limit.", - "defaultValue": 8, - "deprecation": { - "replacement": "spring.redis.jedis.pool.max-idle", - "level": "error" - } - }, - { - "name": "spring.redis.pool.max-idle", - "type": "java.lang.Integer", - "description": "Max number of \"idle\" connections in the pool. Use a negative value to indicate\n an unlimited number of idle connections.", - "defaultValue": 8, - "deprecation": { - "replacement": "spring.redis.jedis.pool.max-idle", - "level": "error" - } - }, - { - "name": "spring.redis.pool.max-wait", - "type": "java.lang.Integer", - "description": "Maximum amount of time (in milliseconds) a connection allocation should block\n before throwing an exception when the pool is exhausted. Use a negative value\n to block indefinitely.", - "defaultValue": -1, - "deprecation": { - "replacement": "spring.redis.jedis.pool.max-wait", - "level": "error" - } - }, - { - "name": "spring.redis.pool.min-idle", - "type": "java.lang.Integer", - "description": "Target for the minimum number of idle connections to maintain in the pool. This\n setting only has an effect if it is positive.", - "defaultValue": 0, - "deprecation": { - "replacement": "spring.redis.jedis.pool.min-idle", - "level": "error" - } - }, - { - "name": "spring.resources.cache-period", - "type": "java.lang.Integer", - "description": "Cache period for the resources served by the resource handler. If a duration suffix is not specified, seconds will be used.", - "deprecation": { - "replacement": "spring.resources.cache.period", - "level": "error" - } - }, { "name": "spring.resources.chain.gzipped", "type": "java.lang.Boolean", @@ -2431,24 +1540,6 @@ "name": "spring.security.filter.order", "defaultValue": -100 }, - { - "name": "spring.sendgrid.password", - "type": "java.lang.String", - "description": "SendGrid password.", - "deprecation": { - "reason": "The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).", - "level": "error" - } - }, - { - "name": "spring.sendgrid.username", - "type": "java.lang.String", - "description": "SendGrid username. Alternative to api key.", - "deprecation": { - "reason": "The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).", - "level": "error" - } - }, { "name": "spring.session.hazelcast.flush-mode", "defaultValue": "on-save" @@ -2465,29 +1556,10 @@ "name": "spring.session.jdbc.initialize-schema", "defaultValue": "embedded" }, - { - "name": "spring.session.jdbc.initializer.enabled", - "type": "java.lang.Boolean", - "description": "Create the required session tables on startup if necessary. Enabled\n automatically if the default table name is set or a custom schema is\n configured.", - "deprecation": { - "replacement": "spring.session.jdbc.initialize-schema", - "level": "error" - } - }, { "name": "spring.session.jdbc.save-mode", "defaultValue": "on-set-attribute" }, - { - "name": "spring.session.mongo.collection-name", - "type": "java.lang.String", - "description": "Collection name used to store sessions.", - "defaultValue": "sessions", - "deprecation": { - "replacement": "spring.session.mongodb.collection-name", - "level": "error" - } - }, { "name": "spring.session.redis.configure-action", "defaultValue": "notify-keyspace-events" @@ -2508,16 +1580,6 @@ "request" ] }, - { - "name": "spring.thymeleaf.content-type", - "type": "org.springframework.util.MimeType", - "description": "Content-Type value.", - "defaultValue": "text/html", - "deprecation": { - "replacement": "spring.thymeleaf.servlet.content-type", - "level": "error" - } - }, { "name": "spring.thymeleaf.prefix", "defaultValue": "classpath:/templates/" diff --git a/spring-boot-project/spring-boot-devtools/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-devtools/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 00eef710482..78be077d778 100644 --- a/spring-boot-project/spring-boot-devtools/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-devtools/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,26 +5,6 @@ "type": "java.lang.Boolean", "description": "Whether to enable development property defaults.", "defaultValue": true - }, - { - "name": "spring.devtools.remote.debug.enabled", - "type": "java.lang.Boolean", - "description": "Enable remote debug support.", - "defaultValue": true, - "deprecation": { - "reason": "Remote debug is no longer supported.", - "level": "error" - } - }, - { - "name": "spring.devtools.remote.debug.local-port", - "type": "java.lang.Integer", - "description": "Local remote debug server port.", - "defaultValue": 8000, - "deprecation": { - "reason": "Remote debug is no longer supported.", - "level": "error" - } } ] } diff --git a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index f7c4b2b6c21..b47a485b90b 100644 --- a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,73 +6,6 @@ } ], "properties": [ - { - "name": "banner.charset", - "type": "java.nio.charset.Charset", - "description": "Banner file encoding.", - "defaultValue": "UTF-8", - "deprecation": { - "replacement": "spring.banner.charset", - "level": "error" - } - }, - { - "name": "banner.image.height", - "type": "java.lang.Integer", - "description": "Banner image height (in chars).", - "deprecation": { - "replacement": "spring.banner.image.height", - "level": "error" - } - }, - { - "name": "banner.image.invert", - "type": "java.lang.Boolean", - "description": "Invert images for dark console themes.", - "defaultValue": false, - "deprecation": { - "replacement": "spring.banner.image.invert", - "level": "error" - } - }, - { - "name": "banner.image.location", - "type": "org.springframework.core.io.Resource", - "description": "Banner image file location (jpg/png can also be used).", - "defaultValue": "banner.gif", - "deprecation": { - "replacement": "spring.banner.image.location", - "level": "error" - } - }, - { - "name": "banner.image.margin", - "type": "java.lang.Integer", - "description": "Left hand image margin (in chars).", - "deprecation": { - "replacement": "spring.banner.image.margin", - "level": "error" - } - }, - { - "name": "banner.image.width", - "type": "java.lang.Integer", - "description": "Banner image width (in chars).", - "deprecation": { - "replacement": "spring.banner.image.width", - "level": "error" - } - }, - { - "name": "banner.location", - "type": "org.springframework.core.io.Resource", - "description": "Banner text resource location.", - "defaultValue": "classpath:banner.txt", - "deprecation": { - "replacement": "spring.banner.location", - "level": "error" - } - }, { "name": "debug", "type": "java.lang.Boolean",