1. 27 Feb, 2021 1 commit
    • izeye's avatar
      Polish · c823f44e
      izeye authored
      See gh-25451
      c823f44e
  2. 26 Feb, 2021 13 commits
    • Andy Wilkinson's avatar
      Merge branch '2.4.x' · c35a4cc2
      Andy Wilkinson authored
      See gh-25450
      c35a4cc2
    • Andy Wilkinson's avatar
      12d3b152
    • Andy Wilkinson's avatar
      Merge branch '2.4.x' · 54ba9e6d
      Andy Wilkinson authored
      Closes gh-25450
      54ba9e6d
    • Andy Wilkinson's avatar
      Merge branch '2.3.x' into 2.4.x · cb600f1c
      Andy Wilkinson authored
      Closes gh-25449
      cb600f1c
    • Andy Wilkinson's avatar
      Use ResourceConfig customization to register endpoints with Jersey · 8f72ca65
      Andy Wilkinson authored
      Previously, actuator endpoints were registered with Jersey upon
      injection of the ResourceConfig bean into a registrar class rather than
      using a ResourceConfigCustomizer. This was done to fix a problem
      when running the Actuator on a separate port where the main application
      context's customizers were also applied to the management context,
      breaking the singleton contract for those resources. This approach
      meant that the registration could be performed at any point after the
      ResourceConfig had been created. When Jersey's configured as a Filter
      this resulted in the registration failing as the attempt was being made
      after the Filter lifecyle callbacks which make the ResourceConfig
      immutable.
      
      This commit reworks the endpoint registration to be performed using a
      ManagementContextResourceConfigCustomizer, a resource config customizer
      that's only applied to the ResourceConfig that's used by the Actuator.
      When there's a separate management context, this ResourceConfig is
      created by the Actuator's auto-configuration and the management context
      resource config customizers are applied to it during its creation. The
      main application's customizers are not applied. When the actuator is
      using the same context as the main application, this ResourceConfig is
      created by the main application. In this case a
      ResourceConfigCustomizer is defined that delegates to all
      ManagementContextResourceConfigCustomizers, allowing them to register
      the actuator endpoints with the main ResourceConfig.
      
      Fixes gh-25262
      8f72ca65
    • Andy Wilkinson's avatar
      Merge branch '2.4.x' · 8ada1834
      Andy Wilkinson authored
      Closes gh-25448
      8ada1834
    • Andy Wilkinson's avatar
      Merge branch '2.3.x' into 2.4.x · 24b2bb92
      Andy Wilkinson authored
      Closes gh-25447
      24b2bb92
    • Andy Wilkinson's avatar
      Merge pull request #25446 from dreis2211 · 1e650693
      Andy Wilkinson authored
      * gh-25446:
        Split DeploymentIntegrationTests by container
        Rename DeploymentIntegrationTests
      
      Closes gh-25446
      1e650693
    • dreis2211's avatar
      Split DeploymentIntegrationTests by container · 4ff9e5ed
      dreis2211 authored
      Prior to this commit, every test started a new testcontainer. By splitting the
      tests apart we can make use of static containers that are only instantiated once
      per application (TomEE, Wildfly etc.)
      
      See gh-25446
      4ff9e5ed
    • dreis2211's avatar
      Rename DeploymentIntegrationTests · d55d8d6b
      dreis2211 authored
      See gh-25446
      d55d8d6b
    • Andy Wilkinson's avatar
      Enable the logging shutdown hook by default · 9713bfc7
      Andy Wilkinson authored
      This commit updates LoggingApplicationListener to register the logging
      shutdown hook by default.
      
      The hook is detrimental in a war deployment as it may pin parts of an
      application in memory after it has been undeployed. For this reason,
      the hook is still disabled by default in war deployments. This is
      achieved by setting an attribute on the servlet context in
      SpringBootServletInitializer that is then consumed via the Environment
      by LoggingApplicationListener.
      
      Closes gh-25046
      9713bfc7
    • Andy Wilkinson's avatar
      Merge pull request #25445 from dreis2211 · 33b37530
      Andy Wilkinson authored
      * gh-25445:
        Ignore empty prefixes in new PrefixedConfigurationPropertySource
      
      Closes gh-25445
      33b37530
    • dreis2211's avatar
      Ignore empty prefixes in new PrefixedConfigurationPropertySource · 4b694560
      dreis2211 authored
      See gh-25445
      4b694560
  3. 25 Feb, 2021 26 commits