1. 09 Oct, 2014 10 commits
    • Andy Wilkinson's avatar
      Ensure that spring.data.rest.* configuration takes effect · 07cb8f28
      Andy Wilkinson authored
      Previously, RepositoryRestMvcBootConfiguration was not annotated with
      @Configuration. This meant that it was processed in lite mode.
      Crucially, in lite mode, there’s no proxying so each call to the
      config() @Bean method from within other @Bean methods resulted in the
      creation of a new RepositoryRestConfiguration instance. Furthermore, as
      each of these instances wasn’t a Spring bean the configuration
      properties were not applied.
      
      This commit updates RepositoryRestMvcBootConfiguration to annotate it
      with @Configuration so that it’s no longer processed in lite mode. It
      also updates the unit tests and the Spring Data REST sample to verify
      that the baseUri can be configured using application.properties.
      
      Fixes gh-1675
      07cb8f28
    • Andy Wilkinson's avatar
      Only consider letters when checking if a name is upper-case · 6ec0b4ca
      Andy Wilkinson authored
      Previously, for a string to be considered upper-case,
      EmbeddedServerPortFileWriter required every character in the
      string to be upper-case. This meant that strings containing numbers were
      considered lower-case even if every letter in the string was upper-case.
      OS X’s case-preserving, case-insensitive file system masked this problem
      as the tests were still able to find the created file, even though the
      case of its name was not as expected.
      
      This commit updates EmbeddedServerPortFileWriter to only require
      characters that are letters (as defined by Character.isLetter()) to be
      upper-case. It also updates the tests to verify that the case of the
      created file’s name is correct in such a way that it will fail, even
      on OS X, when it is not.
      
      Fixes gh-1676
      6ec0b4ca
    • Dave Syer's avatar
      Fix asciidoctor syntax problems and updgrade to asciidoctor 1.5 · 8ffe7ec4
      Dave Syer authored
      Points to note for authors:
      
      * Nesting "*" in `literals` does not behave like Markdown - you have to
      escape the asterisk (e.g. `foo/\*`)
      
      * Quote ligatures (why we had to use those I don't really know) are
      different in asciidoctor 1.5 ('`foo`' instead of ``foo'')
      
      Merge branch '1.1.x'
      
      Conflicts:
      	spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
      	spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
      8ffe7ec4
    • Dave Syer's avatar
      Fix loads of asciidoc errors · 6a503d5c
      Dave Syer authored
      6a503d5c
    • Phillip Webb's avatar
      Add EmbeddedServerPortFileWriter · 6a423d7a
      Phillip Webb authored
      Add a EmbeddedServerPortFileWriter which can be used to write server
      port information to a file.
      
      Fixes gh-1275
      Closes gh-1491
      6a423d7a
    • Phillip Webb's avatar
      Rename ApplicationPidListener · 77ccd9a8
      Phillip Webb authored
      Rename ApplicationPidListener to ApplicationPidFileWriter (keeping the
      old class in a deprecated form)
      
      Fixes gh-1673
      77ccd9a8
    • Phillip Webb's avatar
      Merge pull request #1499 from liujiong1982/spring-boot-1499 · c7455040
      Phillip Webb authored
      * spring-boot-1499:
        Add CAMELCASE_TO_HYPHEN in RelaxedNames
      c7455040
    • David Liu's avatar
      Add CAMELCASE_TO_HYPHEN in RelaxedNames · b948e614
      David Liu authored
      Fixes gh-1499
      b948e614
    • Phillip Webb's avatar
      Merge pull request #1597 from liujiong1982/spring-boot-545 · c906524d
      Phillip Webb authored
      * spring-boot-545:
        Support Jetty HandlerCollection types
      c906524d
    • David Liu's avatar
      Support Jetty HandlerCollection types · 64447d3f
      David Liu authored
      Update JettyEmbeddedServletContainer to support HandlerCollection types
      in addition to HandlerWrappers.
      
      Fixes gh-545
      Closes gh-1597
      64447d3f
  2. 08 Oct, 2014 15 commits
  3. 07 Oct, 2014 3 commits
  4. 06 Oct, 2014 10 commits
    • Phillip Webb's avatar
      Polish · 62eb01f0
      Phillip Webb authored
      62eb01f0
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 09d5812c
      Phillip Webb authored
      09d5812c
    • Phillip Webb's avatar
      Rename SampleIntegrationApplicationTests · b616e9fd
      Phillip Webb authored
      b616e9fd
    • Phillip Webb's avatar
      Merge branch '1.1.x' · 872f30e5
      Phillip Webb authored
      Conflicts:
      	spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java
      872f30e5
    • Phillip Webb's avatar
      Polish · 9dfbc25e
      Phillip Webb authored
      9dfbc25e
    • Andy Wilkinson's avatar
      Merge branch '1.1.x' · 73b80dbe
      Andy Wilkinson authored
      Conflicts:
      	spring-boot-dependencies/pom.xml
      73b80dbe
    • Andy Wilkinson's avatar
      Upgrade to Spring Loaded 1.2.1.RELEASE · e130c00e
      Andy Wilkinson authored
      Closes gh-1474
      e130c00e
    • Andy Wilkinson's avatar
      Merge branch 'gh-1664' · 06e18c6a
      Andy Wilkinson authored
      06e18c6a
    • Andy Wilkinson's avatar
      Make MetricFilter auto-configuration conditional on OncePerRequestFilter · e90c8548
      Andy Wilkinson authored
      In addition to requiring the Servlet API to be on the classpath,
      MetricFilter requires spring-web to also be on the classpath as it
      extends OncePerRequestFilter. This commit updates the auto-configuration
      for MetricFilter so that it will be disabled in the absence of a 
      dependency on spring-web.
      
      Fixes gh-1664
      e90c8548
    • Sebastien Deleuze's avatar
      Support Jackson based XML serialization and Jackson2ObjectMapperBuilder · 315213ea
      Sebastien Deleuze authored
      This commit introduces support for Jackson based XML serialization, using the
      new MappingJackson2XmlHttpMessageConverter provided by Spring Framework
      4.1. It is automatically activated when Jackson XML extension is detected on the
      classpath.
      
      Jackson2ObjectMapperBuilder is now used to create ObjectMapper and XmlMapper
      instances with the following customized properties:
       - MapperFeature.DEFAULT_VIEW_INCLUSION is disabled
       - DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is disabled
      
      JodaModuleAutoConfiguration and Jsr310ModuleAutoConfiguration have been removed
      since their behaviors are now handled directly by the ObjectMapper builder.
      
      In addition to the existing @Bean of type ObjectMapper support, it is now
      possible to customize Jackson based serialization properties by declaring
      a @Bean of type Jackson2ObjectMapperBuilder.
      
      Fixes gh-1237
      Fixes gh-1580
      Fixes gh-1644
      315213ea
  5. 03 Oct, 2014 2 commits