1. 22 Aug, 2015 3 commits
  2. 21 Aug, 2015 7 commits
  3. 20 Aug, 2015 10 commits
  4. 19 Aug, 2015 7 commits
  5. 17 Aug, 2015 6 commits
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Update devtools to customise environment before app context is refreshed · 9e88dced
      Andy Wilkinson authored
      Prior to this commit, the devtools used bean factory post processors to
      configure the environment with custom, development-time properties. This
      meant that the environment was configured as part of the application
      context being refreshed. Crucially, this happened after any property
      conditions were evaluated making it impossible for the devtools to
      change the default auto-configuration behaviour for a bean or
      configuration class that was conditional on a property.
      
      This commit moves the configuration of the environment into an
      ApplicationListener that listens for the
      ApplicationEnvironmentPreparedEvent which is published as soon as the
      Environment has been prepared and before the application context is
      refreshed.
      
      Closes gh-3726
      9e88dced
    • Andy Wilkinson's avatar
      Introduce defined extension point for modifying the environment · e370b592
      Andy Wilkinson authored
      The commit introduces a new extension point, EnvironmentPostProcessor,
      that can be implemented by classes that want to modify the
      environment. Implementations of EnvironmentPostProcessor are loaded
      via spring.factories and called in response to the
      ApplicationEnvironmentPreparedEvent. Application listeners that wish
      to work with the post-processed environment can continue to listen
      to ApplicationEnvironmentPreparedEvent and order themselves to
      run after EnvironmentPostProcessingApplicationListener.
      
      Existing ApplicationListeners that modify the environment have,
      where possible, been updated to implement EnvironmentPostProcessor
      instead.
      
      Closes gh-3737
      e370b592
    • Stephane Nicoll's avatar
      2f862cfb
    • Stephane Nicoll's avatar
      Merge branch '1.2.x' · a6f85862
      Stephane Nicoll authored
      Conflicts:
      	spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java
      a6f85862
    • Stephane Nicoll's avatar
      Properly guard DB health indicator · 11b82cc6
      Stephane Nicoll authored
      The DataSource health indicator uses `JdbcTemplate` behind the scenes
      but nothing was checking that it is actually available.
      
      `DataSourcesHealthIndicatorConfiguration` is now disabled if
      `spring-jdbc` is not on the classpath.
      
      Fixes gh-3765
      11b82cc6
  6. 15 Aug, 2015 6 commits
  7. 14 Aug, 2015 1 commit