- 17 Jan, 2017 3 commits
-
-
Andy Wilkinson authored
Closes gh-7732 See gh-5047
-
Andy Wilkinson authored
Closes gh-5611
-
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
-
- 16 Jan, 2017 9 commits
-
-
Andy Wilkinson authored
Previously, in the DevTools integration tests, portions of a File's path were used to create the name of a jar entry. On Windows this resulted in the entry containing \ characters. As a result the directory structure was incorrect and the classes could not be loaded from the jar. This commit ensures that any \ characters are replaced with / characters. See gh-7782
-
Andy Wilkinson authored
Previously, the beans endpoint would only expose the context that contained the endpoint. This commit updates the endpoint so that the context that contains the endpoint and all of its ancestors are exposed. In a context hierarhcy, the relation ship is child -> parent and there is no way to navigate from a parent to a child. As a result, any contexts that are descendants of the context containing the endpoint are not exposed. Closes gh-5188
-
Stephane Nicoll authored
* pr/7997: Add Infinispan starter reference
-
Sebastian Laskawiec authored
Closes gh-7997
-
Andy Wilkinson authored
* gh-4902: Test that double registration of ServletContextInitializers does not happen Avoid double-reg when a Servlet or Filter implements ServletContextInitializer
-
Andy Wilkinson authored
Closes gh-4902
-
Karsten Sperling authored
See gh-4902
-
Stephane Nicoll authored
* pr/7993: Document use of `OpenEntityManagerInViewInterceptor`
-
Vedran Pavic authored
Closes gh-7993
-
- 13 Jan, 2017 5 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7923
-
Andy Wilkinson authored
Previously, if a failure analyzer threw an exception from its analyze method, failure analysis would stop. This commit updates FailureAnalyzers to catch and log any Throwable thrown by an analyzer and continue to the next available analyzer. Closes gh-7956
-
Andy Wilkinson authored
Previously, ErrorPageFilter set the value of javax.servlet.error.exception_type to be the name of the exception, (a java.lang.String). This commit changes it to be a java.lang.Class as required by the Servlet spec. Closes gh-7925
-
Andy Wilkinson authored
Previously, OAuth2MethodSecurityConfiguration set the PermissionEvaluator on the expression evaluator by looking in the context for a PermissionEvaluator bean. This is unnecessary as GlobalMethodSecurityConfiguration already does the same thing and does so after the post-processor in OAuth2MethodSecurityConfiguration has run. This commit removes the redundant logic and adds tests to check that both the PermissionEvaluator and the RoleHierarchy are set use beans in the context. Closes gh-7979
-
- 12 Jan, 2017 1 commit
-
-
Andy Wilkinson authored
Closes gh-7864
-
- 10 Jan, 2017 6 commits
-
-
Stephane Nicoll authored
* pr/7911: Fix configure a datasource reference doc link
-
drumonii authored
Closes gh-7911
-
Andy Wilkinson authored
* gh-7937: Update springloaded version to 1.2.6.RELEASE in Maven-related docs
-
Michael J. Simons authored
Closes gh-7937
-
Andy Wilkinson authored
* gh-7937: Update springloaded version to 1.2.6.RELEASE in Gradle-related docs
-
Michael J. Simons authored
Closes gh-7937
-
- 08 Jan, 2017 3 commits
-
-
Stephane Nicoll authored
* pr/7907: Fix incomplete assertions
-
Eddú Meléndez authored
Closes gh-7907
-
Stephane Nicoll authored
Closes gh-7903
-
- 06 Jan, 2017 1 commit
-
-
Phillip Webb authored
Closes gh-7880
-
- 05 Jan, 2017 1 commit
-
-
Phillip Webb authored
Remove the spring-core dependency from the annotation processor. (cherry-picked from 4cb7d86a) Fixes gh-7882
-
- 03 Jan, 2017 2 commits
-
-
Phillip Webb authored
Update `ManagementContextConfigurationsImportSelector` to instantiate classes so that order annotations are respected. Fixes gh-7814
-
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
-
- 30 Dec, 2016 3 commits
-
-
Phillip Webb authored
-
Stephane Nicoll authored
See gh-7793
-
Stephane Nicoll authored
Update `CacheManagerCustomizers` to deal directly with `ClassCastException` assuming that they are because a customizer is implemented using a lambda. Closes gh-7788
-
- 29 Dec, 2016 1 commit
-
-
Stephane Nicoll authored
Closes gh-7781
-
- 28 Dec, 2016 4 commits
-
-
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
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-7771
-
- 27 Dec, 2016 1 commit
-
-
Phillip Webb authored
* pr/7741: Notify BuildContext of changed build-info file
-