Commit Graph

5742 Commits

Author SHA1 Message Date
Phillip Webb
60b8cb8a47 Fix package tangle in spring-boot-actuator
Introduce ManagementServletContext interface as a facade for
ManagementServerProperties to resolve the package tangle between
`o.s.boot.actuate.endpoint.mvc` and `o.s.boot.actuate`

Fixes gh-3887
2015-09-03 14:19:43 -07:00
Phillip Webb
da0d85c30e Deprecate Log4JLoggingSystem
Fixes gh-3893
2015-09-03 11:43:52 -07:00
Phillip Webb
f4dcef281c Merge branch '1.2.x' 2015-09-03 11:30:08 -07:00
Phillip Webb
adf2c44bdd Set registerShutdownHook to false for tests
Update SpringApplicationContextLoader so that setRegisterShutdownHook
is false for tests.

Fixes gh-3763
2015-09-03 10:58:27 -07:00
Phillip Webb
b4e0a77269 Polish POM whitespace 2015-09-03 10:39:49 -07:00
Phillip Webb
feb2452f06 Simplify WebApplicationContext class guard
See gh-3856
2015-09-03 10:33:53 -07:00
Andy Wilkinson
efee06fd9b Only configure remove devtools security if Spring Security is enabled
Previously, RemoteDevToolsAutoConfiguration would try to configure
Spring Security if it was on the classpath. This led to a failure if
Spring Security was on the classpath but its auto-configuration was
disabled.

This commit updates the auto-configuration to be conditional on the
presence of Spring Security’s ObjectPostProcessor bean.

See gh-3889
2015-09-03 17:48:43 +01:00
Andy Wilkinson
e2862390ee Allow anonymous access to devtools remote server
Previously, if an app had Spring Security on the classpath the remote
devtools server would be secured using basic authentication. This
prevented RemoteSpringApplication from uploading changes to the server
as they would be rejected with a 401.

This commit updates RemoteDevToolsAutoConfiguration to allow anonymous
access to the remote server. CSRF protection is also disabled so that
POST requests without a CSRF token will be accepted.

Closes gh-3889
2015-09-03 17:36:22 +01:00
Stephane Nicoll
bed5350c8f Add dependency management for webjars-locator
Closes gh-3892
2015-09-03 15:32:53 +02:00
Phillip Webb
4aa2fed48b Revert "configure JRE that is different from compiler target level"
This reverts commit 678f36cfef.
2015-09-02 23:44:27 -07:00
Phillip Webb
6193b640a4 Polish 2015-09-02 23:44:19 -07:00
Phillip Webb
db41fb16c0 Polish Hazelcast auto-configuration
Extract a HazelcastInstanceFactory class and cleanup some formatting.

See gh-2942
2015-09-02 23:44:00 -07:00
Phillip Webb
138d66706a Polish nested conditions 2015-09-02 23:44:00 -07:00
Andy Wilkinson
1f202e3e47 Upgrade to HAL Browser 9f96c74
Closes gh-3880
2015-09-02 18:03:07 +01:00
Andy Wilkinson
26d2e62627 Upgrade to SnakeYAML 1.16
Closes gh-3879
2015-09-02 16:53:21 +01:00
Andy Wilkinson
a0eaab0843 Upgrade to Postgresql 9.4-1202-jdbc41
Closes gh-3878
2015-09-02 16:52:48 +01:00
Andy Wilkinson
ab0641e2b8 Upgrade to mariadb-java-client 1.2.1
Closes gh-3877
2015-09-02 16:52:14 +01:00
Andy Wilkinson
f87d3c68e8 Upgrade to Inifinispan 7.2.4.Final
Closes gh-3876
2015-09-02 16:51:46 +01:00
Andy Wilkinson
d67f94be48 Upgrade to Jersey 2.21
Closes gh-3875
2015-09-02 16:51:27 +01:00
Andy Wilkinson
efad81bbb3 Upgrade to ActiveMQ 5.12.0
Closes gh-3874
2015-09-02 16:50:56 +01:00
Andy Wilkinson
a1fffbdb8b Upgrade to Joda Time 2.8.2
Closes gh-3873
2015-09-02 16:50:25 +01:00
Andy Wilkinson
d02bae2d82 Upgrade to Undertow 1.2.11.Final
Closes gh-3872
2015-09-02 16:50:02 +01:00
Andy Wilkinson
de0b7082e5 Upgrade to Embedded Mongo 1.50.0
Closes gh-3871
2015-09-02 16:49:29 +01:00
Andy Wilkinson
972de48547 Upgrade to Hazelcast 3.5.2
Closes gh-3870
2015-09-02 16:48:57 +01:00
Andy Wilkinson
108c5657d3 Merge branch '1.2.x' 2015-09-02 16:29:49 +01:00
Andy Wilkinson
cb4e709ba2 Upgrade to Spring Social LinkedIn 1.0.2.RELEASE
Closes gh-3869
2015-09-02 16:28:50 +01:00
Andy Wilkinson
3d099fe9be Upgrade to Spring Social Facebook 2.0.2.RELEASE
Closes gh-3779
2015-09-02 16:28:50 +01:00
Andy Wilkinson
2429cc6766 Upgrade to Hibernate 4.3.11.Final
Closes gh-3868
2015-09-02 16:28:50 +01:00
Stephane Nicoll
fa099ff8df Polish 2015-09-02 17:12:20 +02:00
Stephane Nicoll
5d4bb41e98 Merge pull request #3831 from ractive/master
* pr/3831:
  Polish contribution
  Do not attempt to restart non-restartable jobs
