2098 Commits

Author SHA1 Message Date
Stephane Nicoll
ae3225e76e Mention that Lettuce requires commons-pool2
We intend to remove this limitation in a future milestone but as the
Lettuce auto-configuration requires `commons-pool2`, this commit updates
the How-To to mention that.

See gh-9091
2017-05-04 14:03:50 +02:00
Andy Wilkinson
11c3c4c20b Drop support for org.json:json-based JSON parsing
Closes gh-8710
2017-05-04 10:27:51 +01:00
Stephane Nicoll
05cf41bd9e Merge branch '1.5.x' 2017-05-04 10:42:25 +02:00
Stephane Nicoll
81e3b392c3 Merge branch '1.4.x' into 1.5.x 2017-05-04 10:42:03 +02:00
Stephane Nicoll
e8f99dc01c Fix typo
Closes gh-9082
2017-05-04 10:41:21 +02:00
Andy Wilkinson
329a950bd8 Remove testing support from the CLI
The testing support in the CLI has proven to be more trouble than
it's worth. Our recommendation is that, once an app gets to the stage
of requiring a test suite, it should be converted to a Maven or
Gradle project. This makes it easy to version, publish, deploy etc
using the vast ecosystems of the two build systems.

As part of this change, the dependency management for Spock has been
moved into spring-boot-parent, thereby making it "private". This
allows it to continue to manage the test-only Spock dependency in
spring-boot-test without also managing the version of Spring that is
used by a user's application.

Closes gh-9087
Fixes gh-9043
2017-05-04 09:35:29 +01:00
Stephane Nicoll
de268d97e2 Add auto-configuration for reactive Redis
This commit provides an auto-configuration for reactive Redis and a
starter that provides Lettuce as Jedis doesn't support reactive
operations.

There are no support for reactive redis repositories at the moment so
only a `ReactiveRedisTemplate` is auto-configured if necessary.

Closes gh-8053
2017-05-04 09:25:36 +02:00
Stephane Nicoll
6a386c34d5 Merge branch '1.5.x' 2017-05-03 09:11:55 +02:00
Stephane Nicoll
54a8dc5b33 Merge branch '1.4.x' into 1.5.x 2017-05-03 09:11:37 +02:00
Stephane Nicoll
e2b209e409 Polish "Clarify and re-organize docs on caching"
Closes gh-9065
2017-05-03 09:10:47 +02:00
Dave Syer
11feb75752 Clarify and re-organize docs on caching
See gh-9065
2017-05-03 09:01:45 +02:00
Stephane Nicoll
e7efa8f133 Polish "Add Lettuce Redis driver autoconfiguration"
Closes gh-5311
2017-05-02 15:40:40 +02:00
Mark Paluch
4563da9ac7 Add Lettuce Redis driver autoconfiguration
Introduce an alternative autoconfiguration if the lettuce Redis driver is
available. Add Lettuce-specific configuration property options
"spring.redis.lettuce.shutdown-timeout" to control the shutdown timeout
of the lettuce driver. Add documentation for the properties, the
supported drivers, and how to switch between drivers.

Split client-specific properties from spring.redis.pool to
spring.redis.jedis.pool and introduce spring.redis.lettuce namespace.
Deprecate spring.redis.pool property.

See gh-5311
2017-05-02 13:33:34 +02:00
Stephane Nicoll
43fb99aafa Merge branch '1.5.x' 2017-05-02 12:14:00 +02:00
Stephane Nicoll
652a5e7baa Merge branch '1.4.x' into 1.5.x 2017-05-02 12:13:44 +02:00
Stephane Nicoll
f060922350 Fix cache example in the doc
Closes gh-8983
2017-05-02 11:58:50 +02:00
Michael J. Simons
18230d7f23 Fix several broken links to sources
Closes gh-9042
2017-04-29 21:22:16 +02:00
Phillip Webb
72813a47e7 Polish 2017-04-28 10:59:14 -07:00
Brian Clozel
3cc0f7b70d Document embedded web server refactoring
Closes gh-8532
2017-04-28 18:25:36 +02:00
Michael J. Simons
4a58e87201 Remove references to *EmbeddedServletContainerFactory
See gh-8532
2017-04-28 18:25:36 +02:00
Michael J. Simons
0436070b98 Fix docs howto customize the embedded webserver
This reflects the changes from 67556ba8.
See gh-8532.
2017-04-28 18:25:36 +02:00
Brian Clozel
f2c63706da Change default file extension for Mustache templates
This commit changes the default file extension for Mustache templates,
from `.html` to `.mustache`, which is the file extension used in the
official reference documentation and by most IDE plugins.

