- 03 Nov, 2016 24 commits
-
-
Phillip Webb authored
Update `ManagementServerProperties` so that `security.sessions` no longer uses `SessionCreationPolicy` from Spring Security. We now use our own enun which allows `management.security.*` properties to be set without the risk of a `ClassNotFoundException`. Fixes gh-3888
-
Andy Wilkinson authored
Previously, if an exception was thrown during request handling after the response had been committed, i.e. after the status and headers had been written, the metrics filter would assume that it was a 500 response. This was potentially inaccurate as the status had already been sent to the client and before the exception was thrown and it may have been something other than a 500. This commit updates MetricsFilter so that it will use the status from the response if the response has been committed even when an exception is thrown. Closes gh-7277
-
Andy Wilkinson authored
Closes gh-7275
-
Madhura Bhave authored
Closes gh-6996
-
Andy Wilkinson authored
Closes gh-7298
-
Andy Wilkinson authored
Closes gh-7297
-
Andy Wilkinson authored
Closes gh-7296
-
Andy Wilkinson authored
Closes gh-7295
-
Andy Wilkinson authored
Closes gh-7294
-
Andy Wilkinson authored
Closes gh-7293
-
Andy Wilkinson authored
Closes gh-7292
-
Andy Wilkinson authored
Closes gh-7291
-
Andy Wilkinson authored
Closes gh-7290
-
Andy Wilkinson authored
Closes gh-7289
-
Andy Wilkinson authored
Closes gh-7288
-
Andy Wilkinson authored
Closes gh-7287
-
Andy Wilkinson authored
Closes gh-7286
-
Andy Wilkinson authored
Closes gh-7285
-
Andy Wilkinson authored
Closes gh-7284
-
Andy Wilkinson authored
Closes gh-7283
-
Andy Wilkinson authored
Closes gh-7282
-
Andy Wilkinson authored
Closes gh-7281
-
Stephane Nicoll authored
See gh-5137
-
Craig Andrews authored
If the resource chain is used, such as by using the `"spring.resources.chain.strategy.content.enabled"` property, resource chain caching can prevent the developer from seeing changes made to resources, so that caching should be disabled when DevTools is enabled. This commit sets the `"spring.resources.chain.cache"` property to `true` when devtools is enabled.
-
- 02 Nov, 2016 1 commit
-
-
Andy Wilkinson authored
See gh-7275
-
- 01 Nov, 2016 9 commits
-
-
Andy Wilkinson authored
Closes gh-7189 See gh-6884
-
Andy Wilkinson authored
Closes gh-6985
-
Andy Wilkinson authored
See gh-6973
-
Andy Wilkinson authored
See gh-7054
-
Andy Wilkinson authored
Closes gh-6973
-
Andy Wilkinson authored
Closes gh-7054
-
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
Closes gh-7247
-
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 6 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.
-