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

Actuator 'configprops' endpoint does not show inputs for @Name parameters #24713

Closed
philwebb opened this issue Jan 8, 2021 · 2 comments
Closed

Actuator 'configprops' endpoint does not show inputs for @Name parameters #24713

philwebb opened this issue Jan 8, 2021 · 2 comments
Assignees
Milestone

Comments

@philwebb
Copy link
Member

@philwebb philwebb commented Jan 8, 2021

If use use a constructor bound @ConfigurationProperties object with a @Named parameter the inputs do not appear in the /actuator/configprops.

@philwebb philwebb added this to the 2.4.x milestone Jan 8, 2021
@philwebb philwebb changed the title Actuator /configprops does not show inputs for @Named parameters Actuator 'configprops' endpoint does not show inputs for @Named parameters Jan 8, 2021
@philwebb philwebb removed this from the 2.4.x milestone Jan 9, 2021
@philwebb
Copy link
Member Author

@philwebb philwebb commented Jan 9, 2021

This was caused by a getter named differently to the @Named attribute. I don't think there's much we can do about that.

@wilkinsona wilkinsona closed this Jan 11, 2021
@philwebb philwebb reopened this Jan 12, 2021
@philwebb philwebb added this to the 2.4.x milestone Jan 12, 2021
@philwebb philwebb self-assigned this Jan 12, 2021
@philwebb
Copy link
Member Author

@philwebb philwebb commented Jan 12, 2021

Actually, I as wrong. We need an update to GenericSerializerModifier

@philwebb philwebb changed the title Actuator 'configprops' endpoint does not show inputs for @Named parameters Actuator 'configprops' endpoint does not show inputs for @Name parameters Jan 13, 2021
@philwebb philwebb closed this in 26f143b Jan 13, 2021
@philwebb philwebb modified the milestones: 2.4.x, 2.4.2 Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants