Commit Graph

1459 Commits

Author SHA1 Message Date
Vedran Pavic 7669c3c468 Move "Using jOOQ" section under "Working with SQL databases" section
Closes gh-6462
2016-07-26 09:48:35 +02:00
Andy Wilkinson 595902703b Fix level of section in build tool plugins documentation 2016-07-20 20:56:50 +01:00
Andy Wilkinson 2e5d189299 Merge branch '1.3.x' 2016-07-20 07:05:54 +01:00
Andy Wilkinson 197f67c867 Correct OpenShift instructions to use action_hooks not action_scripts
Closes gh-6419
2016-07-20 07:05:38 +01:00
Andy Wilkinson 93ceb980bc Recommend against using compileOnly in favour of providedRuntime
Closes gh-5461
2016-07-19 15:40:57 +01:00
Andy Wilkinson 409f160150 Merge branch '1.3.x' 2016-07-19 12:08:06 +01:00
Andy Wilkinson a22071724a Make it clearer that unconfigured WebSecConfigAdapter matches any path
Closes gh-5046
2016-07-19 12:07:45 +01:00
Stephane Nicoll d5441d27f6 Polish doc 2016-07-19 09:31:03 +02:00
Phillip Webb 05ff4ed4e0 Upgrade to Tomcat 8.5.4 & remove tomcat-juli
Upgrade the managed Tomcat dependency to 8.5.4 and remove `tomcat-juli`
since it's now included in `tomcat-embed-core`.

Fixes gh-6192
2016-07-18 17:52:35 -07:00
Andy Wilkinson 48596dfbde Document workaround for CRaSH's limited class path scanning
Closes gh-6384
2016-07-18 12:11:45 +01:00
Phillip Webb 34893eee9d Refine service documentation
See gh-5505
2016-07-17 11:58:19 -07:00
Stephane Nicoll 1f3d9235a8 Fix typo 2016-07-16 18:20:32 +02:00
Phillip Webb db287782a2 Remove duplicate documentation bookmark
See gh-5505
2016-07-15 16:29:33 -07:00
Phillip Webb 291f131e60 Remove `/urandom` references from the docs
Remove a dangling line left after commit 7b641d5d.

Fixes gh-6229
2016-07-15 15:34:24 -07:00
Phillip Webb a1345e17f1 Improve "fully executable jars" documentation
Closes gh-5505
2016-07-15 15:32:13 -07:00
Phillip Webb 51ede0cac6 Document ConfigFile...Initializer limitations
Update the reference documentation with a note about the limitations of
ConfigFileApplicationContextInitializer.

Fixes gh-6120
2016-07-15 13:16:33 -07:00
Phillip Webb 7b641d5d55 Remove `/urandom` references from the docs
Fixes gh-6229
2016-07-15 13:06:57 -07:00
Stephane Nicoll 5a941bb5a5 Polish doc
See gh-4313
2016-07-14 10:00:51 +02:00
Stephane Nicoll 6d33adc5dd Add "Merging YAML lists" documentation
Add a dedicated section to explain how YAML lists are merged.

See gh-4313
2016-07-13 15:34:14 -07:00
Andy Wilkinson 041da3b6cd Document how to configure a component that Hibernate depends upon
Closes gh-6333
2016-07-13 12:19:24 +01:00
Stephane Nicoll 6bd7a2fedd Deprecate HornetQ support
Closes gh-6377
2016-07-13 10:06:19 +02:00
Andy Wilkinson db83e89922 Add support for Thymeleaf 3 while keeping Thymeleaf 2 as the default
Closes gh-4393
2016-07-12 23:02:04 +01:00
Phillip Webb 3e62933096 Polish 2016-07-11 10:40:13 -07:00
Stephane Nicoll fcf535901e Polish doc
Closes gh-6008
2016-07-11 13:31:27 +02:00
Stephane Nicoll 277da462ce Document differences between @Value and @ConfigurationProperties
Closes gh-4892
2016-07-11 12:23:30 +02:00
Stephane Nicoll a72e494896 Merge branch '1.3.x' 2016-07-11 11:08:52 +02:00
Stephane Nicoll 78879f4bdb Fix documentation
Closes gh-6358
2016-07-11 11:08:36 +02:00
Andy Wilkinson ccaa19d51f Document how to configure a RestTemplate to use a proxy
Closes gh-6331
2016-07-07 10:58:09 +01:00
Andy Wilkinson 3286760073 Make it easier to add auto-configuration to a test slice
Previously, an entry had to be added to spring.factories using the
name of one of the @AutoConfigure… meta-annotations on the @…Test
annotation as the key. This indirection was unnecessarily complicated.

