Commit Graph

1405 Commits

Author SHA1 Message Date
Johnny Lim 301574de09 Polish
Closes gh-6234
2016-06-27 14:19:26 +02:00
Stephane Nicoll cfe1fe8736 Merge branch '1.3.x' 2016-06-23 10:44:55 +02:00
Stephane Nicoll bffcb1aad2 Document available layouts
Closes gh-5524
2016-06-23 10:42:47 +02:00
Stephane Nicoll 2dc6e5b6fa Refactor Jest auto-configuration package space
This commit moves the Jest auto-configuration from `spring.jest` to
`spring.elasticsearch.jest`

Closes gh-6032
2016-06-23 10:39:16 +02:00
Andy Wilkinson 52e8ad4b6b Drop back to Hibernate 5.0.9.Final
The upgrade to Hibernate 5.2.0.Final has provide to be too
problematic to live with. It requires Java 8, is incompatible with
a number of other projects in the Hibernate ecosystem, and it's
unclear for how long it will be maintained. We'd previously used
Hibernate 5.1.0.Final but its maintenance is also unclear with
Hibernate 5.1.1.Final being more than 3 months overdue.

This commit drops back to Hibernate 5.0.9.Final. This has a few
advantages:

- It's Java 7 compatible
- It's had some time to mature and should be reasonably free of
  regressions for those moving from 4.3.x
- It's used in both Wildfly and JBoss EAP so there's a fair chance
  that it will continue to be maintained.

Closes gh-6198
2016-06-21 20:09:21 +01:00
Phillip Webb 7446235ff4 Polish 2016-06-20 20:13:13 -07:00
Phillip Webb c136054e69 Merge branch '1.3.x' 2016-06-20 18:54:01 -07:00
Phillip Webb 5b97981c87 Polish 2016-06-20 18:13:43 -07:00
Brian Clozel fa32ce35fb Document workaround for JSP limitation
See gh-2893
2016-06-20 18:00:31 +02:00
Brian Clozel 714ee45ff9 Merge branch '1.3.x' 2016-06-20 17:59:29 +02:00
Brian Clozel c1fcecb415 Document JSP limitation: error page customization
Closes gh-2893
2016-06-20 17:56:30 +02:00
Andy Wilkinson 2c8eaac78c Update documentation of server.server-header for changes in 3009e51
See gh-4730
2016-06-20 15:25:01 +01:00
Stephane Nicoll 06aa35b9da Clarify usage of EnvironmentPostProcessor
Closes gh-6101
2016-06-20 15:29:38 +02:00
Andy Wilkinson f28e3d54c5 Upgrade to Tomcat 8.5.3
This commit changes the default version of Tomcat to 8.5.3 while
also retaining support for Tomcat 8.0 and 7.0. The main difference
in 8.5 is that the ServerSocketFactory abstraction that allowed the
TrustStore and KeyStore to be configured programatically no longer
exists. This logic has been replaced with the use of a custom URL
protocol (springbootssl) that provides access to the key store and
trust store of an SslStoreProvider. In addition to working with 8.5,
this approach has the advantage of also working with 8.0 and 7.0.

Closes gh-6164
2016-06-20 13:27:47 +01:00
Johnny Lim d47719edbd Fix default value for dispatch-options-request in doc
Closes gh-6185
2016-06-18 12:20:16 +02:00
Stephane Nicoll 2ff9e3cfdc Upgrade to Hibernate 5.2
See gh-6111
2016-06-17 11:14:35 +02:00
Stephane Nicoll a273d8d0c8 Add secured connection support to Artemis
This commit aligns the feature introduced in gh-6071 to Artemis.

Closes gh-6179
2016-06-17 10:30:43 +02:00
Stephane Nicoll 8b79c667a7 Polish "Secured HornetQ" contribution
Closes gh-6071
2016-06-16 19:09:35 +02:00
Stephane Nicoll 6dff1548fa Merge branch '1.3.x' 2016-06-16 15:45:49 +02:00
Stephane Nicoll 6574feea87 Document limitations of logging.pattern.*
Closes gh-5653
2016-06-16 15:44:22 +02:00
Stephane Nicoll d54474b81c Allow locale to be overridden by "Accept-Language"
Previously, when `spring.mvc.locale` was specified, that locale was used
regardless of the client's preferences. This commit adds an extra
`spring.mvc.locale-resolver` property that can control how the locale is
resolved. The default is `ACCEPT_HEADER` but can be set to `FIXED` to
restore the previous behaviour.

