- 28 Sep, 2015 1 commit
-
-
Dave Syer authored
-
- 26 Sep, 2015 8 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
See gh-2064
-
Phillip Webb authored
Use SNAPSHOT build in preparation for 4.2.2. See gh-4020
-
Phillip Webb authored
Update MetricsFilter to use static `Pattern` instances for regex replacements rather than compiling them each time. Fixes gh-3996
-
Phillip Webb authored
See gh-2064
-
Phillip Webb authored
* gh-2214: Add Cassandra support
-
Julien Dubois authored
Add auto-configuration support and health checks for Cassandra and Spring Data Cassandra. Fixes gh-2064 Closes gh-2214
-
Phillip Webb authored
-
- 24 Sep, 2015 18 commits
-
-
Andy Wilkinson authored
This commit simplifies the Jackson-related auto-configuration that’s applied when Spring HATEOAS and Spring Data REST are on the classpath. Previously, Boot used Jackson2HalModule to apply the HAL-related ObjectMapper configuration to the context’s primary ObjectMapper. This was to allow HAL-formatted responses to be sent for requests accepted application/json (see gh-2147). This had the unwanted side-effect of polluting the primary ObjectMapper with HAL-specific functionality. Furthermore, Jackson2HalModule is an internal of Spring HATEOAS that @olivergierke has asked us to avoid using. This commit replaces the use of Jackson2HalModule with a new approach. Now, the message converters of any RequestMappingHandlerAdapter beans are examined and any TypeConstrainedMappingJackson2HttpMessageConverter instances are modified to support application/json in addition to their default support for application/hal+json. This behaviour can be disabled by setting spring.hateoas.use-hal-as-default-json-media-type to false. This property is named after Spring Data REST’s configuration option which has the same effect when using Spring Data REST. The new property replaces the old spring.hateoas.apply-to-primary-object-mapper property. Previously, when Spring Data REST was on the classpath, JacksonAutoConfiguration would be switched off resulting in the context containing multiple ObjectMappers, none of which was primary. This commit configures RepositoryRestMvcAutoConfiguration to run after JacksonAutoConfiguration. This gives the latter a chance to create its primary ObjectMapper before the former adds its ObjectMapper beans to the context. Previously, the actuator’s hypermedia support assumed that the HttpMessageConverters bean would contain every HttpMessageConverter being used by Spring MVC. When Spring HATEOAS is on the classpath this isn’t the case as it post-processes RequestMappingHandlerAdapter beans and adds a TypeConstrainedMappingJackson2HttpMessageConverter to them. This wasn’t a problem in the past as the primary ObjectMapper, used by a vanilla MappingJackson2HttpMessageConverter, was configured with Spring HATEOAS’sJackson2HalModule. Now that this pollution has been tidied up the assumption described above no longer holds true. MvcEndpointAdvice, which adds links to the actuator’s json responses, has been updated to look at the HttpMessageConverters of every RequestMappingHandlerAdapter when it’s trying to find a converter to use to write a response with additional hypermedia links. Integration tests have been added to spring-boot-actuator to ensure that the changes described above have not regressed the ability to configure its json output using spring.jackson.* properties (see gh-1729). Closes gh-3891
-
Phillip Webb authored
-
Phillip Webb authored
Extract a new AbstractErrorController base class for users to extend if they don't like the default BasicErrorController. Fixes gh-3998
-
Phillip Webb authored
Update `FlywayAutoConfiguration` to allow explicit ordering of the `FlywayMigrationInitializer`. Fixes gh-4011
-
Phillip Webb authored
Update DataSourceProperties exceptions to include a less misleading message. Errors message now note that you may need to add an embedded database to the classpath or active a profile to pickup specific settings. Fixes gh-4012
-
Phillip Webb authored
-
Phillip Webb authored
A string based exclude was missed in commit c6298131. See gh-4002
-
Phillip Webb authored
* pr/3719: Add statsd metric export auto-configuration
-
Simon Buettner authored
Update MetricExportAutoConfiguration to auto-configure statsd metrics export when a `spring.metrics.export.statsd.host` property is set. Closes gh-3719
-
Phillip Webb authored
* pr/3915: Add Liquibase labels and parameters properties
-
Fabricio Colombo authored
Update `LiquibaseAutoConfiguration` and `LiquibaseProperties` to add support for labels and parameters. Closes gh-3915
-
Phillip Webb authored
* pr/3938: Add `git.properties` to default devtools excludes
-
Craig Andrews authored
Update `DevToolsProperties` to exclude `git.properties` files. Prior to this commit any application configured to write `git.properties` could trigger unexpected application restarts. The problem is particularly prevalent when using Eclipse M2E in combination with the `git-commit-id-plugin`. Closes gh-3938
-
Phillip Webb authored
* pr/3962: Remove duplicate `@ConditionalOnMissingBean` checks.
-
izeye authored
-
Ivan Chen authored
Closes gh-4004
-
Phillip Webb authored
* pr/4010: Fix synchronization issue in OpenTSDBMetricWriter
-
Thomas Badie authored
Closes gh-4010
-
- 22 Sep, 2015 9 commits
-
-
Phillip Webb authored
Relocate several auto-configuration classes to `...autoconfigure.data` to make it clearer that they are Spring Data specific. Also moved `EntityManagerFactoryBuilder` to `spring-boot` since it is generally useful and doesn't need to be directly tied to the auto-configuration module. Fixes gh-4002
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3913
-
- 21 Sep, 2015 4 commits
-
-
Phillip Webb authored
Exclude spring-boot-starter-validation since those jars are provided by the container.
-
Phillip Webb authored
Update the spring-boot-autoconfigure POM so that jackson-module-parameter-names is optional. See gh-3804
-
Phillip Webb authored
-
Phillip Webb authored
-