- 03 May, 2016 10 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
* pr/5828: Make json-path and selenium-api optional
-
Johnny Lim authored
Make json-path and selenium-api optional in spring-boot-test and spring-boot-test-autoconfigure. Fixes gh-5828
-
Phillip Webb authored
* pr/5830: Allow customization of AuditListener
-
Vedran Pavic authored
Introduce `AbstractAuditListener` so that users can extended it to replace the auto-configured default. Fixes gh-5830
-
Phillip Webb authored
* pr/5831: Update getting-started.adoc
-
Kirill Gavrilov authored
Fixed path for bash completions Closes gh-5831
-
Phillip Webb authored
* pr/5836: Polish
-
Johnny Lim authored
Closes gh-5836
-
Phillip Webb authored
Add @AutoConfigureCache annotation to configure the specific cache manager to use with a test. By default the NoOpCacheManager is used. The @JsonTest, @DataJpaTest and @WebMvcTests have also been updated to use the annotation. Fixes gh-5765
-
- 02 May, 2016 13 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Add additional @ConditionalOnMissingBean guards to session configurations to ensure that the first wins. Also reorder imports to prefer Redis over JDBC. See gh-5158
-
Phillip Webb authored
-
Stephane Nicoll authored
* gh-5158: Polish spring session auto-configuration Polish session auto-configuration Spring Session auto-configuration expansion
-
Stephane Nicoll authored
This commit improves the initial submission by adding more tests and more configuration options. Closes gh-5158
-
Eddú Meléndez authored
See gh-5158
-
Tommy Ludwig authored
This implementation was inspired in large part by the cache auto-configuration. In addition to the originally supported Redis, now Hazelcast, an in-memory map, as well as a no-op option are supported. It should be easy to extend this to include additional data stores in the future. Closes gh-3811
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-5823
-
Stephane Nicoll authored
Closes gh-5811
-
Stephane Nicoll authored
`JedisConnectionFactory` needs `commons-pool2` for quite some time now and our auto-configuration had a special case to handle redis if `commons-pool2` isn't available. This commit removes that code as using it would lead to a failure anyway. Closes gh-5718
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Previously, if a void method with a single argument was named "set", the annotation processor wrongly considered it was a setter candidate. This commit updates the condition to ignore it. Closes gh-5826
-
- 30 Apr, 2016 5 commits
-
-
Stephane Nicoll authored
* pr/5815: Polish
-
Johnny Lim authored
Closes gh-5815
-
Stephane Nicoll authored
-
Cristian Greco authored
Closes gh-5829
-
Stephane Nicoll authored
-
- 29 Apr, 2016 3 commits
-
-
Phillip Webb authored
Update `spring-boot-sample-web-mustache` to show how convention based status error pages can be used. See gh-2691
-
Phillip Webb authored
Allow convention based status error pages. Static HTML or templates can be used by placing the appropriately named file under a `/error` folder. For example: /src/main/resource/templates/error/404.ftl or /src/main/resource/public/error/404.html Pages can also be named after the status series (5xx or 4xx). Fixes gh-2691
-
Stephane Nicoll authored
Closes gh-5816
-
- 28 Apr, 2016 9 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Create ErrorPageRegistry and ErrorPageRegistrar interfaces that allow error page registration to be a first class concern. Prior to this commit ErrorPageFilter needed to implement ConfigurableEmbeddedServletContainer in order to receive ErrorPage registrations. Closes gh-5789
-
Phillip Webb authored
Refactor code to move from recently deprecated classes. Closes gh-5822
-
Phillip Webb authored
Reorganize web related classes for better separation of concerns. Mainly this involves moving classes from `o.s.b.context.embedded` that aren't directly tied to embedded servlet containers to `o.s.b.web` and relocating everything from `o.s.b.context.web`. See gh-5822
-
Phillip Webb authored
Move the @LocalServerPort to org.springframework.boot.context.embedded since it's only really useful when working with embedded servlet containers. See gh-5822
-
Phillip Webb authored
Rework ServletComponentRegisteringPostProcessor to break the direct link to the `org.springframework.boot.context.embedded` package. See gh-5822
-
Andy Wilkinson authored
When Spring Security and its spring-security-test module are on the classpath, `@WebMvcTest` will now auto-configure Spring Security and configure its MockMvc-based test support. This behaviour can be disabled using the new secure attribute on `@WebMvcTest` and `@AutoConfigureMockMvc`. Closes gh-5476
-
Andy Wilkinson authored
Previously, when @AliasFor was used, the value of the mapped property would be incorrect as the value of the canonical attribute would be used, rather than the value of the alias. This commit updates AnnotationsPropertySource to use a merged annotation as the source of attribute values, thereby ensuring that any aliased attributes are configured correctly. Closes gh-5821
-
Phillip Webb authored
-