- 28 Jul, 2014 5 commits
-
-
Dave Syer authored
It was incorrect to simply replace existing instances because you can't tell from the instance which media types and java types it supports. This fix just prepends the custom converters so they get higher priority. Fixes gh-1293
-
Dave Syer authored
-
Andy Wilkinson authored
Since Spring 4.0.4, it's now possible to use both classes and locations to provide a test's configuration. Closes #1300
-
Andy Wilkinson authored
Closes #1299
-
Andy Wilkinson authored
Previously the server was started to make the ServletContext available, then, to prevent requests from being handled before the application context had been started, the connectors were stopped. Once application context startup had completed, the connectors were then started again. In addition to being somewhat inefficient, this caused problems on FreeBSD where stopping the connector didn't free up the port quickly enough for the subsequent start to then be able to bind to it. This commit updates the Jetty startup logic to be closer to the logic that's used for Tomcat. Before the server is started, the configured connectors are cached and then removed. The server is then started without any connectors. Once application context startup has completed, the connectors are reinstated and started. Fixes #968
-
- 25 Jul, 2014 2 commits
-
-
Dave Syer authored
-
Dave Syer authored
Often this change will not be important because you are binding to a bean with strongly typed properties. A bean with a Map property, on the other hand, won't oytherwise be able to reason about the permitted keys so it will miss any non-enumerable property sources, including composites whose nested sources are themselves enumerable. Fixed gh-1294
-
- 24 Jul, 2014 3 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Christian Dupuis authored
This commit changes the query in MongoHealthIndicator from serverStatus to buildInfo to avoid unprivileged access and corresponding errors. fixes #1289
-
- 23 Jul, 2014 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
- 21 Jul, 2014 7 commits
-
-
Dave Syer authored
With this change I got a simple Eclipselink version of the data-jpa sample working. I'll push that when I get time to research it a bit more (I needed to set up a Java agent so either that might be a problem for our integration tests if we can't work around it). Fixes gh-1268.
-
Christian Dupuis authored
Previously any custom http code mapping would remove the default mappings. With this commit the behaviour is changed so that default mappings will stay if a custom mapping is registered. Certainly a default mapping can be overridden. fixes #1264
-
ddebree authored
Added $JAVA_OPTS variable to the sample Heroku Procfile. If this is left out it can cause memory issues when the app starts. Fixes gh-1266
-
Stephane Nicoll authored
This commit fixes some inconsistent or outdated keys in the documentation. More specifically: * allowSessionOverride is no longer a template parameter * templateEncoding has been renamed to charSet * Groovy templates do not have the same configuration hierarchy, hence they don't share all settings * spring.data.elasticsearch.local does not seem to exist * flyway prefix and suffix should be sqlMigrationPrefix and suffix * spring.rabbitmq.virtualHost had a typo * endpoints.error.path is not a valid property * shell.command-path-patterns had a typo * spring.datasource.max-wait had a typo Fixes gh-1226
-
Dave Syer authored
Fixes gh-1259
-
Dave Syer authored
-
Andy Wilkinson authored
Fixes #1247
-
- 17 Jul, 2014 3 commits
-
-
Dave Syer authored
Fixes gh-1257
-
Dave Syer authored
Using StringUtils.commaDelimitedListToSet() does not preserve order (why?), so we have to use commaDelimitedListToStringArray(). Fixes gh-1262
-
Dave Syer authored
Before this change a property whose key was in a non-enumerable property source would not resolve placeholders, leading to ${style} values in @ConfigurationProperties beans even if the placeholders ere resolvable.
-
- 15 Jul, 2014 5 commits
-
-
Andy Wilkinson authored
Closes #1234
-
Andy Wilkinson authored
Closes #1220
-
Andy Wilkinson authored
Closes #1224
-
Ilayaperumal Gopinathan authored
- If `logging.config` is set and could open/read the resource then, return. - Currently, it logs warning though the resource is successfully read.
-
Lukasz Kryger authored
-
- 10 Jul, 2014 2 commits
-
-
Dave Syer authored
Both embedded containers need to be checked after starting to ensure that they are actually running. With Jetty it's just a question of catching an exception but with Tomcat it's harder (the current solution involves duplicating some code from initialize() into start() essentially checking the lifecycle state). Also adjusted the log levels to prevent noise at WARN level by default when this happens (since the exception is logged and rethrown anyway). There is still the issue of whether to fail the build in Maven or Gradle (separate issue really). Fixes gh-1232
-
Dave Syer authored
The problem with the old code is that it worces a ResourceBundle to initialize with the default encoding (and that is then cached in the JDK) during @Condition evaluation (so before the encoding is known). Includes test for swedish messages Fixes gh-1228
-
- 09 Jul, 2014 1 commit
-
-
Stephane Nicoll authored
-
- 08 Jul, 2014 10 commits
-
-
Phillip Webb authored
-
Spring Buildmaster authored
-
Phillip Webb authored
* gh-1206: Restore AMQP vHost leading `/` support
-
Gary Russell authored
Update RabbitProperties since vHosts have no restrictions requiring a leading slash and can have any number of leading slashes. Fixes gh-1206
-
Phillip Webb authored
-
Phillip Webb authored
Fixes gh-1210
-
Phillip Webb authored
Fixes gh-1217
-
Phillip Webb authored
Fixes gh-1208
-
Andy Wilkinson authored
Due to a mistake in Spring Batch 3.0.0 it has been necessary to introduce a breaking API change (the addition of BatchConfigurer.getJobExplorer()) in the 3.0.1 release. This commit updates Boot to use 3.0.1 and modifies the Batch auto-configuration and associated tests to implement the new method.
-
Phillip Webb authored
Extract some methods to aid readability.
-