- 04 May, 2016 2 commits
- 02 May, 2016 3 commits
-
-
Stephane Nicoll authored
Closes gh-5823
-
Stephane Nicoll authored
Closes gh-5811
-
Stephane Nicoll authored
Previously, if a void method with a single argument was named "set", the annotation processor wrongly considered it was a setter candidate. This commit updates the condition to ignore it. Closes gh-5826
-
- 30 Apr, 2016 1 commit
-
-
Cristian Greco authored
Closes gh-5829
-
- 28 Apr, 2016 2 commits
-
-
Phillip Webb authored
-
Dave Syer authored
Rabbit client 3.6.* uses TLSv1.1 as the default algorithm which many brokers are deisabling these days. Spring AMQP supports changing the algorithm by name, so this is just a pass thru for that.
-
- 27 Apr, 2016 1 commit
-
-
Andy Wilkinson authored
Closes gh-5166
-
- 26 Apr, 2016 3 commits
-
-
Stephane Nicoll authored
Closes gh-5782
-
Venil Noronha authored
Closes gh-5751
-
Stephane Nicoll authored
Closes gh-5786
-
- 25 Apr, 2016 1 commit
-
-
Dave Syer authored
It sometimes has to catch an exception from the security filter so it needs to be before, and somehow this hasn't been a problem up to now, but probably only by some fluke. Fixes gh-5792
-
- 22 Apr, 2016 1 commit
-
-
Dave Syer authored
Before this change the app context closes and metrics that have not yet been exported ccan be orphaned. The design of this feature is simple: use Closeable where possible, so that it will be called automatically by Spring on shutdown. Fixes gh-5771
-
- 21 Apr, 2016 2 commits
-
-
Dave Syer authored
The MetricCopyExporter has had the capability for a while to keep track of counters internally. This change aligns that with the PrefixMetricGroupExporter. Fixes gh-5762
-
Andy Wilkinson authored
Closes gh-5757
-
- 20 Apr, 2016 2 commits
-
-
Andy Wilkinson authored
Closes gh-5446
-
Andy Wilkinson authored
Previously, the web application context was only set on the ServletContext in a full-blown integration test or when MockMvc was used. This commit updates SpringApplicationContextLoader so that the context is also set on the context in a plain web application test (one where MockMvc is not being used). The change is a partial backport of commit 7dffb702. Closes gh-4370
-
- 19 Apr, 2016 1 commit
-
-
Andy Wilkinson authored
Previously, there were two problems with DevTools’ DataSource auto-configuration: 1. It did not tolerate a context with multiple DataSources 2. It would attempt to shut down a DataSource that had not been created by DataSourceAutoConfiguration and, therefore, where we could not be sure of its configuration. This commit updates DevToolsDataSourceAutoConfiguration so that it backs off unless the context contains DataSourceProperties and a single DataSource created by DataSourceAutoConfiguration. This ensures that it can safely use DataSourceProperties to get the DataSource’s driver class name and accurately determine if it’s an in-memory or external database. Shutdown is only called for an in-memory database. Closes gh-5540
-
- 18 Apr, 2016 4 commits
-
-
Andy Wilkinson authored
Closes gh-5664
-
Andy Wilkinson authored
Previously, spring.thymeleaf.cache was only applied to auto-configured TemplateResolver. This commit also applies the propery to the auto-configured ThymeleafViewResolver. Closes gh-5395
-
Andy Wilkinson authored
Previously, if the filter chain threw an unhandled exception, WebRequestTraceFilter would record a trace with a response status of 200. This occurred because response.getStatus() would return 200 as the container had not yet caught the exception and mapped it to an error response. This commit updates WebRequestTraceFilter to align its behaviour with MetricsFilter. It now assumes that the response status will be a 500 and only updates that to the status of the response if the call to the filter chain returns successfully. To avoid making a breaking change to the signature of the protected enhanceTrace method, an HttpServletResponseWrapper is used to include the correct status in the trace. Closes gh-5331
-
Andy Wilkinson authored
Flyway 4.0 provides support for repeatable migrations that do not have a version. When such a migration has been performed, MigrationInfo.getMigrationVersion() will return null and, previously, FlywayEndpoint would fail with an NPE. This commit updates FlywayEndpoint to use null as the version when MigrationInfo.getMigrationVersion() returns null. Closes gh-5700
-
- 15 Apr, 2016 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-5704
-
- 12 Apr, 2016 4 commits
-
-
Phillip Webb authored
* pull5053: Make UserInfoTokenServices.getPrincipal protected
-
Sergey Pauk authored
Update UserInfoTokenServices.getPrincipal() so that it can be overridden by subclasses to allow a custom authenticated principal to be returned from the authorized request parameters. Fixes gh-5053
-
Phillip Webb authored
Update RelaxedDataBinder.extendCollectionIfNecessary to use the current index when checking if the path node is an array. Fixes gh-5635
-
Andy Wilkinson authored
5e0ba6ea added support for reading a jar manifest's Class-Path attribute when resolving changeable URLs from a URLClassLoader, however it did not handle relative URLs, i.e. URLs without a protocol, correctly. This commit updates ChangeableUrls so that it uses the URL of the JAR that contains the manifest as the base for any new URLs that are created. When the Class-Path entry is relative, this base will be used. When the Class-Path entry is absolutee, URL's constructor will ignore the supplied base. Closes gh-5665
-
- 10 Apr, 2016 6 commits
-
-
Phillip Webb authored
See gh-5287
-
Phillip Webb authored
Ensure any ChildManagementContext created to start a management server on a different port uses the same EmbeddedServletContainerFactory type. Fixes gh-5474
-
Phillip Webb authored
Update ServerProperties so that `null` values are not applied when customizing the EmbeddedServletContainerFactory. Primarily changed to stop `server.undertow.accesslog.enabled` from being blindly applied. Fixes gh-5515
-
Phillip Webb authored
Update the auto-configured MessageChannelMetricWriter with @ExportMetricWriter so that metrics are actually exported. Fixes gh-5517
-
Phillip Webb authored
Update JettyEmbeddedServletContainerFactory so that requests other than just GET, POST and HEAD are handled by the ErrorHandler. Fixes gh-5367
-
Phillip Webb authored
-
- 07 Apr, 2016 1 commit
-
-
Andy Wilkinson authored
To overcome command length limits on Windows, IntelliJ IDEA may launch an application with a single jar on the classpath that contains that application's actual classpath in the Class-Path attribute of its manifest. This would prevent DevTools restarts from working as it only considered the single jar's URL when identifying changeable URLs and ignored the URLs added to the classpath via the jar's manifest. This commit updates ChangeableUrls when it is created from a URLClassLoader to consider the Class-Path manifest attribute of any jars in the class loader's URLs. This allows the full classpath to be considered when identifying URLs that are changeable and that need to be monitored for restart triggering. Closes gh-5127
-
- 06 Apr, 2016 4 commits
-
-
Andy Wilkinson authored
* gh-5289: Polish contribution Update JarURLConnection to support jar:file://… URLs
-
Andy Wilkinson authored
-
file://…Vladimir Tsanev authored
Previously, JarURLConnection would fail when created with a URL that began with jar:file:// as the double-slash is not included in jarFile.getUrl().getFile(). This commit updates JarURLConnection to normalise the value return from url.getFile() to remove a double-slash when present. Fixes gh-5287 Closes gh-5289
-
Andy Wilkinson authored
* gh-5397: Improve repeatability of launch script tests
-