Application information

The full list of endpoints available for the project is visible in application logs during startup. After disabling security, you can test all of them in your web browser. It's interesting that the /info endpoint does not provide any information by default. If you would like to change this, you might use one of the three available auto-configured InfoContributor beans or write your own. The first of them, EnvironmentInfoContributor, exposes environment keys in the endpoint. The second, GitInfoContributor, detects the git.properties file in the classpath and then displays all necessary information about commits, such as branch name or commit ID. The last one, named BuildInfoContributor, gathers information from the ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.