April 2018
Intermediate to advanced
432 pages
10h 38m
English
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 ...