Commit Graph

28245 Commits (81ae24e577ceb96c912ba01feab416b44afedf29)
 

Author SHA1 Message Date
Andy Wilkinson 3e33b6c854 Merge branch '2.3.x'
Closes gh-22263
4 years ago
Andy Wilkinson 502ccb6586 Honor spring.autoconfigure.exclude in test slices
Previously, the import selector for `@ImportAutoConfiguration` did not
consider the spring.autoconfigure.exclude property when determining
which auto-configurations to exclude. This meant that tests using a
slice that included a particular auto-configuration would include it
even if the application's configuration excluded it via
spring.autoconfigure.exclude. Confusingly, this could result in a
sliced test using an auto-configuration that would be excluded in a
broader `@SpringBootTest`.

This commit updates the ImportAutoConfigurationImportSelector to
consider the spring.autoconfigure.exclude property so that sliced tests
will use a subset of the auto-configurations that a `@SpringBootTest`
would use.

Fixes gh-21736
4 years ago
Stephane Nicoll 456cb2da51 Merge pull request #22261 from izeye
* pr/22261:
  Replace ReflectionUtils with AssertJ's extracting()

Closes gh-22261
4 years ago
Johnny Lim df34d26f4f Replace ReflectionUtils with AssertJ's extracting()
See gh-22261
4 years ago
Andy Wilkinson 9894be8f1e Merge branch '2.3.x'
Closes gh-22255
4 years ago
Andy Wilkinson 0af8c35428 Auto-configure Rabbit CF with credentials provider and refresh service
Closes gh-22016
4 years ago
Stephane Nicoll 14c80c73c8 Merge pull request #22240 from izeye
* pr/22240:
  Polish ErrorPage.equals()

Closes gh-22240
4 years ago
Johnny Lim 4ab4c61761 Polish ErrorPage.equals()
See gh-22240
4 years ago
Andy Wilkinson 1b85ce0769 Streamline OAuth2 resource server auto-config class conditions
Fixes gh-22233
4 years ago
Andy Wilkinson 247fd59422 Merge branch '2.3.x'
Closes gh-22252
4 years ago
Andy Wilkinson b8bc219b25 Merge branch '2.2.x' into 2.3.x
Closes gh-22251
4 years ago
Andy Wilkinson 4e79bb1cff Disable bean method proxying in SpringBootJdbcConfiguration
Closes gh-22231
4 years ago
Andy Wilkinson 29b69bfbdf Merge branch '2.3.x'
Closes gh-22250
4 years ago
Andy Wilkinson da319f5f59 Merge branch '2.2.x' into 2.3.x
Closes gh-22249
4 years ago
Andy Wilkinson 14f24dbecc Merge branch '2.1.x' into 2.2.x
Closes gh-22248
4 years ago
Andy Wilkinson 26f591264c Fix handling of NestedServletException with no root cause
Fixes gh-22169
4 years ago
Andy Wilkinson c3c1f2d29f Merge pull request #21913 from dreis2211
* gh-21913:
  Use Class.getDeclaredConstructor().newInstance()

Closes gh-21913
4 years ago
dreis2211 507eb9498b Use Class.getDeclaredConstructor().newInstance()
See gh-21913
4 years ago
Andy Wilkinson fbfb7df3e1 Merge branch '2.3.x'
Closes gh-22247
4 years ago
Andy Wilkinson 24e1a1dddf Merge branch '2.2.x' into 2.3.x
Closes gh-22246
4 years ago
Andy Wilkinson 1ad66cf92b Merge pull request #22207 from Sineaggi
* gh-22207:
  Polish "Rename NoneOfNestedConditions to NoneNestedConditions in example docs"
  Rename NoneOfNestedConditions to NoneNestedConditions in example docs

Closes gh-22207
4 years ago
Andy Wilkinson a8d3f9af31 Polish "Rename NoneOfNestedConditions to NoneNestedConditions in example docs"
See gh-22207
4 years ago
Clayton Walker 7fee70a625 Rename NoneOfNestedConditions to NoneNestedConditions in example docs
See gh-22207
4 years ago
Andy Wilkinson 0200a3783b Merge pull request #22212 from XenoAmess
* gh-22212:
  Polish "Remove redundant bitwise operations"
  Remove redundant bitwise operations

