1. 01 Mar, 2016 5 commits
  2. 29 Feb, 2016 23 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
    • Andy Wilkinson's avatar
      Make DevTools DataSource auto-config back off without DataSourceProperties · 7a4e061d
      Andy Wilkinson authored
      Previously, if DataSourceAutoConfiguration had been explicitly excluded,
      DevToolsDataSourceAutoConfiguration would cause refresh to fail due to
      a missing DataSourceProperties bean. This commit corrects the condition
      so that the auto-configuration is conditional on a DataSource bean and
      a DataSourceProperties bean rather than only being conditional on one or
      the other.
      
      Closes gh-5269
      7a4e061d
    • Andy Wilkinson's avatar
      Make launch script integration tests compatible with Spring Framework 4.3 · 2c619f8d
      Andy Wilkinson authored
      Previously, the launch script integration tests used Jackson 2.1 to
      align with the requirements of docker-java 2.x. This stopped working
      when we upgraded to Spring Framework 4.3 which requires Jackson 2.6+.
      
      This commit updates the launch script integration tests to use
      docker-java 3.0.0-RC1 which is compatible with Jackson 2.6.x. An added
      benefit is that 3.0 also adds support for copying an archive to a
      container, allowing the custom command that performs this function to
      be removed.
      
      Closes gh-5278
      2c619f8d
    • Stephane Nicoll's avatar
      Merge pull request #5204 from uweschaefer/master · 1ca9cdab
      Stephane Nicoll authored
      * pr/5204:
        Polish contribution
        Add CONF_FOLDER property
      1ca9cdab
    • Stephane Nicoll's avatar
      Polish contribution · d93b09f4
      Stephane Nicoll authored
      Closes gh-5204
      d93b09f4
    • Uwe Schaefer's avatar
      Add CONF_FOLDER property · 9c300307
      Uwe Schaefer authored
      Closes gh-5203
      9c300307
  3. 26 Feb, 2016 12 commits