-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Description
The endpoint that provides information about a single property looks like this now (for the JAVA_VERSION system property:
{
"activeProfiles": [
],
"propertySources": [
{
"name": "server.ports",
"properties": {
}
},
{
"name": "servletContextInitParams",
"properties": {
}
},
{
"name": "systemProperties",
"properties": {
"java.version": {
"value": "1.8.0_121",
"origin": null
}
}
},
{
"name": "systemEnvironment",
"properties": {
}
},
{
"name": "applicationConfig: [classpath:/application.properties]",
"properties": {
}
}
]
}I like the fact that the output is a bit more consistent with the main endpoint but:
- I'd like that we add a
valueroot attribute with the actual value in the environment. Previously that's all we had and this information is lost. IMO, it's quite interesting to have the actual value without computing it from the first property source in the list - I don't think that showing empty property sources are very interesting. I do think that showing in the output that this particular key has many source is super interesting but the fact it's not present in one is noise
shakuzen
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement