Commit Graph

2317 Commits (95697688cf1fabe535b6fb9b763e6facd11a0f37)

Author SHA1 Message Date
Stephane Nicoll 38ad582959 Polish "Add support for arbitrary producer/consumer Kafka properties"
Closes gh-9775
7 years ago
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
7 years ago
Andy Wilkinson bc5e4418ea Merge branch '1.5.x' 7 years ago
Andy Wilkinson 144d987cb8 Polish 7 years ago
Andy Wilkinson 3ba53a4c6f Merge branch '1.5.x' 7 years ago
Andy Wilkinson 29f1bd9953 Make it clearer that default config locations are always used
Closes gh-4062
7 years ago
Madhura Bhave 4e8592ffc5 Update documentation with new relaxed rules
Closes gh-9025
7 years ago
Stephane Nicoll e0a1fe99a4 Merge branch '1.5.x' 7 years ago
Stephane Nicoll e2880ee2c3 Polish "Improve ExitCodeGenerator doc"
Closes gh-9740
7 years ago
Tom Hombergs cf2ebbcb25 Improve ExitCodeGenerator doc
See gh-9740
7 years ago
Johnny Lim 360e3a492c Polish
closes gh-9729
7 years ago
Phillip Webb 8e3baf3130 Polish 7 years ago
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)
7 years ago
Phillip Webb eb17aa06f9 Merge branch '1.5.x' 7 years ago
Phillip Webb aa57ca7e18 Polish 7 years ago
Madhura Bhave f6b613b0d4 Merge branch '1.5.x' 7 years ago
Madhura Bhave a064a52f0b Document health aggregation strategy and default status mappings
Closes gh-9580
7 years ago
Madhura Bhave 4dc5346a6d Merge branch '1.5.x' 7 years ago
Madhura Bhave 528e334e1c Document @EnableWebSecurity behavior when management security disabled
Closes gh-9270
7 years ago
Stephane Nicoll 7275c8795e Merge branch '1.5.x' 8 years ago
Stephane Nicoll 90112559bf Expand doc on `@MockBean` usage
Closes gh-9609
8 years ago
Stephane Nicoll 531c0708c1 Merge branch '1.5.x' 8 years ago
Stephane Nicoll d8d156bd1b Improve documentation on EnvironmentPostProcessor
Closes gh-9617
8 years ago
Stephane Nicoll e3a9d7647d Merge branch '1.5.x' 8 years ago
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
8 years ago
Johnny Lim 533c418ad4 Polish
Closes gh-9610
8 years ago
Stephane Nicoll 01272fa0cc Polish "Add health indicator for Neo4j"
Closes gh-9557
8 years ago
Andy Wilkinson f26f8176b6 Start building against Spring Session 2.0 snapshots
See gh-9541
8 years ago
Stephane Nicoll aac80e0b02 Polish
Closes gh-9570
8 years ago
Stephane Nicoll beb72ca8ee Merge branch '1.5.x' 8 years ago
Stephane Nicoll b037d7a4cb Polish 8 years ago
Johnny Lim 8ca70a7efd Polish
See gh-9570
8 years ago
Stephane Nicoll 350c701da3 Polish 8 years ago
Stephane Nicoll d559f7a5bb Harmonize key description
See gh-9374
8 years ago
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
8 years ago
Stephane Nicoll 053b8b5853 Polish "Set Lettuce shutdown timeout properly"
Closes gh-9526
8 years ago
Stephane Nicoll dd53ed0aec Polish "Add Slice test annotation for Redis"
Closes gh-9224
8 years ago
Jayaram Pradhan 2d36d2a7e4 Add Slice test annotation for Redis
This commit adds new annotation `@DataRedisTest` which provides test
infrastructure for redis.

See gh-9224
8 years ago
Stephane Nicoll 4cb0a5cef3 Add a note about Redis customization
See gh-8894
8 years ago
Jeroen Heijmans 766655916e Adds maven install note for Windows
See also: https://chocolatey.org/packages/maven

