Skip to content

Immutable configuration properties not shown by Actuator #18636

Closed
@AlexFalappa

Description

@AlexFalappa

From my initial test drive of the freshly released Spring Boot 2.2.0.RELEASE it seems that @ConfigurationProperties beans declared as immutable with @ConstructorBinding show up empty in the Actuator configprops endpoint.
Example:

"ftp-af.FtpProperties": {
  "prefix": "ftp",
  "properties": {}
}

The beans are however correctly bound and their use in other beans is not impacted.

Normal, mutable beans are correctly displayed with their attributes.
Example:

"ftp-af.FtpProperties": {
  "prefix": "ftp",
  "properties": {
    "host": "andromeda",
    "dir": "/path/to/files",
    "user": "JohnSmith",
    "port": 2121,
    "passw": "Unknown"
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions