You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.
Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.
This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.
Closesgh-14669
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
+62Lines changed: 62 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -279,6 +279,68 @@
279
279
"level": "error"
280
280
}
281
281
},
282
+
{
283
+
"name": "management.server.ssl.ciphers",
284
+
"description": "Supported SSL ciphers."
285
+
},
286
+
{
287
+
"name": "management.server.ssl.client-auth",
288
+
"description": "Whether client authentication is wanted (\"want\") or needed (\"need\"). Requires a trust store."
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
+155Lines changed: 155 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,169 @@
29
29
"level": "error"
30
30
}
31
31
},
32
+
{
33
+
"name": "server.compression.enabled",
34
+
"description": "Whether response compression is enabled.",
"description": "Comma-separated list of user agents for which responses should not be compressed."
40
+
},
41
+
{
42
+
"name": "server.compression.mime-types",
43
+
"description": "Comma-separated list of MIME types that should be compressed.",
44
+
"defaultValue": [
45
+
"text/html",
46
+
"text/xml",
47
+
"text/plain",
48
+
"text/css",
49
+
"text/javascript",
50
+
"application/javascript",
51
+
"application/json",
52
+
"application/xml"
53
+
]
54
+
},
55
+
{
56
+
"name": "server.compression.min-response-size",
57
+
"description": "Minimum \"Content-Length\" value that is required for compression to be performed.",
58
+
"defaultValue": 2048
59
+
},
32
60
{
33
61
"name": "server.error.include-stacktrace",
34
62
"defaultValue": "never"
35
63
},
64
+
{
65
+
"name": "server.http2.enabled",
66
+
"description": "Whether to enable HTTP/2 support, if the current environment supports it.",
67
+
"defaultValue": false
68
+
},
36
69
{
37
70
"name": "server.port",
38
71
"defaultValue": 8080
39
72
},
73
+
{
74
+
"name": "server.servlet.jsp.class-name",
75
+
"description": "Class name of the servlet to use for JSPs. If registered is true and this class\n\t * is on the classpath then it will be registered.",
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,8 @@ content into your application. Rather, pick only the properties that you need.
166
166
# EMBEDDED SERVER CONFIGURATION ({sc-spring-boot-autoconfigure}/web/ServerProperties.{sc-ext}[ServerProperties])
167
167
server.address= # Network address to which the server should bind.
168
168
server.compression.enabled=false # Whether response compression is enabled.
169
-
server.compression.excluded-user-agents= # List of user-agents to exclude from compression.
170
-
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # Comma-separated list of MIME types that should be compressed.
169
+
server.compression.excluded-user-agents= # Comma-separated list of useragents for which responses should not be compressed.
170
+
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml # Comma-separated list of MIME types that should be compressed.
171
171
server.compression.min-response-size=2048 # Minimum "Content-Length" value that is required for compression to be performed.
172
172
server.connection-timeout= # Time that connectors wait for another HTTP request before closing the connection. When not set, the connector's container-specific default is used. Use a value of -1 to indicate no (that is, an infinite) timeout.
173
173
server.error.include-exception=false # Include the "exception" attribute.
@@ -197,24 +197,24 @@ content into your application. Rather, pick only the properties that you need.
server.ssl.key-alias= # Alias that identifies the key in the key store.
220
220
server.ssl.key-password= # Password used to access the key in the key store.
@@ -1148,21 +1148,21 @@ content into your application. Rather, pick only the properties that you need.
1148
1148
management.server.address= # Network address to which the management endpoints should bind. Requires a custom management.server.port.
1149
1149
management.server.port= # Management endpoint HTTP port (uses the same port as the application by default). Configure a different port to use management-specific SSL.
management.server.ssl.ciphers= # Supported SSL ciphers. Requires a custom management.port.
1152
-
management.server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store. Requires a custom management.server.port.
1153
-
management.server.ssl.enabled= # Whether to enable SSL support. Requires a custom management.server.port.
1154
-
management.server.ssl.enabled-protocols= # Enabled SSL protocols. Requires a custom management.server.port.
1155
-
management.server.ssl.key-alias= # Alias that identifies the key in the key store. Requires a custom management.server.port.
1156
-
management.server.ssl.key-password= # Password used to access the key in the key store. Requires a custom management.server.port.
1157
-
management.server.ssl.key-store= # Path to the key store that holds the SSL certificate (typically a jks file). Requires a custom management.server.port.
1158
-
management.server.ssl.key-store-password= # Password used to access the key store. Requires a custom management.server.port.
1159
-
management.server.ssl.key-store-provider= # Provider for the key store. Requires a custom management.server.port.
1160
-
management.server.ssl.key-store-type= # Type of the key store. Requires a custom management.server.port.
1161
-
management.server.ssl.protocol=TLS # SSL protocol to use. Requires a custom management.server.port.
1162
-
management.server.ssl.trust-store= # Trust store that holds SSL certificates. Requires a custom management.server.port.
1163
-
management.server.ssl.trust-store-password= # Password used to access the trust store. Requires a custom management.server.port.
1164
-
management.server.ssl.trust-store-provider= # Provider for the trust store. Requires a custom management.server.port.
1165
-
management.server.ssl.trust-store-type= # Type of the trust store. Requires a custom management.server.port.
0 commit comments