2015-09-02 16:54:45 +02:00
Stephane Nicoll
1a60056f9e Polish contribution
Closes gh-3831
2015-09-02 16:54:15 +02:00
james
560ffc9056 Do not attempt to restart non-restartable jobs
Closes gh-3830
2015-09-02 16:53:37 +02:00
Stephane Nicoll
cd1ace0c15 Merge branch '1.2.x' 2015-09-02 16:46:41 +02:00
Barry Lagerweij
8d75aa0ea9 Fix Oracle XA datasource class name
Closes gh-3846
2015-09-02 16:44:29 +02:00
Stephane Nicoll
4882f1c377 Merge pull request #3866 from shakuzen/patch-6
* pr/3866:
  Add link to Hazelcast documentation
2015-09-02 15:31:12 +02:00
Tommy Ludwig
4a27ea563a Add link to Hazelcast documentation
Closes gh-3866
2015-09-02 15:30:36 +02:00
Stephane Nicoll
8f520dafc7 Remove hard-coded list of values in description
Since the meta-data now provide an explicit support for value hints, we
should not copy/paste them in the description as the IDE is able to
process them any way it wants.

Closes gh-3863
2015-09-02 12:02:35 +02:00
Dave Syer
2b3d419e10 Add FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER constant
All the filters added explicitly by Spring Boot now have order <=
FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER (value 0).
There is nothing we can do about the DispatcherServlet and anything
else downstream of the filter chain.

Fixes gh-3613
2015-09-01 18:27:01 +01:00
Stephane Nicoll
3800729d0d Merge branch '1.2.x' 2015-09-01 18:40:06 +02:00
Stephane Nicoll
5043c959a2 Refine check
Refine commit 8a96481 to set the web environment to false if spring web
is not available in the classpath. Thanks to @mjustin for spotting that
mistake.

Closes gh-3856
2015-09-01 18:39:43 +02:00
Stephane Nicoll
817111c6d3 Merge branch '1.2.x'
Conflicts:
	spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/pom.xml
	spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml
2015-09-01 16:46:22 +02:00
Stephane Nicoll
426a8dc103 Store container installs in home directory
Previously, deployment tests were storing the container archives in the
default location (that is `/tmp`) for a total weight of 160MB. In case
the temp directory is cleaned on CI, these have to be downloaded again.

We're now configuring cargo to store these archives in the home directory
instead. This should improve the speed and the stability of the
deployment tests

Closes gh-3861
2015-09-01 16:41:29 +02:00
Andy Wilkinson
be640965a6 Support resolution of HAL link titles from a resource bundle
Spring HATEOAS 0.19.0.RELEASE provide support for resolving a link’s
title by looking up the key _links.$rel.title. For us to take advantage
of this in Spring Boot, HalHandlerInstantiator must be created using
the link relation message source that’s automatically created by
HateoasConfiguration.

Closes gh-3860
2015-09-01 15:20:36 +01:00
Stephane Nicoll
378ce1280a Upgrade to Spring Framework 4.2.1.RELEASE
Closes gh-3758
2015-09-01 15:12:41 +02:00
Stephane Nicoll
bd942a35fb Fix upgrade to Spring Data Gosling RELEASE
Closes gh-3860
2015-09-01 15:11:01 +02:00
Andy Wilkinson
0b24a4417a Upgrade to Spring Data Gosling RELEASE
Closes gh-3860
2015-09-01 13:37:35 +01:00
Dave Syer
5a28745527 Handle unresolved property names with underscore
When the configuration property name is not resolved against
the target bean's property descriptors and the property name
is delimited by `underscore` instead of `dot`, then `RelaxedDataBinder`
doesn't bind those properties to the target if the property is
of type Map.

With thanks to @ilayaperumalg for the original PR.
Updated by @dsyer to recognize that the property is of type Map, rather
than blindly trying all combinations of property paths.

Fixes gh-3836
2015-09-01 10:53:58 +01:00
Stephane Nicoll
d46cf8e82e Merge branch '1.2.x' 2015-09-01 09:16:01 +02:00
Stephane Nicoll
8a96481423 Properly guard customization of application context class
SpringApplication wrongly expects spring-web to be on the classpath to
figure out whether or not the web environment should be enabled for a
custom context class.

We now properly guard this check so that the web environment is not
enabled (read: not checked) if `spring-web` is not available.

Closes gh-3856
2015-09-01 09:15:40 +02:00
Stephane Nicoll
fe1b2825ce Add ModelMapper starter 2015-08-31 09:48:38 +02:00