Commit a30461c5 authored by Stephane Nicoll's avatar Stephane Nicoll

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
parent 22ba7b93
...@@ -186,18 +186,6 @@ ...@@ -186,18 +186,6 @@
"replacement": "spring.info.git.location" "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", "name": "spring.pidfile",
"type": "java.lang.String", "type": "java.lang.String",
......
...@@ -1488,7 +1488,7 @@ writes a PID file. Example: ...@@ -1488,7 +1488,7 @@ writes a PID file. Example:
[indent=0] [indent=0]
---- ----
org.springframework.context.ApplicationListener=\ org.springframework.context.ApplicationListener=\
org.springframework.boot.actuate.system.ApplicationPidFileWriter,\ org.springframework.boot.system.ApplicationPidFileWriter,\
org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter org.springframework.boot.actuate.system.EmbeddedServerPortFileWriter
---- ----
......
...@@ -178,6 +178,18 @@ ...@@ -178,6 +178,18 @@
"description": "Configure the ANSI output.", "description": "Configure 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.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", "name": "spring.profiles.active",
"type": "java.lang.String", "type": "java.lang.String",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment