Add missing configuration metadata for "management.endpoint.health.probes.add-additional-paths"#30562
Closed
luozhenyu wants to merge 1 commit intospring-projects:2.6.xfrom
Closed
Add missing configuration metadata for "management.endpoint.health.probes.add-additional-paths"#30562luozhenyu wants to merge 1 commit intospring-projects:2.6.xfrom
luozhenyu wants to merge 1 commit intospring-projects:2.6.xfrom
Conversation
luozhenyu
added a commit
to luozhenyu/spring-boot
that referenced
this pull request
Apr 6, 2022
health.probes.add-additional-paths" in spring boot actuator autoconfigure. Closes spring-projectsgh-30562
e666ea1 to
f5ee8b4
Compare
luozhenyu
added a commit
to luozhenyu/spring-boot
that referenced
this pull request
Apr 6, 2022
health.probes.add-additional-paths' in spring boot actuator autoconfigure. Closes spring-projectsgh-30562
f5ee8b4 to
6199db3
Compare
luozhenyu
added a commit
to luozhenyu/spring-boot
that referenced
this pull request
Apr 6, 2022
The configuration metadata of "management.endpoint.health.probes. add-additional-paths" is missing. Closes spring-projectsgh-30562
6199db3 to
2ea8fe3
Compare
snicoll
reviewed
Apr 7, 2022
Member
snicoll
left a comment
There was a problem hiding this comment.
Thanks for the PR. I've left a comment for your consideration.
I believe this change was introduced in 2.6.x so the current base branch doesn't look right.
| "description": "Whether to enable liveness and readiness probes.", | ||
| "defaultValue": false | ||
| }, | ||
| { |
Member
There was a problem hiding this comment.
This should come before the previous entries as we sort them by alphabetical order.
Contributor
Author
There was a problem hiding this comment.
Thanks, I have rearranged it.
The configuration metadata of "management.endpoint.health.probes. add-additional-paths" is missing. Closes spring-projectsgh-30562
2ea8fe3 to
26e17e7
Compare
Contributor
Author
@snicoll You are right. I changed the base branch to |
snicoll
pushed a commit
that referenced
this pull request
Apr 7, 2022
Member
|
@luozhenyu thank you for the quick follow-up and for making your first contribution to Spring Boot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
According to the documentation of spring-boot-actuator, we can define "management.endpoint.health.probes.add-additional-paths=true" to enable
livenessandreadiness. However, the configuration metadata for this is missing.https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#actuator.endpoints.kubernetes-probes