Commit Graph

10315 Commits

Author SHA1 Message Date
Madhura Bhave 605b0aefc6 Simplify validation logic in ResourceServerProperties
Closes gh-8306
Closes gh-8317
2017-03-02 16:45:54 +00:00
Stephane Nicoll 3e0e4e81b9 Polish 2017-03-02 14:31:31 +01:00
Stephane Nicoll 5cc569fc91 Improve execution speed of `CacheAutoConfigurationTests`
As of Hazelcast 3.7, the bootstrap is pretty slow by default due to the
networking discovery. This commit disables both TCP/IP and multicast
discoveries.
2017-03-02 14:28:33 +01:00
Stephane Nicoll 3d97ffda6e Merge branch '1.4.x' into 1.5.x 2017-03-02 13:50:14 +01:00
Stephane Nicoll 3e570a3ee2 Upgrade to Spring Data Hopper.SR8
Closes gh-8443
2017-03-02 13:49:26 +01:00
Andy Wilkinson 832ab053b2 Merge pull request #8346 from Dave Syer
* gh-7221:
  Polish "Tighten up PropertiesLauncher's contract"
  Tighten up PropertiesLauncher's contract
2017-03-02 11:20:28 +00:00
Andy Wilkinson b36c8a7c24 Polish "Tighten up PropertiesLauncher's contract"
See gh-8346
Closes gh-7221
2017-03-02 11:19:48 +00:00
Dave Syer e4c807b884 Tighten up PropertiesLauncher's contract
The main changes are:

- Switch to `loader.properties` instead of `application.properties`
- Search for `loader.properties` in `loader.home` as well as in
  the classpath
- Placeholder replacements in MANIFEST.MF (using `loader.properties`
  or system/env vars)

See gh-7221
Closes gh-8346
2017-03-02 11:19:48 +00:00
Stephane Nicoll 5278baca01 Polish 2017-03-02 12:18:09 +01:00
Stephane Nicoll 0d61f92479 Ignore URI when local.mongo.port is set
This commit makes sure that if `local.mongo.port` is set, a `MongoClient`
on the embedded MongoDB instance is created. When an embedded instance
is detected, only the `host` property is used and the `uri` is ignored if
set.

This makes sure that the auto-configured `MongoClient` automatically
switches to the embedded server, even if a production uri has been
specified.

Closes gh-8219
2017-03-02 11:50:11 +01:00
Stephane Nicoll 82d4bf619d Upgrade to Spring Data Ingalls.SR1
Closes gh-8444
2017-03-02 11:49:04 +01:00
Stephane Nicoll 5355d6da72 Upgrade to Spring Security 4.2.2.RELEASE
Closes gh-8431
2017-03-02 09:57:18 +01:00
Stephane Nicoll b5b69cca03 Merge branch '1.4.x' into 1.5.x 2017-03-02 09:55:29 +01:00
Stephane Nicoll f3537daff4 Merge pull request #8143 from michael-simons:doc-migration
* pr/8143:
  Fix indentation
  Clarify usage of @ImportResource in doc
2017-03-02 09:55:18 +01:00
Stephane Nicoll 09205a8fc8 Fix indentation
Closes gh-8143
2017-03-02 09:54:34 +01:00
Michael J. Simons f50a0f9707 Clarify usage of @ImportResource in doc
See gh-8143
2017-03-02 09:54:26 +01:00
Stephane Nicoll ccb0e6b53a Merge branch '1.4.x' into 1.5.x 2017-03-02 09:51:58 +01:00
Stephane Nicoll 3e4ed59fdf Merge pull request #8460 from garyrussell:si
* pr/8460:
  Upgrade to Spring Integration 4.3.8.RELEASE
2017-03-02 09:51:14 +01:00
Gary Russell ba9853654a Upgrade to Spring Integration 4.3.8.RELEASE
Closes gh-8460
2017-03-02 09:50:56 +01:00
Stephane Nicoll 16fb8088e9 Upgrade to Spring AMQP 1.7.1.RELEASE
Closes gh-8461
2017-03-02 09:35:32 +01:00
Phillip Webb 3ee7dae09b Merge branch '1.4.x' into 1.5.x 2017-03-01 23:44:40 -08:00
Phillip Webb fded87225c Merge pull request #8227 from mkw/gh-8224
* pr/8227:
  Refine engine counter logic
  Polish web containers stop contribution
  Ensure web containers are stopped after close
2017-03-01 23:30:40 -08:00
Phillip Webb f1012c104a Polish 2017-03-01 23:29:20 -08:00
Phillip Webb 5aafbc2a3b Refine engine counter logic
Update counter logic to prevent negative values. Since the stop method
can now be called more than once, it was possible for the counter to
move into negative values.

