Commit Graph

5742 Commits

Author SHA1 Message Date
Dave Syer
a8ba80bbf4 Add build.gradle samples and docs for deployable WAR
Fixes gh-518
2014-03-18 09:29:35 +00:00
Dave Syer
9f532b653f Add docs for RestTemplates test utils
Fixes gh-500
2014-03-18 08:46:36 +00:00
Dave Syer
879b31f370 Add Ordered to RegistrationBean
Fixes gh-507
2014-03-18 08:37:32 +00:00
Dave Syer
d0cd1df978 Documentation for @IntegrationTest
Fixes gh-499
2014-03-18 08:37:04 +00:00
Greg Turnquist
aca019622f Remove unnecessary optional flag 2014-03-18 08:19:03 +00:00
Greg Turnquist
ed6a9ac5b3 Set version for Spring Data Commons 2014-03-18 08:19:03 +00:00
Phillip Webb
d9de3f57bd Update test dependencies documentation
Change working since test dependencies cannot easily be replaced.
2014-03-17 14:30:16 -07:00
Phillip Webb
5ed6d456d2 Clarify log PID in documentation 2014-03-17 14:28:30 -07:00
Phillip Webb
156a2f5c63 Clarify YAML profile sample in documentation 2014-03-17 14:25:39 -07:00
Phillip Webb
345fa7a102 Simplify fluent builder documentation note. 2014-03-17 14:16:37 -07:00
Phillip Webb
f0b6f6a516 Remove quotes from internal documentation links
Remove quote-marks from internal documentation links and instead favor
italics.
2014-03-17 14:14:45 -07:00
Phillip Webb
447b2be91d Fix lets -> let's in documentation 2014-03-17 13:41:56 -07:00
Phillip Webb
4ca8993bf6 Merge pull request #508 from snicoll/docs
* docs:
  Review first 8 parts of the doc
2014-03-17 12:39:30 -07:00
Stephane Nicoll
78f9afba90 Review first 8 parts of the doc
This commit mostly fixes typos but also improves slightly specific
areas, adding links when it make sense.
2014-03-17 12:39:30 -07:00
Dave Syer
0f8d00b3a8 Add javaodcs about @IntegrationTest to SpringApplicationContextLoader
See gh-499
2014-03-17 12:36:13 +00:00
Trevor Menagh
b8c472007a Make Spring Boot work in Java 1.6 on Mac OS X
Currently Spring Boot fails in Java 1.6 on Mac OS X due to the
"tools.jar" being integrated into classes.jar in the Apple version of
Java 6.

Apple fixed this with Java 7, but we should still support Java 6. We had
to roll back to maven-plugin-plugin 3.1 to make this work with Java 6
and 7.

All tests pass with Java 6 and Java 7.
2014-03-17 12:12:29 +00:00
Dave Syer
16d4214f56 Add a couple more tests on profile ordering 2014-03-17 09:36:47 +00:00
Dave Syer
b8d85decad Fix typo 2014-03-17 08:19:21 +00:00
Phillip Webb
9f8c8c3fe7 Remove double quotes from sample in appendix B
Fixes gh-492
2014-03-17 00:07:53 -07:00
Phillip Webb
947b4f9d8f Add properties syntax highlighting for docs
Fixes gh-495
2014-03-17 00:04:57 -07:00
Phillip Webb
545f046745 Minor doc polish 2014-03-16 23:11:50 -07:00
Phillip Webb
c5ee3c7eba Remove duplicate documentation
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
2014-03-16 23:00:12 -07:00
Phillip Webb
d0275b4734 Fix some broken documentation links 2014-03-15 16:02:20 -07:00
Phillip Webb
630d2ddefe Port Add Maven example for Tomcat 8
Port Add Maven example for Tomcat 8 from markdown to asciidoc.
(originally from commit 15372cb737)
2014-03-15 13:02:02 -07:00
Phillip Webb
9f112ff8e0 Port ViewResolver docs
Port documentation originally added in commit b56bd0a10c
2014-03-15 13:02:02 -07:00
Phillip Webb
72e3715ba9 Add missing main.basedir property to docs pom 2014-03-15 13:02:02 -07:00
Phillip Webb
2747c01e81 Set correct github tag for generated docs 2014-03-15 13:02:02 -07:00
Phillip Webb
fcea565433 Polish javadoc formatting 2014-03-15 13:02:02 -07:00
Phillip Webb
80ac1fb0cd Polish 2014-03-15 13:02:01 -07:00
Oliver Gierke
bb3ea39d80 Upgraded to Spring Data Codd SR1.
Fixes gh-490
2014-03-14 12:04:41 +00:00
Phillip Webb
12d2331f4d Fix failing JMS test
Fix test failure caused by URL -> Url rename in
commit 22e397cda2
2014-03-13 13:59:54 -07:00
Phillip Webb
d580ce53c4 Merge reference documentation branch
Fixed gh-295
2014-03-13 13:47:59 -07:00
Josh Long
a1a62785be Add cloud deployment documentation
Add a "cloud deployment" section to the Spring Boot reference
manual.

See gh-295
2014-03-13 13:47:22 -07:00
Phillip Webb
7a46ed0866 Port "how-to" section to the reference manual
Copy the existing markdown How-to readme content to the user manual,
converting to asciidoc.

See gh-295
2014-03-13 13:47:22 -07:00
Phillip Webb
163509b5e5 Add initial reference manual documentation
See gh-295
2014-03-13 13:47:22 -07:00
Phillip Webb
abba0d63fe Add documentation tool-chain
Generate html, pdf and epub documentation using asciidoctor+docbook.

See gh-295
2014-03-13 13:47:22 -07:00
Phillip Webb
22e397cda2 Polish 2014-03-13 13:11:54 -07:00
Dave Syer
7f8316708a Additionally check for null on registring Servlets and Filters
See gh-482
2014-03-13 13:13:57 +00:00
Dave Syer
3d43771136 Register an AuthenticationManager in security autoconfig
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).
2014-03-13 12:02:34 +00:00
Dave Syer
85a56a79e4 Tidy up implementation of DispatcherServletAutoConfiguration
also adds another test.
2014-03-13 11:08:27 +00:00
Dave Syer
659d7b6df1 Extend DefaultDispatcherServletCondition to check for a registration
...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
2014-03-13 09:33:29 +00:00
Dave Syer
a71c9b5de7 Add escape hatch for ClassLoader.findResource() for invalid path
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
2014-03-13 09:03:11 +00:00
Dave Syer
08aacf72e0 Update Spring Security to 3.2.2 2014-03-12 11:06:58 +00:00
kozazz
ba9f92e74f Add validation test to ws sample
Fixes gh-481
2014-03-12 09:28:55 +00:00
Dave Syer
d82a728efe Remove redundant managed dependency version 2014-03-12 09:24:51 +00:00
Dave Syer
14d52b6c18 Avoid creating a new EmbeddedServletContainerFactory for websockets
User can now also switch off and customize the websockets customizer by adding
a bean named "websocketContainerCustomizer".

Fixes gh-479
2014-03-12 09:21:07 +00:00
Dave Syer
34efda1890 Remove duplicate dependency declaration in sample
Fixes gh-476
2014-03-11 19:39:12 +00:00
Dave Syer
207d4853ed More defensive testing of tmpdir 2014-03-11 15:53:30 +00:00
Dave Syer
0439b39381 Fix some broken tests in empty new environments 2014-03-11 15:04:44 +00:00
Dave Syer
4c14f6f685 Add support for Apache HttpClient if available 2014-03-11 14:23:33 +00:00