1. 17 Jan, 2017 3 commits
    • Andy Wilkinson's avatar
      Document breakpoint config for remote debug tunnel and IntelliJ IDEA · 9695e0a9
      Andy Wilkinson authored
      Closes gh-7732
      See gh-5047
      9695e0a9
    • Andy Wilkinson's avatar
      0463350d
    • Andy Wilkinson's avatar
      Make FileSystemWatcherTests.waitsForPollingInterval more robust · 69320180
      Andy Wilkinson authored
      The intent of the test is to:
      
      1. Make a change
      2. Sleep for long enough for that change to be picked up
      3. Make another change
      4. Stop that watcher after 1 further scan has been performed
      5. Assert that a further scan was performed by checking that two
         separate sets of changes (step 1 and step 3) have been picked up
      
      Previously, step 2 relied on simply sleeping for a period of time
      longer than the polling interval. In reality, the polling interval
      is only a minimum time between scans and the actual time between them
      depends on thread scheduling, GC pauses, etc. This lead to the
      test failing intermittently if the scan didn't happen in a timely
      manner.
      
      This commit removes the sleep and replaces it with a while loop that
      waits for first change to be picked up. This ensures that the second
      change will be detected separately from the first and that two
      separate change sets should always be available once the watcher has
      stopped.
      
      See gh-7782
      69320180
  2. 16 Jan, 2017 9 commits
  3. 13 Jan, 2017 5 commits
  4. 12 Jan, 2017 1 commit
  5. 10 Jan, 2017 6 commits
  6. 08 Jan, 2017 3 commits
  7. 06 Jan, 2017 1 commit
  8. 05 Jan, 2017 1 commit
  9. 03 Jan, 2017 2 commits
    • Phillip Webb's avatar
      Fix ManagementContextConfiguration @Order support · 73201198
      Phillip Webb authored
      Update `ManagementContextConfigurationsImportSelector` to instantiate
      classes so that order annotations are respected.
      
      Fixes gh-7814
      73201198
    • Phillip Webb's avatar
      Fix TestRestTemplate.withBasicAuth interceptors · 556ce14f
      Phillip Webb authored
      Update `TestRestTemplate` to handle `BasicAuthorizationInterceptor`s
      correctly. Prior to this commit the `BasicAuthorizationInterceptor`
      was added directly to the `ClientHttpRequestFactory` rather than
      to the `RestTemplate`. This meant that it could not easily be removed
      when `TestRestTemplate.withBasicAuth` was invoked.
      
      The `TestRestTemplate` now sets the interceptor on `RestTemplate`
      directly and relies on the logic in `InterceptingHttpAccessor` to
      add it to the `ClientHttpRequestFactory`.
      
      Fixes gh-7812
      556ce14f
  10. 30 Dec, 2016 3 commits
  11. 29 Dec, 2016 1 commit
  12. 28 Dec, 2016 4 commits
    • Phillip Webb's avatar
      Fix Devtools PatternResolver Servlet support · 61c93194
      Phillip Webb authored
      Update ClassLoaderFilesResourcePatternResolver to support servlet
      resources when it's being used with a WebApplicationContext.
      
      Prior to commit 918e122d a `ResourceLoader` was not added to the
      `ApplicationContext`, meaning that servlet resources could be found by
      virtue of the protected `getResourceByPath()` method. Following commit
      918e122d, the context `ResourceLoader` is set, meaning that all calls
      to `getResource` delegate to the `ResourceLoader` and the
      `ApplicationContext` methods are not invoked. Since the devtools
      `ResourceLoader` wasn't Servlet aware, servlet resources could not
      be found.
      
      Fixes gh-7752
      61c93194
    • Stephane Nicoll's avatar
      Fix build failure (II) · 3389af2c
      Stephane Nicoll authored
      3389af2c
    • Stephane Nicoll's avatar
      Fix build failure · 6ecb525a
      Stephane Nicoll authored
      6ecb525a
    • Stephane Nicoll's avatar
      Polish documentation · a862b6dc
      Stephane Nicoll authored
      Closes gh-7771
      a862b6dc
  13. 27 Dec, 2016 1 commit