1. 26 Jun, 2015 10 commits
    • Phillip Webb's avatar
      Support <springProfile> in logback configurations · f3f562f3
      Phillip Webb authored
      Include support for a new <springProfile> element which can be used in
      `logback-spring.xml` files to selectively enable or disable parts of the
      configuration. For example:
      
      	<configuration>
      		...
      		<springProfile name="staging">
      			<logger name="sample.logback" level="TRACE" />
      		</springProfile>
      		...
      	</configuration>
      
      Fixes gh-3338
      f3f562f3
    • Phillip Webb's avatar
      Add logback sample application · 5bc8f0f7
      Phillip Webb authored
      Add a logback sample application to demonstrate how `logback-spring.xml`
      can be used for customization.
      
      See gh-2558
      5bc8f0f7
    • Phillip Webb's avatar
      Add Spring specific logging configuration support · 09eed727
      Phillip Webb authored
      Update AbstractLoggingSystem to support convention based logging
      configuration specifically for Spring applications. Configurations with
      the `-spring` suffix will now be loaded automatically (for example
      `logback-spring.xml`).
      
      This change allows for custom log configurations without needing to
      reinitialize the logging system. When standard configurations are used
      there is no way to prevent early initialization.
      
      Fixes gh-2558
      09eed727
    • Dave Syer's avatar
      Change default behaviour of /health when not secured · 1f6ac52b
      Dave Syer authored
      The default is now to reveal all details unless sensitive=true
      (instead of only revealing then if sensitive was explicitly false).
      The definition of "secure" also changes to something more sensible
      where it is only true if security is enabled.
      
      Fixes gh-2816
      1f6ac52b
    • Dave Syer's avatar
      Fix Redis metrics default settings · c3c1d91f
      Dave Syer authored
      The default should be to generate a key from the prefix. Otherwise
      if user sets the prefix and not the key it can pick up metrics from
      another repository (which is what happens in the tests).
      c3c1d91f
    • Stephane Nicoll's avatar
      Merge pull request #3335 from izeye/patch-27 · e02082da
      Stephane Nicoll authored
      * pr/3335:
        Remove unnecessary import
        Remove unnecessary `@After` callback
      e02082da
    • Stephane Nicoll's avatar
      Remove unnecessary import · 12767a43
      Stephane Nicoll authored
      See gh-3335
      12767a43
    • izeye's avatar
      Remove unnecessary `@After` callback · 761c9853
      izeye authored
      `@After` callback was trying to remove the wrong file anyway. This is
      now taken care of by the `TemporaryFolder` rule.
      
      Closes gh-3335
      761c9853
    • Stephane Nicoll's avatar
      Merge pull request #3333 from izeye/patch-26 · 8b5d44a5
      Stephane Nicoll authored
      * pr/3333:
        Fix typo
      8b5d44a5
    • izeye's avatar
      Fix typo · 0dc096f9
      izeye authored
      Closes gh-3333
      0dc096f9
  2. 25 Jun, 2015 20 commits
  3. 24 Jun, 2015 10 commits
    • Phillip Webb's avatar
      Make EventPublishingRunListener Ordered `0` · 291388af
      Phillip Webb authored
      Update EventPublishingRunListener to implement Ordered and use a default
      order of 0. This allows for other run listeners to be added either
      before or after it.
      
      Fixes gh-3305
      291388af
    • Phillip Webb's avatar
      Polish · 778e3eb0
      Phillip Webb authored
      778e3eb0
    • Stephane Nicoll's avatar
      Add support for property hint · bc932173
      Stephane Nicoll authored
      Create a new section in the meta-data called "hints" where users can
      provide hints about a given property. The most basic use case for now
      is to provide a list of values that a property can have. Each value may
      have a description.
      
      This sample JSON provides a basic example for a property called `foo.mode`
      that exposes 3 values: "auto", "basic" and "advanced".
      
      ```
       "hints": [
          {
            "id": "foo.mode",
            "values": [
              {
                "value": "auto",
                "description": "Some smart description."
              },
              {
                "name": "basic"
              },
              {
                "name": "advanced"
              }
            ]
          }
      ]
      ```
      
      This information can be read by tools (such as IDE) and offer an
      auto-completion with the list of values.
      
      Closes gh-2054
      bc932173
    • Andy Wilkinson's avatar
      Merge branch '1.2.x' · 9aa445bf
      Andy Wilkinson authored
      9aa445bf
    • Andy Wilkinson's avatar
      Include value of java.io.tmpdir in message when createTempFile fails · f8fdcc13
      Andy Wilkinson authored
      If java.io.tmpdir is configured to a directory that does not exist,
      calls to File.createTempFile will fail with an IOException with the
      message "The system cannot find the path specified". Unfortunately,
      the path the was specified is not included in the message.
      
      Rather than trying to automatically create the directory in what may
      be a misconfigured location, we now include the value of
      java.io.tmpdir in our own exception's message. Hopefully this will
      help users to figure out what they've done wrong.
      
      Closes gh-3307
      f8fdcc13
    • Stephane Nicoll's avatar
      Merge branch '1.2.x' · af1afeaf
      Stephane Nicoll authored
      af1afeaf
    • Stephane Nicoll's avatar
      Fix datasource metrics doc · 982b81c6
      Stephane Nicoll authored
      The maximum and minimum number of connections are no metrics so these
      are not exposed. Fix the doc that stated the contrary.
      
      Fixes gh-3319
      982b81c6
    • Stephane Nicoll's avatar
      Remove dead code · 41b4d41f
      Stephane Nicoll authored
      41b4d41f
    • Stephane Nicoll's avatar
      Remove dead code · e9baa779
      Stephane Nicoll authored
      e9baa779
    • Stephane Nicoll's avatar
      Fix typo · 1d66aa35
      Stephane Nicoll authored
      1d66aa35