- 06 Mar, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/5345: Polish
-
Johnny Lim authored
Closes gh-5345
-
- 05 Mar, 2016 1 commit
-
-
Stephane Nicoll authored
Previously, the ehcache statistics were computed on the activity of the last minute which gives a "live" overview. All others cache managers, including JCache, provides a "cumulative" metrics (i.e. the hit/miss ratio since the creation of the cache or the last time it got cleared). Ths commit aligns the ehcache statistics to provide a similar semantics as the other cache managers. The side effect is that the metrics are now available, even if there is no cache activity at all at the moment. Closes gh-4891
-
- 04 Mar, 2016 8 commits
-
-
Stephane Nicoll authored
Assert using epoch time
-
Stephane Nicoll authored
Add TimeZone in date assertion
-
Stephane Nicoll authored
This commit updates `GitInfo` to use a proper `java.util.Date` rather than a raw String. Because the Maven and Gradle plugin do not agree on a format, `ProjectInfoAutoConfiguration` now registers a `Converter` that is taking care of translating the raw `String` to a `Date`. See gh-2484
-
Andy Wilkinson authored
This commit updates "simple" configuration classes to use constructor injection. Simple means that there are no optional dependencies (@Autowired(required=false) is not used), and none of the dependencies use generics. Configuration classes that are not simple will be updated in a second pass once https://jira.spring.io/browse/SPR-14015 has been fixed. See gh-5306
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/5328: Polish contribution Rename HealthIndicatorAutoConfigurationProperties
-
Stephane Nicoll authored
Closes gh-5328
-
Anand Shah authored
Closes gh-5326
-
- 03 Mar, 2016 11 commits
-
-
Phillip Webb authored
-
Stephane Nicoll authored
* pr/5303: Polish contribution Add Cache Properties for RabbitMQ
-
Stephane Nicoll authored
Closes gh-5303
-
Gary Russell authored
Closes gh-3502
-
Stephane Nicoll authored
* pr/3492: Polish contribution rebase to master Info endpoint
-
Stephane Nicoll authored
`InfoProvider` is now `InfoContributor` and contributes to the `Info` instance via a builder. The `Info` instance is immutable. Each contributor can be disabled via the `management.info.<name>.enabled` key or all can be disabled using `management.info.defaults.enabled` (this is similar to what the health endpoint does). By default, all keys from the environment starting with `info.` are exposed. If a `git.properties` file is present in the classpath, the content of `GitInfo` is exposed using the `git` key. A `SimpleInfoContributor` and `AbstractEnvironmentInfoContributor` are available for convenience. `InfoContributor` instances can be ordered the usual way, with a default order provided by `InfoProviderAutoConfiguration#DEFAULT_ORDER`. Closes gh-3492
-
Stephane Nicoll authored
-
Meang Akira Tanaka authored
See gh-3492
-
Stephane Nicoll authored
This commit moves `GitInfo` to a general "project info" area that will be further improved with others project related information. Deprecate `spring.git.properties` in favour of `spring.info.git.location` Closes gh-2484
-
Stephane Nicoll authored
* pr/5318: Polish
-
Johnny Lim authored
Closes gh-5318
-
- 02 Mar, 2016 6 commits
-
-
Stephane Nicoll authored
Closes gh-4283
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, only dependency management for logback-classic was provided. This meant that it was possible for logback-core, upon which logback-classic depends, to have a different version. This commit adds dependency management for logback-core, thereby ensuring that the two dependencies will have the same version. Closes gh-5304
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Shutdown handling has been improved so that it will run after any EntityManagerFactory beans have been closed. This ensures that Hibernate can, if configured to do so, drop its schema during restart processing. Without this change, a benign exception could be logged if the database was shutdown before Hibernate. Closes gh-5305
-
Andy Wilkinson authored
Closes gh-5081
-
- 01 Mar, 2016 10 commits
-
-
Andy Wilkinson authored
Closes gh-5226
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This commit introduces a new failure analyser for NoUniqueBeanDefinitionException. The analyser provides details of the consumer whose dependency could not be satisfied and the names and sources of the non-unique beans. This analysis requires access to the BeanFactory, so FailureAnalyzers has been updated to support BeanFactory injection via an analyzer implementing BeanFactoryAware. Closes gh-5299
-
Sebastien Deleuze authored
-
Stephane Nicoll authored
Closes gh-4023
-
Andy Wilkinson authored
This reverts 2ecb33f7 and largely reverts 2c619f8d. docker-java 3.0 was causing a variety of problems and it appears that we can get things working with Docker Java 2.2.x and Jackson 2.6.
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-5258
-
Stephane Nicoll authored
This commit allows to generate the packaged artifact only locally by adding a new `attach` property. If `attach` is set to `false` explicitly, only the main artifact is installed/deployed. Closes gh-5258
-
Andy Wilkinson authored
Previously, the launch script integration tests ran happily on OS X and on Bamboo’s Linux instances. With the upgrade to docker-java 3.0 that is no longer the case with the default DockerClientConfig failing on Bamboo as the default DOCKER_CERT_PATH location does not exist. This commit updates the client configuration so that it attempts to build the configuration once in it default configuration and, if this fails, it tries again without TLS verification. This skips the check of DOCKER_CERT_PATH’s validity.
-
- 29 Feb, 2016 2 commits
-
-
Stephane Nicoll authored
If a `MessageConverter` bean is available, we now associate it to the created `RabbitTemplate` and `RabbitListenerContainerFactory`. That way, registering a custom `MessageConverter` is all that's needed. The Rabbit auto-configuration is now using the new `ObjectProvider` that offers a nicer API to detect if a primary candidate is available for optional collaborators. Closes gh-5088
-
Stephane Nicoll authored
-