Closes gh-22212
4 years ago
Andy Wilkinson 7864a7da52 Polish "Remove redundant bitwise operations"
See gh-22212
4 years ago
XenoAmess de46d4bfd3 Remove redundant bitwise operations
See gh-22212
4 years ago
Andy Wilkinson a118668212 Merge pull request #22209 from XenoAmess
* gh-22209:
  Use valueOf rather than parseInt as result is assigned to an int

Closes gh-22209
4 years ago
XenoAmess 7c73ed69e1 Use valueOf rather than parseInt as result is assigned to an int
See gh-22209
4 years ago
Andy Wilkinson e5b5622b1f Merge pull request #22213 from XenoAmess
* gh-22213:
  Polish "Remove redundant close() call from JarResourceManagerTests"
  Remove redundant close() call from JarResourceManagerTests

Closes gh-22213
4 years ago
Andy Wilkinson 3c7f54b97f Polish "Remove redundant close() call from JarResourceManagerTests"
See gh-22213
4 years ago
XenoAmess 623b3ab96e Remove redundant close() call from JarResourceManagerTests
See gh-22213
4 years ago
Andy Wilkinson eb56bb5797 Merge pull request #22211 from XenoAmess
* gh-22211:
  Polish "Use new ArrayList(Collection) rather than new and addAll"
  Use new ArrayList(Collection) rather than new and addAll

Closes gh-22211
4 years ago
Andy Wilkinson cd8081f952 Polish "Use new ArrayList(Collection) rather than new and addAll"
See gh-22211
4 years ago
XenoAmess fb70c529d4 Use new ArrayList(Collection) rather than new and addAll
See gh-22211
4 years ago
Andy Wilkinson 54ce2905af Merge pull request #22210 from XenoAmess
* gh-22210:
  Use new ArrayList(Collection) rather than new, iterate, and add

Closes gh-22210
4 years ago
XenoAmess 90d8480ffe Use new ArrayList(Collection) rather than new, iterate, and add
See gh-22210
4 years ago
Andy Wilkinson 597d6acabc Merge pull request #22218 from XenoAmess
* gh-22218:
  Fix typos in test code

Closes gh-22218
4 years ago
XenoAmess 66dc24062f Fix typos in test code
See gh-22218
4 years ago
Andy Wilkinson 2a9193f6d9 Merge branch '2.3.x'
Closes gh-22244
4 years ago
Andy Wilkinson 96e6b74894 Merge branch '2.2.x' into 2.3.x
Closes gh-22243
4 years ago
Andy Wilkinson ae043285d8 Merge pull request #22214 from XenoAmess
* gh-22214:
  Polish "Fix unwrapping of captured PrintStream in test support's OutputCapture"
  Fix unwrapping of captured PrintStream in test support's OutputCapture

Closes gh-22214
4 years ago
Andy Wilkinson a0f1424393 Polish "Fix unwrapping of captured PrintStream in test support's OutputCapture"
See gh-22214
4 years ago
XenoAmess 75a64bd901 Fix unwrapping of captured PrintStream in test support's OutputCapture
See gh-22214
4 years ago
Andy Wilkinson fe1919063f Merge pull request #22222 from juliojgd
* gh-22222:
  Polish "Optionally ignore routing data sources when creating DB health indicators"
  Optionally ignore routing data sources when creating DB health indicators

Closes gh-22222
4 years ago
Andy Wilkinson b627918011 Polish "Optionally ignore routing data sources when creating DB health indicators"
See gh-22222
4 years ago
Julio Gomez Diaz 13d1d2393d Optionally ignore routing data sources when creating DB health indicators
See gh-22222
4 years ago
Andy Wilkinson 523dd937cd Merge branch '2.3.x'
Closes gh-22238
4 years ago
Andy Wilkinson 28128a9577 Add support for ChronoUnit.WEEKS when using PeriodUnit
Fixes gh-22225
4 years ago
Andy Wilkinson 0141f554b8 Merge branch '2.3.x' 4 years ago
Andy Wilkinson d1f074858e Correct class name of StringToPeriodConverterTests 4 years ago