Commit Graph

43453 Commits (c038d27c4953bae55643a2c9bb33fccbd0752e67)
 

Author SHA1 Message Date
Andy Wilkinson c038d27c49 Merge branch '3.1.x'
Closes gh-36085
1 year ago
Andy Wilkinson b4d7e1837e Merge branch '3.0.x' into 3.1.x
Closes gh-36084
1 year ago
Andy Wilkinson 774993b510 Merge branch '2.7.x' into 3.0.x
Closes gh-36083
1 year ago
Andy Wilkinson 0fdaba2487 Make TestSliceMetadata depend on source set's processResources task
Closes gh-36082
1 year ago
Andy Wilkinson 3bf1b76770 Merge branch '3.1.x'
Closes gh-36080
1 year ago
Andy Wilkinson b20f2a76c6 Merge branch '3.0.x' into 3.1.x
Closes gh-36079
1 year ago
Andy Wilkinson 7d73b07161 Merge branch '2.7.x' into 3.0.x
Closes gh-36078
1 year ago
Andy Wilkinson 92e488345d Upgrade to nohttp 0.0.11
Closes gh-36074
1 year ago
Andy Wilkinson dbb24286ff Separate stopping and destruction so web server can be restarted
Previously, when a Servlet-based WebServer was stopped it would also
stop the ServletContext. This led to problems as Tomcat and Undertow
would then not allow a restart. Jetty would allow a restart but
duplicate servlet registrations would then be attempted.

This commit modifies the WebServer lifecycle to separate stopping
and destruction for both servlet and reactive web servers. This
allows a WebServer's stop() implementation to leave some components
running so that they can be restarted. To completely shut down a
WebServer destroy() must now be called.

Both Tomcat and Jetty WebServers have been updated to stop their
network connections when stop() is called but leave other components
running. This works with both servlet and reactive web servers.

Note that an Undertow-based Servlet web server does not support
stop and restart. Once stopped, a Servlet Deployment cannot be
restarted and it does not appear to be possible to separate the
lifecycle of its network connections and a Servlet deployment.

Reactor Netty and Undertow-based reactive web servers can now also
be stopped and then restarted. Calling stop() stops the whole server
but this does not cause a problem as there's no (application-exposed)
ServletContext involved. There may be room to optimize this in the
future if the need arises.

Closes gh-34955
1 year ago
Scott Frederick 47cc65d912 Merge branch '3.1.x'
Closes gh-36056
1 year ago
Scott Frederick a03d32e0f3 Merge pull request #36038 from eddumelendez
* pr/36038:
  Polish "Add SslAutoConfiguration to slice test annotations"
  Add SslAutoConfiguration to slice test annotations

Closes gh-36038
1 year ago
Scott Frederick c277517953 Polish "Add SslAutoConfiguration to slice test annotations"
See gh-36038
1 year ago
Eddú Meléndez 321c526bf7 Add SslAutoConfiguration to slice test annotations
`SslAutoConfiguration` has been added to `cassandra`, `couchbase`,
`elasticsearch`, `mongo` and `redis` slice test annotations.

See gh-36038
1 year ago
Scott Frederick c32877493c Merge branch '3.1.x'
Closes gh-36055
1 year ago
Scott Frederick b9b314622f Merge branch '3.0.x' into 3.1.x
Closes gh-36054
1 year ago
Scott Frederick 4a3abdd7c3 Merge branch '2.7.x' into 3.0.x
Closes gh-36053
1 year ago
Scott Frederick a9d3acb12c Merge pull request #36048 from izeye
* pr/36048:
  Add Javadoc since to ImageReference.inTaglessForm()

Closes gh-36048
1 year ago
Johnny Lim 59d4bf97a1 Add Javadoc since to ImageReference.inTaglessForm()
See gh-36048
1 year ago
Scott Frederick 67725d4781 Merge branch '3.1.x'
Closes gh-36052
1 year ago
Scott Frederick eba7b32bed Merge pull request #36016 from jstansel
* gh-36016:
  Fix typo in docker compose service connections note

