- 28 Jul, 2015 6 commits
-
-
Stephane Nicoll authored
Since `ManagementSecurityAutoConfiguration` is cnfiguring web-related things, it has been renamed to `ManagementWebSecurityAutoConfiguration`. Closes gh-2163
-
Stephane Nicoll authored
Currently, the default TemplateResolver had no specific order. Thymeleaf handles that with a "always first" strategy (that can be confusing if several TemplateResolver have a "null" order. While it is a fine default (and changing it could lead to weird side effects), it has to be changed as soon as another TemplateResolver bean is defined in the project. The `spring.thymeleaf.template-resolver-order` property has been added to control the order of the default TemplateResolver. Closes gh-3575
-
Stephane Nicoll authored
* pr/3610: Fix typo
-
arghya88 authored
Closes gh-3610
-
Stephane Nicoll authored
* pr/3608: Fix typos
-
izeye authored
Closes gh-3608
-
- 27 Jul, 2015 10 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/3606: Fix typo
-
arghya88 authored
Closes gh-3606
-
Stephane Nicoll authored
* pr/3600: Polish Add locale customization of the ObjectMapper
-
Stephane Nicoll authored
See gh-3600
-
Johannes Stelzer authored
Add a new spring.jackson.locale property to customize the locale of the ObjectMapper. Closes gh-3600
-
Stephane Nicoll authored
-
Pei-Tang Huang authored
Closes gh-3604
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-3601
-
- 26 Jul, 2015 1 commit
-
-
Stephane Nicoll authored
Closes gh-3601
-
- 24 Jul, 2015 5 commits
-
-
Stephane Nicoll authored
DevTools look for a main thread named "main". The maven plugin is actually using a different value and there is no real reason to. This change fixes DevTools support as long as forking is enabled. See gh-3315
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Allow to disable the auto-startup flag of the default JMS and RabbitMQ containers. This effectively permit to disable automatic listening via configuration. Closes gh-3587
-
Stephane Nicoll authored
* pr/3589: Remove an unused parameter
-
izeye authored
Closes gh-3589
-
- 23 Jul, 2015 17 commits
-
-
Stephane Nicoll authored
* pr/3588: Remove unnecessary mainClassName Fix package name of web-ui sample
-
Stephane Nicoll authored
Since each sample has (supposedly) only one application class and not a lot of the code, the `mainClassName` attribute in the gradle build is not really useful and can lead to inconsistency if the application class is moved. See gh-3588
-
Justin Garrick authored
Closes gh-3588
-
Stephane Nicoll authored
While the doc states that the default value is '/', setting that value explicitly will lead to an error since we enforce that the default root is the empty string. Changing the doc will probably be more confusing than anything else so we're now cleaning the user's provided value if necessary Closes gh-3554
-
Andy Wilkinson authored
This commit adds a new "Unconditional classes" section to the auto-configuration report. It lists any auto-configuration classes that do not have any class-level conditions, i.e. the class will be always be part of the application's configuration. Closes gh-2209
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3583
-
Andy Wilkinson authored
A RepositoryRestMvcConfiguration subclass provided by a user is problematic in a Spring Boot application as it causes RepositoryRestMvcConfiguration's bean declarations to be processed before any auto-configuration runs. One problem that this causes is that it switches off Boot's Jackson auto-configuration due to RepositoryRestMvcConfiguration having already declared multiple ObjectMapper beans. Unlike Boot's auto-configured ObjectMapper, none of these ObjectMappers are marked as @Primary. This then leads to wiring failures due to multiple candidates being available. To address this problem a new RepositoryRestConfigurer abstract has been introduced in Spring Data Gosling. Its use is now strongly preferred over subclassing RepositoryRestMvcConfiguration. Note that our own RepositoryRestMvcConfiguration subclass remains. It is imported as part of auto-configuration (avoiding the ordering problems described above), and provides configuration properties binding for RepositoryRestConfiguration. However, the Jackson ObjectMapper configuration has been moved out into a new RepositoryRestConfigurer implementation. While SpringBootRepositoryRestMvcConfiguration remains, this commit makes it package private to discourage users from subclassing it. While this may break existing applications, it, coupled with the documentation updates, will hopefully guide them toward using RepositoryRestConfigurer. Closes gh-3439
-
Stephane Nicoll authored
* pr/3566: Polish Document validation of nested components
-
Stephane Nicoll authored
Closes gh-3566
-
drumonii authored
See gh-3566
-
Stephane Nicoll authored
* pr/3534: Polish Add configuration properties validation sample
-
Stephane Nicoll authored
Closes gh-3534
-
Lucas Saldanha authored
Create a new project sample that demonstrate the usage of @ConfigurationProperties with configurationPropertiesValidator. Fixes gh-3513
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Previously, a customer was set regardless of the fact that it is supported on the target bean. DataBinder has an actual assertion check that would fail in such a case. We now associate the custom validator only if it supports the target bean. Fixes gh-3581
-
izeye authored
The default values of fields in @ConfigurationProperties classes are, where possible, included in the configuration metadata. The default values for the HAL and Links endpoints vary depending on other configuration settings. As a result, including a default in the metadata is misleading. This commit removes the default assignment of "" to the path fields so that no default value will be included in the metadata. Closes gh-3567
-
- 22 Jul, 2015 1 commit
-
-
Andy Wilkinson authored
-