Commit Graph

24201 Commits (a684ab872647b1502b13333ff501c7301d2dbd7e)
 

Author SHA1 Message Date
Madhura Bhave 28448340ce Merge branch '2.1.x' into 2.2.x
Closes gh-19061
5 years ago
Madhura Bhave 656f73f0c5 Parse version from build.json for release notes generation
Fixes gh-18908
5 years ago
Madhura Bhave 6e22ddc1a6 Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 849a76c6c2 Polish 5 years ago
Madhura Bhave ff22bd4827 Merge branch '2.1.x' into 2.2.x
Closes gh-19059
5 years ago
Madhura Bhave a3a53d299f Check authorities when exposing health details
Fixes gh-18998
5 years ago
Stephane Nicoll a003a5c8ab Upgrade to Kotlin 1.3.60
Closes gh-19046
5 years ago
Stephane Nicoll 3d418263bc Merge branch '2.1.x' into 2.2.x
Closes gh-19032
5 years ago
Stephane Nicoll 2c1e70deee Merge pull request #19028 from dreis2211
* pr/19028:
  Fix syntax error in configuration metadata sample in docs

Closes gh-19028
5 years ago
dreis2211 355505d236 Fix syntax error in configuration metadata sample in docs
See gh-19028
5 years ago
Stephane Nicoll ba539d9109 Merge pull request #19029 from dsyer
* pr/19029:
  Polish "Use caps in docker file example for consistency"
  Use caps in docker file example for consistency

Closes gh-19029
5 years ago
Stephane Nicoll b842f16848 Polish "Use caps in docker file example for consistency"
See gh-19029
5 years ago
Dave Syer b95e8a4df6 Use caps in docker file example for consistency
See gh-19029
5 years ago
Madhura Bhave 130b48cb78 Merge branch '2.1.x' into 2.2.x
Closes gh-19014
5 years ago
Madhura Bhave 01dde4fca3 Merge pull request #19008 from Christoph Dreis
* pr/19008:
  Fix build badge in README

Closes gh-19008
5 years ago
dreis2211 a7abc19a49 Fix build badge in README
See gh-19008
5 years ago
Madhura Bhave 0d7f49f91f Merge branch '2.1.x' into 2.2.x
Closes gh-19012
5 years ago
Madhura Bhave 8af63dc42e Merge pull request #19003 from Christoph Dreis
* pr/19003:
  Consistently use task timeout in CI pipeline

Closes gh-19003
5 years ago
dreis2211 f1914d5af9 Consistently use task timeout in CI pipeline
See gh-19003
5 years ago
Madhura Bhave b6ff0b7c5f Support constructor binding on 3rd party classes
Closes gh-18935
5 years ago
Stephane Nicoll 7d540543f9 Merge pull request #18932 from glours
* pr/18932:
  Polish "Improve Deploying to Containers section"
  Improve Deploying to Containers section

Closes gh-18932
5 years ago
Stephane Nicoll d08b436735 Polish "Improve Deploying to Containers section"
See gh-18932
5 years ago
Guillaume Lours 6cf05aeb50 Improve Deploying to Containers section
See gh-18932
5 years ago
Stephane Nicoll a74d5b1cf5 Merge pull request #18999 from izeye
* pr/18999:
  Polish a test name

Closes gh-18999
5 years ago
Johnny Lim 96a029e44f Polish a test name
See gh-18999
5 years ago
Stephane Nicoll a5da441bc4 Merge pull request #18962 from izeye
* pr/18962:
  Polish test methods

Closes gh-18962
5 years ago
Johnny Lim ddb22f5a52 Polish test methods
See gh-18962
5 years ago
Stephane Nicoll 992fcbf68f Merge pull request #18918 from dreis2211
* pr/18918:
  Polish

Closes gh-18918
5 years ago
dreis2211 6b500d82b4 Polish
See gh-18918
5 years ago
Stephane Nicoll 51487c7c45 Merge branch '2.1.x' into 2.2.x 5 years ago
Stephane Nicoll cad2365237 Polish 5 years ago
Andy Wilkinson 379ba0dc00 Support Gradle 6.0
Previously, our Gradle plugin was not tested against Gradle 6.0,
a number of deprecation warnings were output when using the plugin
with Gradle 6, and some functionality related to the application
plugin did not work as expected.