Closes gh-36016
1 year ago
James Stansell ea41a22284 Fix typo in docker compose service connections note
See gh-36016
1 year ago
Scott Frederick 90dd7449bb Merge branch '3.1.x'
Closes gh-36051
1 year ago
Scott Frederick 92b2573a60 Merge branch '3.0.x' into 3.1.x
Closes gh-36050
1 year ago
Scott Frederick eeeb2ad72a Merge branch '2.7.x' into 3.0.x
Closes gh-36049
1 year ago
Scott Frederick 5ecca4be36 Merge pull request #35986 from izeye
* gh-35986:
  Remove redundant Files.delete() calls in tests

Closes gh-35986
1 year ago
Johnny Lim 4a2c9d99dc Remove redundant Files.delete() calls in tests
See gh-35986
1 year ago
Scott Frederick 493987fc1a Allow key password to be set for a PemSslStoreBundle
Closes gh-35983
1 year ago
Andy Wilkinson b645eb32ac Remove deprecated code that was to be removed in 3.2
Closes gh-36034
1 year ago
Andy Wilkinson 50d8b20d6c Re-enable forward merge issues for merges into main 1 year ago
Andy Wilkinson 357c67a999 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3f7fe25cb9 Merge branch '3.0.x' into 3.1.x
Closes gh-36044
1 year ago
Andy Wilkinson 2fae5de245 Merge branch '2.7.x' into 3.0.x
Closes gh-36043
1 year ago
Andy Wilkinson 7b0aa7dcbb Merge pull request #35915 from ThomazPassarelli
* gh-35915:
  Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
  Replace calls to verifyComplete() to avoid indefinite blocking

Closes gh-35915
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Moritz Halbritter 8f7fdc507e Polish CorrelationIdFormatter 1 year ago
Jonatan Ivanov 228b8eb8e4
Polish log correlation docs
Docs related to gh-33280 (log correlation) and
gh-35593 (application name in each log line) need some polishing:
- Fix project names
- Show how to avoid having the application name duplicated in logs
- Call out that a trailing space is needed in the correlation pattern

Closes gh-36035
See gh-33280
See gh-35593
1 year ago
Andy Wilkinson 89164ddf5f Merge branch '3.1.x' 1 year ago
Andy Wilkinson e33cec5488 Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson de9f249ef9 Merge branch '2.7.x' into 3.0.x 1 year ago
Spring Builds efd903b0a8 Next development version (v3.1.2-SNAPSHOT) 1 year ago
Spring Builds dbd925e9db Next development version (v3.0.9-SNAPSHOT) 1 year ago
Spring Builds cee73cebd4 Next development version (v2.7.14-SNAPSHOT) 1 year ago
Andy Wilkinson 6f95900775 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 5c53bda650 Merge branch '3.0.x' into 3.1.x
Closes gh-36025
1 year ago
Andy Wilkinson 1596f69601 Merge branch '2.7.x' into 3.0.x
Closes gh-36023
1 year ago
Andy Wilkinson fff30efed5 Configure timeouts on staging builds
Closes gh-36022
1 year ago
Phillip Webb 493777d3c9 Include the application name on each log line when it is available
Update Logback and Log4J2 so that they include the application name on
each log line. If `spring.application.name` had not been set, or if
`logging.include-application-name` is `false` then the name is not
logged.

Closes gh-35593
1 year ago
Jonatan Ivanov c1b295fd71 Log correlation IDs when Micrometer tracing is being used
Add support for logging correlation IDs with Logback or Log4J2 whenever
Micrometer tracing is being used.

The `LoggingSystemProperties` class now accepts a defualt value resolver
which will be used whenever a value isn't in the environment. The
`AbstractLoggingSystem` provides a resolver that supports the
`logging.pattern.correlation` property and will return a value whenever
`LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` is set.

Using `LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` allows us to
provide a consistent width for the correlation ID, even when it's
missing from the MDC.

The exact correlation pattern returned will depend on the `LoggingSytem`
implementation. Currently Logback and Log4J2 are supported and both
make use of a custom converter which delegates to a new
`CorrelationIdFormatter` class.

Closes gh-33280
1 year ago
Phillip Webb b6120d504a Replace LoggingSystemProperties constants with an Enum
Extract contants from `LoggingSystemProperty` and
`LogbackLoggingSystemProperties` in enum classes.

Closes gh-36015
1 year ago