Commit Graph

9018 Commits (32950bfec17cfa6eae6508df0a9964c1e0639993)
 

Author SHA1 Message Date
Stephane Nicoll 32950bfec1 Merge pull request #7299 from vpavic:resource-server-config
* pr/7299:
  Fix JWT token URI derivation
8 years ago
Vedran Pavic 5783cd5593 Fix JWT token URI derivation
Closes gh-7299
8 years ago
Stephane Nicoll 4311cf333f Remove sample reference in build 8 years ago
Stephane Nicoll 2c71cb8efd Polish 8 years ago
Stephane Nicoll 4407194c00 Replace sample by integration test
Closes gh-3888
8 years ago
Stephane Nicoll 44a32d0a5b Merge pull request #7322 from izeye:polish-20161105
* pr/7322:
  Polish
8 years ago
Johnny Lim ec9f0ab6b4 Polish
Closes gh-7322
8 years ago
Phillip Webb 1bd53ea9d8 Support package private requestFactory classes
Update `RestTemplateBuilder` to support package private `requestFactory`
classes.

Fixes gh-7319
8 years ago
Phillip Webb 90afc8ebbe Formatting 8 years ago
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
8 years ago
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
8 years ago
Andy Wilkinson 6a87df8e46 Upgrade to Spring Data Hopper SR5
Closes gh-7275
8 years ago
Madhura Bhave b04a74f01d Fix failure analysis for Collections and Maps
Closes gh-6996
8 years ago
Andy Wilkinson f02fa161b2 Upgrade to Jedis 2.8.2
Closes gh-7298
8 years ago
Andy Wilkinson 3d8428934e Upgrade to Spring Ws 2.3.1.RELEASE
Closes gh-7297
8 years ago
Andy Wilkinson b8df641ae5 Upgrade to Postgresql 9.4.1212.jre7
Closes gh-7296
8 years ago
Andy Wilkinson 5e1d6f6ea8 Upgrade to Jooq 3.8.5
Closes gh-7295
8 years ago
Andy Wilkinson f02e37cc4d Upgrade to Jolokia 1.3.5
Closes gh-7294
8 years ago
Andy Wilkinson 216e68bfe1 Upgrade to Narayana 5.3.5.Final
Closes gh-7293
8 years ago
Andy Wilkinson 0104ca435d Upgrade to Elasticsearch 2.4.1
Closes gh-7292
8 years ago
Andy Wilkinson 7d1164c279 Upgrade to Ehcache3 3.1.3
Closes gh-7291
8 years ago
Andy Wilkinson 4787a6059d Upgrade to Jetty 9.3.14.v20161028
Closes gh-7290
8 years ago
Andy Wilkinson 05ee521124 Upgrade to Tomcat 8.5.6
Closes gh-7289
8 years ago
Andy Wilkinson ecbe1a70bb Upgrade to Ehcache 2.10.3
Closes gh-7288
8 years ago
Andy Wilkinson 0d24a7f2aa Upgrade to Mysql 5.1.40
Closes gh-7287
8 years ago
Andy Wilkinson 1057efad21 Upgrade to Commons Beanutils 1.9.3
Closes gh-7286
8 years ago
Andy Wilkinson 756f9a9179 Upgrade to Hazelcast 3.6.6
Closes gh-7285
8 years ago
Andy Wilkinson 2148851ead Upgrade to Appengine 1.9.44
Closes gh-7284
8 years ago
Andy Wilkinson 175acd5c04 Upgrade to Caffeine 2.3.4
Closes gh-7283
8 years ago
Andy Wilkinson e4856749e1 Upgrade to Jackson 2.8.4
Closes gh-7282
8 years ago
Andy Wilkinson c370f498a9 Upgrade to Classmate 1.3.3
Closes gh-7281
8 years ago
Stephane Nicoll 8350238b8c Polish doc
See gh-5137
8 years ago
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.
8 years ago
Andy Wilkinson 6bcdc431b2 Start building against Spring Data Hopper snapshots
See gh-7275
8 years ago
Andy Wilkinson 6828997651 Correct minimum recommended version of Gradle to be 2.9 rather than 2.8
Closes gh-7189
See gh-6884
8 years ago
Andy Wilkinson b191974faa Reflect Java 7/8 differences in javadoc for metric repository auto-config
Closes gh-6985
8 years ago
Andy Wilkinson ae4b8dc420 Ensure that CLI-based tests automatically import new TestRestTemplate
See gh-6973
8 years ago
Andy Wilkinson 307fd94b4f Correct typo in the documentation for RestTemplateBuilder customization
See gh-7054
8 years ago
Andy Wilkinson fc0d4e45a5 Update CLI test auto-configuration to 1.4's new test infrastructure
Closes gh-6973
8 years ago
Andy Wilkinson be78dc4b99 Flesh out the documentation on RestTemplateBuilder customization
Closes gh-7054
8 years ago
Andy Wilkinson 4919c6f30c Ignore scoped targets when collecting servlet context initializer beans
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
8 years ago
Andy Wilkinson 7e8c5f5940 Silence CLI dependency resolution progress reporting when run with -q
Closes gh-7247
8 years ago
Phillip Webb cecc1c8817 Disable DevTools property defaults in production
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
8 years ago
Phillip Webb c6657aaf12 Merge pull request #7066 from youngm/pidotherevents
* pr/7066:
  Support ApplicationReadyEvent from PidFileWriter
8 years ago
Mike Youngstrom 970dcc3fd3 Support ApplicationReadyEvent from PidFileWriter
Update `ApplicationPidFileWriter` to support `ApplicationReadyEvent` in
addition to the already supported `ApplicationEnvironmentPreparedEvent`
and `ApplicationPreparedEvent` events.

Closes gh-7066
Fixes gh-7027
8 years ago
Phillip Webb 5a3b881e1f Merge pull request #7217 from gdpotter/master
* pr/7217:
  Respect 'primary' flag when replacing databases
8 years ago
Greg Potter 39d5881bf2 Respect 'primary' flag when replacing databases
Update TestDatabaseAutoConfiguration to ensure that the the `primary`
flag of the `BeanDefinition` is copied.

Closes gh-7217
8 years ago
Phillip Webb dbf6d3d418 Don't detect persistenceUnitRootLocation
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
8 years ago
Phillip Webb 60355e0e11 Fix ResourceHttpRequestHandler delegate
Fix ResourceHttpRequestHandler to set the ServletContext following the
Spring Framework update for SPR-14851.
8 years ago
Andy Wilkinson cdcc3d2f28 Ensure getResources("") includes nested root URLs
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
8 years ago