- 01 Nov, 2016 17 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
See gh-6973
-
Andy Wilkinson authored
-
Andy Wilkinson authored
See gh-7054
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6973
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7054
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, there were two problems with servlet context initializer beans that are a scoped proxy: 1. When there's no explicit registration bean the target of the scoped proxy is registered rather than the proxy. This meant that the proxy had no effect as it was being bypassed. 2. When there is an explicit registration bean, the registration is performed twice: the faulty implicit registration described above and explicit registration. A fix (SPR-14816) has been made in Spring Framework so that we can correctly determine the type of bean that will be produced by a scoped proxy's factory bean. That change, coupled with the change in this commit that ignored beans that are the target of a scoped proxy addresses both of the problems described above. A single registration is now performed and its the scoped proxy, rather than its target, that is registered. Closes gh-7150
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7247
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
See gh-5010
-
Phillip Webb authored
This reverts commits: - 974ec92a. - 537e0c12. - 500a3df6.
-
Phillip Webb authored
Update `DevToolsPropertyDefaultsPostProcessor` so that property defaults are only added at development time. Properties are now added only when `Restarter` is initialize or remote devtools is enabled. Fixes gh-7014
-
- 31 Oct, 2016 15 commits
-
-
Phillip Webb authored
* pr/7066: Support ApplicationReadyEvent from PidFileWriter
-
Mike Youngstrom authored
Update `ApplicationPidFileWriter` to support `ApplicationReadyEvent` in addition to the already supported `ApplicationEnvironmentPreparedEvent` and `ApplicationPreparedEvent` events. Closes gh-7066 Fixes gh-7027
-
Phillip Webb authored
* pr/7217: Respect 'primary' flag when replacing databases
-
Greg Potter authored
Update TestDatabaseAutoConfiguration to ensure that the the `primary` flag of the `BeanDefinition` is copied. Closes gh-7217
-
Phillip Webb authored
Update JpaBaseConfiguration so that the persistenceUnitRootLocation is no longer detected. The update to gh-7003 means that we can now rely on the standard detection mechanism. Fixes gh-6983 See gh-6635
-
Phillip Webb authored
Fix ResourceHttpRequestHandler to set the ServletContext following the Spring Framework update for SPR-14851.
-
Andy Wilkinson authored
Previously, if Boot's JarURLConnection pointed to the root of a nested entry, e.g. /BOOT-INF/classes, a call to getInputStream() would throw an IOException. This behavior is reasonable for a URL that points to the root of a normal jar as the jar itself is on the class path anyway. However, for a nested jar it meant that a call to ClassLoader.getResources("") would not include URLs for any nested jars and directories (/BOOT-INF/classes and jars in /BOOT-INF/lib). This is due to some logic in URLClassPath.Loader.findResource that verifies a URL by opening a connection and calling getInputStream(). The result of missing URLs for the root of nested jars and directories is that classpath scanning that scans from the root (not a good idea for performance reasons, but something that we should support) would not find entries in /BOOT-INF/classes or in jars in /BOOT-INF/lib. This commit updates our JarURLConnection so that it no longer throws an IOException when asked for an InputStream for the root of a nested entry (directory or jar). Fixes gh-7003
-
Phillip Webb authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-7256
-
Stephane Nicoll authored
Previously, if an auto-configuration class was (wrongly) located in a candidate package for component scanning, the class was silently loaded as an app configuration (i.e. with the wrong lifecycle). This commit adds an `AutoConfigurationExcludeFilter` to `@SpringBootApplication` so that such classes are automatically filtered. Since they are registered in `spring.factories`, we can silently ignore them since we know they'll be loaded later on. Closes gh-7168
-
Stephane Nicoll authored
* pr/7253: Fix typo
-
Johnny Lim authored
Closes gh-7253
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit improves `TomcatEmbeddedServletContainerFactory` so that tld skip patterns can be set or added to an existing set. An additional `server.tomcat.additional-tld-skip-patterns` is now being exposed to easily add patterns via configuration. Closes gh-5010
-
- 30 Oct, 2016 8 commits
-
-
Dave Syer authored
A layout can also optionally change the loader jar that is unpacked in the root of the repackaged archive by implementing a new method in Layout.
-
Dave Syer authored
Instead of a fixed enum of layout types, user can provide custom layouts via implementations of LayoutFactory in spring.factories.
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/7215: Polish contribution Update documentation on Actuator hypermedia support
-
Stephane Nicoll authored
Closes gh-7215
-
Johnny Lim authored
Spring Boot Actuator hypermedia support has been disabled by default via c7c685f6, but its documentation wasn't updated. This commit updates the documentation related to the change. See gh-7215
-