1. 10 Nov, 2014 4 commits
    • Andy Wilkinson's avatar
      a9681ea0
    • Andy Wilkinson's avatar
      Document details of configuring Gradle to produce valid poms · c3d2fb5e
      Andy Wilkinson authored
      If a Gradle build is using the Spring Boot Gradle plugin's support for
      declaring dependencies without versions then they will be unable to
      publish Maven artifacts from the build as the Gradle-generated pom
      will fail to validate. This is because Gradle doesn't apply the
      Boot-provided dependency versions to the dependencies in the generated
      pom.
      
      This can be addressed by configuring Gradle to generate a pom that
      either imports spring-boot-dependencies into its dependency management
      or that uses spring-boot-starter-parent as its parent. This commit
      updates the documentation to document the need for this configuration
      and to provide examples of how to do so.
      
      Closes gh-1806
      c3d2fb5e
    • Andy Wilkinson's avatar
      Document need for ServerEndpointExporter and show its use in a sample · a9b88d69
      Andy Wilkinson authored
      Traditionally, a @ServerEndpoint-annotated bean is found by a servlet
      container initialiser, however Boot does not run servlet container
      initialisers when an embedded container is being used. To be able to use
      @ServerEndpoint in a Boot app that uses embedded Tomcat a
      ServerEndpointExporter bean must be declared.
      
      This commit updates the documentation to describe this requirement and
      also updates the WebSockets sample to illustrate the use of
      ServerEndpointExporter. The version of Spring Framework has been updated
      to 4.0.8.BUILD-SNAPSHOT. This picks up the fix for SPR-12340.
      
      Closes gh-1722
      a9b88d69
    • Andy Wilkinson's avatar
      595f387f
  2. 07 Nov, 2014 1 commit
  3. 06 Nov, 2014 1 commit
  4. 05 Nov, 2014 2 commits
  5. 02 Nov, 2014 2 commits
  6. 01 Nov, 2014 1 commit
    • Dave Syer's avatar
      Make a lazy AuthenticationManager if we think it's already configured · b20d02a3
      Dave Syer authored
      Instead of just blindly creating the default authentication manager, after
      thic change we count the beans of type GlobalAuthenticationManagerConfigurer
      and assume that if we detect more than we expect (one from Boot and one from
      Spring Security) then the user is telling us they want to configure the
      AuthenticationManager themselves.
      
      Fixes gh-1801
      b20d02a3
  7. 30 Oct, 2014 1 commit
    • Andy Wilkinson's avatar
      Make GroovyWebConfiguration conditional on spring-webmvc's availability · 0f171423
      Andy Wilkinson authored
      GroovyWebConfiguration creates a GroovyTemplateViewResolver which is
      a UrlBasedViewResolver sub-class. UrlBasedViewResolver is provided
      by spring-webmvc. Previously, if a user configured a web application
      but did not have spring-webmvc on the classpath, the application
      would fail to start with a NoClassDefFoundError for
      UrlBasedViewResolver.
      
      This commit makes GroovyWebConfiguration conditional on
      UrlBasedViewResolver being on the classpath so that it backs of in
      the absence of spring-webmvc.
      
      Fixes gh-1793
      0f171423
  8. 29 Oct, 2014 2 commits
  9. 28 Oct, 2014 2 commits
  10. 22 Oct, 2014 2 commits
  11. 21 Oct, 2014 2 commits
  12. 20 Oct, 2014 1 commit
    • Andy Wilkinson's avatar
      Protect against race condition where output file exists but it is empty · 160d609b
      Andy Wilkinson authored
      Previously, there was a timing window where the output file had been
      created but it was empty. This would cause the test to fail as the
      output was read from the empty file and didn’t match the expected “Hello
      World”.
      
      This commit updates the test to only process the resources in the output
      directory when all the resolved resources have a non-zero content
      length. An @Before method has also been added to delete the output
      produced by the test so that the outcome of the test isn’t affected by
      files generated by previous runs.
      
      Fixes gh-1735
      160d609b
  13. 15 Oct, 2014 4 commits
  14. 14 Oct, 2014 1 commit
  15. 13 Oct, 2014 2 commits
  16. 10 Oct, 2014 3 commits
  17. 09 Oct, 2014 7 commits
  18. 08 Oct, 2014 2 commits