Skip to content

Commit 5d85ac6

Browse files
committed
Complete configuration metadata for spring.config.*
Closes gh-24816
1 parent 3aa960a commit 5d85ac6

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,30 @@
273273
"description": "Whether to skip search of BeanInfo classes.",
274274
"defaultValue": true
275275
},
276+
{
277+
"name": "spring.config.activate.on-cloud-platform",
278+
"type": "org.springframework.boot.cloud.CloudPlatform",
279+
"description": "Required cloud platform for the document to be included.",
280+
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
281+
},
282+
{
283+
"name": "spring.config.activate.on-profile",
284+
"type": "java.lang.String[]",
285+
"description": "Profile expressions that should match for the document to be included.",
286+
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
287+
},
276288
{
277289
"name": "spring.config.additional-location",
278290
"type": "java.lang.String",
279291
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
280292
"description": "Config file locations used in addition to the defaults."
281293
},
294+
{
295+
"name": "spring.config.import",
296+
"type": "java.util.List<java.lang.String>",
297+
"description": "Import additional config data.",
298+
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
299+
},
282300
{
283301
"name": "spring.config.location",
284302
"type": "java.lang.String",
@@ -292,6 +310,12 @@
292310
"description": "Config file name.",
293311
"defaultValue": "application"
294312
},
313+
{
314+
"name": "spring.config.use-legacy-processing",
315+
"type": "java.lang.Boolean",
316+
"description": "Whether to enable configuration data processing legacy mode.",
317+
"defaultValue": false
318+
},
295319
{
296320
"name": "spring.jta.atomikos.connectionfactory.borrow-connection-timeout",
297321
"type": "java.lang.Integer",
@@ -843,24 +867,6 @@
843867
"description": "Enable trace logs.",
844868
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
845869
"defaultValue": false
846-
},
847-
{
848-
"name": "spring.config.import",
849-
"type": "java.util.List<java.lang.String>",
850-
"description": "Import additional config data.",
851-
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
852-
},
853-
{
854-
"name": "spring.config.activate.on-cloud-platform",
855-
"type": "org.springframework.boot.cloud.CloudPlatform",
856-
"description": "Required cloud platform for the document to be included.",
857-
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
858-
},
859-
{
860-
"name": "spring.config.activate.on-profile",
861-
"type": "java.lang.String[]",
862-
"description": "Profile expressions that should match for the document to be included.",
863-
"sourceType": "org.springframework.boot.context.config.ConfigDataProperties"
864870
}
865871
],
866872
"hints": [

0 commit comments

Comments
 (0)