Commit Graph

9033 Commits

Author SHA1 Message Date
Andy Wilkinson 5f44598d8b Remove use of static import that Checkstyle prohibits 2016-11-08 13:50:15 +00:00
Andy Wilkinson 33dcd853fd Ensure that health endpoint remains insecure without Spring Security
The changes made in 6a2ac080 mean that getSecurity() on
ManagementServerProperties will no longer return null when Spring
Security is on the classpath. This had the unwanted side-effect of
causing the health endpoint to hide its details when Spring Security
was not on the classpath.

This commit reinstates the previous behaviour by only considering
the health endpoint to be secure if Spring Security is on the
classpath and management.security.enabled is true.

Closes gh-7345
2016-11-08 13:18:05 +00:00
Andy Wilkinson 808185ab4e Make LaunchedURLClassLoader Java 6 compatible again
Closes gh-7334
2016-11-08 10:35:18 +00:00
Andy Wilkinson aafb308eaf Merge pull request #7334 from Christoph Dreis
* gh-7334:
  Reinstate LaunchedURLClassLoader's registration  as parallel capable
2016-11-08 10:02:55 +00:00
dreis 7a797909ae Reinstate LaunchedURLClassLoader's registration as parallel capable
Closes gh-7334
2016-11-08 09:58:14 +00:00
Stephane Nicoll 318701daa7 Apply DispatcherServlet customizations to MockMvc
This commits makes sure that customizations on `DispatcherServlet` are
also applied to the `TestDispatcherServlet` that `MockMvc` is using
internally.

Closes gh-5891
2016-11-08 10:56:54 +01:00
Stephane Nicoll 18c2a2f4fe Upgrade to Spring Framework 4.3.4.RELEASE
Closes gh-7213
2016-11-08 07:48:53 +01:00
Andy Wilkinson adfc5d22ca Upgrade to Spring Integration Java DSL 1.1.4.RELEASE
Closes gh-7342
2016-11-08 06:44:47 +00:00
Andy Wilkinson bc2a412408 Upgrade to Spring Integration 4.3.5.RELEASE
Closes gh-7341
2016-11-08 06:44:15 +00:00
Andy Wilkinson e136ef6f7d Upgrade to Spring AMQP 1.6.4.RELEASE
Closes gh-7340
2016-11-08 06:43:42 +00:00
Andy Wilkinson 42581debfe Upgrade to Spring Security OAuth 2.0.12.RELEASE
Closes gh-7339
2016-11-08 06:38:48 +00:00
Stephane Nicoll d405265e83 Merge pull request #7326 from sebastiankirsch:master
* pr/7326:
  Polish contribution
  Add @Inherited to all AutoConfigure* classes
2016-11-06 11:43:58 +01:00
Stephane Nicoll ebfd86ea26 Polish contribution
Closes gh-7326
2016-11-06 11:42:45 +01:00
sebastiankirsch e8b0a64872 Add @Inherited to all AutoConfigure* classes
See gh-7326
2016-11-06 11:39:12 +01:00
Stephane Nicoll f80dbd1a21 Upgrade to joda-time 2.9.5
Closes gh-7308
2016-11-06 11:34:13 +01:00
Stephane Nicoll 32950bfec1 Merge pull request #7299 from vpavic:resource-server-config
* pr/7299:
  Fix JWT token URI derivation
2016-11-06 11:25:15 +01:00
Vedran Pavic 5783cd5593 Fix JWT token URI derivation
Closes gh-7299
2016-11-06 11:24:50 +01:00
Stephane Nicoll 4311cf333f Remove sample reference in build 2016-11-05 11:14:50 +01:00
Stephane Nicoll 2c71cb8efd Polish 2016-11-05 11:10:17 +01:00
Stephane Nicoll 4407194c00 Replace sample by integration test
Closes gh-3888
2016-11-05 11:09:36 +01:00
Stephane Nicoll 44a32d0a5b Merge pull request #7322 from izeye:polish-20161105
* pr/7322:
  Polish
2016-11-05 07:42:50 +01:00
Johnny Lim ec9f0ab6b4 Polish
Closes gh-7322
2016-11-05 07:42:37 +01:00
Phillip Webb 1bd53ea9d8 Support package private requestFactory classes
Update `RestTemplateBuilder` to support package private `requestFactory`
classes.

