1. 03 Mar, 2016 6 commits
    • Stephane Nicoll's avatar
      Polish contribution · 0490fbc7
      Stephane Nicoll authored
      `InfoProvider` is now `InfoContributor` and contributes to the `Info`
      instance via a builder. The `Info` instance is immutable. Each
      contributor can be disabled via the `management.info.<name>.enabled`
      key or all can be disabled using `management.info.defaults.enabled` (this
      is similar to what the health endpoint does).
      
      By default, all keys from the environment starting with `info.` are
      exposed. If a `git.properties` file is present in the classpath, the
      content of `GitInfo` is exposed using the `git` key.
      
      A `SimpleInfoContributor` and `AbstractEnvironmentInfoContributor` are
      available for convenience. `InfoContributor` instances can be ordered
      the usual way, with a default order provided by
      `InfoProviderAutoConfiguration#DEFAULT_ORDER`.
      
      Closes gh-3492
      0490fbc7
    • Stephane Nicoll's avatar
      rebase to master · 76188028
      Stephane Nicoll authored
      76188028
    • Meang Akira Tanaka's avatar
      Info endpoint · 8bebe6de
      Meang Akira Tanaka authored
      See gh-3492
      8bebe6de
    • Stephane Nicoll's avatar
      Auto-configure GitInfo · 0f820afa
      Stephane Nicoll authored
      This commit moves `GitInfo` to a general "project info" area that will be
      further improved with others project related information.
      
      Deprecate `spring.git.properties` in favour of `spring.info.git.location`
      
      Closes gh-2484
      0f820afa
    • Stephane Nicoll's avatar
      Merge pull request #5318 from izeye/polish-20160303 · 03ecdce4
      Stephane Nicoll authored
      * pr/5318:
        Polish
      03ecdce4
    • Johnny Lim's avatar
      Polish · a6c83787
      Johnny Lim authored
      Closes gh-5318
      a6c83787
  2. 02 Mar, 2016 6 commits
  3. 01 Mar, 2016 10 commits
  4. 29 Feb, 2016 18 commits
    • Stephane Nicoll's avatar
      Auto-configure Rabbit MessageConverter · 813d86e5
      Stephane Nicoll authored
      If a `MessageConverter` bean is available, we now associate it to the
      created `RabbitTemplate` and `RabbitListenerContainerFactory`. That way,
      registering a custom `MessageConverter` is all that's needed.
      
      The Rabbit auto-configuration is now using the new `ObjectProvider` that
      offers a nicer API to detect if a primary candidate is available for
      optional collaborators.
      
      Closes gh-5088
      813d86e5
    • Stephane Nicoll's avatar
      Polish · 360caf3d
      Stephane Nicoll authored
      360caf3d
    • Stephane Nicoll's avatar
      Polish · bfa9ae13
      Stephane Nicoll authored
      bfa9ae13
    • Dave Syer's avatar
      Merge branch '1.3.x' · 120a39a6
      Dave Syer authored
      120a39a6
    • Dave Syer's avatar
      Accumulate state in a local variable, not a field in the instance · baf7dda0
      Dave Syer authored
      State is accumulating unnecessarily in AST tranformation instances.
      We can fix the ones we have implemented so far just by using a
      local variable and passing it into the methods where it is used.
      All the methods are private so this change is safe in a point release.
      
      Fixes gh-5283
      baf7dda0
    • Dave Syer's avatar
      Fix apostrophe · 0dd3531f
      Dave Syer authored
      0dd3531f
    • Stephane Nicoll's avatar
      Auto-configure JMS MessageConverter · d13b9a98
      Stephane Nicoll authored
      If a `MessageConverter` bean is available, we now associate it to the
      created `JmsTemplate` and `JmsListenerContainerFactory`. That way,
      registering a custom `MessageConverter` is all that's needed.
      
      The JMS auto-configuration is now using the new `ObjectProvider` that
      offers a nicer API to detect if a primary candidate is available for
      optional collaborators.
      
      Closes gh-4282
      d13b9a98
    • Andy Wilkinson's avatar
      Update Repackager to use Java 8 APIs safely · ad7cf484
      Andy Wilkinson authored
      Previously, Repackager used Java 8 APIs without protecting against the
      possibility of a NoSuchMethodError on earlier versions of Java.
      This commit wraps the Java 8 APIs in try-catch blocks to ensure
      that they do not cause a failure on Java versions before 8, while
      still making full use of Java 8's capabilities when available.
      
      Closes gh-5280
      ad7cf484
    • Andy Wilkinson's avatar
      Merge branch '1.3.x' · 779649bf
      Andy Wilkinson authored
      779649bf
    • Stephane Nicoll's avatar
      Allow custom CacheResolver · d9f4d6ce
      Stephane Nicoll authored
      Previously, if a bean of type `CacheResolver` was present in the context
      the whole cache auto-configuration would back off. If said
      `CacheResolver` hasn't been defined via the `CachingConfigurer`
      infrastructure, the application context would fail with a rather
      unpleasant error message.
      
      It can be quite common to define custom `CacheResolver` beans as the cache
      annotations allow to defines custom cache resolvers per operation. This
      commit makes sure that the cache auto-configuration will back-off only if
      the `CacheResolver` is named `cacheResolver`.
      
      Closes gh-5201
      d9f4d6ce
    • Andy Wilkinson's avatar
      Enable Animal Sniffer checking of spring-boot-loader-tools · bb473c32
      Andy Wilkinson authored
      Previously, Animal Sniffer checking of spring-boot-loader-tools
      was disabled as it failed with an NPE. This has been fixed in
      Animal Sniffer 1.15.
      
      This commit upgrades Animal Sniffer to 1.15 and adds the necessary
      annotations to suppress failures for safe usage of sun.* and Java 7
      APIs.
      
      Note that UsesUnsafeJava has been copied from spring-boot and made
      package-private. This retains the clearer intent of the custom
      annotation (versus @IgnoreJRERequirement) while avoiding the change
      in the build order that would be necessary for
      spring-boot-loader-tools to use the annotation from spring-boot.
      
      Closes gh-5284
      bb473c32
    • Stephane Nicoll's avatar
      Upgrade to Caffeine 2.2.2 · f04b517a
      Stephane Nicoll authored
      See gh-4903
      f04b517a
    • Stephane Nicoll's avatar
      Merge pull request #4903 from eddumelendez/gh-4899 · 1f8b7803
      Stephane Nicoll authored
      * pr/4903:
        Polish contribution
        Add Caffeine cache support
      1f8b7803
    • Stephane Nicoll's avatar
      Polish contribution · 6741f05a
      Stephane Nicoll authored
      Closes gh-4903
      6741f05a
    • Eddú Meléndez's avatar
      Add Caffeine cache support · 98cc6836
      Eddú Meléndez authored
      See gh-4899
      98cc6836
    • Andy Wilkinson's avatar
      Merge branch '1.3.x' · 41f0a5cd
      Andy Wilkinson authored
      41f0a5cd
    • Andy Wilkinson's avatar
      4eda91d6
    • Andy Wilkinson's avatar
      Merge branch '1.3.x' · cd6cacfb
      Andy Wilkinson authored
      cd6cacfb