Polish info contributor feature
This commit improves the `InfoContributor` infrastructure as follows: * `InfoEndpoint` no longer breaks its public API and returns a Map as before * `Info` is now immutable * All properties of the build are now displayed. Since we control the generation of that file, there is no longer a mode to restrict what's shown * Build info is now generated in `META-INF/build-info.properties` by default Closes gh-5734
This commit is contained in:
@@ -25,8 +25,8 @@ import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* A {@code BuildPropertiesWriter} writes the {@code build.properties} for consumption by
|
||||
* the Actuator.
|
||||
* A {@code BuildPropertiesWriter} writes the {@code build-info.properties} for
|
||||
* consumption by the Actuator.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Stephane Nicoll
|
||||
|
||||
Reference in New Issue
Block a user