This commit simplifies things by allowing the name of the @…Test
annotation itself to be used as the key.

Closes gh-6335
2016-07-06 16:44:26 +01:00
Stephane Nicoll 05dad45172 Add proxy configuration for Jest client
Closes gh-6332
2016-07-06 14:43:30 +02:00
Andy Wilkinson 5c44c77287 Document auto-configuration classes imported by each @…Test annotation
Closes gh-6044
2016-07-06 12:20:51 +01:00
Stephane Nicoll 4b91965dde Fix indent 2016-07-05 11:26:15 +02:00
Stephane Nicoll 78e580c8db Polish 2016-07-05 11:19:11 +02:00
Stephane Nicoll 0545231049 Polish 2016-07-05 10:37:22 +02:00
Spring Buildmaster 2216369348 Next Development Version 2016-07-04 14:15:02 +00:00
Phillip Webb b5df4f8d08 Merge branch '1.3.x' 2016-07-03 21:55:38 -07:00
Phillip Webb e452373c04 Fix imports in health sample documentation
Fixes gh-6312
2016-07-03 21:52:57 -07:00
Stephane Nicoll a71ad73065 Document missing property 2016-07-03 17:10:43 +02:00
Phillip Webb 2583a534e6 Document heapdump endpoint
See gh-5670
2016-07-02 11:15:47 -07:00
Johnny Lim 4d0313f9c0 Remove duplicate property reference
Closes gh-6304
2016-07-01 16:00:38 +02:00
Stephane Nicoll 00a56cdf31 Merge branch '1.3.x' 2016-07-01 14:07:18 +02:00
Stephane Nicoll 49fefdafd8 Fix doc formatting
Closes gh-6275
2016-07-01 14:07:01 +02:00
Stephane Nicoll 0ea2626867 Improve Spring Session documentation
Closes gh-6256
2016-06-30 15:40:45 +02:00
Vedran Pavic a251ea8bc7 Add Spring Session JDBC database initializer
See gh-5879
2016-06-30 15:23:54 +02:00
Andy Wilkinson 2b970f9efc Allow Tomcat context root redirect to be configured via the environment
This commit adds a new property, server.tomcat.redirect-context-root,
that can be used to configure the Tomcat Context’s 
mapperContextRootRedirectEnabled property. The default is to not apply
any configuration and, therefore, to use Tomcat’s default of true.

Closes gh-6248
2016-06-30 12:47:42 +01:00
Johnny Lim 5bc9d5b380 Polish
Closes gh-6244
2016-06-29 08:08:53 +02:00
Stephane Nicoll fc4d8b99d6 Allow to configure Tomcat's renameOnRotate property
Closes gh-5981
2016-06-28 16:38:01 +02:00
Stephane Nicoll 397c64d256 Polish "Add schemaAction property"
Closes gh-5855
2016-06-28 10:21:48 +02:00
Mark Paluch e85cb2c4c5 Add schemaAction property to CassandraProperties
Set schemaAction property in CassandraSessionFactoryBean. Use relaxed
property resolver for enum lookup of the configured schemaAction.

See gh-5855
2016-06-28 10:21:24 +02:00
Andy Wilkinson 94ba6bdae2 Polish “Allow connection timeout to be configured via the environment”
- Preserve default connection timeout when server.connection-timeout
   has not been set
 - Apply standard coding conventions and formatting

See gh-6072
2016-06-27 16:56:16 +01:00
Misagh Moayyed 6007d7efc1 Allow connection timeout to be configured via the environment
Closes gh-6072
2016-06-27 16:56:16 +01:00
Stephane Nicoll 84b2ff5c38 Polish "Add ability to filter cookies in trace data"
Closes gh-6018
2016-06-27 16:41:10 +02:00
Stephane Nicoll 5656e83ba9 Enable logging of resolved exceptions
Previously, if an exception was resolved by a `HandlerExceptionResolver`
nothing the log indicated a failure to process the query.

This commit adds a new property `spring.mvc.log-resolved-exception` that
enables warning logs for supported `HandlerExceptionResolver` instances.

When Devtools is enabled, this flag is enabled by default.

Closes gh-2176
2016-06-27 14:37:44 +02:00
Andy Wilkinson 618535f576 Polish “Allow management server SSL to be configured independently”
This commit polishes b0fbc7e, throwing an exception when an attempt is
made to configure management-specific SSL without also configuring a
custom management port. The testing of management-specific SSL
configuration has also been improved.

See gh-6057
Closes gh-4810
2016-06-27 13:24:42 +01:00
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