Commit Graph

1160 Commits (b7227ec927b712da1691b6177306e9025d8e6b3b)

Author SHA1 Message Date
Phillip Webb 5fba43aa31 Merge branch '1.5.x' into 2.0.x 6 years ago
Phillip Webb 750d251ae8 Update JsonComponent documentation
See gh-16544
6 years ago
Brian Clozel c74badd4f2 Auto-configure Elasticsearch REST client in Spring Data
This commit auto-configures the Elasticsearch REST client support
as a template for Spring Data Elasticsearch. As of this commit,
using the transport client is still possible but developers
should migrate.

This commit also removes the deprecated annotation on the
Elasticsearch auto-configuration for the transport client, since
this deprecation notice is already present on the configuration
property.

Closes gh-17024
Closes gh-16542
6 years ago
Stephane Nicoll 8beb6c1bcb Document how to specify arguments on the command line with Maven
Closes gh-10926
6 years ago
Andy Wilkinson 0644a79401 Repackage output capture and always use extension declaratively
Closes gh-17029
6 years ago
Phillip Webb ad5e905bd7 Update copyright header of changed files 6 years ago
Phillip Webb 68aec8b6ee Polish 6 years ago
Phillip Webb e86bb74074 Merge branch '2.1.x'
Closes gh-16993
6 years ago
Phillip Verheyden 2149ba4051 Use a regex that captures numbers and qualifiers
Fix the regular expression used in the devtools documentation to
include a version number pattern.

