Commit Graph

10971 Commits

Author SHA1 Message Date
Phillip Webb
1d2f6d25fa Use consistent 'ROOT' logger name
Ensure all LoggingSystem implementation provide a consistent ROOT logger
name. Prior to this commit the `/loggers` endpoint could return '' for
root loggers which could then not be set using a POST.

Fixes gh-7372
2016-11-15 17:27:15 -08:00
Phillip Webb
01c381f2a9 Remove empty logger from default logback config
Remove the empty logger as it was not also defined in `defaults.xml`
and caused rendering issues with the new `/loggers` endpoint.

Fixes gh-7386
2016-11-15 15:46:19 -08:00
Madhura Bhave
e7db7adfb8 Rename ApplicationStartedEvent
Rename `ApplicationStartedEvent` to `ApplicationStartingEvent` to
avoid confusion.

Fixes gh-7381
2016-11-15 15:43:35 -08:00
Madhura Bhave
0e3a3df6f4 Return log levels in /loggers endpoint payload
Update `LoggersEndpoint` to additionally return the log levels actually
supported by the system.

Fixes gh-7396
2016-11-15 14:32:02 -08:00
Phillip Webb
764f13453a Merge branch '1.4.x' into 1.5.x 2016-11-15 13:58:54 -08:00
Andy Wilkinson
6eedfe40e5 Start building against Spring AMQP 1.7.0 snapshots
See gh-7385
2016-11-15 20:26:39 +00:00
Phillip Webb
bacf0878af Polish 2016-11-15 10:40:21 -08:00
Andy Wilkinson
26f26c30ee Merge branch '1.4.x' into 1.5.x 2016-11-15 15:50:34 +00:00
Andy Wilkinson
948b5760a7 Upgrade to Spring Retry 1.1.5.RELEASE
Closes gh-7384
2016-11-15 15:49:11 +00:00
Andy Wilkinson
24cc5d5644 Give javac's type inferencing a helping hand 2016-11-15 13:29:19 +00:00
Andy Wilkinson
22e456a177 Merge branch '1.4.x' into 1.5.x 2016-11-15 13:14:30 +00:00
Andy Wilkinson
c2730ac63f Polish formatting and address warnings 2016-11-15 11:48:35 +00:00
Stephane Nicoll
2b8801a6b5 Merge branch '1.4.x' into 1.5.x 2016-11-12 11:16:30 +01:00
Stephane Nicoll
8a57ebde06 Merge pull request #7370 from ultraq:update-layout-dialect
* pr/7370:
  Upgrade Thymeleaf 3 layout dialect in doc
2016-11-12 11:15:53 +01:00
Emanuel Rabina
6b681ddfab Upgrade Thymeleaf 3 layout dialect in doc
Closes gh-7370
2016-11-12 11:15:00 +01:00
Madhura Bhave
2697bf2ba1 Add Content-Type to allowed headers for CloudFoundry actuators
See gh-7108
2016-11-11 12:09:16 -08:00
Andy Wilkinson
2930bd4145 Merge pull request #7323 from Huang YunKun
* gh-7323:
  Upgrade to Log4j 2.7
2016-11-11 15:25:51 +00:00
Huang YunKun
71826708a4 Upgrade to Log4j 2.7
Closes gh-7323
2016-11-11 15:25:33 +00:00
Andy Wilkinson
c30b917ba1 Use Log4j 2's bom to provide dependency management for it
Closes gh-7355
2016-11-11 15:18:45 +00:00
Andy Wilkinson
89d5e086e4 Merge branch '1.4.x' into 1.5.x 2016-11-11 11:47:55 +00:00
Andy Wilkinson
a1dda12bcb Disable Server header by default when using SSL with Jetty 9
Closes gh-7359
2016-11-11 11:46:57 +00:00
Stephane Nicoll
c0f6c93b3d Upgrade to Spring Security 4.2.0.RELEASE
Closes gh-7366
2016-11-11 10:49:08 +01:00
Madhura Bhave
af61278213 Extend HealthMvcEndpoint for Cloud Foundry
The CloudFoundryHealthMvcEndpoint does not perform additional
security checks since security is handled by the interceptor.

See gh-7108
2016-11-09 11:04:51 -08:00
Madhura Bhave
a3bcb2778f Add message to response body for Cloud Foundry security error
See gh-7108
2016-11-09 10:54:56 -08:00
Stephane Nicoll
8e160d7fda Merge branch '1.4.x' into 1.5.x 2016-11-08 18:24:58 +01:00
Stephane Nicoll
72e696bcbd Fixup version numbers following release 2016-11-08 18:24:42 +01:00
Spring Buildmaster
e712a9ba8c Next Development Version 2016-11-08 16:55:37 +00:00
Stephane Nicoll
36c5c3519f Merge branch '1.4.x' into 1.5.x 2016-11-08 17:03:30 +01:00
Stephane Nicoll
2a8a906d30 Upgrade to Spring AMQP 1.6.5.RELEASE
Closes gh-7347
2016-11-08 17:03:07 +01:00
Andy Wilkinson
d7ef48a9b6 Merge branch '1.4.x' into 1.5.x 2016-11-08 14:43:00 +00:00
Andy Wilkinson
2c4f39045f Stop relying on Artemis's on-demand queue creation in CLI JMS test
Artemis's on-demand queue cretaion appears to be rather flakey,
sometimes failing with a NullPointerException.

This commit ensures that the queue used by the sample is created
during start up rather than on demand. This will hopefully make the
test that runs the sample more robust.

Closes gh-7346
2016-11-08 14:36:58 +00:00
Andy Wilkinson
2e76687d17 Merge branch '1.4.x' into 1.5.x 2016-11-08 13:50:41 +00:00
Andy Wilkinson
5f44598d8b Remove use of static import that Checkstyle prohibits 2016-11-08 13:50:15 +00:00
Andy Wilkinson
218d28f74c Merge branch '1.4.x' into 1.5.x 2016-11-08 13:22:58 +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
3a2d9e31ff Merge branch '1.4.x' into 1.5.x 2016-11-08 10:36:56 +00:00
Andy Wilkinson
808185ab4e Make LaunchedURLClassLoader Java 6 compatible again
Closes gh-7334
2016-11-08 10:35:18 +00:00
Andy Wilkinson
e576225959 Merge branch '1.4.x' into 1.5.x 2016-11-08 10:03:58 +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
5878e5eec5 Merge branch '1.4.x' into 1.5.x 2016-11-08 10:57:58 +01: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
Andy Wilkinson
08a9dcd4a7 Upgrade to Apache Artemis 1.4.0
Closes gh-7343
2016-11-08 08:19:37 +00:00
Stephane Nicoll
774ddc3602 Merge branch '1.4.x' into 1.5.x 2016-11-08 07:50:28 +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
bb6330e9df Merge branch '1.4.x' into 1.5.x 2016-11-08 06:46:29 +00: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