Commit Graph

150 Commits

Author SHA1 Message Date
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
2014-05-08 05:32:43 -07:00
Phillip Webb 28bd87cbae Update @EnableAutoConfiguration exclude example
Update documentation to use a real auto-configure class.

Fixes #791
2014-05-06 14:05:39 +01:00
Christian Dupuis e5b6d7c756 EmbeddedDatabaseConfiguration -> EmbeddedDataSourceConfiguration in docs
fixes #791
2014-05-06 12:45:38 +02:00
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.
2014-05-05 14:29:01 +01:00
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
2014-05-05 14:29:01 +01:00
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
2014-05-05 12:04:21 +01:00
Ger-Jan te Dorsthorst 904804d717 Minor documentation fixes
Fixes gh-781
2014-05-05 10:46:29 +01:00
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
2014-05-05 11:12:27 +02:00
Marcel Overdijk 0f738be114 Add specifying (fixed) date format via application properties
Fixes gh-778, Fixes gh-755
2014-05-04 11:53:11 +01:00
Marcel Overdijk 949871957b Fixed type sections to seconds (time-out)
Fixes gh-776
2014-05-04 11:52:52 +01:00
Phillip Webb 34b7bb20fd Add maven implicit plugin group ID
Add previously implicit <groupId>org.apache.maven.plugins</groupId>
to plugin declarations.
2014-05-02 23:03:31 +01:00
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
2014-05-02 22:21:43 +02:00
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
2014-05-02 17:12:56 +01:00
Phillip Webb b5451d54ee Polish 2014-05-02 13:07:52 +01:00
Dave Syer 799f9edb0b Harmonize enabled flags for flyway and liquibase 2014-05-02 11:15:38 +01:00
Dave Syer 2cd7b13096 Drop 'spring' from 'spring.[liquibase,flyway]' 2014-05-02 11:15:37 +01:00
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
2014-05-02 11:15:33 +01:00
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).
2014-05-02 11:12:12 +01:00
Dave Syer b7e583a39b Document message codes and custom banner
Fixed gh-756, Fixes gh-757
2014-05-01 10:28:06 +01:00
Phillip Webb 6025f45aa0 Polish 2014-04-30 21:53:24 +01:00
Marcel Overdijk 1cbef02236 Add messagecode resolver format based on application property 2014-04-30 16:00:01 +01:00
Christian Dupuis a66fc3030e Add more runtime metrics like information about heap, class loading and threads to the metrics infrastructure 2014-04-30 15:22:56 +02:00
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
2014-04-29 19:46:09 +01:00
Dave Syer 1143f6dbb1 @WebApplication->@WebAppConfiguration
Fixed gh-746
2014-04-29 15:26:37 +01:00
Dave Syer ef4e83a879 Move ErrorController to autoconfig 2014-04-29 15:23:29 +01:00
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
2014-04-26 13:42:16 +01:00
Stephane Nicoll 6cf946ea3f Fix typo 2014-04-26 11:40:44 +03:00
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
2014-04-25 15:57:43 +01:00
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.
2014-04-25 11:16:27 +01:00
Josh Long e8e59ea657 MultipartConfigElement autoconfig support.
Fixes gh-708
2014-04-25 09:33:43 +01:00
Phillip Webb 64a835e91a Move master to 1.1.0.BUILD-SNAPSHOT 2014-04-24 12:45:20 +01:00
Dave Syer 8f640c549f Correct copy-paste error in log4j config snippet 2014-04-24 11:28:48 +01:00
Spring Buildmaster d3954a1703 Next development version 2014-04-24 02:24:28 -07:00
Phillip Webb 6268322c76 Tighten up documentation on SSL and HTTPS
Fixes gh-640
2014-04-23 23:24:59 +01:00
Phillip Webb 59496abf85 Add mvnDebug how-to
Fixes gh-713
2014-04-23 23:09:53 +01:00
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
2014-04-23 23:01:21 +01:00
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
2014-04-23 22:42:10 +01:00
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
2014-04-23 22:16:40 +01:00
Phillip Webb fad5ce45db Polish 2014-04-23 12:35:33 +01:00
Dave Syer 3304dd1cc9 Add spring.datasource.separator (default ";")
Fixes gh-715
2014-04-22 17:34:54 +01:00
Hugo Flambo a77fee9f18 Fix typo and use *PropertySource* instead *ProperySource*
Fixes gh-705
2014-04-22 08:46:24 +01:00
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
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
2014-04-19 19:38:51 -07:00
Dave Syer 7401f7c643 Correct impression that DataSource platform is discovered automatically
... it isn't: you have to set spring.datasource.platform
2014-04-18 10:46:16 -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
Dave Syer 2d16c59147 Clarify usage of run.arguments with Maven plugin 2014-04-17 04:42:31 -07:00
Dave Syer 29d965fdf0 Add new thymeleaf property to docs
See gh-671
2014-04-16 05:12:05 -07:00
Lukasz Kryger 9907e70609 Minor documentation fixes 2014-04-16 10:48:36 +01:00
Dave Syer fb29a3c318 Expand Error Handling section in docs a bit
Fixes gh-513
2014-04-15 07:23:41 -07:00
Jakub Kubrynski 3ebaf11550 Extended documentation for applicaiton pid monitoring 2014-04-11 21:19:18 +02:00