Commit Graph

11064 Commits

Author SHA1 Message Date
Andy Wilkinson
43aa7dbaf1 Polish "Provide informative reason when rejecting request with invalid level"
See gh-10588
2017-10-13 10:55:35 +01:00
Eddú Meléndez
9e5a1b32c8 Provide informative reason when rejecting request with invalid level
Previously, bad request with no reason was included in the response.
This commit introduces the reason when invalid log level is sent in the
request.

Fixes gh-10588
2017-10-13 10:54:14 +01:00
Andy Wilkinson
5acd6c40eb Merge pull request #10554 from Sebastian Thomschke
* gh-10554:
  Honor logging.path config in filePattern for Log4j2 RollingFile
2017-10-12 14:39:56 +01:00
Sebastian Thomschke
7441d6bd86 Honor logging.path config in filePattern for Log4j2 RollingFile
Previously, rolled over files were always written to logs/. This
commit ensures that rotated logs are written into the directory
specified in the application config's logging.path property.

Closes gh-10554
2017-10-12 14:39:21 +01:00
Andy Wilkinson
c0d9adce7e Upgrade to Spring Data Ingalls SR8
Closes gh-10606
2017-10-12 14:17:12 +01:00
Andy Wilkinson
c44b912fc2 Ensure that Undertow is stopped when it fails to start
Previously, if Undertow failed to start, some of Undertow's
internal components would have been started but the started field of
UndertowEmbeddedServletContainer remained false. This meant that when
stop() was called nothing was done as the container believed it had
not been started.

This commit updates UndertowEmbeddedServletContainer to stop both the
DeploymentManager and the Undertow instance in start() if an exception
is thrown. This aligns the behaviour of
UndertowEmbeddedServletContainer with that of the Tomcat equivalent.

Closes gh-10528
2017-10-11 13:30:53 +01:00
Stephane Nicoll
c68173082d Upgrade to Spring Framework 4.3.12.RELEASE
Closes gh-10561
2017-10-10 16:56:58 +02:00
Stephane Nicoll
3e68c55db9 Start build against Spring Framework snapshots for 4.3.12.RELEASE
See gh-10561
2017-10-09 15:51:47 +02:00
Stephane Nicoll
c32276d8fa Update .gitignore with changes on master 2017-10-09 15:50:49 +02:00
Stephane Nicoll
7e08e47b75 Clarify datasource initializer scope
This commit clarifies the scope of the datasource initializr. In
particular, it is not possible to create the schema with that facility
and let Hibernate creates additional tables.

Closes gh-9048
2017-10-03 15:23:58 +02:00
Andy Wilkinson
71c15cb65e Avoid possible livelock when stopping FileSystemWatcher in parallel
Previously, if the file watcher thread tried to stop the
FileSystemWatcher when another thread was already stopping it a
livelock could occur. The livelock occurred because the file watcher
thread would attempt to lock a monitor that was being held by a thread
that had joined the file watcher thread and was waiting for it to die.

This commit avoid the livelock by narrowing the synchronization that's
used when stopping the FileSystemWatcher. The monitor is used to
obtain a reference to the file watcher thread in a thread-safe manner,
but it is released prior to joining the file watcher thread and
waiting for it to die. This will allow a parallel attempt by the
file watcher thread to stop itself to succeed.

Closes gh-10496
2017-10-02 20:03:17 +01:00
Andy Wilkinson
205c25bf0f Polish 2017-10-02 15:56:52 +01:00
Andy Wilkinson
c1092f77f5 Upgrade to Jooq 3.9.6
Closes gh-10484
2017-10-02 15:36:13 +01:00
Andy Wilkinson
e9749765ab Upgrade to Aspectj 1.8.11
Closes gh-10483
2017-10-02 15:36:13 +01:00
Andy Wilkinson
a0fa782237 Upgrade to Tomcat 8.5.23
Closes gh-10482
2017-10-02 15:36:12 +01:00
Andy Wilkinson
f32531b4e4 Upgrade to Appengine Sdk 1.9.57
Closes gh-10481
2017-10-02 15:36:11 +01:00
Andy Wilkinson
5c0ce4e514 Remove dependency management for non-existent dependencies
See gh-10475
See gh-10473
2017-10-02 15:31:04 +01:00
Andy Wilkinson
d94f545b4d Merge pull request #10457 from Johnny Lim
* gh-10457:
  Polish
2017-10-02 15:14:48 +01:00
Johnny Lim
bfa291f671 Polish 2017-10-02 15:07:03 +01:00
Andy Wilkinson
bcbf7b5511 Update ChangeableUrlsTests to cope with URL-like Windows file paths
Closes gh-10268
2017-10-02 12:53:25 +01:00
Andy Wilkinson
858b092a87 Make servlet context property source available before refresh
Previously, when deploying a Spring Boot application to a container,
the servlet context property source was not fully initialised until
the context was refreshed. This led to a problem where a value from a
property source with lower precedence would be seen during the early
stages of the application starting. Once the servlet context property
source had been initialized, its value for the property would then
become visible effectively making it appear as if the property's
value had changed during startup. This led to a specific problem
with determining active profiles.

If spring.profiles.active was set both in JNDI and via the servlet
context both profiles would end up being active, rather than the
more intuitive behaviour of the profiles made active via the servlet
context overriding those made active via JNDI.

