Polish pid metadata
This commit moves the `spring.pid.*` metadata to the relevant project. It also updates the doc to refer to the new `ApplicationPidFileWriter` rather than the one in its deprecatred form. Closes gh-8196
This commit is contained in:
@@ -186,18 +186,6 @@
|
||||
"replacement": "spring.info.git.location"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.file",
|
||||
"type": "java.lang.String",
|
||||
"description": "Location of the PID file to write (if ApplicationPidFileWriter is used).",
|
||||
"sourceType": "org.springframework.boot.actuate.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.fail-on-write-error",
|
||||
"type": "java.lang.Boolean",
|
||||
"description": "Fail if ApplicationPidFileWriter is used but it cannot write the PID file.",
|
||||
"sourceType": "org.springframework.boot.actuate.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pidfile",
|
||||
"type": "java.lang.String",
|
||||
|
||||
@@ -1488,7 +1488,7 @@ writes a PID file. Example:
|
||||
[indent=0]
|
||||
----
|
||||
org.springframework.context.ApplicationListener=\
|
||||
org.springframework.boot.actuate.system.ApplicationPidFileWriter,\
|
||||
org.springframework.boot.system.ApplicationPidFileWriter,\
|
||||
org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter
|
||||
----
|
||||
|
||||
|
||||
@@ -178,6 +178,18 @@
|
||||
"description": "Configure the ANSI output.",
|
||||
"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.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.pid.fail-on-write-error",
|
||||
"type": "java.lang.Boolean",
|
||||
"description": "Fail if ApplicationPidFileWriter is used but it cannot write the PID file.",
|
||||
"sourceType": "org.springframework.boot.system.ApplicationPidFileWriter"
|
||||
},
|
||||
{
|
||||
"name": "spring.profiles.active",
|
||||
"type": "java.lang.String",
|
||||
|
||||
Reference in New Issue
Block a user