See gh-8227
2017-03-01 23:07:48 -08:00
Phillip Webb 7fda9c162e Polish web containers stop contribution
See gh-8227
2017-03-01 23:07:41 -08:00
Michael K. Werle 757aa647cf Ensure web containers are stopped after close
Update `EmbeddedServletContainer` implementations to ensure that stop
can be called even if start has not. This allows servers that are
partially started during `initialize()` to still be shut down.

This commit fixes a regression caused by commit 0af53b361f.

See gh-8036
Fixes gh-8224
Closes gh-8227
2017-03-01 22:04:09 -08:00
Phillip Webb c06a9771c2 Support list based role properties
Update `HealthMvcEndpoint` to respect `ManagementServerProperties`
roles. Prior to this commit the `HealthMvcEndpoint` directly loaded
roles rather than using bound properties. This meant that list values
from yaml were not respected.

Fixes gh-8314
2017-03-01 21:35:50 -08:00
Phillip Webb 987b6c956e Polish 2017-03-01 20:43:04 -08:00
Phillip Webb 57111aba22 Get published DataSource from EntityManager
Update DataSourceInitializedPublisher to always attempt to obtain the
published DataSource directly from the EntityManager. In the case where
the EntityManager doesn't provide a DataSource, the previous logic is
used.

Fixes gh-8296
2017-03-01 20:42:26 -08:00
Madhura Bhave 031c9bf191 Validate authorities in MvcSecurityInterceptor
If Spring Security is on the classpath and `isUserInRole` returns false,
check if user has the authority to access the actuator endpoints.

Fixes gh-8255
2017-03-01 17:55:30 -08:00
Madhura Bhave e5e1f24d1f Revert "Skip MvcSecurityInterceptor if Spring Security present"
Instead of entirely skipping the interceptor, we will be additionally
checking for authorities.
2017-03-01 16:31:36 -08:00
Madhura Bhave ad5cb8a3cd Skip MvcSecurityInterceptor if Spring Security present
If Spring Security is on the classpath, the role check can be done
as part of the ManagementWebSecurityConfigurerAdapter.

Fixes gh-8255
2017-03-01 14:44:06 -08:00
Andy Wilkinson 30eb9c6756 Merge branch '1.4.x' into 1.5.x 2017-03-01 20:34:58 +00:00
Andy Wilkinson 055542f2b4 Merge pull request #8458 from Gary Russell
* gh-8458:
  Upgrade to Spring AMQP 1.6.8.RELEASE
2017-03-01 20:34:09 +00:00
Gary Russell 482a5a37c0 Upgrade to Spring AMQP 1.6.8.RELEASE
Closes gh-8458
2017-03-01 20:33:23 +00:00
Andy Wilkinson f9455ba5c5 Start building against Spring Data Ingalls snapshots again
See gh-8444
2017-03-01 20:20:40 +00:00
Andy Wilkinson 272db338f5 Merge branch '1.4.x' into 1.5.x 2017-03-01 20:04:41 +00:00
Andy Wilkinson ab920f086c Upgrade to Logback 1.1.11
Closes gh-8354
2017-03-01 20:03:58 +00:00
Andy Wilkinson 730e374450 Upgrade to Narayana 5.5.3.Final
Closes gh-8455
2017-03-01 18:34:32 +00:00
Andy Wilkinson abd1bad20a Upgrade to Jboss Transaction Spi 7.5.1.Final
Closes gh-8454
2017-03-01 18:34:26 +00:00
Andy Wilkinson dd6d2004ea Upgrade to Ehcache3 3.2.1
Closes gh-8453
2017-03-01 18:34:25 +00:00
Andy Wilkinson f9bd5d8d77 Upgrade to Jetty 9.4.2.v20170220
Closes gh-8452
2017-03-01 18:34:25 +00:00
Andy Wilkinson 0131bfafcf Upgrade to Undertow 1.4.11.Final
Closes gh-8451
2017-03-01 18:34:25 +00:00
Andy Wilkinson 3d3c2d53ba Merge branch '1.4.x' into 1.5.x 2017-03-01 18:31:13 +00:00
Andy Wilkinson e0e1a7f31e Upgrade to Slf4j 1.7.24
Closes gh-8450
2017-03-01 18:25:34 +00:00
Andy Wilkinson d114905449 Upgrade to Ehcache3 3.1.4
Closes gh-8449
2017-03-01 18:25:34 +00:00
Andy Wilkinson acb02475b5 Upgrade to Groovy 2.4.9
Closes gh-8448
2017-03-01 18:25:33 +00:00
Andy Wilkinson d7a124449d Upgrade to Mysql 5.1.41
Closes gh-8447
2017-03-01 18:25:30 +00:00
Andy Wilkinson 9240a8cd64 Upgrade to Dropwizard Metrics 3.1.3
Closes gh-8446
2017-03-01 18:25:26 +00:00
Andy Wilkinson 70472b36f1 Merge branch '1.4.x' into 1.5.x 2017-03-01 15:07:06 +00:00