Commit Graph

29 Commits

Author SHA1 Message Date
Dave Syer 359315568a Clarify handling and binding or YAML lists
The docs related to YAML lists were out of date and
lacked an example making it clear how to bind to them.

See gh-501
2014-04-20 08:30:39 -07:00
Dave Syer 7b07fe8ce0 Convert remaining samples to use random port
Partial fix for gh-337. See also gh-607 which complements this, but might
conflict on a merge.
2014-04-17 20:29:04 -07:00
Lukasz Kryger 9907e70609 Minor documentation fixes 2014-04-16 10:48:36 +01:00
Lukasz Kryger 0f88f7435f Minor fixes in the docs 2014-04-11 06:34:07 +01:00
Phillip Webb 13517598a4 Revert "Remove test dependencies from spring-boot-starter-parent"
This reverts commit 5ded496dc3.

Fixes gh-628
2014-04-06 21:50:22 -07:00
Phillip Webb 2bb0f744e0 Polish 2014-04-06 21:49:12 -07:00
Dave Syer 4366d7880e Fix docos references to @ConfigurationProperties(prefix="...")
Fixes gh-629
2014-04-04 08:54:20 +01:00
Dave Syer cc4ee653e3 Add separate section in "features" docs on Security
Lists all the basic autoconfig defaults and quick pointers on
how to change or disable.

Fixes gh-514
2014-04-03 17:47:40 +01:00
Dave Syer 97adb5c1b3 Ensure ddl-auto=none for non-embedded database
A more thorough check is needed to avoid the false assumption
that the DataSource is embedded just because an embedded database
is on the classpath. You really have to try and look in the connection
metadata, so that's what we now do.

Fixes gh-621, fixes gh-373
2014-04-02 17:21:14 +01:00
Dave Syer 5ded496dc3 Remove test dependencies from spring-boot-starter-parent
Fixes gh-617
2014-04-01 17:36:43 +01:00
Alexander Grüneberg b95266a2bc Fix type in reference docs
The `spring.data.mongodb.uri` property should be
`spring.data.mongodb.url`.

Fixes gh-613
2014-03-31 17:44:25 -07:00
Phillip Webb aca67066bf Rename RestTemplates to TestRestTemplate
Rename the RestTemplates to TestRestTemplate to help indicate that it's
primarily intended for testing. Also now extend RestTemplate to allow
direct use, rather than via factory methods.

Fixes gh-599
2014-03-27 11:22:03 -07:00
Phillip Webb aa3f0556dc Fixup asciidoc formatting and links 2014-03-26 13:25:02 -07:00
Dave Syer 01775ba53d Clarify role of MVC autoconfiguration
Users only have to add a normal `WebMvcConfigurer` to configure
their own features. Sometimes that's not clear enough (and it's
good to stress that `@EnableWebMvc` is the thing that switches
off the Boot configurtation.

Fixes gh-583
2014-03-26 08:45:32 +00:00
Phillip Webb 9d0ac86887 Polish 2014-03-21 11:38:46 -07:00
Dave Syer 48636e3d6e Add additional grouping of property sources by profile
Before this change the PropertySources loaded from external config
files were just added to the list for resolution in the order that
they were loaded. That worked for simple cases, but when there are
profiles active, and files themselves can activate profiles, it led
to users not being able to change default settings easily (either
on command line or in files, mostly in files).

The solution proposed here is to group PropertySources by profile
and resolve them in order of profile first, and then in order of
the files being loaded.

There are additional shenanigans because the order of the files
being loaded also has to be carefully defined. The rule for users
is that in a list of files to load (e.g. if set via
spring.config.location), the last one wins (natural if you think of
it as a merge of multiple maps). In addition, anything specified
by a user takes precedence over the defaults (which was broken in
some scenarios before).

Additionally, fixes profile ordering in @ConfigurationProperties(path=...)

Fixes gh-483
2014-03-21 17:01:43 +00:00
Phillip Webb a79ff19b00 Replace confusing '+' profile syntax.
Replace the confusing `spring.profiles.active` `+` syntax with a new
`spring.profiles.include` property.

Fixes gh-483, Fixes gh-534
2014-03-20 08:27:18 +00:00
Phillip Webb 5cb8e4100c Polish docs
Minoir polish for wrapping at 90 and tabs instead of spaces.
2014-03-18 10:23:54 -07:00
Dave Syer 9f532b653f Add docs for RestTemplates test utils
Fixes gh-500
2014-03-18 08:46:36 +00:00
Dave Syer d0cd1df978 Documentation for @IntegrationTest
Fixes gh-499
2014-03-18 08:37:04 +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
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
Phillip Webb 947b4f9d8f Add properties syntax highlighting for docs
Fixes gh-495
2014-03-17 00:04:57 -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