- 09 Oct, 2014 10 commits
-
-
Andy Wilkinson authored
Previously, RepositoryRestMvcBootConfiguration was not annotated with @Configuration. This meant that it was processed in lite mode. Crucially, in lite mode, there’s no proxying so each call to the config() @Bean method from within other @Bean methods resulted in the creation of a new RepositoryRestConfiguration instance. Furthermore, as each of these instances wasn’t a Spring bean the configuration properties were not applied. This commit updates RepositoryRestMvcBootConfiguration to annotate it with @Configuration so that it’s no longer processed in lite mode. It also updates the unit tests and the Spring Data REST sample to verify that the baseUri can be configured using application.properties. Fixes gh-1675
-
Andy Wilkinson authored
Previously, for a string to be considered upper-case, EmbeddedServerPortFileWriter required every character in the string to be upper-case. This meant that strings containing numbers were considered lower-case even if every letter in the string was upper-case. OS X’s case-preserving, case-insensitive file system masked this problem as the tests were still able to find the created file, even though the case of its name was not as expected. This commit updates EmbeddedServerPortFileWriter to only require characters that are letters (as defined by Character.isLetter()) to be upper-case. It also updates the tests to verify that the case of the created file’s name is correct in such a way that it will fail, even on OS X, when it is not. Fixes gh-1676
-
Dave Syer authored
Points to note for authors: * Nesting "*" in `literals` does not behave like Markdown - you have to escape the asterisk (e.g. `foo/\*`) * Quote ligatures (why we had to use those I don't really know) are different in asciidoctor 1.5 ('`foo`' instead of ``foo'') Merge branch '1.1.x' Conflicts: spring-boot-docs/src/main/asciidoc/production-ready-features.adoc spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
-
Dave Syer authored
-
Phillip Webb authored
Add a EmbeddedServerPortFileWriter which can be used to write server port information to a file. Fixes gh-1275 Closes gh-1491
-
Phillip Webb authored
Rename ApplicationPidListener to ApplicationPidFileWriter (keeping the old class in a deprecated form) Fixes gh-1673
-
Phillip Webb authored
* spring-boot-1499: Add CAMELCASE_TO_HYPHEN in RelaxedNames
-
David Liu authored
Fixes gh-1499
-
Phillip Webb authored
* spring-boot-545: Support Jetty HandlerCollection types
-
David Liu authored
Update JettyEmbeddedServletContainer to support HandlerCollection types in addition to HandlerWrappers. Fixes gh-545 Closes gh-1597
-
- 08 Oct, 2014 15 commits
-
-
Phillip Webb authored
* spring-boot-amq-mqtt: Add ActiveMQ MQTT connection URL auto-detection
-
Henryk Konsek authored
Fixes gh-1638
-
Phillip Webb authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
- Supply auto-configuration for the new indicator - As suggested in the pull request, include the free disk space and configured threshold in the health details - Update the documentation to describe the indicator and its two configuration settings - Use @ConfigurationProperties to bind the indicator's configuration. This should make the changes sympathetic to the work being done to automate the configuration properties documentation Closes gh-1297
-
Mattias Severson authored
See gh-1297
-
Daniel Fullarton authored
Closes gh-1565
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
matzschmanski authored
Closes gh-1671
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-1660
-
- 07 Oct, 2014 3 commits
-
-
Phillip Webb authored
* velo-preferfsa-property: Add VelocityProperties.preferFilesystemAccess
-
Michael Stummvoll authored
Update VelocityProperties to include a preferFilesystemAccess attribute. Fixes gh-1652
-
- 06 Oct, 2014 10 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Conflicts: spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java
-
Phillip Webb authored
-
Andy Wilkinson authored
Conflicts: spring-boot-dependencies/pom.xml
-
Andy Wilkinson authored
Closes gh-1474
-
Andy Wilkinson authored
-
Andy Wilkinson authored
In addition to requiring the Servlet API to be on the classpath, MetricFilter requires spring-web to also be on the classpath as it extends OncePerRequestFilter. This commit updates the auto-configuration for MetricFilter so that it will be disabled in the absence of a dependency on spring-web. Fixes gh-1664
-
Sebastien Deleuze authored
This commit introduces support for Jackson based XML serialization, using the new MappingJackson2XmlHttpMessageConverter provided by Spring Framework 4.1. It is automatically activated when Jackson XML extension is detected on the classpath. Jackson2ObjectMapperBuilder is now used to create ObjectMapper and XmlMapper instances with the following customized properties: - MapperFeature.DEFAULT_VIEW_INCLUSION is disabled - DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is disabled JodaModuleAutoConfiguration and Jsr310ModuleAutoConfiguration have been removed since their behaviors are now handled directly by the ObjectMapper builder. In addition to the existing @Bean of type ObjectMapper support, it is now possible to customize Jackson based serialization properties by declaring a @Bean of type Jackson2ObjectMapperBuilder. Fixes gh-1237 Fixes gh-1580 Fixes gh-1644
-
- 03 Oct, 2014 2 commits
-
-
Stephane Nicoll authored
* docs-grammar: Fix some grammar issues in docs
-
Eric Dahl authored
-