Commit Graph

93 Commits

Author SHA1 Message Date
Dave Syer
c0cf31cfd8 /etc/bash_completion.d -> something else
I preferred /etc/bash_completion.d (since it mirrors the actual
preferred deployment of the scripts on my OS). Maybe the MacBoys
have a different point of view? Anyway the docs now point to the
actual script location.

Fixes gh-651
2014-04-09 22:02:53 +01:00
Dave Syer
966ee879b1 @Controller -> @RestController in docs
Fixes gh-652
2014-04-09 21:59:29 +01:00
Spring Buildmaster
a5864ebcd0 Next development version 2014-04-06 22:43:18 -07: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
1158881d00 Add activemq properties to appendix
Fixes gh-618
2014-04-03 17:33:06 +01:00
Dave Syer
b10456a2f8 Refactor discussion of management.security.*
Really fixes gh-595
2014-04-03 15:58:10 +01:00
Dave Syer
d119336f70 Explcitly state in docs that Spring Security is required
... if you use management.security.* properties

Fixes gh-595
2014-04-03 14:42:40 +01:00
Dave Syer
5ed49462c4 Add spring.messages.cacheSeconds to global config
Fixes gh-625
2014-04-03 14:07:55 +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
Spring Buildmaster
15e9dbe98b Next development version 2014-04-01 03:05:51 -07:00
Phillip Webb
26e55e5b55 Fix broken docs build 2014-04-01 02:31:24 -07:00
Phillip Webb
0af7f7e347 Add missing POM info 2014-04-01 02:07:42 -07:00
Phillip Webb
6f9bb233ad Revert "Next development version"
This reverts commit b67bb70ee3.
2014-04-01 00:38:48 -07:00
Spring Buildmaster
b67bb70ee3 Next development version 2014-03-31 22:38:42 -07:00
Josh Long
a0b422ed4f Update Cloud Foundry instructions with go client
Update the reference documentation to use the newer 'go' based CLI
tool.

Fixes gh-615
2014-03-31 21:57:51 -07:00
Phillip Webb
b5c6a4dd2d Indent appendix properties sample 2014-03-31 21:51:22 -07:00
Phillip Webb
def4e60fa6 Fix typo in reference docs
The `management.contextpath` property should have been
`management.context-path`.

Fixes gh-612
2014-03-31 18:14:50 -07: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
ac4cdd33c3 Revert "Next development version"
This reverts commit 1d0eea12eb.
Returning to 1.0.0.BUILD-SNAPSHOT for an updated release.
2014-03-31 17:14:30 -07:00
Spring Buildmaster
1d0eea12eb Next development version 2014-03-28 11:47:09 -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
39f10fdfb5 Note different document formats in reference guide
Fixes gh-570
2014-03-25 15:41:31 -07:00
Phillip Webb
44d708ef7a Polish 2014-03-25 14:33:27 -07:00
Tomas Lin
dae38224b7 Bad Tomcat 8 section reference to websockets pom
Removed this link "The websocket sample shows you how to do that in Maven." since the example no longer has properties that show how this is done. Dave Syer edited the section in a previous issue by adding the example to the POM ( https://github.com/spring-projects/spring-boot/issues/430 ) but it appears that the bad link was not removed.
2014-03-25 17:06:55 +00:00
Sebastien Deleuze
60ad7cd787 Fix quotes in a Gradle example 2014-03-25 16:36:46 +00:00
Stephane Nicoll
87321edf36 Support Tomcat uri encoding (with UTF-8 default)
Introduce an extra `server.tomcat.uri-encoding` property used to
configure the URI encoding for the embedded tomcat container.

Defaults to `UTF-8` instead of the usual tomcat default of `ISO-8859-1`.

Fixes gh-540
2014-03-24 23:50:13 -07:00
Rob Winch
f852096c87 Security Documentation Cleanup
- Add link to Spring Security's Global Method Security Java Configuration
- Fix link to SecurityProperties
- Add link to SECURITY Common application properties
- Remove unnecessary @Order from SecurityConfiguration
- Change method signature for @Autowired AuthenticationManagerBuilder to
  compile / match Spring docs
2014-03-24 15:44:05 -07:00
Phillip Webb
07ad45c468 Link to community contributed starters README
Update reference docs to link to the community starters README.
2014-03-24 11:26:54 -07:00
Dave Syer
78d13c513c Correct property path for management.address
Fixes gh-558
2014-03-24 10:07:10 +00:00
hoserdude
5ef7bda47a minor doc changes based on RC5 migration experience 2014-03-22 14:47:19 +00:00
Dave Syer
373e2c5156 Allow user to opt out of ContentNegotiatingViewResolver
The bean ID for the ContentNegotiatingViewResolver is now
"viewResolver" (it is the *one*). The conditions have been changed
so that a user only has to define a bean of the same name to switch
it off.

Fixes gh-546
2014-03-22 14:44:30 +00:00
Phillip Webb
9d0ac86887 Polish 2014-03-21 11:38:46 -07:00
brockwmills
8b77a0298f Allow multiple connectors with Tomcat
Update TomcatEmbeddedServletContainerFactory to allow for additional
containers (e.g. SSL or AJP in addition to HTTP).

Fixes gh-528
2014-03-21 11:10:11 -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
47eb8180b3 Rename spring-boot-starter-shell -> remote-shell
Fixes gh-462
2014-03-21 09:05:56 -07:00
Phillip Webb
3193913899 Polish 2014-03-20 09:08:09 -07:00
Christian Dupuis
d08d98492d Add Environment to shell context; disable shell banner if spring.main.show_banner is set to false 2014-03-20 15:23:24 +01:00
Christian Dupuis
b760722234 Add endpoint command to shell
fixex #461
2014-03-20 11:05:27 +01: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
338b32ebdb Add missing datasource properties to refdocs
Fixes gh-504
2014-03-19 16:47:35 -07:00
Phillip Webb
4024450c5f Rename starter-shell-remote to starter-shell
Fixes gh-462
2014-03-19 16:28:36 -07:00
Phillip Webb
77db6c0e06 Add YAML syntax highlighting in docs
Also added JSON and tweaked properties settings.

Fixes gh-511
2014-03-19 16:13:38 -07:00
Stephane Nicoll
d6be3dfbb0 Add a note on maven filtering
This commit adds a documentation note explaining how to change
the delimiters used to filter maven tokens as these conflict with the
delimiters used by Spring (i.e. ${foo:default}).
2014-03-19 08:40:28 +00:00
Phillip Webb
24cc51c36f Fix typo 2014-03-18 20:46:13 -07:00