1. 12 Apr, 2016 19 commits
  2. 11 Apr, 2016 21 commits
    • Andy Wilkinson's avatar
      5677b222
    • Andy Wilkinson's avatar
      Make configuration of acceptors and selectors compatible with Jetty 8 · 69499bf3
      Andy Wilkinson authored
      The ServerConnector class doesn’t exist in Jetty 8 so we have to
      resort to reflection to create and configure a SelectChannelConnector
      instead.
      
      Closes gh-5649
      See gh-5380
      69499bf3
    • Phillip Webb's avatar
      Restore Jetty 8 compatibility · fa142d92
      Phillip Webb authored
      Acceptors and Selectors aren't supported with Jetty 8.
      
      See gh-5380
      fa142d92
    • Phillip Webb's avatar
      Polish · c79ecc29
      Phillip Webb authored
      c79ecc29
    • Phillip Webb's avatar
      Fix warnings · 7956e682
      Phillip Webb authored
      7956e682
    • Phillip Webb's avatar
      Merge pull request #5649 from venilnoronha/issue-5380-fix · ee629a84
      Phillip Webb authored
      * issue-5380-fix:
        Add Jetty `acceptors` and `selectors` support
      ee629a84
    • Venil Noronha's avatar
      Add Jetty `acceptors` and `selectors` support · 1def64e4
      Venil Noronha authored
      Add support for Jetty `acceptors` and `selectors` configuration, either
      directly on the `JettyEmbeddedServletContainerFactory` or via
      `server.jetty.acceptors`/`server.jetty.selectors` server properties.
      
      Fixes gh-5380
      Closes gh-5649
      1def64e4
    • Phillip Webb's avatar
      Fix accidental banner regression · 1bf10f29
      Phillip Webb authored
      Fix accidental regression introduced when I tweaked the updated
      banner support (commit aaed87d1).
      
      See gh-5636
      1bf10f29
    • Phillip Webb's avatar
      Tweak Elasticsearch sample timeout · 944a49bd
      Phillip Webb authored
      944a49bd
    • Phillip Webb's avatar
      Merge pull request #5636 from michael-simons/add_banner_bean · caf9bd9b
      Phillip Webb authored
      * add_banner_bean:
        Register printed banner in ApplicationContext
      caf9bd9b
    • Michael J. Simons's avatar
      Register printed banner in ApplicationContext · aaed87d1
      Michael J. Simons authored
      Update SpringApplication to store the banner that was actually printed
      as a bean named `springBootBanner`.
      
      Closes gh-5636
      aaed87d1
    • Andy Wilkinson's avatar
      e14329c7
    • Phillip Webb's avatar
      Upgrade to AssertJ 2.4.1 · b00d97e7
      Phillip Webb authored
      Fixes gh-5647
      b00d97e7
    • Phillip Webb's avatar
      Polish · 2d992c13
      Phillip Webb authored
      2d992c13
    • Andy Wilkinson's avatar
      Document FlywayMigrationStrategy · f87defe1
      Andy Wilkinson authored
      Closes gh-5656
      f87defe1
    • Stephane Nicoll's avatar
      Customize Couchbase's socket connect timeout · 99ae6dac
      Stephane Nicoll authored
      Our Windows build is failing currently because the couchbase server does
      not handle a socket connection within a second (the default). This commit
      adds a property to customize this option and set it to 10 sec in the
      sample.
      
      While investigating this issue, it turns out that while
      `CouchbaseConfiguration` is public, it is not really possible to extend
      it in user's configuration. This commit fixes this problem and add a test
      that demonstrates how it can be used.
      
      Closes gh-5657
      99ae6dac
    • Andy Wilkinson's avatar
      Complete dependency management for Spring Session · d8dc76bb
      Andy Wilkinson authored
      Spring Session 1.2 has introduced two new modules. This commit
      expands Boot's dependency management to cover them.
      
      Closes gh-5634
      d8dc76bb
    • Andy Wilkinson's avatar
      Handle fully-qualified Windows paths correctly in the CLI · 0c78b2fd
      Andy Wilkinson authored
      Previously, the CLI would always use the class loader to try to locate
      a source file. This was contrary to the SourceOptions javadoc which
      states that the class loader is “used to try and load files that are
      not found in the local filesystem”. This provide to be problematic on
      Windows when a fully-qualified source file was supplied. The driver
      letter colon slash (e.g. c:/) at the start of the path is considered
      invalid for a class path resource by URLClassPath.Loader resulting in an
      IllegalArgumentException being thrown.
      
      A workaround for this URLClassPath behaviour was added in a71c9b5d. It
      was removed as part of reworking LaunchedURLClassLoader to use a
      conventional delegation model in 87fe0b2a. It was then reinstated in
      cc140b2c. This work around is undesirable as it causes
      LaunchedURLClassLoader’s behaviour to diverge from URLClassLoader’s
      behaviour (this is contrary to the comments in the test added in
      a71c9b5d which incorrectly tests the two class loader with different
      class paths. If the two class loaders are created with the same class
      path then their behaviour is the same).
      
      This commit updates SourceOptions to make its behaviour match its
      javadoc so that a search of the class path is only performed if the
      filename doesn’t exist on the filesystem. Furthermore, when running on
      Windows, if the filename is an absolute path no further searching is
      performed as the path cannot reliably be used to search the class path
      due to the behaviour of URLClassPath.Loader when given a path that
      is an absolute file path on Windows. This ensures that the user is
      presented with an error message indicating that the file could not be
      found.
      
      Closes gh-5650
      0c78b2fd
    • Stephane Nicoll's avatar
      Polish · c38bb965
      Stephane Nicoll authored
      c38bb965
    • Stephane Nicoll's avatar
      Attempt to fix Windows build · 82207ffc
      Stephane Nicoll authored
      The couchbase instance in our windows infra seems super slow. Trying to
      workaround that issue by increasing the connect timeout from 5 to 10 sec.
      
      See gh-5651
      82207ffc
    • Andy Wilkinson's avatar
      Update instructions in the the README for building reference docs · 2e86f0f8
      Andy Wilkinson authored
      The instructions should have been updated as part of the work on
      gh-5267 so that the zip of all of the starter poms is available to
      the documentation's build. With that fixed, the current instructions
      still fail as the javadoc fails to generated as a result of
      org.springframework.boot:spring-boot:test-jar:tests being unavailable.
      This can be avoid by simply not trying to build the javadoc, i.e.
      by running generate-resources rather than install.
      
      Closes gh-5633
      2e86f0f8