- 13 Aug, 2015 2 commits
-
-
izeye authored
Closes gh-3738
-
Andy Wilkinson authored
Previously, PropertiesConfigurationFactory would only create a DefaultPropertyNamePatternsMatcher that ignored case if it was ignoring unknown fields. If the binding had a target name and unknown fields were not being ignored the matcher would consider the case when finding matches. This meant that SERVER_PORT would not being to ServerProperties.port as SERVER did not match the target name, server. This commit updates PropertiesConfigurationFactory to use a case-ignoring DefaultPropertyNamePatternsMatcher when binding with a target name. The tests have also been updated to test binding both with and without ignoring case and using either Properties or PropertySources. The above-described matching is only performed against PropertySources and the bug only occurred when using a target name, making it important to test all combinations. Closes gh-3745
-
- 12 Aug, 2015 2 commits
-
-
Stephane Nicoll authored
The target attribute is effectively checked for null beforehand so this additional defensive check can be removed. Closes gh-3725
-
Dave Syer authored
-
- 11 Aug, 2015 2 commits
-
-
Dave Syer authored
-
Stephane Nicoll authored
See gh-3696
-
- 10 Aug, 2015 18 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3423
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This commit adds support for using the environment to configure the Freemarker and Velocity view resolvers to allow session overrides. Closes gh-3410
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3421
-
Andy Wilkinson authored
Following the changes made to combines the /links and /hal endpoints into a single /actuator endpoint, a web browser accessing /actuator would receive a 406 response if HAL browser was not on the classpath. This commit updates the /actuator main entry point so that it will serve JSON to a web browser when HAL browser is not on the classpath. The actuator's embedded documentation has also been updated to reflect the recent changes. Closes gh-3696
-
Stephane Nicoll authored
-
Stephane Nicoll authored
The annotation processor detects `@ConfigurationProperties` bean or method definition and merges manual meta-data. The former step will fail with a NPE if the annotation is not present on the classpath. This could happen if the annotation processor is added to a module that is not actually using Spring Boot. We now have a defensive check that skips that steps but still attempts to merge manual meta-data if present. Closes gh-3720
-
Andy Wilkinson authored
See gh-3696
-
Stephane Nicoll authored
For some reason, we forgot to add an attribute to customize the package name when using spring init. This is now the case. Closes gh-3716
-
Dave Syer authored
-
Andy Wilkinson authored
See gh-3569
-
Dave Syer authored
Fixes gh-3527
-
Andy Wilkinson authored
Closes gh-3569
-
Andy Wilkinson authored
This commit provides a single endpoint, /actuator, that serves HTML (the HAL browser) or JSON depending on the request’s accept header that enables discovery of all of the actuator’s other endpoints. When the management context path is configured, the /actuator endpoint moves to the configured path, e.g. if the management context path is set to /management, the actuator endpoint will be available from /management. Closes gh-3696
-
Dave Syer authored
See gh-3539
-
Dave Syer authored
See gh-3557
-
- 09 Aug, 2015 2 commits
-
-
Stephane Nicoll authored
-
Thomas Traude authored
Closes gh-3715
-
- 07 Aug, 2015 4 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-3700
-
Stephane Nicoll authored
Improve the documentation on using two entity managers if Spring Data is used. Closes gh-3433
-
Stephane Nicoll authored
Make it more clear that the `ErrorPage` path requires an URL mapping to be registered. Closes gh-3698
-
- 06 Aug, 2015 10 commits
-
-
Stephane Nicoll authored
See gh-3684
-
Stephane Nicoll authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3643
-
Joao Pedro Evangelista authored
Closes gh-3652
-
Andy Wilkinson authored
Closes gh-2671
-
Andy Wilkinson authored
This commit adds a new property, logging.exception-conversion-word, that can be used to configure the conversion word that is used when logging exceptions. The default value, %rEx, will log exceptions with the root cause first and include class packaging information in the stack trace. The new property is supported when using either Logback or Log4J2. Closes gh-3684
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Upgrade documentation for the `hal` and `links` endpoints as they are not using the root anymore. Closes gh-3621
-
Phillip Webb authored
Update LinksMvcEndpoint and HalBrowserMvcEndpoint so that no longer try to use the `/` context path. Links are now available from `/links` and the HAL browser is available from `/hal`. The actuator HAL browser now works with either WebJars or the Spring Data version. It also now transforms the initial HTML so that the form is pre-populated with `/links`. When using Spring Data's HAL browser, the root includes a link to `/links` with a rel of `actuator`. See gh-3621
-