1. 15 Dec, 2015 11 commits
    • Matt Benson's avatar
      Upgrade to maven-invoker-plugin 1.10 · ea7a7589
      Matt Benson authored
      Closes gh-4760
      ea7a7589
    • Andy Wilkinson's avatar
      Perform initialization in foreground if BackgroundPreinitializer fails · bcaee0eb
      Andy Wilkinson authored
      Google App Engine probits the creation of new threads. This leads to a
      failure in BackgroundPreinitializer when the single thread executor
      attempts to create its single thread.
      
      This commit enhances the existing fail safety of
      BackgroundPreinitializer by catching any exceptions thrown while
      creating the executor and submitting the tasks to it. Any initialisation
      that has not performed in the background will be performed in the
      foreground instead.
      
      Closes gh-4662
      bcaee0eb
    • Phillip Webb's avatar
      Merge pull request #4766 from mbenson/issue-4765 · da50eb9a
      Phillip Webb authored
      * pr/4766:
        Use canonical paths for Undertow document root
      da50eb9a
    • Matt Benson's avatar
      Use canonical paths for Undertow document root · cc40dceb
      Matt Benson authored
      Update `UndertowEmbeddedServletContainerFactory` so that the canonical
      path is used when setting up the document root. Prior to this commit
      Windows machines with `java.io.tmpdir` set to a tilde-compressed path
      would cause problems.
      
      Fixes gh-4765
      Closes gh-4766
      cc40dceb
    • Andy Wilkinson's avatar
      Use more sensible defaults for OpenTsdbGaugeWriter's timeouts · 097e5881
      Andy Wilkinson authored
      Previously, the default RestTemplate that is used OpenTsdbGaugeWriter
      was not used with its default configuration. Notably this meant that
      it would have infinite connect and read timeouts. This is problematic
      as it can cause metric writing to hang and block the scheduler for
      performing any other tasks.
      
      This commit updates OpenTsdbGaugeWriter to use a default connect
      timeout of 10 seconds and a default read timeout of 30 seconds. A
      constructor has been added to ease the configuration of these
      timeouts. The existing option of providing your own RestTemplate
      (via setRestTemplate) remains.
      
      Closes gh-4698
      097e5881
    • Andy Wilkinson's avatar
      08720b46
    • Jean de Klerk's avatar
      Improve the consistency of the various JsonParser implementations · 199c88e5
      Jean de Klerk authored
      - Consistent error handling applied to BasicJsonParser,
        GsonJsonParser, JsonSimpleJsonParser and YamlJsonParser
      - Add tests in AbstractJsonParserTests to verify consistency
      - Rename tests for JsonSimpleJsonParser to match the name of the
        class under test.
      
      Closes gh-4690
      199c88e5
    • Andy Wilkinson's avatar
      Consider relaxed variants of target name when filtering property names · e203a689
      Andy Wilkinson authored
      Previously, when ignoreUnknownFields was false and property names were
      being filtered based on whether or not they begin with the target name,
      relaxed variants of the target name were not considered. This resulted
      in different delimiters resulting in a non-match. For example, the
      property ENV_FOO_NAME would be filtered out when the target name
      was env.foo.
      
      This commit updates PropertiesConfigurationFactory to pass all of the
      relaxed variants for the target name to the matcher. For the example
      above one of those variants will be env_foo which matches ENV_FOO_NAME
      due to the matching delimiter.
      
      PropertiesConfigurationFactory was already creating a RelaxedNames
      instance for the target name. The code has been reworked a little to
      allow these relaxed names to be reused, thereby avoiding the cost of
      computing all of the relaxed variants of the target name a second time.
      
      Closes gh-4775
      e203a689
    • Phillip Webb's avatar
      Formatting · 5a7dece1
      Phillip Webb authored
      5a7dece1
    • Phillip Webb's avatar
      Log warning if scanning org or org.springframework · 19056a11
      Phillip Webb authored
      Update ConfigurationWarningsApplicationContextInitializer to also log
      warnings if the user is scanning `org` or `org.springframework`.
      
      Fixes gh-4777
      19056a11
    • Stephane Nicoll's avatar
      Add constants for well-known PropertySource names · 9be4b571
      Stephane Nicoll authored
      Closes gh-4776
      9be4b571
  2. 14 Dec, 2015 14 commits
  3. 12 Dec, 2015 6 commits
  4. 11 Dec, 2015 9 commits