Skip to content

Commit c0f9c2f

Browse files
committed
Add missing additional configuration metadata and fix type of defaultValue
And move `spring.cloud.refresh.enabled` to `spring-cloud-context`. Signed-off-by: Yanming Zhou <[email protected]>
1 parent 7e1cbf8 commit c0f9c2f

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

spring-cloud-commons/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
{
22
"properties": [
3-
{
4-
"defaultValue": "true",
5-
"name": "spring.cloud.refresh.enabled",
6-
"description": "Enables autoconfiguration for the refresh scope and associated features.",
7-
"type": "java.lang.Boolean"
8-
},
93
{
104
"defaultValue": true,
115
"name": "spring.cloud.httpclientfactories.apache.enabled",
126
"description": "Enables creation of Apache Http Client factory beans.",
137
"type": "java.lang.Boolean"
148
},
159
{
16-
"defaultValue": "true",
10+
"defaultValue": true,
1711
"name": "spring.cloud.httpclientfactories.ok.enabled",
1812
"description": "Enables creation of OK Http Client factory beans.",
1913
"type": "java.lang.Boolean"

spring-cloud-context/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,24 @@
3636
"description": "Enable the /resume endpoint (to send Lifecycle.start()).",
3737
"defaultValue": true
3838
},
39+
{
40+
"defaultValue": true,
41+
"name": "spring.cloud.refresh.enabled",
42+
"description": "Enables autoconfiguration for the refresh scope and associated features.",
43+
"type": "java.lang.Boolean"
44+
},
45+
{
46+
"defaultValue": true,
47+
"name": "spring.cloud.refresh.on-restart.enabled",
48+
"description": "Triggers scope refreshing on application context restart.",
49+
"type": "java.lang.Boolean"
50+
},
51+
{
52+
"name": "spring.cloud.refresh.refreshable",
53+
"type": "java.util.Set<java.lang.String>",
54+
"description": "Class names for beans to post process into refresh scope.",
55+
"defaultValue": true
56+
},
3957
{
4058
"name": "spring.cloud.refresh.extra-refreshable",
4159
"type": "java.util.Set<java.lang.String>",

0 commit comments

Comments
 (0)