1. 08 Sep, 2015 2 commits
  2. 03 Sep, 2015 3 commits
  3. 02 Sep, 2015 4 commits
  4. 01 Sep, 2015 3 commits
    • Stephane Nicoll's avatar
      Refine check · 5043c959
      Stephane Nicoll authored
      Refine commit 8a964814 to set the web environment to false if spring web
      is not available in the classpath. Thanks to @mjustin for spotting that
      mistake.
      
      Closes gh-3856
      5043c959
    • Stephane Nicoll's avatar
      Store container installs in home directory · 426a8dc1
      Stephane Nicoll authored
      Previously, deployment tests were storing the container archives in the
      default location (that is `/tmp`) for a total weight of 160MB. In case
      the temp directory is cleaned on CI, these have to be downloaded again.
      
      We're now configuring cargo to store these archives in the home directory
      instead. This should improve the speed and the stability of the
      deployment tests
      
      Closes gh-3861
      426a8dc1
    • Stephane Nicoll's avatar
      Properly guard customization of application context class · 8a964814
      Stephane Nicoll authored
      SpringApplication wrongly expects spring-web to be on the classpath to
      figure out whether or not the web environment should be enabled for a
      custom context class.
      
      We now properly guard this check so that the web environment is not
      enabled (read: not checked) if `spring-web` is not available.
      
      Closes gh-3856
      8a964814
  5. 29 Aug, 2015 1 commit
  6. 26 Aug, 2015 1 commit
  7. 25 Aug, 2015 1 commit
  8. 20 Aug, 2015 1 commit
  9. 17 Aug, 2015 1 commit
    • 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
  10. 14 Aug, 2015 1 commit
  11. 10 Aug, 2015 4 commits
  12. 09 Aug, 2015 1 commit
  13. 07 Aug, 2015 1 commit
  14. 05 Aug, 2015 7 commits
  15. 04 Aug, 2015 1 commit
    • Andy Wilkinson's avatar
      Consider @Bean methods with args to determine type created by factory · 905346d0
      Andy Wilkinson authored
      Previously, BeanTypeRegistry would only look for a @Bean method
      with no arguments when trying to determine the type that will be
      created by a factory bean. This meant that the type produced by a
      factory bean declared via a @Bean that has one or more arguments would
      be unknown and any on missing bean conditions look for a bean of the
      type produced by the factory bean would match in error.
      
      This commit updates BeanTypeRegistry to, where possible, use the
      factory method metadata for the bean definition when determining the
      type that will be created. This allows it to determine the type for
      factory bean created by @Bean methods that take arguments and also
      avoids the use reflection to find the factory method. Where factory
      method metadata is not available, the existing reflection-based
      approach is used as a fallback.
      
      Closes gh-3657
      905346d0
  16. 03 Aug, 2015 5 commits
    • Phillip Webb's avatar
      Polish · 2c0ec1b4
      Phillip Webb authored
      2c0ec1b4
    • Andy Wilkinson's avatar
      Merge branch 'gh-3628' into 1.2.x · acfb07bd
      Andy Wilkinson authored
      acfb07bd
    • Andy Wilkinson's avatar
      Polish contribution · 838e0ef3
      Andy Wilkinson authored
      - Extract the logic that coerces the string into a LogLevel into a
        separate method.
      - Add a test that verifies that false is mapped to LogLevel.OFF
      
      Closes gh-3628
      838e0ef3
    • shanman190's avatar
      Make it easier to use YAML configuration to turn off a logger · cbd37b58
      shanman190 authored
      A level named off is used to disable logging for a particular logger.
      YAML interprets off as false, leading to a failed attempt to get the
      LogLevel for FALSE. A workaround is to quote the level, i.e. use "off"
      rather than off.
      
      This commit updates LoggingApplicationListener to coerce the string
      false back to the level off.
      
      Closes gh-3631
      See gh-3628
      cbd37b58
    • Andy Wilkinson's avatar
      Use fast exceptions in hasMoreElements in LaunchedURLClassLoader · d241171f
      Andy Wilkinson authored
      When nested jars are being used, hasMoreElements requires opening a
      connection for an entry in every nested jar. If that entry doesn't
      exist, a FileNotFoundException is thrown to indicate that a particular
      jar doesn't contain the requested entry. This exception is used to
      indicate the lack of an entry and is then swallowed, i.e. its stack
      trace is of no importance. This means that the performance of
      hasMoreElements can be improved by switching on fast exceptions while
      it's being called. When fast exceptions are switched on a general
      purpose pre-initialized FileNotFoundException is thrown rather than
      creating a new FileNotFoundException instance each time.
      
      In certain situations, the use of fast exceptions as described above
      can improve performance fairly significantly. The JRE's default SAAJ
      implementation uses META-INF/services-based discovery for _every_
      request that's handled by Spring Web Services. Each discovery attempt
      results in hasMoreElements being called making its performance
      critical to throughput.
      
      See gh-3640
      d241171f
  17. 27 Jul, 2015 2 commits
  18. 23 Jul, 2015 1 commit