1. 07 Aug, 2014 6 commits
  2. 06 Aug, 2014 11 commits
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 13bb23ac
      Phillip Webb authored
      13bb23ac
    • Phillip Webb's avatar
      Use MongoDbFactory to create GridFsTemplate · 88828f50
      Phillip Webb authored
      Update MongoDataAutoConfiguration to use the MongoDbFactory when
      creating GridFsTemplate.
      
      Fixes gh-1295
      88828f50
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 7641f23f
      Phillip Webb authored
      7641f23f
    • Phillip Webb's avatar
      Add option to disable `X-Application-Context` · d854c09d
      Phillip Webb authored
      Add `management.add-application-context-header` option to disable
      the automatic adding of the `X-Application-Context` HTTP header.
      
      Fixes gh-1308
      d854c09d
    • Phillip Webb's avatar
      Document @ConfigurationProperties on @Bean methods · 621649d9
      Phillip Webb authored
      Minor javadoc edits to hint that @ConfigurationProperties can also be
      used with @Bean methods.
      
      Fixes gh-1330
      621649d9
    • Phillip Webb's avatar
      Polish · 92899474
      Phillip Webb authored
      92899474
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · ce02e86b
      Andy Wilkinson authored
      ce02e86b
    • Andy Wilkinson's avatar
      Never run data.sql scripts if spring.datasource.initialize is false · 7d213950
      Andy Wilkinson authored
      Previously, the data scripts were always run in response to the
      publication of a DataSourceInitializedEvent, irrespective of
      spring.datasource.initialize. While the event won't be published by
      DataSourceInitializer if spring.datasource.initialize is false, it
      will be published if spring.jpa.hibernate.hbm2ddl.auto has been set.
      
      This commit updates DataSourceInitializer's handling of
      DataSourceInitializedEvent to only run the data scripts if
      spring.datasource.initialize is true.
      
      Fixes #1336
      7d213950
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · 7f9ef1cf
      Andy Wilkinson authored
      7f9ef1cf
    • Andy Wilkinson's avatar
      Update test to correct name of metric for request that returns a 401 · e1857933
      Andy Wilkinson authored
      The request is being made to '/' and, while the application does have
      a mapping for '/', that mapping is not looked for before Spring
      Security's filter rejects the request with a 401. This means that the
      request is considered to be unmapped and this is reflected in the
      metric's name.
      
      See #1331 and #1333
      e1857933
    • Andy Wilkinson's avatar
      Merge config from custom locations with default configuration · 5f8c1e77
      Andy Wilkinson authored
      Previously, when one or more custom locations were specified on
      @ConfigurationProperties, the configuration loaded from those locations
      was used in isolation from the default configuration provided by the
      environment. Users have been surprised by this behaviour. For example,
      it means that a placeholder used in the custom configuration will not
      be resolved against the system properties.
      
      This commit adds a new attribute, merge, to @ConfigurationProperties,
      that defaults to true. When merge is true the default property sources
      are appended to those that are loaded from the custom locations. When
      set to false the custom configuration is used in isolation.
      
      Closes #1301
      5f8c1e77
  3. 05 Aug, 2014 4 commits
  4. 04 Aug, 2014 7 commits
  5. 31 Jul, 2014 5 commits
  6. 30 Jul, 2014 2 commits
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · be2803a7
      Andy Wilkinson authored
      be2803a7
    • Andy Wilkinson's avatar
      Prevent a jar from being repackaged more than once · 6f8d4778
      Andy Wilkinson authored
      Previously, Repackager would repackage a jar file as many times as
      it was asked to do so. This lead to problems if a user made a mistake
      when using Maven that led to the package phase being driven twice,
      for example by running "mvn clean install package".
      
      This commit updates Repackager so that a repackage call becomes a
      no-op if the source jar's manifest already contains the
      Spring-Boot-Version attribute which is added by repackaging.
      
      Fixes #1251
      6f8d4778
  7. 29 Jul, 2014 5 commits
    • Phillip Webb's avatar
      Support regex in keys-to-sanitize · 642224fe
      Phillip Webb authored
      Update EnvironmentEndpoint and ConfigurationPropertiesReportEndpoint
      to allow regex patterns in `keys-to-sanitize`.
      
      Fixes gh-1245
      642224fe
    • Phillip Webb's avatar
      Java 7 ClassLoader performance improvements · 4f440fcb
      Phillip Webb authored
      Use Java 7 `registerAsParallelCapable` and `getClassLoadingLock` methods
      when possible. This should improve performance when running on JDK 7+
      whilst still remaining JDK 6 compatible.
      
      Closes gh-1284
      4f440fcb
    • Phillip Webb's avatar
      Polish · da5c36c3
      Phillip Webb authored
      da5c36c3
    • Phillip Webb's avatar
      Refactor PublicMetrics registration · 14c62436
      Phillip Webb authored
      Rework flexible PublicMetrics registration introduced in 2be6b3e4 to
      restore compatibility with v1.1 VanillaPublicMetrics. The new
      MetricReaderPublicMetrics class now exposes metrics from a MetricReader
      and VanillaPublicMetrics is deprecated. The MetricsEndpoint can now
      exposes a collection of PublicMetric interface directly.
      
      See gh-1094
      14c62436
    • Phillip Webb's avatar
      Rename some ConditionalOnProperty attributes · 8e0b3dd0
      Phillip Webb authored
      Rename the newly introduced @ConditionalOnProperty `match` and
      `defaultMatch` attributes to `havingValue` and `matchIfMissing`.
      
      Also added a new `name` attribute as an alternative to `value` to
      aid readability.
      
      Closes gh-1000
      8e0b3dd0