Closes gh-6083
2016-06-16 14:48:55 +02:00
Andy Wilkinson 75032c46dc Include Javadoc for devtools, test, and test-autoconfigure in main docs
Closes gh-6149
2016-06-15 15:21:14 +01:00
Andy Wilkinson 6ee6f09503 Fix warnings produced during Javadoc generation 2016-06-15 15:21:14 +01:00
Vladimir Tsanev b303b3fe35 Support JSPs in Embedded Jetty
JSPs are now supported in executable WARs with embedded Jetty.

Fixes gh-367
Closes gh-5290
2016-06-15 16:01:54 +02:00
Andy Wilkinson 9bc3722a1e Correct version of Undertow in table of supported embedded containers 2016-06-15 13:58:48 +01:00
Andy Wilkinson ff602e60a0 Change default version of Jetty to 9.3
Closes gh-5825
2016-06-15 13:58:47 +01:00
Andy Wilkinson f4d197c245 Make Jest available to javadoc generation
See gh-6032
2016-06-14 12:37:10 +01:00
Dave Syer a3b29b0e42 Add /webjars/** to default list of unsecured resources
Fixes gh-2460
2016-06-14 10:31:39 +01:00
Johnny Lim a70a8635f9 Polish
Closes gh-6155
2016-06-14 08:35:22 +02:00
Stephane Nicoll 7afe1d16a6 Add Jest support
This commit adds auto-configuration support for Jest, an HTTP client for
Elasticsearch. If Jest is present, a `JestClient` targeting a local
elasticsearch instance is auto-configured. Several properties from the
`spring.jest.*` namespace allows to tune the client.

Closes gh-6032
2016-06-13 15:25:10 +02:00
Stephane Nicoll 0fd7739ec7 Polish doc
See gh-6147
2016-06-12 09:04:30 +02:00
Brian Clozel 6dc0ecb182 Add WebMvcRegistrations for custom MVC components
Add `WebMvcRegistrations` which can be used to provide custom
instances of `RequestMappingHandlerMapping`,
`RequestMappingHandlerAdapter` and `ExceptionHandlerExceptionResolver`.
Those instances are then used and processed by the Boot MVC
configuration.

Prior to this commit, developers could provide their custom instances
of MVC infrstructure components such as `RequestMappingHandlerMapping`
and `RequestMappingHandlerAdapter` only by using advanced configuration
strategies. Those advanced configurations involved subclassing
`WebMvcConfigurationSupport` which effectively turns off MVC
auto-configuration in Boot.

Fixes gh-5004
Closes gh-6100
2016-06-10 10:40:06 -07:00
Phillip Webb 0a475946a1 Document RestTemplateBuilder and @RestClientTest
See gh-6030
See gh-5507
2016-05-31 10:18:07 -07:00
Phillip Webb bc6f1cfdf3 Polish 2016-05-31 09:22:42 -07:00
Johnny Lim d28c1890a2 Fix default value for `spring.rabbitmq.connection-timeout`
Closes gh-6075
2016-05-31 06:08:39 -04:00
Stephane Nicoll 71917abccf Fix typo
See gh-6004
2016-05-30 12:14:51 +02:00
Stephane Nicoll b6ab929162 Merge branch '1.3.x' 2016-05-26 17:27:39 +02:00
Stephane Nicoll b49c6ca616 Fix link in doc
Closes gh-6033
2016-05-26 17:25:57 +02:00
Johnny Lim 70adefc87b Polish
Closes gh-6046
2016-05-26 14:58:41 +02:00
Stephane Nicoll 44b4df2d3d Deprecate hornetq support
Closes gh-6034
2016-05-26 14:14:59 +02:00
Stephane Nicoll f257b6a0b5 Polish "Add activemq starter" contribution
Closes gh-6010
2016-05-26 11:40:24 +02:00
Stephane Nicoll 50e0bb2d9c Improve DataJpaTest documentation
As `@DataJpaTest` is meta-annotated with `@Transactional`, all data jpa
tests are transactional and rollback at the end of each test. It is
possible to tune that in many ways, including disabling the transaction
per test or per test class.

This commit improves the doc to explain those concepts.

Closes gh-5993
2016-05-25 11:28:16 +02:00
Andy Wilkinson 98a039ea99 Clarify references to Commons Logging in the documentation 2016-05-24 14:43:47 +01:00
Stephane Nicoll 9ab5c09905 Add reference to `@TestPropertySource` in the doc
Closes gh-5899
2016-05-24 09:07:26 +02:00
Stephane Nicoll b02aba4c75 Polish contribution
Closes gh-5074
2016-05-23 17:38:45 +02:00
Vedran Pavic 20fa1b3b48 Support configuration of multiple management roles
Closes gh-5045
2016-05-23 17:15:44 +02:00
Stephane Nicoll 3d0b682f0f Document `none` cache type
Closes gh-6004
2016-05-23 07:09:06 +02:00
Stephane Nicoll 9182ada260 Polish doc
Closes gh-6009
2016-05-23 06:52:28 +02:00
Dave Syer ba824b240b Add uuid generator to RandomValuePropertySource
A well-formed string represenation of a UUID can now be generated
by ${random.uuid}.
2016-05-22 10:36:54 +01:00
Stephane Nicoll 4213c1575a Polish doc
Closes gh-5999
2016-05-20 13:00:08 +02:00
Stephane Nicoll 6698af08df Replace Starter POM to Starter in the documentation
"Starter POM" is a confusing term as it implies the starter may be a
POM while it's actually a jar artifact like any other dependency. To
reduce the confusion (especially in the way such starter should be
declared in the build), the term Starter POM has been renamed to Starter.

Closes gh-5966
2016-05-18 08:55:42 +02:00
Stephane Nicoll 3805fc7455 Polish 2016-05-17 08:55:59 +02:00
Phillip Webb 7f45485e61 Provide explicit force request/response properties
Update HttpEncodingProperties to offer explicit `force-request` and
`force-reponse` properties in additional to the existing `force`
property.

Closes gh-5459
2016-05-16 18:43:57 -07:00
Stephane Nicoll 00f9adafd7 Stop creating a primary `Oauth2RestTemplate`
This commit removes the creation of a `@Primary` `OAuth2RestTemplate`
and updates the documentation accordingly.

Once #5507 is implemented we could revisit this area to provide a way for
users to easily create such a bean.

Closes gh-5202
2016-05-13 17:26:22 +02:00
Stephane Nicoll dcb4fe8304 Add JMX support to the Spring Integration starter
Closes gh-1440
2016-05-13 16:33:35 +02:00
Andy Wilkinson 83573bf2c6 Polish "Set default paths for fixed static version" (gh-5878) 2016-05-12 17:07:23 +01:00
Johnny Lim 7c34dd87c1 Polish
Closes gh-5925
2016-05-12 07:55:19 +02:00
Johnny Lim 38dc9ec441 Polish 2016-05-10 14:48:42 +01:00
Stephane Nicoll 699d083cec Add load-on-startup property to DispatcherServlet
Closes gh-2481
2016-05-10 08:37:23 +02:00
Spring Buildmaster 819a9574a6 Next Development Version 2016-05-10 05:28:34 +00:00
Stephane Nicoll 832d2b7bb2 Rephrased connection pool detection algorithm
Closes gh-5864
2016-05-09 08:15:01 +02:00
Stephane Nicoll b7e7bcf717 Make `spring.session.store-type` mandatory
Previously, Spring Session would be auto-configured by the mere presence
of Spring Session in the classpath. This was fragile as determining a
store type according to the environment could easily change when the
classpath of the project changes.

This commit makes the store-type property mandatory. If it is not set,
Spring Session is no longer auto-configured.

Closes gh-5838
2016-05-09 08:07:25 +02:00
Spring Buildmaster 376bbe68d8 Next Development Version 2016-05-06 11:23:57 +00:00
Stephane Nicoll 21536f64e1 Polish info contributor feature
This commit improves the `InfoContributor` infrastructure as follows:

* `InfoEndpoint` no longer breaks its public API and returns a Map as
before
* `Info` is now immutable
* All properties of the build are now displayed. Since we control the
generation of that file, there is no longer a mode to restrict what's
shown
* Build info is now generated in `META-INF/build-info.properties` by
default

Closes gh-5734
2016-05-06 10:52:26 +02:00
Yunkun Huang 30505d8a5e Fix duplicate entries in Appendix E
Fixes gh-5827
Closes gh-5832
2016-05-02 17:53:08 -07:00
Kirill Gavrilov f889cb4d58 Update getting-started.adoc
Fixed path for bash completions

Closes gh-5831
2016-05-02 17:11:04 -07:00
Stephane Nicoll bf89c8ee46 Polish spring session auto-configuration
This commit improves the initial submission by adding more tests and
more configuration options.

Closes gh-5158
2016-05-02 15:02:53 +02:00
Eddú Meléndez 0be00e2a6d Polish session auto-configuration
See gh-5158
2016-05-02 14:33:24 +02:00
Stephane Nicoll c3e8cc2150 Merge branch '1.3.x' 2016-05-02 14:18:59 +02:00
Stephane Nicoll 42af5ebc2c Fix class name
Closes gh-5823
2016-05-02 14:17:48 +02:00
Stephane Nicoll 248bad34dc Fix `RedisProperties` link in the doc
Closes gh-5811
2016-05-02 14:15:55 +02:00
Stephane Nicoll 373cf83f99 Merge branch '1.3.x' 2016-04-30 10:21:50 +02:00
Cristian Greco 5d55d57f78 Fix doc about running native commands
Closes gh-5829
2016-04-30 10:21:41 +02:00
Phillip Webb 0bf025af7b Add out-of-the-box support for status error pages
Allow convention based status error pages. Static HTML or templates
can be used by placing the appropriately named file under a `/error`
folder. For example:

	/src/main/resource/templates/error/404.ftl
or	/src/main/resource/public/error/404.html

Pages can also be named after the status series (5xx or 4xx).

Fixes gh-2691
2016-04-29 14:02:59 -07:00
Phillip Webb f468aff47f Merge remote-tracking branch '1.3.x' 2016-04-28 09:32:37 -07:00
Phillip Webb ef7b511b0e Polish 2016-04-28 09:29:49 -07:00
Stephane Nicoll 1ef3327441 Move multipart.* properties to spring.http.multipart.*
Closes gh-3044
2016-04-26 08:59:41 +02:00
Johnny Lim db2092e27d Polish
Closes gh-5798
2016-04-26 08:17:13 +02:00
Stephane Nicoll 23f669f8f5 Polish
See gh-5791
2016-04-26 08:11:33 +02:00
Dustin Schultz a3469c5e26 Update docs with Servlet property load ordering
Fixes gh-5752
Closes gh-5752
2016-04-25 14:20:20 -07:00
Eddú Meléndez 99b830ebe7 Support different schema/data DB script users
Allow data and/or schema scripts to be run by different database users.

Fixes gh-5402
Closes gh-5788
2016-04-25 12:37:36 -07:00
Gary Russell 12b9f0262b Add RabbitMQ Connection Timeout Property
Fixes gh-685
Closes gh-5791
2016-04-25 12:13:11 -07:00
Stephane Nicoll 11f763ef89 Polish doc
Closes gh-789
2016-04-24 05:46:26 +02:00
Matt Benson b9aee3678d Polish
See gh-4953
Closes gh-5745
2016-04-21 12:53:43 +02:00
Andy Wilkinson a6bcc6f573 Update Liquibase and Flyway docs and test other changelog formats
Closes gh-5741
2016-04-21 10:22:59 +01:00
Andy Wilkinson e748c5e6a0 Merge branch '1.3.x' 2016-04-20 17:47:45 +01:00
Andy Wilkinson 125483e7aa Add a note in the docs that default launch script only works on Linux
Closes gh-5446
2016-04-20 17:46:36 +01:00
Stephane Nicoll 0ea6fb3261 Improve error page documentation
Closes gh-5722
2016-04-19 13:17:23 +02:00
Johnny Lim 61b47079a4 Remove duplicate words
Closes gh-5731
2016-04-19 08:21:58 +02:00
Andy Wilkinson 1da9e4d80a Merge branch '1.3.x' 2016-04-18 17:42:44 +01:00
Andy Wilkinson 432969e61e Correct documented spring.factories key for management context config
Closes gh-5664
2016-04-18 17:41:44 +01:00
Johnny Lim 6d48ee9593 Polish
Closes gh-5714
2016-04-17 09:26:05 +02:00
Phillip Webb 15dee60049 Restore spring-boot-starter-ws
Rename spring-boot-starter-webservices back to spring-boot-starter-ws.
Unfortunately the starter exists in Spring Boot 1.3 so we can't rename
it without consequence.

See gh-5711
2016-04-16 08:30:56 -07:00
Stephane Nicoll 03fff6df79 Polish
See gh-5706
2016-04-16 10:43:11 +02:00
Phillip Webb 5881c9c74f Polish 2016-04-15 22:39:35 -07:00
Stephane Nicoll cc0fc07c0e Move `shell.*` to `management.shell.*`
This commit moves the `shell` namespace to `management.shell`

Closes gh-5703
2016-04-15 18:12:35 +02:00
Stephane Nicoll 6d11d73cbc Move `shell.auth` to `shell.auth.type`
This commit moves the `shell.auth` property to `shell.auth.type`. The
previous situation was unfortunate since `shell.auth` was both a group
and a particular property.

Closes gh-5139
2016-04-15 18:12:35 +02:00
Stephane Nicoll f561d9d9d8 Polish auto-configuration for Spring Web Services
Closes gh-5645
2016-04-15 11:01:15 +02:00
Stephane Nicoll e4106e592a Polish doc
Closes gh-5675
2016-04-15 08:58:18 +02:00
Stephane Nicoll 5bc290eac6 Improve Hibernate 5 specific documentation
Closes gh-5694
2016-04-15 08:54:35 +02:00