Browse Source

Add missing properties metadata

Fixes gh-1829
pull/1779/head
Stephane Nicoll 11 years ago
parent
commit
16e2130896
  1. 12
      spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json
  2. 2
      spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
  3. 10
      spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

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

@ -1,4 +1,16 @@ @@ -1,4 +1,16 @@
{"properties": [
{
"name": "endpoints.configprops.keys-to-sanitize",
"dataType": "java.lang.String",
"sourceType": "org.springframework.boot.actuate.endpoint.ConfigurationPropertiesReportEndpoint",
"description": "The keys that should be sanitize. Keys can be simple strings that the property ends with or regex expressions."
},
{
"name": "endpoints.env.keys-to-sanitize",
"dataType": "java.lang.String",
"sourceType": "org.springframework.boot.actuate.endpoint.EnvironmentEndpoint",
"description": "The keys that should be sanitize. Keys can be simple strings that the property ends with or regex expressions."
},
{
"name": "management.health.db.enabled",
"dataType": "java.lang.Boolean",

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

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
"defaultValue": false
},
{
"name": "spring.batch.enabled",
"name": "spring.batch.job.enabled",
"dataType": "java.lang.Boolean",
"description": "Execute all Spring Batch jobs in the context on startup.",
"defaultValue": true

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

@ -68,6 +68,16 @@ @@ -68,6 +68,16 @@
"dataType": "java.lang.Boolean",
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Run the application in a web environment (auto-detected by default)"
},
{
"name": "spring.profiles.active",
"dataType": "java.lang.String",
"description": "Set the active profiles as a comma separated list. Can be overridden by a command line switch."
},
{
"name": "spring.profiles.include",
"dataType": "java.lang.String",
"description": "Unconditionally activate the specified comma separated profiles."
}
]}

Loading…
Cancel
Save