Closes gh-9512
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Johnny Lim bbab520926 Polish
Closes gh-9438
8 years ago
Stephane Nicoll fe3e1cf1d3 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 61eda3e6b0 Polish
See gh-9438
8 years ago
Spring Buildmaster 05d4d0281c Next Development Version 8 years ago
Stephane Nicoll e9dceb4207 Merge branch '1.5.x' 8 years ago
Stephane Nicoll bddf9232a8 Polish 8 years ago
Stephane Nicoll c2aca4d7f5 Document SpringPhysicalNamingStrategy
Closes gh-9084
8 years ago
Andy Wilkinson 901f37de93 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 223b694d3a Sort the table of starter modules alphabetically
Closes gh-9422
8 years ago
Stephane Nicoll 05fbd5dc46 Merge branch '1.5.x' 8 years ago
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
8 years ago
Andy Wilkinson cdebfcdeef Merge branch '1.5.x' 8 years ago
Andy Wilkinson 5be5b13775 Clarify need for Apache HTTP Client to disable redirects in TestRestTemplate
Closes gh-9410
8 years ago
Andy Wilkinson 9464eea7ae Merge branch '1.5.x' 8 years ago
Andy Wilkinson a666919acf Increase prominence of warning about fully-executable jar compatibility
Closes gh-8927
8 years ago
Stephane Nicoll 068f904f24 Polish "Document InfluxDB support"
Closes gh-9404
8 years ago
Huang YunKun 0ee5048412 Document InfluxDB support
See gh-9404
8 years ago
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
8 years ago
Phillip Webb 2c7dd9f519 Polish 8 years ago
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
8 years ago
Andy Wilkinson 84f0484aef Add dependencies needed for javadoc generation
See gh-9066
See gh-4299
8 years ago
Andy Wilkinson 45a337b515 Improve links to Gradle plugin's documentation
Closes gh-9386
8 years ago
Stephane Nicoll 5e5b7e20ff Merge branch '1.5.x' 8 years ago
Stephane Nicoll e94f21356d Fix typo 8 years ago
Stephane Nicoll c736a1698b Clarify default value of `ConditionalOnMissingBean` on bean methods
Closes gh-9387
8 years ago
Stephane Nicoll 297127e075 Polish "Add influxDB java client auto-configuration"
Closes gh-9066
8 years ago
Stephane Nicoll ba1bc45a53 Polish "Add PoolingOptions to CasandraProperties"
Closes gh-7946
8 years ago
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
8 years ago
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
8 years ago
Stephane Nicoll 5ea3ab4595 Polish "Allow to customize the JdbcTemplate"
Closes gh-7960
8 years ago
Stephane Nicoll ad85902880 Reuse JdbcTemplate in NamedParameterJdbcTemplate
This commit makes sure to reuse an existing or auto-configured
`JdbcTemplate` when auto-configuring a `NamedParameterJdbcTemplate`.

This ensures that whatever customizations have been applied on the
`JdbcTemplate` are properly shared.

Closes gh-4945
8 years ago
Stephane Nicoll d096dcad1d Polish "Add @JooqTest"
Closes gh-9343
8 years ago
Michael J. Simons 00a643f9d8 Add @JooqTest
This commit provides test slicing for jOOQ.

See gh-9343
8 years ago
Stephane Nicoll 026682d7e3 Polish jOOQ auto-configuration 8 years ago
Stephane Nicoll efdf451e6e Polish "Auto-detect jOOQ dialect"
Closes gh-9355
8 years ago
Michael J. Simons 1b4c5dffaf Auto-detect jOOQ dialect
See gh-9355
8 years ago
Stephane Nicoll 59a15b259c Polish "Add Quartz Scheduler support"
Closes gh-4299
8 years ago
Vedran Pavic 9e23206c31 Add Quartz Scheduler support
See gh-4299
8 years ago
Vedran Pavic e9ac41f83f Add Spring Data Web configuration properties
This commit adds support for configuring Spring Data Web
`PageableHandlerMethodArgumentResolver` and
`SortHandlerMethodArgumentResolver` using configuration properties.