Fixes gh-8997
2017-04-28 14:12:26 +02:00
Brian Clozel
4d5dcca553 Add Thymeleaf auto-configuration for WebFlux
Thymeleaf 3.0 implements the Spring 5.0 view infrastructure for WebMVC
and the new WebFlux framework. This commit adds auto-configuration for
the WebFlux support.

In that process, the configuration property for `spring.thymeleaf` has
been changed to add `spring.thymeleaf.servlet` and
`spring.thymeleaf.reactive` for MVC/WebFlux specific properties.

Now that the `spring-boot-starter-thymeleaf` does not only support
Spring MVC, the transitive dependency on `spring-boot-starter-web` is
removed from it.

Fixes gh-8124
2017-04-28 14:11:45 +02:00
Phillip Webb
45dd9f7144 Polish 2017-04-27 12:04:02 -07:00
Vedran Pavic
33dd9d6d84 Remove Spring Session Mongo support
Remove auto-configuration support for Spring Session Mongo since it is
no longer supported in Spring Session 2.0.

See gh-9011
2017-04-27 10:59:22 -07:00
Stephane Nicoll
800eb010b1 Change the default JDBC connection pool to Hikari
Closes gh-6013
2017-04-27 16:11:45 +02:00
Stephane Nicoll
df388aaaf9 Polish doc 2017-04-27 14:19:16 +02:00
Stephane Nicoll
e9abe3fcca Polish "Do not expose exception error attribute by default"
Closes gh-8971
2017-04-27 11:15:44 +02:00
Vedran Pavic
afe0c6f432 Do not expose exception error attribute by default
See gh-8971
2017-04-27 10:57:04 +02:00
Stephane Nicoll
f5db75792e Add support for configuring Jetty's request log via the environment
Closes gh-8819
2017-04-27 10:46:38 +02:00
olivier lamy
ce892a06e4 Add support for configuring Jetty's request log via the environment
See gh-8819
2017-04-26 19:35:43 +02:00
Stephane Nicoll
47037d5227 Polish "Add reactive support for Spring Data Cassandra"
Closes gh-8568
2017-04-26 15:31:01 +02:00
Eddú Meléndez
abd35f041b Add reactive support for Spring Data Cassandra
See gh-8568
2017-04-26 15:31:01 +02:00
Stephane Nicoll
3e60ec6cb4 Polish "Add database initializer for Spring Integration"
Closes gh-8881
2017-04-24 15:16:07 +02:00
Vedran Pavic
48bc29c77a Add database initializer for Spring Integration
See gh-8881
2017-04-24 14:46:40 +02:00
Stephane Nicoll
144868a3ce Polish "Support of Neo4j auto-index configuration"
Closes gh-8843
2017-04-24 11:18:05 +02:00
Aurélien Leboulanger
779733c379 Support of Neo4j auto-index configuration
See gh-8843
2017-04-24 11:01:38 +02:00
Spring Buildmaster
9768b0a8c2 Next Development Version 2017-04-21 08:32:01 +00:00
Spring Buildmaster
d719d2cbbc Next Development Version 2017-04-20 12:46:19 +00:00
Phillip Webb
81fef71fcb Merge branch '1.5.x' 2017-04-19 22:48:46 -07:00
Dave Syer
14638e67bc Extended PropertiesLauncher class location logic
Update `PropertiesLauncher` so that classes can be loaded outside of
`BOOT-INF/classes`. You can use a subdirectory, or the root directory
of an external jar (but not the parent archive to avoid issues
with agents and awkward delegation models).

Fixes gh-8480
Closes gh-8486
2017-04-19 22:18:12 -07:00
Madhura Bhave
359854eb85 Merge branch '1.5.x' 2017-04-19 15:44:28 -07:00
Madhura Bhave
2a7fd5011d Clarify docs on actuator security
Closes gh-8646
2017-04-19 15:32:02 -07:00
Madhura Bhave
115b369633 Update documentation with new default prefix for actuators
Closes gh-6886
2017-04-19 15:01:12 -07:00
Stephane Nicoll
42c1eb894e Merge branch '1.5.x' 2017-04-14 13:58:03 +02:00
Stephane Nicoll
8c21e16cf1 Add reference to Infinispan starter
Closes gh-8592
2017-04-14 13:57:47 +02:00
Stephane Nicoll
04ee374e7f Polish "Add slice test annotation for LDAP"
Closes gh-8536
2017-04-14 10:51:43 +02:00
Eddú Meléndez
2830bef95c Add slice test annotation for LDAP
This commit adds new annotation `@DataLdapTest` which provides test
infrastructure for LDAP. By default, embedded ldap server is initialized
if available.

See gh-8536
2017-04-14 10:39:03 +02:00
Stephane Nicoll
50331102b7 Review configuration properties appendix 2017-04-13 10:36:41 +02:00
Stephane Nicoll
8cd4f13464 Merge branch '1.5.x' 2017-04-13 10:25:14 +02:00