Commit Graph

2295 Commits

Author SHA1 Message Date
Andy Wilkinson 83c8c0b848 Fix layout of endpoint tables
See gh-9924
2017-08-04 13:15:18 +01:00
Andy Wilkinson 5c06bd5ab9 Merge branch '1.5.x' 2017-08-03 21:23:28 +01:00
Johnny Lim 56f47e1a50 Polish
Closes gh-9938
2017-08-03 21:17:10 +01:00
Madhura Bhave ea087b9bac Move liquibase config properties to spring.liquibase
Closes gh-9897
2017-08-01 10:24:47 -07:00
Madhura Bhave f9e316306a Move Flyway config properties to spring.flyway
Closes gh-9896
2017-08-01 10:24:47 -07:00
Andy Wilkinson bb55f49396 Remove concept of sensitivity from Actuator's endpoints
Closes gh-9924
2017-08-01 10:05:09 +01:00
Andy Wilkinson 9f75da9a8f Simplify the Actuator's hypermedia support
This commit replaces the Acuator's support for hypermedia with a
single endpoint that returns HAL-formatted links to all of the
available endpoints. This is done without requiring Spring HATEOAS
to be on the classpath in a similar manner to the existing
CloudFoundry discovery endpoint.

Closes gh-9901
2017-07-30 22:43:05 +01:00
Andy Wilkinson fb3d79c750 Drop support for self-hosted Actuator docs
Closes gh-9899
2017-07-29 09:19:53 +01:00
Andy Wilkinson c2459fce47 Raise the minimum version of Gradle to 4.0
Closes gh-9516
2017-07-28 14:35:33 +01:00
Spring Buildmaster 17a5bb0be4 Next development version 2017-07-27 08:00:21 +00:00
Stephane Nicoll 9575b4b723 Polish "Polish Hibernate naming strategy doc"
Closes gh-9763
2017-07-26 14:49:42 +02:00
Tom Hombergs eeee1bdae5 Polish Hibernate naming strategy doc
See gh-9763
2017-07-26 14:33:22 +02:00
Johnny Lim 9b15389009 Polish
Closes gh-9855
2017-07-26 13:39:47 +02:00
Stephane Nicoll 75fc0c38c8 Merge branch '1.5.x' 2017-07-26 13:39:25 +02:00
Johnny Lim fe1eb8b5f3 Polish
See gh-9855
2017-07-26 13:39:00 +02:00
Spring Buildmaster 41c5c0e7c9 Next development version 2017-07-26 08:30:55 +00:00
Andy Wilkinson 02e836b7a7 Allow Session's repository filter to be configured via the environment
Closes gh-8301
2017-07-25 09:26:14 +01:00
Stephane Nicoll b18a34924f Update InfluxDB documentation
Closes gh-9669
2017-07-25 08:55:32 +02:00
jnizet 99b394a668 replace reference to deprecated WebMvcConfigurerAdapter by WebMvcConfigurer 2017-07-25 07:04:05 +02:00
Stephane Nicoll 5516e8626c Merge branch '1.5.x' 2017-07-24 15:34:09 +02:00
Stephane Nicoll 9fd94720f1 Better customization of the auto-configured ActiveMQConnectionFactory
This commit exposes additional properties and a callback interface to
further tune the auto-configured ActiveMQConnectionFactory.

Closes gh-9667
2017-07-24 15:27:17 +02:00
Stephane Nicoll 6c21b0090b Merge branch '1.5.x' 2017-07-24 14:00:24 +02:00
Stephane Nicoll 9a34d952e9 Provide an alternative to `spring.activemq.pool.configuration`
This commit expands the support of PooledConnectionFactory so that
binding the third party object is no longer necessary. All 3rd party
properties are now deprecated in favour of our explicit support.

The main reason behind this change is that a `connection-factory` and
`properties` property were exposed. The former is used to set the
`ConnectionFactory` and makes no sense as a key. The latter is
rebuilding the underlying `ActiveMQConnectionFactory` at each call
without reusing any existing settings.