This commit tests the plugin against Gradle 6. It also avoids calling
deprecated APIs. The plugin is compatibile against Gradle 4.10 where
the deprecated APIs' replacements are not available so reflection is
used to call the replcaements. Lastly, the way in which the base name
of the boot distribution that is created when the application plugin
is applied has been modified to ensure that it is effective when using
Gradle 6.

Closes gh-18663
5 years ago
Madhura Bhave f9dc81558a Remove samples references from docs
Fixes gh-18904
5 years ago
Andy Wilkinson e715a5f689 Merge branch '2.1.x' into 2.2.x
Closes gh-18943
5 years ago
Andy Wilkinson 3f0367e2dd Apply changes recommended by Jetty team to JettyEmbeddedErrorHandler
Closes gh-18842
5 years ago
Andy Wilkinson fc3f6a930d Merge branch '2.1.x' into 2.2.x
Closes gh-18940
5 years ago
Andy Wilkinson 5765cfe010 Allow 5 seconds for child to handle SIGINT before destroying it
Previously, when RunProcess handled a SIGINT it would immediately
attempt to destroy the process that it had run. This created a race
condition between the SIGINT being handled by the child process
and RunProcess destroying the child. The exact behavior of destroy
is implementation dependent and it may result in forcible termination
of the process where shutdown hooks are not called. This is what
happens on Windows. The exit code in such a case is 1 which prevents
anything from waiting for the process to complete from detecting
that it ended as a result of a SIGINT, leaving it with no choice but
to report an error. This is what happens with mvn spring-boot:run
with a forked process on Windows and results in the build failing.

This commit updates RunProcess to allow the child process to handle
the SIGINT itself, waiting for up to five seconds for that to happen
before the process is then destroyed. Given this time, the child
process exits with 130 which RunMojo already handles correctly as
indicating that the process died due to SIGINT and the build completes
with success as a result.

Fixes gh-18936
5 years ago
Stephane Nicoll 84f682de62 Merge pull request #18920 from wonwoo
* pr/18920:
  Polish "Remove reference to ConfigurationPropertiesScan in javadoc"
  Remove reference to ConfigurationPropertiesScan in javadoc

Closes gh-18920
5 years ago
Stephane Nicoll 08067fb816 Polish "Remove reference to ConfigurationPropertiesScan in javadoc"
See gh-18920
5 years ago
wonwoo 92b00255a1 Remove reference to ConfigurationPropertiesScan in javadoc
See gh-18920
5 years ago
Andy Wilkinson 0490bff344 Update CI to use the new 2.2.x maintenance branch 5 years ago
Andy Wilkinson fa97766ef2 Tag CI images with version number rather than branch name
See gh-18844
5 years ago
Andy Wilkinson a8b46d7aa5 Rename CI pipeline to include the version in its name
Closes gh-18844
5 years ago
Andy Wilkinson 0a8a0daff8 Merge branch '2.1.x'
Closes gh-18913
5 years ago
Andy Wilkinson a11661d284 Trim whitespace in BasicJsonParser
Previously, whitespace in between the keys and values in the JSON was
not trimmed correctly in BasicJsonParser which lead to it incorrectly
parsing JSON with whitespace between the opening of a list ([) and the
opening of a map ({).

This commit updates the parser to trim unwanted whitespace and adds a
test to AbstractJsonParserTests to verify the whitespace handling
behaviour across all JsonParser implementations.

Closes gh-18911
5 years ago
Andy Wilkinson dd4377e69c Merge branch '2.1.x'
Closes gh-18912
5 years ago
Andy Wilkinson d1ead884c4 Fix @ServletComponentScan with a component index
Previously @ServletComponentScan did not work when there was a
component index on the classpath as it made an assumption about
the concrete type of the BeanDefinitions produced by scanning that
does not hold true when an index is present.

This commit updates the scanning and the handlers to correct the
assumpution by working with a bean definition type that is produced
by scanning both when there is and when there is not an index present.

To prevent the problem from reoccuring, a test that uses and index
has been added and the import of ScannedGenericBeanDefinition is now
prohibited by Checkstyle.

Closes gh-18910
5 years ago
Spring Buildmaster 93b7baf1f6 Next development version (v2.2.2.BUILD-SNAPSHOT) 5 years ago
Madhura Bhave 75f210a631 Merge branch '2.1.x'
Closes gh-18906
5 years ago
Madhura Bhave 8d3df1b4b8 Make CI credentials requirement lenient when building RestTemplate
Fixes gh-18901
5 years ago