1. 28 Jul, 2014 5 commits
    • Dave Syer's avatar
      Prepend without replacing in HttpMessageConverters · 05e6af23
      Dave Syer authored
      It was incorrect to simply replace existing instances because you can't
      tell from the instance which media types and java types it supports. This
      fix just prepends the custom converters so they get higher priority.
      
      Fixes gh-1293
      05e6af23
    • Dave Syer's avatar
      Update git properties plugin · 702253bc
      Dave Syer authored
      702253bc
    • Andy Wilkinson's avatar
      Enable test that relies on class and groovy script configuration · 32a19f59
      Andy Wilkinson authored
      Since Spring 4.0.4, it's now possible to use both classes and
      locations to provide a test's configuration.
      
      Closes #1300
      32a19f59
    • Andy Wilkinson's avatar
      Upgrade to Groovy 2.3.5 · cba50b8e
      Andy Wilkinson authored
      Closes #1299
      cba50b8e
    • Andy Wilkinson's avatar
      Rework Jetty startup so connectors are only started once · bd577f15
      Andy Wilkinson authored
      Previously the server was started to make the ServletContext
      available, then, to prevent requests from being handled before the
      application context had been started, the connectors were stopped.
      Once application context startup had completed, the connectors were
      then started again. In addition to being somewhat inefficient, this
      caused problems on FreeBSD where stopping the connector didn't free
      up the port quickly enough for the subsequent start to then be able
      to bind to it.
      
      This commit updates the Jetty startup logic to be closer to the logic
      that's used for Tomcat. Before the server is started, the configured
      connectors are cached and then removed. The server is then started
      without any connectors. Once application context startup has
      completed, the connectors are reinstated and started.
      
      Fixes #968
      bd577f15
  2. 25 Jul, 2014 2 commits
    • Dave Syer's avatar
      Change private method name · 8c15b13f
      Dave Syer authored
      8c15b13f
    • Dave Syer's avatar
      Extract property sources from composite when binding · 32ede50d
      Dave Syer authored
      Often this change will not be important because you are binding to
      a bean with strongly typed properties. A bean with a Map property,
      on the other hand, won't oytherwise be able to reason about the
      permitted keys so it will miss any non-enumerable property sources,
      including composites whose nested sources are themselves enumerable.
      
      Fixed gh-1294
      32ede50d
  3. 24 Jul, 2014 3 commits
  4. 23 Jul, 2014 2 commits
  5. 21 Jul, 2014 7 commits
  6. 17 Jul, 2014 3 commits
  7. 15 Jul, 2014 5 commits
  8. 10 Jul, 2014 2 commits
    • Dave Syer's avatar
      Ensure embedded containers actually stop if there is an error on startup · 81a45485
      Dave Syer authored
      Both embedded containers need to be checked after starting to ensure that they
      are actually running. With Jetty it's just a question of catching an exception
      but with Tomcat it's harder (the current solution involves duplicating some
      code from initialize() into start() essentially checking the lifecycle state).
      
      Also adjusted the log levels to prevent noise at WARN level by default when
      this happens (since the exception is logged and rethrown anyway).
      
      There is still the issue of whether to fail the build in Maven or Gradle
      (separate issue really).
      
      Fixes gh-1232
      81a45485
    • Dave Syer's avatar
      Modify @Condition for detecting existing message bundle resource · ede385d1
      Dave Syer authored
      The problem with the old code is that it worces a ResourceBundle to
      initialize with the default encoding (and that is then cached in the
      JDK) during @Condition evaluation (so before the encoding is known).
      
      Includes test for swedish messages
      
      Fixes gh-1228
      ede385d1
  9. 09 Jul, 2014 1 commit
  10. 08 Jul, 2014 10 commits