Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/spring-projects/spring-boot.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Aug 18, 2015
    • Spring Buildmaster's avatar
      Release version 1.3.0.M4 · 8f7da5df
      Spring Buildmaster authored
      v1.3.0.M4
      8f7da5df
    • 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
  2. Aug 17, 2015
    • 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
  3. Aug 15, 2015
  4. Aug 14, 2015
    • Stephane Nicoll's avatar
      Use project location to infer the artifactId · 73ee6652
      Stephane Nicoll authored
      On start.spring.io, if you customize the artifactId it creates a zip file
      with the same name. The `spring init` command did not have a similar
      shortcut.
      
      This commit updates the request to customize the artifactId if none is
      set and a custom location was specified. Just as we check for the
      presence of a dot to figure out if we have to extract the archive or not,
      we check for it to generate an artifactId without an extension.
      
      In practice, `spring init foo` creates a foo directory with a project
      whose artifactId is `foo` and `spring init foo.zip` stores a foo.zip
      file with the same project (i.e. the artifactId is `foo`).
      
      Closes gh-3714
      73ee6652
    • Stephane Nicoll's avatar
      Polish · 58d0776a
      Stephane Nicoll authored
      58d0776a
    • Stephane Nicoll's avatar
      Document spring.datasource.name · d1a4d695
      Stephane Nicoll authored
      The `spring.datasource.name` property was hidden behind the 'name'
      attribute of the Tomcat connection pool (since we are mapping all
      datasource implementations on the `spring.datasource` namespace.
      
      This commit replace the injected value by hand with the use of the
      regular `DataSourceProperties`. That way, we generate proper meta-data
      for it as well.
      
      Closes gh-3755
      d1a4d695
    • Stephane Nicoll's avatar
      Add a property to configure the connection pool · 2d62e1fc
      Stephane Nicoll authored
      A new `spring.datasource.type` property can now be used to configure the
      connection pool implementation to use (rather than only relying on Boot's
      preferences).
      
      Closes gh-3705
      2d62e1fc
    • Stephane Nicoll's avatar
      Polish · e4b81b17
      Stephane Nicoll authored
      e4b81b17
    • Stephane Nicoll's avatar
      Spring Boot starter section · 960d6ead
      Stephane Nicoll authored
      Improve the documentation to explain the necessary steps to create a
      custom Spring Boot starter. In particular, provide more details regarding
      naming conventions.
      
      Closes gh-2537
      See gh-2927
      960d6ead
    • Stephane Nicoll's avatar
      Merge pull request #3750 from eddumelendez/gh-3749 · 78769444
      Stephane Nicoll authored
      * pr/3750:
        Polish
        Add fallbackToSystemLocale configuration key
      78769444
    • Stephane Nicoll's avatar
      Polish · 4e0f99ed
      Stephane Nicoll authored
      Closes gh-3750
      4e0f99ed
    • Eddú Meléndez's avatar
      Add fallbackToSystemLocale configuration key · 74e1a1c9
      Eddú Meléndez authored
      Allow to configure the `fallbackToSystemLocale` attribute of
      `MessageSource` via configuration.
      
      Closes gh-3749
      74e1a1c9
  5. Aug 13, 2015
    • Andy Wilkinson's avatar
      Workaround bizarre compiler problem · c15a670c
      Andy Wilkinson authored
      c15a670c
    • Andy Wilkinson's avatar
      Detect ConfigurableWebBindingInitializer bean and register with MVC · 51dd806a
      Andy Wilkinson authored
      Previously, to use a custom ConfigurableWebBindingInitializer, it was
      necessary to extend WebMvcConfigurationSupport and override
      getConfigurableWebBindingInitializer. This had the unwanted
      side-effect of switching off the auto-configuration of Spring MVC.
      
      This commit updates the auto-configuration to look for a
      ConfigurableWebBindingInitializer bean and register it with Spring
      MVC.
      
      Closes gh-2526
      51dd806a
    • Martin Lippert's avatar
      511c6d39
    • Craig Andrews's avatar
      Add more Jackson dependencies to spring-boot-dependencies · 2e0e2a3d
      Craig Andrews authored
      Add:
      
       - jackson-datatype-hibernate4
       - jackson-datatype-hibernate5
       - jackson-datatype-jdk7
       - jackson-module-parameter-names
      
      Closes gh-3727
      2e0e2a3d
    • izeye's avatar
      Polish documentation · eab7eff0
      izeye authored
      Closes gh-3738
      eab7eff0
    • Andy Wilkinson's avatar
      Ignore case when filtering out properties based on target name · fbe2e470
      Andy Wilkinson authored
      Previously, PropertiesConfigurationFactory would only create a
      DefaultPropertyNamePatternsMatcher that ignored case if it was
      ignoring unknown fields. If the binding had a target name and
      unknown fields were not being ignored the matcher would consider the
      case when finding matches. This meant that SERVER_PORT would not being
      to ServerProperties.port as SERVER did not match the target name,
      server.
      
      This commit updates PropertiesConfigurationFactory to use a
      case-ignoring DefaultPropertyNamePatternsMatcher when binding with
      a target name. The tests have also been updated to test binding both
      with and without ignoring case and using either Properties or
      PropertySources. The above-described matching is only performed
      against PropertySources and the bug only occurred when using a target
      name, making it important to test all combinations.
      
      Closes gh-3745
      fbe2e470
  6. Aug 12, 2015
  7. Aug 11, 2015
  8. Aug 10, 2015