Commit Graph

9499 Commits

Author SHA1 Message Date
Andy Wilkinson 149f19cd58 Register any EventListener beans with auto-configured SessionFactory
Closes gh-7531
2016-12-13 12:41:29 +00:00
Andy Wilkinson 0db924c369 Upgrade to Neo4j OGM 2.1.0
Closes gh-7633
2016-12-13 12:23:15 +00:00
Andy Wilkinson d9e2368512 Merge branch '1.4.x' into 1.5.x 2016-12-13 10:02:52 +00:00
Andy Wilkinson 14a90aa52e Update SpringApplicationBuilder javadoc to reflect API changes
Closes gh-7609
2016-12-13 10:02:00 +00:00
Andy Wilkinson 391a760c3c Merge branch '1.4.x' into 1.5.x 2016-12-13 09:44:16 +00:00
Andy Wilkinson 4ec95b8308 Ensure that JolokiaMvcEndpoint destroys underlying controller
Closes gh-7606
2016-12-13 09:42:14 +00:00
Dave Syer 1baf3c63c4 Make the Spring Security part of CF autoconfig conditional
Otherwise you get a class not found exception at runtime in
CF when Spring Securtity is not on the classpath.
2016-12-12 15:05:48 +00:00
Dave Syer cc8ecb6ff5 Clear VCAP_APPLICATION after tests
So that other CF tests do not fail.
2016-12-12 15:05:07 +00:00
Stephane Nicoll 95ee145281 Merge branch '1.4.x' into 1.5.x 2016-12-12 11:41:01 +01:00
Stephane Nicoll b80ad2a212 Harmonize Caffeine CacheManager bean name
Closes gh-6980
2016-12-12 11:40:39 +01:00
Madhura Bhave b29620f2ad Allow overriding case in SpringPhysicalNamingStrategy
Fixes gh-7410
2016-12-08 14:25:39 -08:00
Andy Wilkinson 5d7453a635 Merge branch '1.4.x' into 1.5.x 2016-12-08 20:56:34 +00:00
Andy Wilkinson 61f086591c Revert "Start building against Spring Framework 4.3.5 snapshots"
This reverts commit 47f1aeb589.
2016-12-08 20:55:57 +00:00
Andy Wilkinson 671dea0d6b Merge branch '1.4.x' into 1.5.x 2016-12-08 17:36:21 +00:00
Andy Wilkinson 4a709ea86d Start building against snapshots for Spring Data Hopper SR6
See gh-7602
2016-12-08 17:35:53 +00:00
Andy Wilkinson a9f59d586d Merge branch '1.4.x' into 1.5.x 2016-12-08 17:33:57 +00:00
Andy Wilkinson 47f1aeb589 Start building against Spring Framework 4.3.5 snapshots
See gh-7601
2016-12-08 17:33:02 +00:00
Stephane Nicoll 8a50dae01a Add missing entry for `server.tomcat.accesslog.buffered`
See gh-7456
2016-12-08 15:57:44 +01:00
Andy Wilkinson 53287eadf6 Merge branch '1.4.x' into 1.5.x 2016-12-08 11:38:13 +00:00
Andy Wilkinson 2d8344d46d Ensure that JarLauncher doesn't cause root jar to be on class path twice
Closes gh-7595
2016-12-08 11:34:22 +00:00
Madhura Bhave 5d8e00cb56 Fix HealthMvcEndpointTests
See gh-7569
2016-12-06 13:18:10 -08:00
Madhura Bhave 1be5812cf0 Require `ACTUATOR` role rather than `ADMIN`
Update management security to require an `ACTUATOR` role rather than
`ADMIN` by default. This should reduce the risk of users accidentally
exposing actuator endpoints because they happen to use a role named
`ADMIN`.

Fixes gh-7569
2016-12-05 17:58:16 -08:00
Madhura Bhave 95be208f0f Use IgnoredRequestCustomizer to ignore paths
Update `SpringBootWebSecurityConfiguration` to ignore requests by
delegating to `IgnoredRequestCustomizer` beans. This allows a single
Spring Boot `WebSecurityConfigurer<WebSecurity>` bean to be used which
prevents potential exceptions caused by duplicate `@Order` values.

Fixes gh-7106
2016-12-05 17:57:18 -08:00
Madhura Bhave d09aafacda Add a security interceptor for actuator endpoints
Update `AbstractEndpointHandlerMapping` to support a security
interceptor that can be used to enforce endpoint security.