Closes gh-16946
6 years ago
Andy Wilkinson b603cd5d4b Disable Tomcat's MBean Registry by default
Closes gh-16498
6 years ago
Stephane Nicoll a5537bd2e1 Fork application process with Maven by default
Closes gh-16945
6 years ago
Andy Wilkinson 23f803c6b6 Upgrade to Hamcrest 2.1, switch to hamcrest artifact from -core and -library
Closes gh-15555
6 years ago
Stephane Nicoll 74208bb1a7 Polish "Auto-configure Kafka listener container with rebalance listener"
Closes gh-16755
6 years ago
Brian Clozel e8d39a1539 Add support for CBOR codecs in RSocket
This commit auto-configures CBOR (see https://cbor.io/) codecs in the
RSocketStrategies, using Jackson binary format support.

The required dependency is added to the rsocket starter. Binary codecs
are well suited for RSocket payloads, so this codec is added first to
the list of codecs (before the JSON one already supported).

Closes gh-16830
6 years ago
Brian Clozel 20dfeddbb3 Auto-configure RSocketRequester.Builder
This commit auto-configures a prototype `RSocketRequester.Builder` bean
for building requester instances. This builder is pre-configured with
auto-detected `RSocketStrategies` (same as the server side).

Closes gh-16280
6 years ago
Stephane Nicoll 81af0f2fa6 Explicitly include JUnit 4 in test starter
Closes gh-16807
6 years ago
Stephane Nicoll 1de6f68238 Document that JUnit 5 is the default
See gh-14736
6 years ago
Stephane Nicoll 71b2ab0f0f Merge branch '2.1.x' 6 years ago
Stefan Dellmuth ecdcec2b5d Polish indentation
Closes gh-16731
6 years ago
Stephane Nicoll 9d72b74252 Merge branch '2.1.x' 6 years ago
Stephane Nicoll d8f1bd351f Polish "Add link to Heroku article"
Closes gh-16719
6 years ago
Tetsuya Hasegawa 2655122466 Add link to Heroku article
See gh-16719
6 years ago
Stephane Nicoll 5aeb31700d Merge branch '2.1.x' 6 years ago
Stephane Nicoll 680ac85a2a Polish
See gh-16714
6 years ago
Madhura Bhave 07d6eb6397 Disable auditing infrastructure by default
Prior to this commit, the audit auto-configuration provided
an `InMemoryAuditEventRepository` bean. This commit changes the auto-config
so that an `AuditEventRepository` is not provided and instead the auto-config
is conditional on the presence of a `AuditEventRepository` bean. This is done
to encourage the use of a custom implementation of `AuditEventRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-16110
6 years ago
Madhura Bhave de128fed20 Disable HttpTrace infrastructure by default
Prior to this commit, the http trace auto-configuration provided
an `InMemoryHttpTraceRepository` bean. This commit changes the auto-config
so that an `HttpTraceRepository` is not provided and instead the auto-config
is conditional on the presence of a `HttpTraceRepository` bean. This is done
to encourage the use of a custom implementation of `HttpTraceRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-15039
6 years ago
Stephane Nicoll fc9cd86718 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 51c0fdcab1 Polish "Document that JUnit 4 is the default"
Closes gh-16707
6 years ago
Tetsuya Hasegawa e36ca923b9 Document that JUnit 4 is the default
See gh-16707
6 years ago
Andy Wilkinson f35b91a172 Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
Closes gh-16681
6 years ago
Stephane Nicoll 8045bf1f50 Polish "Allow configuration of auto-timed metrics"
Closes gh-15988
6 years ago
Tadaya Tsuyukubo 4df6f5dee0 Allow configuration of auto-timed metrics
When `management.metrics.web.server.auto-time-requests` is enabled
(default=true), Spring Boot collects metrics on controller methods even
when they are not annotated with `@Timed`.

When this happens, created metrics are based on the default
`@Timed` configuration and there is no way to customize the
configuration of those auto-timed controller metrics.

This commit adds default configurations to auto-timed requests on both
client and server sides.

See gh-15988
6 years ago
Madhura Bhave ffd979c2bb Document missing SpringApplication events
This commit also documents `ContextRefreshedEvent` and
`WebServerInitializedEvent`.

Closes gh-7382
6 years ago
Madhura Bhave 8b30ad21bb Merge pull request #16622 from Kedar Joshi
* pr/16622:
  Polish "Document use of @Profile with @ConfigurationProperties scanning"
  Document use of @Profile with @ConfigurationProperties scanning
6 years ago
Madhura Bhave d4435e015c Polish "Document use of @Profile with @ConfigurationProperties scanning"
Closes gh-16622
6 years ago
Kedar Joshi 13b155eb2a Document use of @Profile with @ConfigurationProperties scanning
See gh-16612
6 years ago
Tetsuya Hasegawa 56c769f05c Remove redundant info
Closes gh-16668
6 years ago
Stephane Nicoll 05957689f4 Polish "Add jOOQ to SQL logging group"
Closes gh-16678
6 years ago
Stephane Nicoll 704da1750b Polish "Add support for Hazelcast YAML configuration"
Closes gh-16632
6 years ago
Brian Clozel b527d364dc Reinstate single page reference documentation
This commit reinstates the single-page variant for the Spring Boot
reference documentation.

Now the single and multi-page variants are hosted under the same
`"html"` folder, as `"index.html"` and `"single-index.html"`.
Note that files ending in `"index.html`" are treated as index files by
the spring-doc-resources project and their table of contents do not
display a "Back to index" link.

Fixes gh-16295
6 years ago
Stephane Nicoll 9cde736b59 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 3c5ec8a04c Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll ac9ee952c7 Properly merge fix
See gh-16666
6 years ago
Phillip Webb 17aaf26590 Use consistent javadoc style for annotation links
Closes gh-13920
6 years ago
Stephane Nicoll 2cfcd2690e Polish "Allow to configure the Elasticsearch rest client timeouts"
Closes gh-15965
6 years ago
Andy Wilkinson dacbb65fd7 Merge branch '2.0.x' into 2.1.x
Closes gh-16579
6 years ago
Andy Wilkinson 7260c0f2c4 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4941217323 Update docs to reflect rename of @ConfigurationPropertiesDefaultValue
See gh-8762
6 years ago
Brian Clozel b35424478b Deprecate Elasticsearch transport and Jest clients
As of Spring Data Moore, the Elasticsearch high level REST client is
supported for Spring Data repositories. The transport client is now
deprecated and is likely to be removed in a future Spring Data release.

This commit deprecates the transport client and marks all the associated
configuration properties as deprecated. The Spring Boot starter depends
on the `spring-data-elasticsearch` project, which now depends on both
transport client and high level REST client.

This commit also deprecates the Jest client, as Spring Boot will focus
on supporting the high level REST client and the reactive client
provided by Spring Data - both being in sync with the fast release pace
of Elasticsearch.

Closes gh-15008
6 years ago
Madhura Bhave 959e161555 Provide an option to use Spring's forwarded header support
Previously, if the `server.use-forward-headers` property
was set to true, X-Forwarded-* headers support was provided
at the server level. The property has been deprecated in favor
of `server.forward-headers-strategy` which can be also be configured
to use Spring's forwarded header support apart from native server support.

Closes gh-5677
6 years ago
Brian Clozel ddc8b6f6b9 Fix Javadoc build for new RSocket dependencies
See gh-16021
6 years ago
Brian Clozel b33944b53f Add RSocket server support with Spring Messaging
This commit adds support for RSocket server applications.
The auto-configuration will either add RSocket support to an existing
Reactor Netty server in a WebFlux application (as a WebSocket endpoint),
or bootstrap a brand new RSocket server instance.

Spring Boot will also auto-configure the Spring Messaging infrastructure
that supports Controller beans with `@MessageMapping` annotated methods.

Fixes gh-16021
6 years ago
Stephane Nicoll 5e58f4a8c6 Fix unresolved directives in generated documentation
Closes gh-16452
6 years ago
Stephane Nicoll 4d4566e0f9 Merge branch '2.1.x' 6 years ago
Adam Michalik 55987a51c7 Fix package of java.time.Duration in documentation
Closes gh-16527
6 years ago
Johnny Lim 4392d7c2ed Polish
Closes gh-16494
6 years ago
Madhura Bhave 7054a33e70 Add support for public key file for OAuth2 resource server
Closes gh-15814
6 years ago
Stephane Nicoll cf1d6ca660 Polish "Add missing backquote"
Closes gh-16483
6 years ago
Kaze 530d3da6c9 Add missing backquote
See gh-16483
6 years ago
Madhura Bhave ce0282406f Skip lazy init for beans that explicitly set lazy to false
This commit also adds tests to ensure that the child
management context works when lazy initialization is
enabled. Also, it adds a BeanFactoryPostProcessor to
the child context so that the server is created and
listening for requests but other beans in the child
context are not created until requested.

See gh-16184
6 years ago
Stephane Nicoll bb4e559724 Let Hibernate detect the dialect to use
Closes gh-16172
6 years ago
Madhura Bhave 04517495af Merge branch '2.1.x' 6 years ago
Madhura Bhave ddc52502f5 Document @MockBean behavior during context refresh
Closes gh-16333
6 years ago
Phillip Webb 2376f973f4 Merge branch '2.1.x' 6 years ago
Phillip Webb 47c6bf741d Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 07c000c5b7 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll df79808d38 Polish 6 years ago
Andy Wilkinson 5e22b421c5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6aa78801ff Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 6507d1723d Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 40d0d6b113 Polish
Closes gh-16299
6 years ago
Spring Operator fb242c27d2 Use HTTPS for external links wherever possible
See gh-16276
6 years ago
Andy Wilkinson 878a635bfb Merge branch '2.1.x' 6 years ago
Spring Operator 9fc3ac7d49 Use HTTPS for external links wherever possible
See gh-16320
6 years ago
Andy Wilkinson 864942ad4f Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 14b21026bf Polish "Use HTTPS for external links wherever possible"
See gh-16319
6 years ago
Spring Operator 1a4c6f2dac Use HTTPS for external links wherever possible
See gh-16319
6 years ago
Andy Wilkinson ba4671f0ab Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4900505425 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson fedb40a2bf Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 2225b36299 Merge branch '2.1.x' 6 years ago
Madhura Bhave 1ad52b651a Document using the same port for the management server on CF
Closes gh-15640
6 years ago
Stephane Nicoll 3125f424ce Add metadata support for immutable ConfigurationProperties type
Closes gh-16071
6 years ago
Madhura Bhave 8f693a0277 Add support for configuration properties scanning
See gh-12602
6 years ago
Madhura Bhave 8f0850a69c Merge branch '2.1.x' 6 years ago
Madhura Bhave 6bd6279eff Document slice test behavior with @Configuration classes
Closes gh-16274
6 years ago
Andy Wilkinson 36c1c051b8 Merge branch '2.1.x' 6 years ago
Andy Wilkinson e23f72c8b0 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 9fbd38ab3c Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave dd70c96ead Merge branch '2.1.x' 6 years ago
Madhura Bhave 0c52c3fc55 Clarify ambiguous documentation in default security section
Closes gh-16033
6 years ago
Madhura Bhave 448115609c Merge branch '2.1.x' 6 years ago
Madhura Bhave 4a230fdec9 Document AssertJ's satisfies with extractingJsonPathNumberValue
Closes gh-16229
6 years ago
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Madhura Bhave 3d0219c315 Merge branch '2.1.x' 6 years ago
Johnny Lim c5b5f752ed Polish
Closes gh-16219
6 years ago
Stephane Nicoll 19cc584530 Polish "Update Kotlin documentation"
Closes gh-16235
6 years ago
Sebastien Deleuze e8ed128850 Update Kotlin documentation
This commit updates Kotlin reference documentation according to
latest features like immutable `@ConfigurationProperties` and
Kotlin BOM support.

See gh-16235
6 years ago