Closes gh-9837
2017-07-24 13:48:53 +02:00
Stephane Nicoll 8cae031441 Remove Devtools remote debugging support
Closes gh-9489
2017-07-22 15:23:52 +02:00
Phillip Webb 9db72450da Merge branch '1.5.x' 2017-07-19 10:23:23 -07:00
Phillip Webb 68910f2b8f Polish 2017-07-19 10:21:06 -07:00
Stephane Nicoll 10bcf60803 Merge branch '1.5.x' 2017-07-19 18:30:30 +02:00
Stephane Nicoll 9c28637185 Move code snippet to regular source file
Closes gh-9740
2017-07-19 18:29:39 +02:00
Stephane Nicoll 38ad582959 Polish "Add support for arbitrary producer/consumer Kafka properties"
Closes gh-9775
2017-07-19 18:17:55 +02:00
Gary Russell 191752d2c0 Add support for arbitrary producer/consumer Kafka properties
PR #7672 Added support for arbitrary common properties.

However, Kafka emits a warning if a producer configuration contains
properties intended only for consumers, and vice versa.

The documentation showed a sample of how to write code to configure
arbitrary properties but this is inconvenient.

Add arbitrary properties to the consumer and procucer configs.

See gh-9775
2017-07-19 18:02:28 +02:00
Andy Wilkinson bc5e4418ea Merge branch '1.5.x' 2017-07-19 14:41:39 +01:00
Andy Wilkinson 144d987cb8 Polish 2017-07-19 14:41:32 +01:00
Andy Wilkinson 3ba53a4c6f Merge branch '1.5.x' 2017-07-19 14:40:25 +01:00
Andy Wilkinson 29f1bd9953 Make it clearer that default config locations are always used
Closes gh-4062
2017-07-19 14:39:27 +01:00
Madhura Bhave 4e8592ffc5 Update documentation with new relaxed rules
Closes gh-9025
2017-07-14 12:07:55 -07:00
Stephane Nicoll e0a1fe99a4 Merge branch '1.5.x' 2017-07-13 09:22:06 +02:00
Stephane Nicoll e2880ee2c3 Polish "Improve ExitCodeGenerator doc"
Closes gh-9740
2017-07-13 09:21:36 +02:00
Tom Hombergs cf2ebbcb25 Improve ExitCodeGenerator doc
See gh-9740
2017-07-13 09:12:48 +02:00
Johnny Lim 360e3a492c Polish
closes gh-9729
2017-07-12 13:25:19 +02:00
Phillip Webb 8e3baf3130 Polish 2017-07-11 13:57:21 -07:00
Brian Clozel 7bbae21d62 Start documenting WebFlux support
This commit adds new reference documentation sections about WebFlux
support in Spring Boot:

* Support for multiple HTTP servers (gh-8403)
* `CodecCustomizer` and JSON codecs (gh-8897, gh-9166)
* `WebClient.Builder` auto-configuration (gh-9522)
* Tests with `@WebFluxTest` (gh-8401)
* `WebTestClient` auto-configuration (gh-8399)
* Support for Thymeleafi and Mustache templating (gh-8124, gh-8648)
* Choose another HTTP server with WebFlux (closes gh-9690)
2017-07-07 17:17:56 +02:00
Phillip Webb eb17aa06f9 Merge branch '1.5.x' 2017-07-06 18:38:52 -07:00
Phillip Webb aa57ca7e18 Polish 2017-07-06 16:53:04 -07:00
Madhura Bhave f6b613b0d4 Merge branch '1.5.x' 2017-06-29 11:33:56 -07:00
Madhura Bhave a064a52f0b Document health aggregation strategy and default status mappings
Closes gh-9580
2017-06-29 11:31:40 -07:00
Madhura Bhave 4dc5346a6d Merge branch '1.5.x' 2017-06-29 10:50:38 -07:00
Madhura Bhave 528e334e1c Document @EnableWebSecurity behavior when management security disabled
Closes gh-9270
2017-06-29 10:45:17 -07:00
Stephane Nicoll 7275c8795e Merge branch '1.5.x' 2017-06-27 16:59:29 +02:00
Stephane Nicoll 90112559bf Expand doc on `@MockBean` usage
Closes gh-9609
2017-06-27 16:59:16 +02:00
Stephane Nicoll 531c0708c1 Merge branch '1.5.x' 2017-06-27 16:49:38 +02:00
Stephane Nicoll d8d156bd1b Improve documentation on EnvironmentPostProcessor
Closes gh-9617
2017-06-27 16:49:14 +02:00
Stephane Nicoll e3a9d7647d Merge branch '1.5.x' 2017-06-27 08:53:57 +02:00
Dave Syer 21f616f853 Add short docs on using Google App Engine
Now that Google actually supports arbitrary docker container
execution in app engine, we can provide some more guidance
on how to use it in the "deployment" section.