Fixes gh-6889
2016-12-05 17:57:00 -08:00
Phillip Webb f6b0652369 Merge branch '1.4.x' into 1.5.x 2016-12-05 11:17:13 -08:00
Madhura Bhave 64da63aa96 Use empty message for Non-Spring Boot Condition
Update `AbstractNestedCondition` to use an empty message for non
Spring Boot nested conditions.

Fixes gh-7519
Closes gh-7529
2016-12-05 11:16:25 -08:00
Phillip Webb e430583eaf Polish 2016-12-05 11:08:38 -08:00
Andy Wilkinson 887a206b0c Remove redundant @ConfigurationProperties annotation
See gh-7397
2016-12-05 13:17:12 +00:00
Andy Wilkinson 3e9a4de869 Allow spring.profiles to be configured as a YAML list/array
Closes gh-7397
2016-12-05 12:11:24 +00:00
Andy Wilkinson 967625db1e Replace field injection with constructor injection in config classes
Closes gh-7563
2016-12-05 10:48:01 +00:00
Andy Wilkinson 5ac75c949c Increate timeout in Kafka tests as Windows CI agents are very slow 2016-12-05 09:20:43 +00:00
Andy Wilkinson 1464425d64 Remove use of @Component from classes that are not scanned
Closes gh-7549
2016-12-02 17:57:21 +00:00
Andy Wilkinson b60150b05e Make Tomcat Access Log's buffering configurable via the environment
Closes gh-7456
2016-12-02 13:58:26 +00:00
Andy Wilkinson b546fd1046 Merge branch '1.4.x' into 1.5.x 2016-12-02 13:41:15 +00:00
Andy Wilkinson 6061dd492e Increase timeout in DevTools integration tests and improve diagnostics 2016-12-02 13:40:22 +00:00
Andy Wilkinson 0df03a95f0 Merge branch '1.4.x' into 1.5.x 2016-12-02 11:33:52 +00:00
Andy Wilkinson c5af34bee4 Merge pull request #7535 from Pei-Tang Huang
* gh-7535:
  Quote $jarfile when creating arguments in launch script
2016-12-02 11:33:34 +00:00
Pei-Tang Huang 5a5e2db134 Quote $jarfile when creating arguments in launch script
Previously, if the pathname of fully executable contained any space
characters, the launch script would fail to locate the jar file

This commit fixes this issue by quoting the jarfile.

Closes gh-7535
2016-12-02 11:31:51 +00:00
Andy Wilkinson cee2f818d6 Fix m2e error caused by spring-boot-sample-custom-layout 2016-12-02 11:20:39 +00:00
Stephane Nicoll ee72e788ed Rename `spring-boot-junit-runners` to `spring-boot-test-support`
Closes gh-7421
2016-12-01 16:25:47 +01:00
Andy Wilkinson f454adca1a Merge branch '1.4.x' into 1.5.x 2016-12-01 14:47:44 +00:00
Andy Wilkinson d9bd211062 Link to correct branch on GitHub from snapshot documentation
Closes gh-7548
2016-12-01 14:46:39 +00:00
Andy Wilkinson 8494635a05 Merge branch '1.4.x' into 1.5.x 2016-12-01 14:37:10 +00:00
Andy Wilkinson b798b5a40b Update docs to reflect Gradle plugin being available in the Plugin Portal
Closes gh-1567
2016-12-01 14:37:01 +00:00
Stephane Nicoll 85de72c0d0 Merge branch '1.4.x' into 1.5.x 2016-12-01 15:26:06 +01:00
Stephane Nicoll 2a85a2557d Fix health indicator auto-configuration order
Previously, the health auto-configuration `AutoconfigureOrder` entry for
couchbase was referring to the standard couchbase auto-configuration that
is not responsible to configure the `CouchbaseOperations` bean. Yet, the
health indicator implementation was relying on the presence of such a
bean.

This commit fixes the `AutoconfigureOrder` entry so that it refers to
`CouchbaseDataAutoConfiguration` now.

Closes gh-7543
2016-12-01 15:25:51 +01:00
Stephane Nicoll c127c1fdf9 Polish doc
Closes gh-7381
2016-12-01 14:54:54 +01:00
Stephane Nicoll b4e7a96868 Harmonize LoggingApplicationListener constants
Closes gh-4970
2016-12-01 14:49:46 +01:00
Andy Wilkinson 9f1e90d3c0 Merge branch '1.4.x' into 1.5.x 2016-12-01 13:30:25 +00:00
Andy Wilkinson 36981259a5 Document that CRaSH commands written in Java are not supported
Closes gh-7471
2016-12-01 13:29:49 +00:00