1. 24 Aug, 2016 1 commit
  2. 23 Aug, 2016 9 commits
  3. 22 Aug, 2016 16 commits
    • Andy Wilkinson's avatar
      Ensure that access log is flushed periodically · e465368f
      Andy Wilkinson authored
      Previously, Tomcat’s background processing was only enabled on the
      context but access logging was configured on the engine. This means that
      the access log valve’s background processing method was never called
      and, therefore, that it wasn’t flushed periodically.
      
      This commit moves the enablement of background processing up to the
      engine, thereby ensuring that the access log is flushed periodically.
      Background processing cascades down the container hierarchy so, after
      this change, background processing will still be performed on the
      context as well.
      
      Closes gh-6646
      e465368f
    • Andy Wilkinson's avatar
      Tweak performance of RelaxedNames.separatedToCamelCase · a16aa767
      Andy Wilkinson authored
      Closes gh-6661
      a16aa767
    • Andy Wilkinson's avatar
      Merge pull request #6706 from Maciej Walkowiak · 53374ec5
      Andy Wilkinson authored
      * gh-6706:
        Polish “Add constructor to TestRestTemplate that takes a RestTemplateBuilder”
        Add constructor to TestRestTemplate that takes a RestTemplateBuilder
      53374ec5
    • Andy Wilkinson's avatar
    • Maciej Walkowiak's avatar
      Add constructor to TestRestTemplate that takes a RestTemplateBuilder · 53d7fd5a
      Maciej Walkowiak authored
      Closes gh-6706
      See gh-6702
      53d7fd5a
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Add methods to RestTemplateBuilder for configuring interceptors · 269bb914
      Andy Wilkinson authored
      Closes gh-6701
      269bb914
    • Andy Wilkinson's avatar
      Merge branch '1.3.x' · 32d0021e
      Andy Wilkinson authored
      32d0021e
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Merge branch '1.3.x' · d4c9a2b2
      Andy Wilkinson authored
      d4c9a2b2
    • 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
    • Stephane Nicoll's avatar
      Remove hard-coded property values · c9a3880f
      Stephane Nicoll authored
      As of Spring Boot 1.4, IDEs are supposed to provide auto-completion for
      hints and enum values. This commit removes the hard-coded copy of
      allowed values for enum-based properties. This was mostly the case
      already and this commit fixes the few ones remaining.
      
      Closes gh-6654
      c9a3880f
    • Andy Wilkinson's avatar
      Write management and main server access logs to separate files · 98d81110
      Andy Wilkinson authored
      Previously, when access logging was enabled and the management server
      was running on a separate port, both the main server and the management
      server would write their access logs to the same file. Having two
      separate containers writing to the same file could cause problems such
      as causing log rotation to break.
      
      This commit updates the actuator so that when the management server is
      running on a separate port (and therefore using a separate container)
      it prepends management_ to the access log prefix so that the main
      server and the management server write their access logs to separate
      files in the same directory.
      
      Closes gh-6618
      98d81110
    • Andy Wilkinson's avatar
      Polishing · 81275887
      Andy Wilkinson authored
      81275887
    • Stephane Nicoll's avatar
      Restore support for spring.datasource.type · 54a3ce88
      Stephane Nicoll authored
      This commit restores the support of "spring.datasource.type". If this
      property is set to an unsupported `DataSource` implementation, we now
      properly create it again, rather than ignoring it because its value did
      not match any value we support.
      
      Since Spring Boot 1.4 now redirects `DataSource` implementation settings
      to dedicated namespaces, the documentation has been updated to explicitly
      mention how one can create such arrangement for an unsupported
      implementation.
      
      As a convenience, `DataSourceProperties` can initialize a
      `DataSourceBuilder` based on its internal state, making it very easy for
      anyone to create a `DataSource` from a `DataSourceProperties` instance.
      
      Closes gh-6695
      54a3ce88
    • Stephane Nicoll's avatar
      Configure Undertow's access log prefix and suffix · a6ef3741
      Stephane Nicoll authored
      This commit adds two properties that can be used to customize the prefix
      and suffix of the Undertow's access log.
      
      Closes gh-6652
      a6ef3741
  4. 18 Aug, 2016 13 commits
  5. 17 Aug, 2016 1 commit