See gh-9339
8 years ago
Johnny Lim 1ac385c4f6 Add a missing 'io.spring.dependency-management' in doc
Closes gh-9352
8 years ago
Stephane Nicoll 6664ce19d6 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 544d516563 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 250d5f9a52 Deprecate Atomikos console logs properties
Those properties are no longer honoured with Atomikos 3.8 and we're
using 3.9 by default.

Closes gh-9292
8 years ago
Stephane Nicoll 337e645263 Upgrade to Atomikos 4.0.4
Closes gh-5591
8 years ago
Stephane Nicoll 9332a3a4ae Merge branch '1.5.x' 8 years ago
Stephane Nicoll b5709fd618 Polish
See gh-9330
8 years ago
Andy Wilkinson d4140d6a69 Configure Undertow to eagerly initialize Filters by default
Closes gh-9232
8 years ago
Stephane Nicoll 390be7a59d Merge branch '1.5.x' 8 years ago
Stephane Nicoll b61b1f0e08 Make sure Atomikos default are applied consistently
This commit makes sure to apply Atomikos defaults also adds a test that
validates Atomikos defaults are consistent.

As a side effect of that, `threadedTwoPhaseCommit` is now `false` (which
is effectively what users got with no customization anyway since that
default was changed in Atomikos 3.7

Closes gh-9141
8 years ago
Stephane Nicoll c1c0b0f3b3 Add missing properties 8 years ago
Madhura Bhave bd37089fbf Merge branch '1.5.x' 8 years ago
Madhura Bhave 57dfbd50a7 Fix documentation for health endpoint security
Fixes gh-9273
8 years ago
Stephane Nicoll f0d34250b0 Merge branch '1.5.x' 8 years ago
Stephane Nicoll f8de022f0a Fix typo
Closes gh-9257
8 years ago
Stephane Nicoll f707582570 Add missing custom status in example
Closes gh-9256
8 years ago
Phillip Webb 889d43ddc4 Refine SpringApplication source types
Update `SpringApplication` so that the `run` methods and constructors
now require `Class<?>` arguments, rather than `Objects`. String based
sources can still be loaded, but must now be set on the `getSources()`
collections. `Package` and `Resource` types are no longer directly
supported.

This change should help IDEs offer better content assist, and will
help integrations with alternative languages such as Ceylon.

Users currently passing in Class references or using the
`spring.main.sources` property should not be affected by this change. If
an XML resource is being used, some refactoring may be required (see the
changes to `SampleSpringXmlApplication` in this commit).

Fixes gh-9170
8 years ago
Andy Wilkinson 2c96bce5cd Address some warnings that are output during javadoc generation 8 years ago
Andy Wilkinson 634e70fb25 Update docs on using Spock following release of Spock 1.1 8 years ago
Stephane Nicoll 2e94fd4434 Remove support for Spring Loaded
Closes gh-7978
8 years ago
Stephane Nicoll cdf5f6e0ee Add support for deprecation level in manual metadata
This commit allows to specify a deprecation level to a manual metadata
entry. The purpose of that new attribute is to distinguish cases where
the property is still bound (default) from cases where the property no
longer exists and won't be bound.

This gives the opportunity to IDEs to still show the property as an
error and offer documentation and an action to rename it if a
replacement exists.

Closes gh-9074
8 years ago
Stephane Nicoll 800ec29f70 Fix datasource example 8 years ago
Stephane Nicoll 1480f0717f Polish "Add Kafka Kerberos Configuration Properties"
Closes gh-9151
8 years ago
Gary Russell c4cfc4dd0c Add Kafka Kerberos Configuration Properties
See gh-9151
8 years ago
Brian Clozel 4a47c1eff8 Keep default Thymeleaf media types in reactive support
This commit removes the default configuration value previously set
for `spring.thymeleaf.reactive.media-types` since this value overrides
the defaults provided by Thymeleaf.

This value does not drive the default media type used by views, but
rather all media types that the templating engine should support.

Fixes gh-9134
8 years ago
Andy Wilkinson 47807b8925 Upgrade to SendGrid 3.2.0
Closes gh-9211
8 years ago
Andy Wilkinson b71daac58a Remove redundant logic for uninstalling Tomcat's URL stream handler factory
Closes gh-8622
8 years ago
Stephane Nicoll 527c2e7b75 Add support for deprecation level in manual metadata
This commit allows to specify a deprecation level to a manual metadata
entry. The purpose of that new attribute is to distinguish cases where
the property is still bound (default) from cases where the property no
longer exists and won't be bound.

This gives the opportunity to IDEs to still show the property as an
error and offer documentation and an action to rename it if a
replacement exists.

Closes gh-9074
8 years ago
Stephane Nicoll bb2a81cb6e Document `spring.main.web-application-type`
Closes gh-9159
8 years ago
Johnny Lim 53e5d67cde Polish
Closes gh-9103
8 years ago
Stephane Nicoll 2894e57146 Polish "Support direct AMQP container"
Closes gh-9055
8 years ago
Gary Russell 6eddf1b372 Support direct AMQP container
Add support for auto configuration - select container type and separate
discrete properties.

See gh-9055
8 years ago
Stephane Nicoll 0f38031f93 Merge branch '1.5.x' 8 years ago
Stephane Nicoll e236b71615 Move RabbitMQ Simple listener support to dedicated namespace
Move `spring.rabbitmq.listener.*` to `spring.rabbitmq.listener.simple.*`
in preparation for Spring AMQP 2.0 that supports different container
types.

Closes gh-9108
See gh-9055
8 years ago
Andy Wilkinson 3abd8d3adf Drop support for configuring PropertiesLauncher with application.properties
Closes gh-8464
8 years ago
Andy Wilkinson 525f421441 Update MultipartProperties' prefix to reflect that it's Servlet-specific
Closes gh-8628
8 years ago
Stephane Nicoll 0aded58884 Polish "Add auto-configuration support for Hazelcast client"
Closes gh-7469
8 years ago
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
8 years ago
Andy Wilkinson 11c3c4c20b Drop support for org.json:json-based JSON parsing
Closes gh-8710
8 years ago
Stephane Nicoll 05cf41bd9e Merge branch '1.5.x' 8 years ago
Stephane Nicoll 81e3b392c3 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll e8f99dc01c Fix typo
Closes gh-9082
8 years ago
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
8 years ago
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
8 years ago
Stephane Nicoll 6a386c34d5 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 54a8dc5b33 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll e2b209e409 Polish "Clarify and re-organize docs on caching"
Closes gh-9065
8 years ago
Dave Syer 11feb75752 Clarify and re-organize docs on caching
See gh-9065
8 years ago
Stephane Nicoll e7efa8f133 Polish "Add Lettuce Redis driver autoconfiguration"
Closes gh-5311
8 years ago
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
8 years ago
Stephane Nicoll 43fb99aafa Merge branch '1.5.x' 8 years ago
Stephane Nicoll 652a5e7baa Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll f060922350 Fix cache example in the doc
Closes gh-8983
8 years ago
Michael J. Simons 18230d7f23 Fix several broken links to sources
Closes gh-9042
8 years ago
Phillip Webb 72813a47e7 Polish 8 years ago
Brian Clozel 3cc0f7b70d Document embedded web server refactoring
Closes gh-8532
8 years ago
Michael J. Simons 4a58e87201 Remove references to *EmbeddedServletContainerFactory
See gh-8532
8 years ago
Michael J. Simons 0436070b98 Fix docs howto customize the embedded webserver
This reflects the changes from 67556ba8.
See gh-8532.
8 years ago
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
8 years ago
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
8 years ago
Phillip Webb 45dd9f7144 Polish 8 years ago
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
8 years ago
Stephane Nicoll 800eb010b1 Change the default JDBC connection pool to Hikari
Closes gh-6013
8 years ago
Stephane Nicoll df388aaaf9 Polish doc 8 years ago
Stephane Nicoll e9abe3fcca Polish "Do not expose `exception` error attribute by default"
Closes gh-8971
8 years ago
Vedran Pavic afe0c6f432 Do not expose `exception` error attribute by default
See gh-8971
8 years ago
Stephane Nicoll f5db75792e Add support for configuring Jetty's request log via the environment
Closes gh-8819
8 years ago
olivier lamy ce892a06e4 Add support for configuring Jetty's request log via the environment
See gh-8819
8 years ago