- 17 Mar, 2014 1 commit
-
-
Phillip Webb authored
Remove README files that have been since been migrated to the reference documentation. Also updated remaining markdown files to asciidoctor to save having a mix of different formats. Fixed gh-503
-
- 15 Mar, 2014 7 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Port Add Maven example for Tomcat 8 from markdown to asciidoc. (originally from commit 15372cb7)
-
Phillip Webb authored
Port documentation originally added in commit b56bd0a1
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 14 Mar, 2014 1 commit
-
-
Oliver Gierke authored
Fixes gh-490
-
- 13 Mar, 2014 12 commits
-
-
Phillip Webb authored
Fix test failure caused by URL -> Url rename in commit 22e397cd
-
Phillip Webb authored
Fixed gh-295
-
Josh Long authored
Add a "cloud deployment" section to the Spring Boot reference manual. See gh-295
-
Phillip Webb authored
Copy the existing markdown How-to readme content to the user manual, converting to asciidoc. See gh-295
-
Phillip Webb authored
See gh-295
-
Phillip Webb authored
Generate html, pdf and epub documentation using asciidoctor+docbook. See gh-295
-
Phillip Webb authored
-
Dave Syer authored
See gh-482
-
Dave Syer authored
This is quite a big step, but I think it helps a lot. Since Spring Boot always creates an AuthenticationManager if it doesn't find one already registered, it makes sense to also make it into a @Bean. Spring Security does not register its AuthenticationManager by default though, so we have to do that for it if the user has created one with an @Autowired AuthenticationManagerBuilder, but not registered it as a @Bean. Having the @Bean (marked @Primary to prevent issues with @Autowired) makes it easier to reason about what Spring Boot has done for you, and easier to default in simple use cases to the boot-created AuthenticationManager. For example, if I want an OAuth2 Authorization Server with password grant, it makes total sense for the AuthenticationManager for users to be the same as the @Primary one. Now it is easy to set that up (just @Autowire it).
-
Dave Syer authored
also adds another test.
-
Dave Syer authored
...bean with no explicit @Bean DispatcherServlet. We still have to check by bean name (slightly unfortunate, but we need to avoid instantiating too early) so there's now another magic bean name for the registration bean ("dispatcherServletRegistration") that the user has to replace if he wants the registration without defining a servlet @Bean Fixes gh-482
-
Dave Syer authored
The source of the exception is in sun.misc (so hard to track down precisely) but it's clear that the LaunchedJarURLClassLoader needs to be more defensive and return null from findResource() if it can't find it. Fixes gh-486
-
- 12 Mar, 2014 4 commits
- 11 Mar, 2014 9 commits
-
-
Dave Syer authored
Fixes gh-476
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Makes them a lot more readable IMO, and also enables @Autowiring from the context into the test case (sweeet). I added @DirtiesContext to all of them as well to be on the safe side, but possbly that can be optimized in some way as well.
-
Dave Syer authored
Allowing use of embededded container in @SpringApplicationConfiguration tests, e.g. ``` @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes = Config.class) @WebAppConfiguration @IntegrationTest public class SpringApplicationIntegrationTestTests { @Test public void nestedConfigClasses() { String body = new RestTemplate().getForObject("http://localhost:8080/", String.class); assertEquals("Hello World", body); } @Configuration @EnableWebMvc @RestController protected static class Config { @Bean public DispatcherServlet dispatcherServlet() { return new DispatcherServlet(); } @Bean public EmbeddedServletContainerFactory embeddedServletContainer() { return new TomcatEmbeddedServletContainerFactory(); } @RequestMapping("/") public String home() { return "Hello World"; } } } ``` Fixes gh-473
-
Chris Beams authored
-
Chris Beams authored
Per discussion: fixes gh-467
-
Dave Syer authored
-
- 10 Mar, 2014 4 commits
-
-
Piotr Maj authored
Fixes gh-470
-
Dave Syer authored
We had been making a special case for logback.xml anyway, so extending that to simply deleting recursively all of src/main/resources (or equivalent) from target/classes (or equivalent) seems like it's perfectly justifiable. Fixes gh-451
-
Dave Syer authored
The management.contextPath property should now be respected in a secure application, whether or not the management.port is different. Added some test cases in the sample to verify. Fixes gh-469
-
Andy Wilkinson authored
Boot promotes the use of a templates directory for housing view templates. Include this directory by default when building a jar file from a CLI app. Fixes #455
-
- 09 Mar, 2014 2 commits
-
-
Piotr Maj authored
Fixes gh-463
-
Andy Piper authored
Explicitly link to install.txt in source repo to avoid issues on projects.spring.io with a broken relative link ... also fix this for rendered markdown on GH itself :-)
-