1. 15 Jul, 2020 3 commits
    • Scott Frederick's avatar
      Fail on bootBuildImage with launch script · 21028226
      Scott Frederick authored
      This commit adds a check to the support code for the Gradle plugin
      bootBuildImage task to ensure that the jar file that will be passed
      to a builder is readable and has a valid directory. This prevents a
      situation where the jar file cannot be read because it is prepended
      with a launch script, and the builder does not receive any files to
      process.
      
      Notes have also been added to the Gradle plugin documentation to warn
      against using a bootJar launchScript configuration and bootBuildImage
      together, as well as caveats about launchScript that match the Maven
      plugin documentation.
      
      Fixes gh-22223
      21028226
    • Andy Wilkinson's avatar
      Merge branch '2.2.x' into 2.3.x · 259ea653
      Andy Wilkinson authored
      Closes gh-22339
      259ea653
    • Andy Wilkinson's avatar
      Clarify the effects of ordering auto-configuration classes · d9882f2c
      Andy Wilkinson authored
      Closes gh-22337
      d9882f2c
  2. 14 Jul, 2020 9 commits
  3. 13 Jul, 2020 1 commit
  4. 10 Jul, 2020 1 commit
  5. 09 Jul, 2020 10 commits
  6. 08 Jul, 2020 4 commits
    • Scott Frederick's avatar
      Improve Redis URL validation · 1e2176b6
      Scott Frederick authored
      This commit improves the validation of URLs provided in the property
      'spring.redis.url' used to auto-configure a Spring Data Redis
      connection. In particular, only the URL schemes 'redis://' and
      'rediss://' are allowed, and any other scheme will result in a
      configuration error. A failure analyzer is also provided to improve
      diagnostics for common mis-configurations detected by this validation.
      
      Fixes gh-21999
      1e2176b6
    • Andy Wilkinson's avatar
      Merge branch '2.2.x' into 2.3.x · d84aeef5
      Andy Wilkinson authored
      Closes gh-22264
      d84aeef5
    • Andy Wilkinson's avatar
      66987533
    • Andy Wilkinson's avatar
      Honor spring.autoconfigure.exclude in test slices · 502ccb65
      Andy Wilkinson authored
      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
      502ccb65
  7. 07 Jul, 2020 12 commits