Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong default ApiVersion . Missing details, getting components #2068

Closed
michelmeeuwissen opened this issue Jul 15, 2022 · 0 comments · Fixed by #2070
Closed

Wrong default ApiVersion . Missing details, getting components #2068

michelmeeuwissen opened this issue Jul 15, 2022 · 0 comments · Fixed by #2070
Labels

Comments

@michelmeeuwissen
Copy link

michelmeeuwissen commented Jul 15, 2022

We update from spring-boot-admin-starter-server 2.6.2 to 2.7.2 which results in a bug with showing the details information in a Status change event (We post this message to Slack when down)

StatusInfo.java R127 expect a details json map on first level. But without the correct V2 APIVersion Accept header you will get a components element here:

image

When specifying V2 you will get the correct details element:

image

Summary:
Accept: application/vnd.spring-boot.actuator.v2+json -> details
Accept: application/vnd.spring-boot.actuator.v3+json or not specified results in components

When I look a the real request I see this Accept header:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants