Commit Graph

2313 Commits (61c6662b9cac92d9cb2cd662df9162ab07454039)

Author SHA1 Message Date
Dave Syer b5e608f102 Remove mention of missing starters 11 years ago
Lukasz Kryger 254b175c0a Read data-{platform}.sql in addition to data.sql
Update DataSourceAutoConfiguration to read platform specific `data.sql`
files in the same way as `schema.sql` files.

Fixes gh-837
11 years ago
Christian Dupuis 0402ed38f7 Update documentation to include note about RabbitMQ health support 11 years ago
Phillip Webb dac03fdb7b Extract WebMvcProperties
Extract WebMvcProperties from WebMvcAutoConfiguration and also
update conditionals to use @ConditionalOnProperty.
11 years ago
Phillip Webb 1c0cce441d Add spring.resources.add-mappings property
Add `spring.resources.add-mappings` allowing users to configure if
resource mappings should be added or not.

Fixes gh-804
11 years ago
Phillip Webb f80d23ada7 Clarify why you might not use the starter parent
Update reference documentation to make it clearer why you might not
always want to use the spring-boot-starter-parent.

Fixes gh-774
11 years ago
Phillip Webb 1acffdf649 Polish 11 years ago
Phillip Webb d9bf538e95 Document repackage in maven without parent POM
Fixes gh-811
11 years ago
Christian Dupuis dfd6f91aef Merge pull request #819 from cdupuis/health-indicator
Rework HealthIndicator support
11 years ago
Christian Dupuis 893654bdd1 Update documentation for new HealthIndicator support 11 years ago
Phillip Webb 506c0f50b9 Allow meta-data driven version overrides in Gradle
Add a `versionManagement` gradle configuration which can be used to
provide alternative version meta-data. Primarily added so that the
Spring IO platform can provide version overrides without causing a
cyclic build dependency.

Fixes gh-750
11 years ago
Phillip Webb 38fb8e6874 Fix broken documentation link 11 years ago
Dave Syer 14d3b46809 Add constants to SecurityProperties and ManagementServerProperties
For the convenience of users who want to selectively override the
access rules in an application without taking complete control of the
security configuration we now have some constants:

* SecurityProperties.ACCESS_OVERRIDE_ORDER for overriding just the
application endpoint access rules

* ManagementServerProperties.ACCESS_OVERRIDE_ORDER for overriding the
application endpoint and management endpoint access rules

Fixes gh-803
11 years ago
Phillip Webb 28bd87cbae Update @EnableAutoConfiguration exclude example
Update documentation to use a real auto-configure class.

Fixes #791
11 years ago
Christian Dupuis e5b6d7c756 EmbeddedDatabaseConfiguration -> EmbeddedDataSourceConfiguration in docs
fixes #791
11 years ago
Phillip Webb bce3eaefd0 Fixup reference guide following dependencies move
Update reference guide to indicate that spring-boot-dependencies should
be imported when not using the parent POM.
11 years ago
Stephane Nicoll 33082fd56d Harmonized maven dependency management
This commit harmonizes the dependency management of internal modules
so that versions can be omitted everywhere. Update the maven coordinates
to provide the full groupId for consistency
11 years ago
Phillip Webb 2c45399bf8 Add note for maven plugin documentation
Update the reference guide to add a call-out to the new generated
maven plugin site.

Finishes gh-772
11 years ago
Ger-Jan te Dorsthorst 904804d717 Minor documentation fixes
Fixes gh-781
11 years ago
Stephane Nicoll a330cb9b8a Improve remote shell security documentation
Previous to this commit, the remote shell security configuration
described that a default password will be generated with no extra
configuration. Actually, when Spring Security is configured for the
application, the remote shell reuses that configuration by default.

It turns out that the default log message is confusing as it was
referring to "application endpoints". Updated that log to a more
generic log message and updated doc accordingly.

Fixes gh-779
11 years ago
Marcel Overdijk 0f738be114 Add specifying (fixed) date format via application properties
Fixes gh-778, Fixes gh-755
11 years ago
Marcel Overdijk 949871957b Fixed type sections to seconds (time-out)
Fixes gh-776
11 years ago
Phillip Webb 34b7bb20fd Add maven implicit plugin group ID
Add previously implicit <groupId>org.apache.maven.plugins</groupId>
to plugin declarations.
11 years ago
Stephane Nicoll bf4b347a96 Fix build failure
Commit e26e06d5dd broke the full build as the generated zip file for
the size is not generated. Actually, the site plugin has a jar goal that
is exactly meant for what we need to do.

This commit removes the use of the assembly plugin and invokes the
jar goal of the site plugin when the full profile is enabled.

Relates to #749
11 years ago
Stephane Nicoll 888703cf26 Add maven plugin documentation
This commit adds the generated site for the maven plugin alongside
the developer guide and javadoc. The maven plugin is available in
the "/maven-plugin" context.

The advanced information described in the developer guide have
been migrated to the plugin site as most the information is taken
from the code itself, which avoids duplication.

Fixes #749
11 years ago
Phillip Webb b5451d54ee Polish 11 years ago
Dave Syer 799f9edb0b Harmonize enabled flags for flyway and liquibase 11 years ago
Dave Syer 2cd7b13096 Drop 'spring' from 'spring.[liquibase,flyway]' 11 years ago
Dave Syer 5548b24c4c Add autoconfig support for Flyway migrations
Flyway starts up with its default settings if it is on the classpath.
You can also ask Boot to barf if the migration scripts are missing.

Fixes gh-730
11 years ago
Marcel Overdijk 68e33b25c1 Added liquibase autoconfiguration for database migrations
If Liquibase is on the classpath it will fire up on startup. Various
config options are available (as well as the option to disable it).
Liquibase uses a YAML format for changes (in classpath:db/changelog).
11 years ago
Dave Syer b7e583a39b Document message codes and custom banner
Fixed gh-756, Fixes gh-757
11 years ago
Dave Syer f81c01d490 @WebApplication->@WebAppConfiguration
Fixed gh-746
11 years ago
Phillip Webb 6025f45aa0 Polish 11 years ago
Marcel Overdijk 1cbef02236 Add messagecode resolver format based on application property 11 years ago
Christian Dupuis a66fc3030e Add more runtime metrics like information about heap, class loading and threads to the metrics infrastructure 11 years ago
Andy Wilkinson 7c91176186 Add FreeMarker support
This commit adds auto-configuration and a starter,
spring-boot-starter-freemarker, for using FreeMarker view templates in
a web application.

A new abstraction, TemplateAvailabilityProvider, has been introduced.
This decouples ErrorMvcAutoConfiguration from the various view
technologies that Spring Boot now supports, allowing it to determine
when a custom error template is provided without knowing the details of
each view technology.

Closes #679
11 years ago
Dave Syer 1143f6dbb1 @WebApplication->@WebAppConfiguration
Fixed gh-746
11 years ago
Dave Syer ef4e83a879 Move ErrorController to autoconfig 11 years ago
Dave Syer 42ca765e1a Remove test dependencies from spring-boot-starter-parent
Fixes gh-617

Conflicts:

	spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
11 years ago
Stephane Nicoll 6cf946ea3f Fix typo 11 years ago
Phillip Webb 1ae91a135c Polish MultipartConfigElement support
Polish MultipartConfigElement changes introduced in commit e8e59ea6
as follows:

- Fix javadoc formatting
- Fix tab/spaces formatting
- Fix asciidoc formatting
- Move creation of MultipartConfigElement into MultipartProperties
- Add @Since tags
- Restore random port in tests
11 years ago
Stephane Nicoll c4ffe721c7 Fix JmsTemplate default pubSubDomain setting
Prior to this commit, a JmsTemplate bean created automatically by Boot
had its "pubSubDomain" flag enabled. It's far more usual to fallback on
queue rather than topic.

This commit flips the default value of the configuration property.
11 years ago
Josh Long e8e59ea657 MultipartConfigElement autoconfig support.
Fixes gh-708
11 years ago
Phillip Webb 64a835e91a Move master to 1.1.0.BUILD-SNAPSHOT 11 years ago
Dave Syer 8f640c549f Correct copy-paste error in log4j config snippet 11 years ago
Spring Buildmaster d3954a1703 Next development version 11 years ago
Phillip Webb 6268322c76 Tighten up documentation on SSL and HTTPS
Fixes gh-640
11 years ago
Phillip Webb 59496abf85 Add mvnDebug how-to
Fixes gh-713
11 years ago
Phillip Webb 51c403b636 Document how to customize dependency versions
Add a section to the "how-to" on customizing third-party dependency
versions when using Maven.

Fixes gh-434
11 years ago
Phillip Webb b5b2fd2377 Add note explaining gradle ResolutionStrategy
Update reference documentation to include a note explaining that
"blessed" versions a chosen based on the gradle plugin version, and
that builds are repeatable.

Fixes gh-619
11 years ago
Scott Frederick 08a0c31105 Update Cloud Foundry deployment documentation
Update the Cloud Foundry section of the reference documentation to:

- Reflect the fact that the Cloud Foundry v6 CLI no longer has an
  interactive mode for application push.
- Update some of the CLI output.
- Change links to point to open-source CF docs instead of Pivotal
  commercial docs.
- Add a few links.

Fixes gh-718
11 years ago
Phillip Webb fad5ce45db Polish 11 years ago
Dave Syer 3304dd1cc9 Add spring.datasource.separator (default ";")
Fixes gh-715
11 years ago
Hugo Flambo a77fee9f18 Fix typo and use *PropertySource* instead *ProperySource*
Fixes gh-705
11 years ago
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
11 years ago
Marcel Overdijk f78f836fc0 Add fixedlocaleresolver based on application property
If the user sets spring.mvc.locale and doesn't provide a @Bean
of type LocaleResolver then a FixedLocaleResolver will be provided.

Fixes gh-697, fixes gh-669
11 years ago
Dave Syer 7401f7c643 Correct impression that DataSource platform is discovered automatically
... it isn't: you have to set spring.datasource.platform
11 years ago
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.
11 years ago
Dave Syer 2d16c59147 Clarify usage of run.arguments with Maven plugin 11 years ago
Dave Syer 29d965fdf0 Add new thymeleaf property to docs
See gh-671
11 years ago
Lukasz Kryger 9907e70609 Minor documentation fixes 11 years ago
Dave Syer fb29a3c318 Expand Error Handling section in docs a bit
Fixes gh-513
11 years ago
Jakub Kubrynski 3ebaf11550 Extended documentation for applicaiton pid monitoring 11 years ago
Andy Wilkinson 24597ae423 Rename identifier in the howto so that it's unique 11 years ago
Dave Syer 59784cc37e Add JAXB mini-example to howto
Fixes gh-646
11 years ago
Dave Syer 383fbe9e71 Remove return keyword from groovy examples in docs
Fixes gh-656
11 years ago
Verrol L. Adams a122f3e0f2 changed 'that can you can' to 'that you can' in Getting Started: 8. Introducing Spring Boot 11 years ago
Lukasz Kryger 0f88f7435f Minor fixes in the docs 11 years ago
Lukasz Kryger 10b177fb68 Grammar etc. fixes in the docs
Fixes gh-654
11 years ago
Lukasz Kryger 812c530777 Fixed minor mistakes
* your -> you're
* ask a questions -> ask a question

Fixes gh-653
11 years ago
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
11 years ago
Dave Syer 966ee879b1 @Controller -> @RestController in docs
Fixes gh-652
11 years ago
Spring Buildmaster a5864ebcd0 Next development version 11 years ago
Phillip Webb 13517598a4 Revert "Remove test dependencies from spring-boot-starter-parent"
This reverts commit 5ded496dc3.

Fixes gh-628
11 years ago
Phillip Webb 2bb0f744e0 Polish 11 years ago
Dave Syer 4366d7880e Fix docos references to @ConfigurationProperties(prefix="...")
Fixes gh-629
11 years ago
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
11 years ago
Dave Syer 1158881d00 Add activemq properties to appendix
Fixes gh-618
11 years ago
Dave Syer b10456a2f8 Refactor discussion of management.security.*
Really fixes gh-595
11 years ago
Dave Syer d119336f70 Explcitly state in docs that Spring Security is required
... if you use management.security.* properties

Fixes gh-595
11 years ago
Dave Syer 5ed49462c4 Add spring.messages.cacheSeconds to global config
Fixes gh-625
11 years ago
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
11 years ago
Dave Syer 5ded496dc3 Remove test dependencies from spring-boot-starter-parent
Fixes gh-617
11 years ago
Spring Buildmaster 15e9dbe98b Next development version 11 years ago
Phillip Webb 26e55e5b55 Fix broken docs build 11 years ago
Phillip Webb 0af7f7e347 Add missing POM info 11 years ago
Phillip Webb 6f9bb233ad Revert "Next development version"
This reverts commit b67bb70ee3.
11 years ago
Spring Buildmaster b67bb70ee3 Next development version 11 years ago
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
11 years ago
Phillip Webb b5c6a4dd2d Indent appendix properties sample 11 years ago
Phillip Webb def4e60fa6 Fix typo in reference docs
The `management.contextpath` property should have been
`management.context-path`.

Fixes gh-612
11 years ago
Alexander Grüneberg b95266a2bc Fix type in reference docs
The `spring.data.mongodb.uri` property should be
`spring.data.mongodb.url`.

Fixes gh-613
11 years ago
Phillip Webb ac4cdd33c3 Revert "Next development version"
This reverts commit 1d0eea12eb.
Returning to 1.0.0.BUILD-SNAPSHOT for an updated release.
11 years ago
Spring Buildmaster 1d0eea12eb Next development version 11 years ago
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
11 years ago
Phillip Webb aa3f0556dc Fixup asciidoc formatting and links 11 years ago
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
11 years ago
Phillip Webb 39f10fdfb5 Note different document formats in reference guide
Fixes gh-570
11 years ago
Phillip Webb 44d708ef7a Polish 11 years ago
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.
11 years ago
Sebastien Deleuze 60ad7cd787 Fix quotes in a Gradle example 11 years ago
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
11 years ago
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
11 years ago
Phillip Webb 07ad45c468 Link to community contributed starters README
Update reference docs to link to the community starters README.
11 years ago
Dave Syer 78d13c513c Correct property path for management.address
Fixes gh-558
11 years ago
hoserdude 5ef7bda47a minor doc changes based on RC5 migration experience 11 years ago
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
11 years ago
Phillip Webb 9d0ac86887 Polish 11 years ago
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
11 years ago
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
11 years ago
Phillip Webb 47eb8180b3 Rename spring-boot-starter-shell -> remote-shell
Fixes gh-462
11 years ago
Phillip Webb 3193913899 Polish 11 years ago
Christian Dupuis d08d98492d Add Environment to shell context; disable shell banner if spring.main.show_banner is set to false 11 years ago
Christian Dupuis b760722234 Add endpoint command to shell
fixex #461
11 years ago
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
11 years ago
Phillip Webb 338b32ebdb Add missing datasource properties to refdocs
Fixes gh-504
11 years ago
Phillip Webb 4024450c5f Rename `starter-shell-remote` to `starter-shell`
Fixes gh-462
11 years ago
Phillip Webb 77db6c0e06 Add YAML syntax highlighting in docs
Also added JSON and tweaked properties settings.

Fixes gh-511
11 years ago
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}).
11 years ago
Phillip Webb 24cc51c36f Fix typo 11 years ago
Phillip Webb 2929d33e37 Add links in Appendix B
Fixes gh-491
11 years ago
Stephane Nicoll 7813726e29 Review of the Appendix
This commit reviews the Appendix of the Spring boot
doc, fixing mostly typos.
11 years ago
Phillip Webb 913b6020d6 Minor doc polish 11 years ago
Phillip Webb 798229f530 Document rabbit.addresses property 11 years ago
Phillip Webb f4ebf8c80f Add clickable anchors to HTML docs
Fixes gh-525
11 years ago
Phillip Webb b697191e3e Format docbook css 11 years ago
Piotr Maj 2e74251d1b Add support for sorting json keys
Add `jsonSortKeys` property to HttpMapperProperties.

