Commit Graph

915 Commits (9ec349430a411ba54a711a2148d3c9e8c19fc895)

Author SHA1 Message Date
Moritz Halbritter 7bb337aeb1 Polish tests 1 year ago
Stephane Nicoll 191ac10009 Deprecate support for OkHttp
Closes gh-36632
1 year ago
Moritz Halbritter f85a7258a6 Polish SampleAmqpSimpleApplication 1 year ago
Stephane Nicoll 94d9148de6 Merge branch '3.1.x'
Closes gh-36613
1 year ago
Stephane Nicoll 6f22baa729 Merge branch '3.0.x' into 3.1.x
Closes gh-36612
1 year ago
Stephane Nicoll 150526a6a0 Merge branch '2.7.x' into 3.0.x
Closes gh-36611
1 year ago
Stephane Nicoll 87554fb4dc Add test for RabbitMQ smoke test
Closes gh-36610
1 year ago
Johnny Lim 96c9915f12 Polish
See gh-36565
1 year ago
Scott Frederick c600be74ff Merge branch '3.1.x'
Closes gh-36542
1 year ago
Scott Frederick bb4226397a Merge branch '3.0.x' into 3.1.x
Closes gh-36541
1 year ago
Scott Frederick c5d2415834 Merge branch '2.7.x' into 3.0.x
Closes gh-36540
1 year ago
Scott Frederick 90be62bc7a Update Docker images used for launch script tests
Closes gh-24349
1 year ago
Stephane Nicoll 311fa6272d Polish "Add service connection for Testcontainers ActiveMQ"
This also adds support for Docker Compose.

See gh-35080
1 year ago
Eddú Meléndez 63121dd08a Add service connection for Testcontainers ActiveMQ
See gh-35080
1 year ago
Phillip Webb ae6b1f91f6 Merge branch '3.1.x' 1 year ago
Phillip Webb 28b5b7a218 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 9d91dbc4e5 Use explicit matchers following Spring Security 6.0.5 upgrade
See gh-36293
1 year ago
Phillip Webb 49f82717d1 Merge branch '3.1.x' 1 year ago
Phillip Webb 30cc2a48c7 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 0233178855 Use explicit matchers following Spring Security 6.0.5 upgrade
See gh-36293
1 year ago
Andy Wilkinson c3e2c9d684 Polish "Support Jetty in ClientHttpRequestFactories"
See gh-36116
1 year ago
Johnny Lim 7c77e1bb85 Polish 'Log correlation IDs when Micrometer tracing is being used'
See gh-36158
1 year ago
Andy Wilkinson 6d8ca7286a Merge branch '3.1.x'
Closes gh-36128
1 year ago
Andy Wilkinson a268c6433e Merge branch '3.0.x' into 3.1.x
Closes gh-36127
1 year ago
Andy Wilkinson 93f8bd2170 Merge branch '2.7.x' into 3.0.x
Closes gh-36126
1 year ago
Andy Wilkinson 996252f929 Stop using deprecated classifier property
Closes gh-36125
1 year ago
Andy Wilkinson e8cbb9ae1b Stop using deprecated JavaExec property in spring-boot-smoke-test-ant
Closes gh-36086
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 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
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 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
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
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
Moritz Halbritter 23979e6ccf Enable LoaderIntegrationTests on Java 21 1 year ago
Andy Wilkinson 9b88128e3b Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson 4694e20628 Merge branch '2.7.x' into 3.0.x 1 year ago
Andy Wilkinson 7d07c0d09c Polish configuration related to predictive test selection
Most notably, this commit splits the tests that use Spring REST Docs
out into a separate task for which predictive test selection is
disabled. This allows it to be cached and use Gradle's built-in
up-to-date checking, thereby avoiding the generation of new snippets
and the need to then run the asciidoctor and asciidoctorPdf tasks.

It also updates spring-boot-smoke-test-junit-vintage to disable
predictive test selection so that we can continue to assert that
the some tests were executed.

See gh-35869
1 year ago
Moritz Halbritter 8cc428c0b5 Merge branch '3.0.x' 1 year ago
Moritz Halbritter 372af21313 Merge branch '2.7.x' into 3.0.x 1 year ago
Moritz Halbritter 140e806357 Enable LoaderIntegrationTests on Java 20
See gh-35758
1 year ago
Eddú Meléndez 127f852cf9 Polish spring-boot-smoke-test-data-mongo
Remove `@ImportAutoConfiguration(SslAutoConfiguration.class)`, since
`SslAutoConfiguration.class` is already provided as an
auto-configuration with `@SpringBootTest`

See gh-35655
1 year ago
Steve Riesenberg 10feecbd08 Fix redirect to login page for token requests
Fixes an issue where auto-configuration for Spring Authorization Server
was overriding the default exception handling (AuthenticationEntryPoint)
resulting in anonymous requests to the token endpoint being redirected
to the Spring Security login page instead of returning 401 Unauthorized.

Auto-configuration now registers a defaultAuthenticationEntryPointFor
that is added to any other entry points already configured.

See gh-35368
2 years ago
Scott Frederick 1143396531 Add smoke tests to verify Couchbase SSL connections
See gh-34811
2 years ago
Scott Frederick d4107a8185 Add smoke tests to verify Cassandra SSL connections
See gh-25602
2 years ago
Moritz Halbritter 27169bde8b Merge branch '3.0.x' 2 years ago