From 0a5f064d393bd8ab23c1e43a724d3cb17d49e513 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 23 Nov 2017 16:11:48 +0100 Subject: [PATCH] Improve error metadata for Autoconfigure module --- ...itional-spring-configuration-metadata.json | 102 +++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) 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 e95dc8c9bb..a55d5043ed 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 @@ -1140,12 +1140,102 @@ { "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", + "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.mobile.devicedelegatingviewresolver.enabled", + "type": "java.lang.Boolean", + "description": "Enable device view resolver.", + "defaultValue": false, + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.enable-fallback", + "type": "java.lang.Boolean", + "description": "Enable support for fallback resolution.", + "defaultValue": false, + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.mobile-prefix", + "type": "java.lang.String", + "description": "Prefix that gets prepended to view names for mobile devices.", + "defaultValue": "mobile/", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.mobile-suffix", + "type": "java.lang.String", + "description": "Suffix that gets appended to view names for mobile devices.", + "defaultValue": "", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.normal-prefix", + "type": "java.lang.String", + "description": "Prefix that gets prepended to view names for normal devices.", + "defaultValue": "", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.normal-suffix", + "type": "java.lang.String", + "description": "Suffix that gets appended to view names for normal devices.", + "defaultValue": "", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.tablet-prefix", + "type": "java.lang.String", + "description": "Prefix that gets prepended to view names for tablet devices.", + "defaultValue": "tablet/", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.devicedelegatingviewresolver.tablet-suffix", + "type": "java.lang.String", + "description": "Suffix that gets appended to view names for tablet devices.", + "defaultValue": "", + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, + { + "name": "spring.mobile.sitepreference.enabled", + "type": "java.lang.Boolean", + "description": "Enable SitePreferenceHandler.", + "defaultValue": true, + "deprecation": { + "reason": "Spring Mobile support is no longer available.", + "level": "error" + } + }, { "name": "spring.redis.pool.max-active", "type": "java.lang.Integer", @@ -1222,6 +1312,16 @@ "level": "error" } }, + { + "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.thymeleaf.content-type", "type": "org.springframework.util.MimeType",