1. 06 May, 2016 3 commits
  2. 05 May, 2016 8 commits
  3. 04 May, 2016 3 commits
  4. 02 May, 2016 3 commits
  5. 30 Apr, 2016 1 commit
  6. 28 Apr, 2016 2 commits
  7. 27 Apr, 2016 1 commit
  8. 26 Apr, 2016 3 commits
  9. 25 Apr, 2016 1 commit
  10. 22 Apr, 2016 1 commit
    • Dave Syer's avatar
      Add metric flusher to export remaining metrics on shutdown · b9db4742
      Dave Syer authored
      Before this change the app context closes and metrics that have not
      yet been exported ccan be orphaned. The design of this feature is simple:
      use Closeable where possible, so that it will be called automatically
      by Spring on shutdown.
      
      Fixes gh-5771
      b9db4742
  11. 21 Apr, 2016 2 commits
  12. 20 Apr, 2016 2 commits
  13. 19 Apr, 2016 1 commit
    • Andy Wilkinson's avatar
      DevTools should only shut down single, auto-configured DataSource · a19eeaf9
      Andy Wilkinson authored
      Previously, there were two problems with DevTools’ DataSource
      auto-configuration:
      
      1. It did not tolerate a context with multiple DataSources
      2. It would attempt to shut down a DataSource that had not been created
         by DataSourceAutoConfiguration and, therefore, where we could not be
         sure of its configuration.
      
      This commit updates DevToolsDataSourceAutoConfiguration so that it backs
      off unless the context contains DataSourceProperties and a single
      DataSource created by DataSourceAutoConfiguration. This ensures that it
      can safely use DataSourceProperties to get the DataSource’s
      driver class name and accurately determine if it’s an in-memory or
      external database. Shutdown is only called for an in-memory database.
      
      Closes gh-5540
      a19eeaf9
  14. 18 Apr, 2016 4 commits
    • Andy Wilkinson's avatar
      432969e6
    • Andy Wilkinson's avatar
      Apply spring.thymeleaf.cache to auto-configured ThymeleafViewResolver · a4d7a775
      Andy Wilkinson authored
      Previously, spring.thymeleaf.cache was only applied to auto-configured
      TemplateResolver. This commit also applies the propery to the
      auto-configured ThymeleafViewResolver.
      
      Closes gh-5395
      a4d7a775
    • Andy Wilkinson's avatar
      Record trace with response status of 500 following unhandled exception · 92100291
      Andy Wilkinson authored
      Previously, if the filter chain threw an unhandled exception,
      WebRequestTraceFilter would record a trace with a response status of
      200. This occurred because response.getStatus() would return 200 as
      the container had not yet caught the exception and mapped it to an
      error response.
      
      This commit updates WebRequestTraceFilter to align its behaviour with
      MetricsFilter. It now assumes that the response status will be a 500
      and only updates that to the status of the response if the call to the
      filter chain returns successfully.
      
      To avoid making a breaking change to the signature of the protected
      enhanceTrace method, an HttpServletResponseWrapper is used to include
      the correct status in the trace.
      
      Closes gh-5331
      92100291
    • Andy Wilkinson's avatar
      Tolerate possible null Flyway MigrationVersion when using Flyway 4.0 · 2e540780
      Andy Wilkinson authored
      Flyway 4.0 provides support for repeatable migrations that do not
      have a version. When such a migration has been performed,
      MigrationInfo.getMigrationVersion() will return null and, previously,
      FlywayEndpoint would fail with an NPE.
      
      This commit updates FlywayEndpoint to use null as the version when
      MigrationInfo.getMigrationVersion() returns null.
      
      Closes gh-5700
      2e540780
  15. 15 Apr, 2016 2 commits
  16. 12 Apr, 2016 3 commits