1. 25 Jun, 2018 2 commits
  2. 21 Jun, 2018 7 commits
    • Andy Wilkinson's avatar
      Merge pull request #12859 from ralenmdp · f32c66d0
      Andy Wilkinson authored
      * gh-12859:
        Polish "Fix JSP availability check when not running as a packaged war"
        Fix JSP availability check when not running as a packaged war
      f32c66d0
    • Andy Wilkinson's avatar
      b1d8cc55
    • Mandap's avatar
      Fix JSP availability check when not running as a packaged war · 82465cf4
      Mandap authored
      See gh-12859
      82465cf4
    • Andy Wilkinson's avatar
      Avoid unbounded metrics creation for requests not handled by Spring MVC · b35e1ad2
      Andy Wilkinson authored
      Previously, if an HTTP request that used a templated URI was handled
      by something other than Spring MVC, a potentially unbounded number of
      metrics would be created. This happened because, in the absence of
      Spring MVC's best matching pattern attribute, MetricsFilter would fall
      back to using the request's path. If the handling route was templated,
      MetricsFilter would be unaware and would record different metrics for
      each different path, rather than a single metric for the matching
      pattern.
      
      This cimmit updates MetricsFilter so that it falls back to using
      unmapped when Spring MVC's best matching pattern attribute is not
      available. This ensures that an unbounded number of metrics will no
      longer be created, at the cost of losing specific metrics for requests
      that are not handled by Spring MVC and that do not use a templated
      path.
      
      Closes gh-5875
      b35e1ad2
    • Andy Wilkinson's avatar
      Provide Gradle example for using Log4j2 · 29e87257
      Andy Wilkinson authored
      Closes gh-12729
      29e87257
    • Andy Wilkinson's avatar
      Disable Log4J2's shutdown hook by default · 8a0f0354
      Andy Wilkinson authored
      Log4J2 enables its shutdown hook by default. When the JVM is exiting,
      this creates a race between logging that happens during the
      application context being closed and Log4J2 being shut down such that
      the logging is lost.
      
      This commit updates SpringBootConfigurationFactory so that it
      produces a custom sub-class of DefaultConfiguration that disables the
      shutdown hook by default. In addition to solving the problem described
      above, this also aligns the Log4J2 logging system with the
      logging.register-shutdown-hook property which defaults to false.
      
      Closes gh-11360
      8a0f0354
    • Stephane Nicoll's avatar
      Polish · 36605b3b
      Stephane Nicoll authored
      See gh-13534
      36605b3b
  3. 20 Jun, 2018 5 commits
  4. 19 Jun, 2018 2 commits
  5. 14 Jun, 2018 6 commits
  6. 13 Jun, 2018 5 commits
  7. 12 Jun, 2018 1 commit
    • Brian Clozel's avatar
      Fix security test with changes in SPR-16836 · 1b81f6f4
      Brian Clozel authored
      This commit replaces the use of a GET method by a DELETE method for
      testing that the HiddenHttpMethodFilter is ordered before the security
      filter. With SPR-16836 changes, only PUT DELETE and PATCH are now
      allowed.
      1b81f6f4
  8. 08 Jun, 2018 2 commits
  9. 07 Jun, 2018 1 commit
  10. 06 Jun, 2018 9 commits