Commit Graph

26642 Commits (a12a3054c9c5dded034ee72faac20e578b5503af)
 

Author SHA1 Message Date
Brian Clozel a12a3054c9 Optimize UrlPathHelper configuration for Spring MVC
Prior to this commit, Spring Boot would auto-configure Spring MVC and
would keep the default `UrlPathHelper` configuration.
Since Spring Boot is in charge of configuring the `DispatcherServlet`
and its mapping, it is in a position to optimally configure the
`UrlPathHelper` depending on the chosen mapping.

This commit sets the `alwaysUseFullPath` property of `UrlPathHelper` if
the Servlet mapping is `"/"`. This is more efficient since this
configuration requires less processing of the request path.

Closes gh-21499
5 years ago
Brian Clozel 525e03d3b5 Add welcome page support for Spring WebFlux
This commit adds the support for static and templated welcome pages with
Spring WebFlux. The implementation is backed by a `RouterFunction`
that's serving a static `index.html` file or rendering an `index` view.

Closes gh-9785
5 years ago
Scott Frederick ed4a7d4ba0 Use default tag when pulling run image
Prior to this commit, a default tag of 'latest' was used when no tag
was included in the builder image name used when building an image in
the Maven and Gradle plugins, but the tag for the run image was left
empty if it was not provided. This resulted in errors when pulling
the run image from an image repository. This commit applies the
same tag defaulting logic to the run image name.

Fixes gh-21532
5 years ago
Madhura Bhave 146ebf107c Merge branch '2.2.x'
Closes gh-21529
5 years ago
Madhura Bhave 398c80fb69 Merge pull request #21485 from FrontierPsychiatrist
* pr/21485:
  Fix typo in section 4.30.6

Closes gh-21485
5 years ago
Moritz do Rio Schulze 1e168a2145 Fix typo in section 4.30.6
See gh-21485
5 years ago
Madhura Bhave c308591de3 Merge pull request #21509 from dreis2211
* pr/21509:
  Avoid allocations in ConfigFileApplicationListener

Closes gh-21509
5 years ago
dreis2211 62deec715f Avoid allocations in ConfigFileApplicationListener
See gh-21509
5 years ago
Madhura Bhave 72ebefba0c Merge branch '2.2.x'
Closes gh-21524
5 years ago
Madhura Bhave 831bb1f206 Merge branch '2.1.x' into 2.2.x
Closes gh-21526
5 years ago
Madhura Bhave bce48ea745 Upgrade CI to Docker 19.03.9
Closes gh-21525
5 years ago
Madhura Bhave 7e5fbdd2e8 Merge branch '2.2.x'
Closes gh-21528
5 years ago
Madhura Bhave 808cb98b98 Merge branch '2.1.x' into 2.2.x
Closes gh-21527
5 years ago
Madhura Bhave 7d197e6469 Don't add waiting-for-triage label for issues created by CI automation
Closes gh-21282
5 years ago
Scott Frederick 07d842b51d Polish maven build image command line example 5 years ago
Scott Frederick 65070573fc Merge pull request #21490 from dsyer
* gh-21490:
  Polish `Add gradle build image command line example`
  Add gradle build image command line example

Closes gh-21490
5 years ago
Scott Frederick a5c42ce4c4 Polish `Add gradle build image command line example`
See gh-21490
5 years ago
Dave Syer 88a32d2fb9 Add gradle build image command line example
See gh-21490
5 years ago
Scott Frederick c5fd09d06d Merge branch '2.2.x'
Closes gh-21522
5 years ago
Scott Frederick 4a812fc29c Fix log name in ServletWebServerApplicationContext
Fixes gh-21354
5 years ago
Andy Wilkinson 14ba7442d9 Ensure that spring-boot-parent is imported into generated pom
Fixes gh-21518
5 years ago
Andy Wilkinson beb7cb4b81 Preserve property ordering in SpringIterableConfigurationPropertySource
Fixes gh-21470
5 years ago
Andy Wilkinson 4f31c3bfca Merge pull request #21481 from wonwoo
* gh-21481:
  Polish

Closes gh-21481
5 years ago
wonwoo 25723be26f Polish
See gh-21481
5 years ago
Andy Wilkinson 38db129146 Remove checkstyle config made redundant by ee758fa6
Closes gh-21473
5 years ago
Andy Wilkinson ee758fa670 Use HTTPS for license links
This commit updates the MavenPublishingConventions to use HTTPS to
link to the Apache license. The configuration of NoHTTP has also
been reworked so that it will correctly find usch uses of http://
URLs.