Closes gh-9585
2017-06-27 08:53:22 +02:00
Johnny Lim 533c418ad4 Polish
Closes gh-9610
2017-06-27 08:51:11 +02:00
Stephane Nicoll 01272fa0cc Polish "Add health indicator for Neo4j"
Closes gh-9557
2017-06-26 11:04:34 +02:00
Andy Wilkinson f26f8176b6 Start building against Spring Session 2.0 snapshots
See gh-9541
2017-06-23 10:00:05 +02:00
Stephane Nicoll aac80e0b02 Polish
Closes gh-9570
2017-06-22 09:33:45 +02:00
Stephane Nicoll beb72ca8ee Merge branch '1.5.x' 2017-06-22 09:31:04 +02:00
Stephane Nicoll b037d7a4cb Polish 2017-06-22 09:29:47 +02:00
Johnny Lim 8ca70a7efd Polish
See gh-9570
2017-06-22 09:28:49 +02:00
Stephane Nicoll 350c701da3 Polish 2017-06-16 15:48:36 +02:00
Stephane Nicoll d559f7a5bb Harmonize key description
See gh-9374
2017-06-16 09:38:46 +02:00
Andy Wilkinson 4a030d5a7a Drop support for auto-configuring an embedded Elasticsearch node
Elastic have announced [1] that embedded Elasticsearch is no longer
supported. This commit brings us into line with that announcement by
removing the auto-configuration that would create an Elasticsearch
Node and NodeClient.

To use the Elasticsearch auto-configuration, a user must now provide
the address of one or more cluster nodes
(via the spring.elastisearch.cluster-nodes property) which will then
be used to create a TransportClient.

See gh-9374

[1] https://www.elastic.co/blog/elasticsearch-the-server
2017-06-15 19:52:24 +01:00
Stephane Nicoll 053b8b5853 Polish "Set Lettuce shutdown timeout properly"
Closes gh-9526
2017-06-15 13:49:52 +02:00
Stephane Nicoll dd53ed0aec Polish "Add Slice test annotation for Redis"
Closes gh-9224
2017-06-15 11:38:32 +02:00
Jayaram Pradhan 2d36d2a7e4 Add Slice test annotation for Redis
This commit adds new annotation `@DataRedisTest` which provides test
infrastructure for redis.

See gh-9224
2017-06-15 11:12:13 +02:00
Stephane Nicoll 4cb0a5cef3 Add a note about Redis customization
See gh-8894
2017-06-14 15:43:39 +02:00
Jeroen Heijmans 766655916e Adds maven install note for Windows
See also: https://chocolatey.org/packages/maven

Closes gh-9512
2017-06-14 14:12:12 +02:00
Stephane Nicoll f05f1bcfba Polish "Add support for Kafka batch listener"
This commit reworks the property to be an enum with the list of
supported listener types rather than a boolean that flip to a
batch listener.

Closes gh-9448
2017-06-14 11:15:31 +02:00
mzagar 257f44357e Add support for Kafka batch listener
This commit adds a `spring.kafka.listener.batch-listener` property so
that a batch listener is created automatically.

See gh-9448
2017-06-14 11:15:31 +02:00
Phillip Webb b94bb00fa1 Remove need for attached test-jar artifacts
Remove test-jar artifacts from Maven projects and relocate classes. The
majority of utilities now live in the `spring-boot-testsupport` module.

This update will help us to deploy artifacts using the standard Maven
deploy plugin in the future (which doesn't support the filtering of
individual artifacts).

