- 15 Jul, 2015 8 commits
-
-
izeye authored
Closes gh-3504
-
Stephane Nicoll authored
Previously, an item could only have a 'deprecated' boolean flag to indicate that the property is deprecated. It is desirable to provide an additional description for the deprecation as well as the name of the property to use instead. The `deprecated` boolean flag is now supported. Instead, a `deprecated` object can be specified with two optional attributes: `reason` to provide an explanation for the deprecation and `replacement` to refer to the property that should be used instead. If none of them is present, an empty deprecation object should be set. For backward compatibility, the `deprecated` field is still set. Deprecation information can only set via manual meta-data. Closes gh-3449
-
Andy Wilkinson authored
This commit adds a new property, spring.jackson.time-zone, that can be used to configure the time zone that Jackson uses when configuring dates. It affects the serialisation of both JDK and Joda date types. Closes gh-3505
-
Dave Syer authored
When Spring Data REST is owning the home page it has its own HandlerMapping with a fix (relatively) low priority. The /links endpoint wants to own the home page as well, and our handler mapping has a high priority for good reasons. This change addresses the issue by checking if Spring Data REST is configured and if the management context path (or more specifically, the links endpoint) is the same as the home page. Fixes gh-3486
-
Stephane Nicoll authored
* pr/3497: Remove redundant check
-
izeye authored
Closes gh-3497
-
Phillip Webb authored
-
Phillip Webb authored
-
- 14 Jul, 2015 11 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
We envision that IDE will support auto-completion for known types in the future, for instance Charset, MimeType, Resource and Locale. Some of our own configuration keys use a raw String type whereas they actually represent a higher-level concept. We now make sure to expose these with a better type, if applicable. Closes gh-2898
-
Stephane Nicoll authored
If a field is initialized via a factory method taking a single argument, we can relatively safely consider that said argument is a good representation of its default value. This is typically the case for Charset or MimeType instances. We now make sure to detect such use case (i.e. method argument with a single argument). Closes gh-3482
-
Andy Wilkinson authored
See gh-3483
-
Stephane Nicoll authored
* pr/3484: Fix jdk version requirement
-
Huang YunKun authored
Closes gh-3484
-
Andy Wilkinson authored
-
Dave Syer authored
-
Andy Wilkinson authored
This commit enhances the CLI to use the repositories configured in the profiles declared in a user's Maven settings.xml file during dependency resolution. A profile must be active for its repositories to be used. Closes gh-2703 Closes gh-3483
-
Stephane Nicoll authored
It is not possible to put `@Order` on nested `@Configuration` classes and there is no ordering guarantee of them anyway. Previously, we relied on the declaration order to check if the `test-connection` flag should apply to an existing `JavaMailSenderImpl`. It turns out at the `JavaMailSenderImpl` bean was not created at that time and so the evaluation was wrongly failing. To make that more explicit, that code is now in its own auto-configuration with an explicit `@AutoConfigureAfter` declaration. Since the JNDI support could be affected by the exact same issue, it has been restored to its own package private configuration class that is processed before the `MailSenderAutoConfiguration` content is evaluated. Closes gh-3478
-
Dave Syer authored
I think this is safe, judging by the integration tests, but I'm not putting it in 1.2.x until we've had some feedback on it. The integration tests actually had a bug that was masking this problem because they were merging Properties from the whole classpath instead of picking the first available resource (which is generally what we do in Spring Boot applications for application.properties for instance). Fixes gh-3048
-
- 13 Jul, 2015 21 commits
-
-
Phillip Webb authored
Don't auto-configure a LocalContainerEntityManagerFactoryBean if the user directly defines an EntityManagerFactory bean. Fixes gh-2803
-
Phillip Webb authored
-
Phillip Webb authored
Update LogbackLoggingSystem to clear logback status messages on reset. This prevents shutdown errors from preventing subsequent startup. Fixes gh-3472
-
Andy Wilkinson authored
Also add a test that I’d written before Phil fixed the problem in 5dbe6232. See gh-3468
-
Phillip Webb authored
Switch JooqProperties.sqlDialect from a String to the actual enum to allow IDE hints and case insensitive binding. Fixes gh-3468
-
Phillip Webb authored
Move the Redis JUnit @Rule so that it can be used with SessionAutoConfigurationTests. Also refactored the internals a little.
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
Without this change there can be more than one ServerProperties in a context with different names. Fixes gh-3476
-
Andy Wilkinson authored
See gh-3288
-
Dave Syer authored
-
Dave Syer authored
Never inject a transaction manager (user can create his own "rabbitListenerContainerFactory" bean if he wants an actual non-JTA transaction manager. See gh-3432
-
Dave Syer authored
If set *and* there is a transaction manager in the context, then the listener container created by Spring Boot will use the transaction manager to execute the listeners. Fixes gh-3432 (by virtue of not requiring a JtaTransactionManager any more).
-
Dave Syer authored
-
Stephane Nicoll authored
* pr/3473: Fix typo
-
izeye authored
Closes gh-3473
-
Dave Syer authored
When Spring Security sends 302 responses to a login page we don't get any information about the request matching in Spring MVC. Consequently apps can end up with a lot of counter.status.302.* metrics (where "*" can be whatever the user sent). This change treats 3xx the same as 4xx (if it is unmapped it just gets added to a metric called "unmapped" instead of using the actual request path). Fixes gh-2563
-
Stephane Nicoll authored
See gh-3457
-
Stephane Nicoll authored
Liquibase has a `changeLog` property that is definitely used as a `Resource` but cannot be defined as such as the original String value should be kept against an API we don't control. Update the tests also to make it more clear that if hints are added against a property that is detected automatically, said property still keeps all its auto-discovered capabilities. Closes gh-3457
-