1. 07 Jun, 2017 14 commits
    • Andy Wilkinson's avatar
      Allow HttpMsgConverter to depend on ConvService without creating a cycle · e5906a6b
      Andy Wilkinson authored
      In an MVC web application, DelegatingWebMvcConfiguration provides the
      ConversionService while also consuming WebMvcConfigurerAdapters that,
      among other things, can configure HTTP message converters. Boot's
      WebMvcConfigurerAdapter, WebMvcAutoConfigurationAdapter, consumes
      the HttpMessageConverters bean and uses it to configure Spring MVC's
      HTTP message converters. This can create a bean dependency cycle if
      an HTTP message converter bean depends, directly or indirectly on
      the ConversionService. An example of the cycle is:
      
      ┌─────┐
      |  jsonComponentConversionServiceCycle.ThingDeserializer defined in …
      ↑     ↓
      |  org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration
      ↑     ↓
      |  org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter
      ↑     ↓
      |  org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration
      ↑     ↓
      |  mappingJackson2HttpMessageConverter defined in class path resource [org/springframework/boot/autoconfigure/web/JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration.class]
      ↑     ↓
      |  jacksonObjectMapper defined in class path resource [org/springframework/boot/autoconfigure/jackson/JacksonAutoConfiguration$JacksonObjectMapperConfiguration.class]
      └─────┘
      
      This commit breaks the cycle by making WebMvcAutoConfigurationAdapter
      consume HttpMessageConverters lazily. This allows the adapter to be
      created without triggered instantiation of every HTTP message
      converter bean and all their dependencies. This allows it to be
      injected into DelegatingWebMvcConfiguration without triggering an
      attempt to retrieve the ConversionService.
      
      Closes gh-9409
      e5906a6b
    • Andy Wilkinson's avatar
      Formatting · 6b7dfce5
      Andy Wilkinson authored
      6b7dfce5
    • Andy Wilkinson's avatar
      Polishing · a03ddd33
      Andy Wilkinson authored
      a03ddd33
    • Stephane Nicoll's avatar
      Polish · bddf9232
      Stephane Nicoll authored
      bddf9232
    • Stephane Nicoll's avatar
      Document SpringPhysicalNamingStrategy · c2aca4d7
      Stephane Nicoll authored
      Closes gh-9084
      c2aca4d7
    • Stephane Nicoll's avatar
      Improve cache sample · fc38c1ba
      Stephane Nicoll authored
      Clarify the cache sample and in particular that Infinispan does not
      bootstrap with a default configuration file. Hence the custom
      `infinispan.xml` configuration is enabled by default if Infinispan is
      available on the classpath.
      
      See gh-9417
      fc38c1ba
    • Andy Wilkinson's avatar
      Handle explicit disablement of management SSL correctly · 9579e958
      Andy Wilkinson authored
      Closes gh-9423
      9579e958
    • Andy Wilkinson's avatar
      Sort the table of starter modules alphabetically · 223b694d
      Andy Wilkinson authored
      Closes gh-9422
      223b694d
    • Andy Wilkinson's avatar
      Start building against Spring Data Ingalls snapshots · fcd0adc3
      Andy Wilkinson authored
      See gh-9425
      fcd0adc3
    • Andy Wilkinson's avatar
      Merge branch '1.4.x' into 1.5.x · e3e86eb9
      Andy Wilkinson authored
      e3e86eb9
    • Andy Wilkinson's avatar
      Upgrade to Spring Data Hopper SR11 · 8810450e
      Andy Wilkinson authored
      Closes gh-9424
      8810450e
    • Andy Wilkinson's avatar
      Merge pull request #9259 from Ethan Rubinson · 197c0cef
      Andy Wilkinson authored
      * gh-9259:
        Polish "Copy conversion service when performing environment conversion"
        Copy conversion service when performing environment conversion
      197c0cef
    • Andy Wilkinson's avatar
      5b30269a
    • Rubinson,Ethan(erubinson)'s avatar
      Copy conversion service when performing environment conversion · a4240818
      Rubinson,Ethan(erubinson) authored
      Previously, when a web environment was converted to a
      StandardEnvironment, any customizations of the source environment's
      ConversionService were lost.
      
      This commit updates the logic that performs the conversion to copy
      the source's ConversionService to the converted environment, thereby
      ensuring that any customizations are retained.
      
      Closes gh-9259
      See gh-9246
      a4240818
  2. 06 Jun, 2017 7 commits
  3. 05 Jun, 2017 1 commit
  4. 03 Jun, 2017 7 commits
  5. 02 Jun, 2017 11 commits