Fixes gh-498
11 years ago
Phillip Webb 5cb8e4100c Polish docs
Minoir polish for wrapping at 90 and tabs instead of spaces.
11 years ago
Stephane Nicoll 5ce1bdfb7f Review of the How-to part
This commit reviews the How-to part of the Spring boot doc,
fixing mostly typos.

See gh-521
11 years ago
Dave Syer 935131cdab Clarification regarding format of loader.path 11 years ago
Dave Syer a8ba80bbf4 Add build.gradle samples and docs for deployable WAR
Fixes gh-518
11 years ago
Dave Syer 9f532b653f Add docs for RestTemplates test utils
Fixes gh-500
11 years ago
Dave Syer d0cd1df978 Documentation for @IntegrationTest
Fixes gh-499
11 years ago
Phillip Webb d9de3f57bd Update test dependencies documentation
Change working since test dependencies cannot easily be replaced.
11 years ago
Phillip Webb 5ed6d456d2 Clarify log PID in documentation 11 years ago
Phillip Webb 156a2f5c63 Clarify YAML profile sample in documentation 11 years ago
Phillip Webb 345fa7a102 Simplify fluent builder documentation note. 11 years ago
Phillip Webb f0b6f6a516 Remove quotes from internal documentation links
Remove quote-marks from internal documentation links and instead favor
italics.
11 years ago
Phillip Webb 447b2be91d Fix lets -> let's in documentation 11 years ago
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.
11 years ago
Dave Syer b8d85decad Fix typo 11 years ago
Phillip Webb 9f8c8c3fe7 Remove double quotes from sample in appendix B
Fixes gh-492
11 years ago
Phillip Webb 947b4f9d8f Add properties syntax highlighting for docs
Fixes gh-495
11 years ago
Phillip Webb 545f046745 Minor doc polish 11 years ago
Phillip Webb d0275b4734 Fix some broken documentation links 11 years ago
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)
11 years ago
Phillip Webb 9f112ff8e0 Port ViewResolver docs
Port documentation originally added in commit b56bd0a10c
11 years ago
Phillip Webb 72e3715ba9 Add missing main.basedir property to docs pom 11 years ago
Phillip Webb 2747c01e81 Set correct github tag for generated docs 11 years ago
Josh Long a1a62785be Add cloud deployment documentation
Add a "cloud deployment" section to the Spring Boot reference
manual.

See gh-295
11 years ago
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
11 years ago
Phillip Webb 163509b5e5 Add initial reference manual documentation
See gh-295
11 years ago
Phillip Webb abba0d63fe Add documentation tool-chain
Generate html, pdf and epub documentation using asciidoctor+docbook.

See gh-295
11 years ago
Spring Buildmaster b0d4e8ae69 Next development version 11 years ago
Spring Buildmaster cb8668a151 Release version 1.0.0.RC4 11 years ago
Spring Buildmaster 1367d57e8c Next development version 11 years ago
Spring Buildmaster eaff1677a7 Release version 1.0.0.RC3 11 years ago
Phillip Webb a61a45092d Revert "Add generator app for simple table of *AutoConfiguration"
This reverts commit 89283e46b8.

Revert until we can find a new home, outside of the usual build
process.
11 years ago
Dave Syer 89283e46b8 Add generator app for simple table of *AutoConfiguration
Run with "mvn spring-boot:run" and then scrape the Markdown from stdout.
(Result already added to docs/autoconfig.md.)
11 years ago
Phillip Webb 9ab886f4db Consistent javadoc "code" block formatting
Update javadoc to consistently use the "code" style with <pre> blocks.
Also include the latest spring-javadoc.css formatting file.

Fixes gh-332
11 years ago
Phillip Webb 68293f34af Upgrade version to 1.0.0.BUILD-SNAPSHOT
Fixes fg-243
11 years ago
Phillip Webb 210e1f3a6b Update docs zip to include css assets 11 years ago
Phillip Webb 8017c04e30 Rename spring-boot-javadoc to spring-boot-docs
Renamed javadoc to a general purpose docs project that can be
automatically deployed.
11 years ago