Fixes gh-7319
2016-11-04 15:58:27 -07:00
Phillip Webb 90afc8ebbe Formatting 2016-11-03 14:48:10 -07:00
Phillip Webb 6a2ac080ac Create our own SessionCreationPolicy enum
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
2016-11-03 14:36:49 -07:00
Andy Wilkinson 97e5e32496 Make sure the MetricsFilter uses committed response's status
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
2016-11-03 20:08:31 +00:00
Andy Wilkinson 6a87df8e46 Upgrade to Spring Data Hopper SR5
Closes gh-7275
2016-11-03 18:54:42 +00:00
Madhura Bhave b04a74f01d Fix failure analysis for Collections and Maps
Closes gh-6996
2016-11-03 10:14:01 -07:00
Andy Wilkinson f02fa161b2 Upgrade to Jedis 2.8.2
Closes gh-7298
2016-11-03 15:39:31 +00:00
Andy Wilkinson 3d8428934e Upgrade to Spring Ws 2.3.1.RELEASE
Closes gh-7297
2016-11-03 15:39:30 +00:00
Andy Wilkinson b8df641ae5 Upgrade to Postgresql 9.4.1212.jre7
Closes gh-7296
2016-11-03 15:39:30 +00:00
Andy Wilkinson 5e1d6f6ea8 Upgrade to Jooq 3.8.5
Closes gh-7295
2016-11-03 15:39:30 +00:00
Andy Wilkinson f02e37cc4d Upgrade to Jolokia 1.3.5
Closes gh-7294
2016-11-03 15:39:29 +00:00
Andy Wilkinson 216e68bfe1 Upgrade to Narayana 5.3.5.Final
Closes gh-7293
2016-11-03 15:39:29 +00:00
Andy Wilkinson 0104ca435d Upgrade to Elasticsearch 2.4.1
Closes gh-7292
2016-11-03 15:39:29 +00:00
Andy Wilkinson 7d1164c279 Upgrade to Ehcache3 3.1.3
Closes gh-7291
2016-11-03 15:39:28 +00:00
Andy Wilkinson 4787a6059d Upgrade to Jetty 9.3.14.v20161028
Closes gh-7290
2016-11-03 15:39:28 +00:00
Andy Wilkinson 05ee521124 Upgrade to Tomcat 8.5.6
Closes gh-7289
2016-11-03 15:39:28 +00:00
Andy Wilkinson ecbe1a70bb Upgrade to Ehcache 2.10.3
Closes gh-7288
2016-11-03 15:39:27 +00:00
Andy Wilkinson 0d24a7f2aa Upgrade to Mysql 5.1.40
Closes gh-7287
2016-11-03 15:39:26 +00:00
Andy Wilkinson 1057efad21 Upgrade to Commons Beanutils 1.9.3
Closes gh-7286
2016-11-03 15:39:26 +00:00
Andy Wilkinson 756f9a9179 Upgrade to Hazelcast 3.6.6
Closes gh-7285
2016-11-03 15:39:26 +00:00
Andy Wilkinson 2148851ead Upgrade to Appengine 1.9.44
Closes gh-7284
2016-11-03 15:39:26 +00:00
Andy Wilkinson 175acd5c04 Upgrade to Caffeine 2.3.4
Closes gh-7283
2016-11-03 15:39:25 +00:00
Andy Wilkinson e4856749e1 Upgrade to Jackson 2.8.4
Closes gh-7282
2016-11-03 15:39:25 +00:00
Andy Wilkinson c370f498a9 Upgrade to Classmate 1.3.3
Closes gh-7281
2016-11-03 15:39:24 +00:00
Stephane Nicoll 8350238b8c Polish doc
See gh-5137
2016-11-03 12:29:57 +01:00
Craig Andrews fc535fe27c Disable resource chain cache when DevTools is enabled
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.
2016-11-03 10:44:32 +01:00
Andy Wilkinson 6bcdc431b2 Start building against Spring Data Hopper snapshots
See gh-7275
2016-11-02 17:06:35 +00:00
Andy Wilkinson 6828997651 Correct minimum recommended version of Gradle to be 2.9 rather than 2.8
Closes gh-7189
See gh-6884
2016-11-01 14:25:07 +00:00