1. 22 Aug, 2016 2 commits
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Make configuration of Liquibase’s logging more robust · ba51dc5c
      Andy Wilkinson authored
      We make Liquibase aware of our custom Commons Logging-based logger by
      adding its package to the Liquibase ServiceLocator’s packages to scan.
      Previously, this was happening too late so Liquibase may have already
      initialized and cached a particular logger.
      
      This commit moves the registration of the extra package from the
      Liquibase auto-configuration to the application listener that customises
      Liquibase’s ServiceLocator. This ensures that the package is added
      before Liquibase is used. Unfortunately, configuring Liquibase’s
      ServiceLocator and its packages to scan causes it to try to perform
      some logging, resulting in it caching the wrong type of logger. We
      work around this problem by resetting Liquibase’s LogFactory once we’ve
      finished setting everything up.
      
      Closes gh-6713
      ba51dc5c
  2. 18 Aug, 2016 3 commits
  3. 15 Aug, 2016 1 commit
  4. 12 Aug, 2016 3 commits
  5. 11 Aug, 2016 1 commit
    • Phillip Webb's avatar
      Call afterProperties set in LogFileMvcEndpoint · a49f309e
      Phillip Webb authored
      Call afterPropertiesSet on the delegate `ResourceHttpRequestHandler`
      to prevent an NPE. This change is required for compatibility with
      Spring Framework 4.3 following SPR-13834.
      
      Closes gh-6592
      a49f309e
  6. 08 Aug, 2016 1 commit
    • Andy Wilkinson's avatar
      Cope with null server or management port when creating curie provider · cec6015f
      Andy Wilkinson authored
      Previously, a NullPointerException would occur if
      endpoints.docs.curies.enabled was true and the default value was being
      used for either server.port or management.port.
      
      EndpointWebMvcHypermediaManagementContextConfiguration has been
      restructured to ensure that the DocsMvcEndpoint bean is defined before
      the condition on its existence is evaluated. Previously this was
      dependant on the class’s bean methods being processed in a particular
      ordering, something that would be ok when using ASM but would vary when
      using reflection.
      
      Closes gh-6584
      cec6015f
  7. 01 Aug, 2016 1 commit
  8. 28 Jul, 2016 2 commits
  9. 26 Jul, 2016 6 commits
  10. 25 Jul, 2016 2 commits
  11. 20 Jul, 2016 2 commits
  12. 19 Jul, 2016 2 commits
  13. 18 Jul, 2016 4 commits
  14. 13 Jul, 2016 6 commits
  15. 12 Jul, 2016 1 commit
    • Andy Wilkinson's avatar
      Update admin MBean to only be ready when its own context is ready · c2db9fa3
      Andy Wilkinson authored
      Previously, if there was a hierarchy of SpringApplications, the admin
      MBean would report that the application was ready as soon as any
      application in the hierarchy was ready. This could lead to a client
      trying to query a property in the environment before it's available.
      
      This commit updates the MBean registrar to that the MBean only reports
      that the application is ready when the context that contains the
      registrar has refreshed and fired its ApplicationReadyEvent.
      
      Closes gh-6362
      c2db9fa3
  16. 11 Jul, 2016 3 commits