This commit updates SpringBootServletInitializer so that it explicitly
creates the StandardServletEnvironment and initializes its property
sources using the servlet context. This is done before the application
is created and run, thereby ensuring that the servlet context
property source is available throughout the application's startup.

Closes gh-9972
2017-10-02 12:38:59 +01:00
Andy Wilkinson
71dbbc0d66 Provide more complete dependency management for Solr
Closes gh-10476
2017-10-02 11:40:26 +01:00
Andy Wilkinson
098dd9ddcd Provide more complete dependency management for SLF4J
Closes gh-10475
2017-10-02 11:24:28 +01:00
Andy Wilkinson
bfa67189d1 Provide complete dependency management for JNA
Closes gh-10474
2017-10-02 11:13:35 +01:00
Andy Wilkinson
8eb676f431 Provide complete dependency management for Jetty
Closes gh-10473
2017-10-02 11:10:42 +01:00
Andy Wilkinson
95e3443b64 Provide complete dependency management for Dropwizard Metrics
Closes gh-10472
2017-10-02 10:36:51 +01:00
Andy Wilkinson
663cae1255 Note behaviour of @MockBean and @SpyBean with non-bean dependencies
Closes gh-10381
2017-09-29 15:51:56 +01:00
Andy Wilkinson
f01bb8e175 Polish 2017-09-29 12:04:46 +01:00
Andy Wilkinson
c27d678b81 Improve handling of absolute URLs in Class-Path manifest attribute
Closes gh-10268
2017-09-29 11:45:57 +01:00
Andy Wilkinson
616d11c00a Only wait for background preinit to complete when it has started
Closes gh-10362
2017-09-25 17:06:28 +01:00
Andy Wilkinson
b602b1da2e Document expected format for commit time in git.properties
Closes gh-10392
2017-09-25 16:53:07 +01:00
Andy Wilkinson
7eb9193862 Tolerate absolute URLs in manifest's Class-Path attribute
Closes gh-10268
2017-09-25 16:47:27 +01:00
Stephane Nicoll
0a8b355c60 Merge pull request #10382 from christophd:patch-1
* pr/10382:
  Add reference to Citrus simulator Spring Boot starter
2017-09-25 10:07:59 +02:00
Christoph Deppisch
ca04b24814 Add reference to Citrus simulator Spring Boot starter
Closes gh-10382
2017-09-25 10:07:33 +02:00
Stephane Nicoll
9331ee6f35 Merge pull request #10412 from eddumelendez:polish_jackson_config
* pr/10412:
  Polish JacksonAutoConfiguration
2017-09-25 10:06:13 +02:00
Eddú Meléndez
93844bffbc Polish JacksonAutoConfiguration
This commit removes unused constructor parameters introduced in 0c2ecb7.

Closes gh-10412
2017-09-25 10:05:29 +02:00
Stephane Nicoll
d490b99473 Clarify scope of spring.datasource.platform
Closes gh-10416
2017-09-25 10:04:37 +02:00
Andy Wilkinson
cc16402ee4 Update war packaging tests to reflect change in Tomcat's dependencies
See gh-10395
2017-09-24 16:27:42 +01:00
Stephane Nicoll
b53f108d07 Merge pull request #10411 from dreis2211:typo-external-config-docs
* pr/10411:
  Typo in external config documentation
2017-09-24 17:10:59 +02:00
dreis2211
681921fd87 Typo in external config documentation
Closes gh-10411
2017-09-24 17:10:35 +02:00
Andy Wilkinson
cf92e55150 Upgrade to Spring Kafka 1.1.7.RELEASE
Closes gh-10397
2017-09-24 09:37:44 +01:00
Andy Wilkinson
2136bea491 Upgrade to Jetty 9.4.7.v20170914
Closes gh-10396
2017-09-24 09:37:44 +01:00
Andy Wilkinson
f9c44b46b6 Upgrade to Tomcat 8.5.21
Closes gh-10395
2017-09-24 09:34:16 +01:00
Andy Wilkinson
29c84dff4a Upgrade to Httpcore 4.4.7
Closes gh-10394
2017-09-24 09:20:13 +01:00
Andy Wilkinson
abb8183d82 Upgrade to Gson 2.8.2
Closes gh-10393
2017-09-24 09:20:13 +01:00
Andy Wilkinson
2bf428707d Merge pull request #10278 from Venil Noronha
* gh-10278:
  Polish "Align prefix match in BufferCounterService with DefaultCounterService"
  Align prefix match in BufferCounterService with DefaultCounterService
2017-09-20 06:52:06 +01:00
Andy Wilkinson
aca30950cf Polish "Align prefix match in BufferCounterService with DefaultCounterService"
See gh-10278
2017-09-20 06:51:22 +01:00
Venil Noronha
dcb81a3da5 Align prefix match in BufferCounterService with DefaultCounterService
Closes gh-10278
2017-09-20 06:34:29 +01:00
Andy Wilkinson
eb2c0fab18 Merge pull request #10355 from Kyle Anderson
* gh-10355:
  Upgrade Git Maven plugin to 2.2.3
2017-09-20 06:25:58 +01:00
Kyle Anderson
628c643e32 Upgrade Git Maven plugin to 2.2.3
Closes gh-10355
2017-09-20 06:25:39 +01:00