Closes gh-21459
5 years ago
Andy Wilkinson 3f56f97e03 Merge branch '2.2.x'
Closes gh-21472
5 years ago
Andy Wilkinson 4a896f2272 Merge branch '2.1.x' into 2.2.x
Closes gh-21471
5 years ago
Andy Wilkinson fdc63d71fe Use HTTPS when linking to groovy-lang.org
Closes gh-21466
5 years ago
Phillip Webb 8eec9cf32f Restore release scripts POM
Closes gh-21460
5 years ago
Phillip Webb c7023c5b17 Increase bintray timeout 5 years ago
Spring Buildmaster a23bb1d909 Next development version (v2.3.1.BUILD-SNAPSHOT) 5 years ago
Phillip Webb eb3b0f82a3 Use http liquibase XSDs
Update the lquibase test to use `http://` rather than `https://` so that
it can be resolved from the local jar.
5 years ago
Brian Clozel 42d07a7acd Fix published Maven POMs
Prior to this commit, the published Maven POMs would not pass the Maven
Central mandatory checks.

This commit adds the missing project name and description metadata for
most artifacts. The Spring Boot Gradle plugin artifact was also missing
this information and this is now added in the plugin metadata itself.
This is also updating the project page URL which is now hosted directly
on spring.io.

Fixes gh-21457
5 years ago
Madhura Bhave 859fc6c7e1 Switch back to 2.3.0.BUILD-SNAPSHOT 5 years ago
Spring Buildmaster 9c63132696 Next development version (v2.3.1.BUILD-SNAPSHOT) 5 years ago
Andy Wilkinson cea37819b8 Fix file permissions in the CLI's zip and tar distributions
Fixes gh-21451
5 years ago
Andy Wilkinson d0f16d6fe6 Merge branch '2.2.x'
Closes gh-21450
5 years ago
Andy Wilkinson c35ed9100b Only enforce spring-boot-parent's constraints internally
See gh-21350
5 years ago
Andy Wilkinson b78e4dacec Work around file handle leak when Undertow is stopped
There's a bug in Undertow that means it may leak a file handle is
the server is stopped immediately after a response to an SSL request
has been received. The stop processing races with Undertow's SSL
support tidying things up after sending the response. When the stop
processing wins, the tidying up fails with a NullPointerException that
prevents an input stream from being closed. On Windows, the input
stream remaining open prevents JUnit from being able to clean up its
temporary directory.

This commit uses Awaitility to wait for the file that's being served
over SSL to be deleted before stopping the server. On Windows, this
will delay the stop processing from beginning until after the tidy up
that's performed after sending the response has been completed,
hopefully eliminating the race condition that resulted in the input
stream being left open.

Fixes gh-21172
5 years ago
Stephane Nicoll e6376fcd6e Fix web services tests on JDK 11+
Closes gh-17274
5 years ago
Andy Wilkinson 96bd9daab7 Compile doc's Java examples and allow them to be imported into Eclipse
Closes gh-21445
5 years ago
Phillip Webb a2187bbd05 Merge pull request #17274 from nosan
* gh-17274:
  Polish 'Add @WebServiceClientTest slice test support'
  Add @WebServiceClientTest slice test support

Closes gh-17274
5 years ago
Phillip Webb 194c9fac64 Polish 'Add @WebServiceClientTest slice test support'
See gh-17274
5 years ago
Dmytro Nosan a4104ab096 Add @WebServiceClientTest slice test support
Add `@WebServiceClientTest` and related test auto-configuration to allow
slice testing of Spring Web Service client applications.

See gh-17274
5 years ago
Phillip Webb 9a1a2ca613 Merge branch '2.2.x'
Closes gh-21448
5 years ago
Phillip Webb 5eabb0400c Merge branch '2.1.x' into 2.2.x
Closes gh-21447
5 years ago
Phillip Webb d7c7ca31f3 Upgrade to spring-javaformat 0.0.22
Closes gh-21446
5 years ago
Stephane Nicoll f1c2dd6196 Upgrade to Spring Integration 5.3.0.RELEASE
Closes gh-21385
5 years ago
Stephane Nicoll d12ed468c8 Upgrade to Spring Session Dragonfruit-RELEASE
Closes gh-21386
5 years ago