Order additional metadata according to lexicographic order

Closes gh-21095
This commit is contained in:
Stephane Nicoll 2020-04-23 13:58:49 +02:00
parent 66667964b3
commit 291165f060
4 changed files with 1541 additions and 1521 deletions

View File

@ -1,5 +1,11 @@
{ {
"properties": [ "properties": [
{
"name": "spring.devtools.add-properties",
"type": "java.lang.Boolean",
"description": "Whether to enable development property defaults.",
"defaultValue": true
},
{ {
"name": "spring.devtools.remote.debug.enabled", "name": "spring.devtools.remote.debug.enabled",
"type": "java.lang.Boolean", "type": "java.lang.Boolean",
@ -19,12 +25,6 @@
"reason": "Remote debug is no longer supported.", "reason": "Remote debug is no longer supported.",
"level": "error" "level": "error"
} }
},
{
"name": "spring.devtools.add-properties",
"type": "java.lang.Boolean",
"description": "Whether to enable development property defaults.",
"defaultValue": true
} }
] ]
} }

View File

@ -7,45 +7,71 @@
], ],
"properties": [ "properties": [
{ {
"name": "spring.banner.charset", "name": "banner.charset",
"type": "java.nio.charset.Charset", "type": "java.nio.charset.Charset",
"description": "Banner file encoding.", "description": "Banner file encoding.",
"defaultValue": "UTF-8" "defaultValue": "UTF-8",
"deprecation": {
"replacement": "spring.banner.charset",
"level": "error"
}
}, },
{ {
"name": "spring.banner.location", "name": "banner.image.height",
"type": "java.lang.Integer",
"description": "Banner image height (in chars).",
"deprecation": {
"replacement": "spring.banner.image.height",
"level": "error"
}
},
{
"name": "banner.image.invert",
"type": "java.lang.Boolean",
"description": "Invert images for dark console themes.",
"defaultValue": false,
"deprecation": {
"replacement": "spring.banner.image.invert",
"level": "error"
}
},
{
"name": "banner.image.location",
"type": "org.springframework.core.io.Resource",
"description": "Banner image file location (jpg/png can also be used).",
"defaultValue": "banner.gif",
"deprecation": {
"replacement": "spring.banner.image.location",
"level": "error"
}
},
{
"name": "banner.image.margin",
"type": "java.lang.Integer",
"description": "Left hand image margin (in chars).",
"deprecation": {
"replacement": "spring.banner.image.margin",
"level": "error"
}
},
{
"name": "banner.image.width",
"type": "java.lang.Integer",
"description": "Banner image width (in chars).",
"deprecation": {
"replacement": "spring.banner.image.width",
"level": "error"
}
},
{
"name": "banner.location",
"type": "org.springframework.core.io.Resource", "type": "org.springframework.core.io.Resource",
"description": "Banner text resource location.", "description": "Banner text resource location.",
"defaultValue": "classpath:banner.txt" "defaultValue": "classpath:banner.txt",
}, "deprecation": {
{ "replacement": "spring.banner.location",
"name": "spring.banner.image.location", "level": "error"
"type": "org.springframework.core.io.Resource", }
"description": "Banner image file location (jpg or png can also be used).",
"defaultValue": "classpath:banner.gif"
},
{
"name": "spring.banner.image.width",
"type": "java.lang.Integer",
"description": "Width of the banner image in chars.",
"defaultValue": 76
},
{
"name": "spring.banner.image.height",
"type": "java.lang.Integer",
"description": "Height of the banner image in chars (default based on image height)."
},
{
"name": "spring.banner.image.margin",
"type": "java.lang.Integer",
"description": "Left hand image margin in chars.",
"defaultValue": 2
},
{
"name": "spring.banner.image.invert",
"type": "java.lang.Boolean",
"description": "Whether images should be inverted for dark terminal themes.",
"defaultValue": false
}, },
{ {
"name": "debug", "name": "debug",
@ -73,13 +99,6 @@
"description": "Log file name (for instance, `myapp.log`). Names can be an exact location or relative to the current directory.", "description": "Log file name (for instance, `myapp.log`). Names can be an exact location or relative to the current directory.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener" "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener"
}, },
{
"name": "logging.file.max-size",
"type": "java.lang.String",
"description": "Maximum log file size. Only supported with the default logback setup.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": "10MB"
},
{ {
"name": "logging.file.max-history", "name": "logging.file.max-history",
"type": "java.lang.Integer", "type": "java.lang.Integer",
@ -87,6 +106,13 @@
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": 0 "defaultValue": 0
}, },
{
"name": "logging.file.max-size",
"type": "java.lang.String",
"description": "Maximum log file size. Only supported with the default logback setup.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": "10MB"
},
{ {
"name": "logging.group", "name": "logging.group",
"type": "java.util.Map<java.lang.String,java.util.List<java.lang.String>>", "type": "java.util.Map<java.lang.String,java.util.List<java.lang.String>>",
@ -140,12 +166,62 @@
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": false "defaultValue": false
}, },
{
"name": "spring.application.index",
"type": "java.lang.Integer",
"description": "Application index.",
"deprecation": {
"level": "error",
"reason": "Application context ids are now unique by default."
}
},
{ {
"name": "spring.application.name", "name": "spring.application.name",
"type": "java.lang.String", "type": "java.lang.String",
"sourceType": "org.springframework.boot.context.ContextIdApplicationContextInitializer", "sourceType": "org.springframework.boot.context.ContextIdApplicationContextInitializer",
"description": "Application name." "description": "Application name."
}, },
{
"name": "spring.banner.charset",
"type": "java.nio.charset.Charset",
"description": "Banner file encoding.",
"defaultValue": "UTF-8"
},
{
"name": "spring.banner.image.height",
"type": "java.lang.Integer",
"description": "Height of the banner image in chars (default based on image height)."
},
{
"name": "spring.banner.image.invert",
"type": "java.lang.Boolean",
"description": "Whether images should be inverted for dark terminal themes.",
"defaultValue": false
},
{
"name": "spring.banner.image.location",
"type": "org.springframework.core.io.Resource",
"description": "Banner image file location (jpg or png can also be used).",
"defaultValue": "classpath:banner.gif"
},
{
"name": "spring.banner.image.margin",
"type": "java.lang.Integer",
"description": "Left hand image margin in chars.",
"defaultValue": 2
},
{
"name": "spring.banner.image.width",
"type": "java.lang.Integer",
"description": "Width of the banner image in chars.",
"defaultValue": 76
},
{
"name": "spring.banner.location",
"type": "org.springframework.core.io.Resource",
"description": "Banner text resource location.",
"defaultValue": "classpath:banner.txt"
},
{ {
"name": "spring.beaninfo.ignore", "name": "spring.beaninfo.ignore",
"type": "java.lang.Boolean", "type": "java.lang.Boolean",
@ -159,6 +235,12 @@
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener", "sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"description": "Config file locations used in addition to the defaults." "description": "Config file locations used in addition to the defaults."
}, },
{
"name": "spring.config.location",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"description": "Config file locations that replace the defaults."
},
{ {
"name": "spring.config.name", "name": "spring.config.name",
"type": "java.lang.String", "type": "java.lang.String",
@ -166,12 +248,6 @@
"description": "Config file name.", "description": "Config file name.",
"defaultValue": "application" "defaultValue": "application"
}, },
{
"name": "spring.config.location",
"type": "java.lang.String",
"sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener",
"description": "Config file locations that replace the defaults."
},
{ {
"name": "spring.jta.atomikos.connectionfactory.borrow-connection-timeout", "name": "spring.jta.atomikos.connectionfactory.borrow-connection-timeout",
"type": "java.lang.Integer", "type": "java.lang.Integer",
@ -664,18 +740,18 @@
"description": "Configures the ANSI output.", "description": "Configures the ANSI output.",
"defaultValue": "detect" "defaultValue": "detect"
}, },
{
"name": "spring.pid.file",
"type": "java.lang.String",
"description": "Location of the PID file to write (if ApplicationPidFileWriter is used).",
"sourceType": "org.springframework.boot.context.ApplicationPidFileWriter"
},
{ {
"name": "spring.pid.fail-on-write-error", "name": "spring.pid.fail-on-write-error",
"type": "java.lang.Boolean", "type": "java.lang.Boolean",
"description": "Fails if ApplicationPidFileWriter is used but it cannot write the PID file.", "description": "Fails if ApplicationPidFileWriter is used but it cannot write the PID file.",
"sourceType": "org.springframework.boot.context.ApplicationPidFileWriter" "sourceType": "org.springframework.boot.context.ApplicationPidFileWriter"
}, },
{
"name": "spring.pid.file",
"type": "java.lang.String",
"description": "Location of the PID file to write (if ApplicationPidFileWriter is used).",
"sourceType": "org.springframework.boot.context.ApplicationPidFileWriter"
},
{ {
"name": "spring.profiles.active", "name": "spring.profiles.active",
"type": "java.util.List<java.lang.String>", "type": "java.util.List<java.lang.String>",
@ -694,82 +770,6 @@
"description": "Enable trace logs.", "description": "Enable trace logs.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": false "defaultValue": false
},
{
"name": "banner.charset",
"type": "java.nio.charset.Charset",
"description": "Banner file encoding.",
"defaultValue": "UTF-8",
"deprecation": {
"replacement": "spring.banner.charset",
"level": "error"
}
},
{
"name": "banner.image.height",
"type": "java.lang.Integer",
"description": "Banner image height (in chars).",
"deprecation": {
"replacement": "spring.banner.image.height",
"level": "error"
}
},
{
"name": "banner.image.invert",
"type": "java.lang.Boolean",
"description": "Invert images for dark console themes.",
"defaultValue": false,
"deprecation": {
"replacement": "spring.banner.image.invert",
"level": "error"
}
},
{
"name": "banner.image.location",
"type": "org.springframework.core.io.Resource",
"description": "Banner image file location (jpg/png can also be used).",
"defaultValue": "banner.gif",
"deprecation": {
"replacement": "spring.banner.image.location",
"level": "error"
}
},
{
"name": "banner.image.margin",
"type": "java.lang.Integer",
"description": "Left hand image margin (in chars).",
"deprecation": {
"replacement": "spring.banner.image.margin",
"level": "error"
}
},
{
"name": "banner.image.width",
"type": "java.lang.Integer",
"description": "Banner image width (in chars).",
"deprecation": {
"replacement": "spring.banner.image.width",
"level": "error"
}
},
{
"name": "banner.location",
"type": "org.springframework.core.io.Resource",
"description": "Banner text resource location.",
"defaultValue": "classpath:banner.txt",
"deprecation": {
"replacement": "spring.banner.location",
"level": "error"
}
},
{
"name": "spring.application.index",
"type": "java.lang.Integer",
"description": "Application index.",
"deprecation": {
"level": "error",
"reason": "Application context ids are now unique by default."
}
} }
], ],
"hints": [ "hints": [
@ -781,7 +781,6 @@
"parameters": { "parameters": {
"group": false "group": false
} }
} }
] ]
}, },
@ -856,4 +855,3 @@
} }
] ]
} }