Fixes gh-9493
2017-06-12 21:11:35 -07:00
Johnny Lim bbab520926 Polish
Closes gh-9438
2017-06-09 08:54:55 +03:00
Stephane Nicoll fe3e1cf1d3 Merge branch '1.5.x' 2017-06-09 08:54:40 +03:00
Stephane Nicoll 61eda3e6b0 Polish
See gh-9438
2017-06-09 08:53:49 +03:00
Spring Buildmaster 05d4d0281c Next Development Version 2017-06-08 12:47:16 +00:00
Stephane Nicoll e9dceb4207 Merge branch '1.5.x' 2017-06-07 18:49:22 +03:00
Stephane Nicoll bddf9232a8 Polish 2017-06-07 18:48:24 +03:00
Stephane Nicoll c2aca4d7f5 Document SpringPhysicalNamingStrategy
Closes gh-9084
2017-06-07 18:43:20 +03:00
Andy Wilkinson 901f37de93 Merge branch '1.5.x' 2017-06-07 13:45:48 +01:00
Andy Wilkinson 223b694d3a Sort the table of starter modules alphabetically
Closes gh-9422
2017-06-07 13:45:02 +01:00
Stephane Nicoll 05fbd5dc46 Merge branch '1.5.x' 2017-06-06 16:04:29 +02:00
Stephane Nicoll cbdab9edb3 Add support for custom ProtocolResolver with Devtools
Prior to this commit, custom `ProtocolResolvers` set on the
`ApplicationContext` were lost when Devtools is used as the customized
`ResourceLoader` did not copy any customization made to the default
resource loader.

This commit makes sure to copy any `ProtocolResolver` set on the context.

Closes gh-9331
2017-06-06 16:04:12 +02:00
Andy Wilkinson cdebfcdeef Merge branch '1.5.x' 2017-06-06 11:22:31 +01:00
Andy Wilkinson 5be5b13775 Clarify need for Apache HTTP Client to disable redirects in TestRestTemplate
Closes gh-9410
2017-06-06 11:14:15 +01:00
Andy Wilkinson 9464eea7ae Merge branch '1.5.x' 2017-06-06 10:43:11 +01:00
Andy Wilkinson a666919acf Increase prominence of warning about fully-executable jar compatibility
Closes gh-8927
2017-06-06 10:42:30 +01:00
Stephane Nicoll 068f904f24 Polish "Document InfluxDB support"
Closes gh-9404
2017-06-05 11:06:49 +02:00
Huang YunKun 0ee5048412 Document InfluxDB support
See gh-9404
2017-06-05 11:00:27 +02:00
Stephane Nicoll 540dca7bdd Revisit InfluxDB configuration structure
This commit removes the `client` namespace for InfluxDB as the
component that is created is `InfluxDB`, not `InfluxDBClient` or
something.

This aligns with all the other url/user/password properties Spring
Boot provides already

See gh-9066
2017-06-05 11:00:14 +02:00
Phillip Webb 2c7dd9f519 Polish 2017-06-02 16:00:39 -07:00
Stephane Nicoll d48c414a64 Use HikariCP is jdbc and jpa starters
This commit is a companion of what was done in #6013. As HikariCP is
now the default connection pool, the jdbc and jpa starters no longer
provide `tomcat-jdbc`, but rather `HikariCP`.

Closes gh-9392
2017-06-02 16:35:44 +02:00
Andy Wilkinson 84f0484aef Add dependencies needed for javadoc generation
See gh-9066
See gh-4299
2017-06-02 14:55:45 +01:00
Andy Wilkinson 45a337b515 Improve links to Gradle plugin's documentation
Closes gh-9386
2017-06-02 14:46:11 +01:00
Stephane Nicoll 5e5b7e20ff Merge branch '1.5.x' 2017-06-02 14:57:08 +02:00
Stephane Nicoll e94f21356d Fix typo 2017-06-02 14:56:10 +02:00
Stephane Nicoll c736a1698b Clarify default value of `ConditionalOnMissingBean` on bean methods
Closes gh-9387
2017-06-02 14:55:58 +02:00
Stephane Nicoll 297127e075 Polish "Add influxDB java client auto-configuration"
Closes gh-9066
2017-06-02 10:47:50 +02:00
Stephane Nicoll ba1bc45a53 Polish "Add PoolingOptions to CasandraProperties"
Closes gh-7946
2017-06-01 16:04:49 +02:00
Vladimir Tsanev 2aafc7daa9 Add PoolingOptions to CasandraProperties
This change allows users to configure some basic pooling
options for cassandra driver via configuration properties.

See gh-7946
2017-06-01 14:33:14 +02:00
Stephane Nicoll 605dee4700 Allow to reset a log level
This commit ensures that `setLogLevel` on the `LoggingSystem` accepts
a `null` level. A `null` level means any customization sets on that
level should be removed and the default configuration should be used
instead.

Effectively, the level of the parent logger is going to be used when
`setLevel` is called with `null` for a given logger.

Most JMX clients do not accept to pass `null` for an argument so an
empty String is translated to null in that specific case.

Closes gh-8776
2017-06-01 14:31:07 +02:00