Commit Graph

1215 Commits (fb846f434fb91182d40c7bdf3a9a9a087232ad60)

Author SHA1 Message Date
Stephane Nicoll b6ca1eadeb Fix prefix for datasource metrics
Closes gh-17553
5 years ago
Stephane Nicoll 56ce2b8e3f Polish "Add metrics support for idle jdbc connections"
See gh-17504
5 years ago
Stephane Nicoll 3a49996dbd Merge branch '2.1.x'
Closes gh-17547
5 years ago
Stephane Nicoll a64317b114 Fix broken link to Spring Integration metrics section
Closes gh-17543
5 years ago
wonwoo 93bcc3dcf5 Update documentation to use JUnit Jupiter
See gh-17507
5 years ago
Andy Wilkinson cbc17c237b Make it easier to determine each servlet filter's order
Closes gh-17520
5 years ago
Phillip Webb c3816bfe7b Polish output capture names 5 years ago
Brian Clozel 32ecb63002 Add reactor-tools dependency for javadoc generation
See gh-17128
5 years ago
Stephane Nicoll acfb7f28f4 Merge branch '2.1.x'
Closes gh-17478
5 years ago
Stephane Nicoll 852f4a280c Fix supported java version range in documentation
Closes gh-17476
5 years ago
Stephane Nicoll c7311631c0 Merge branch '2.1.x'
Closes gh-17467
5 years ago
Stephane Nicoll 3fb15a502b Remove outdated reference to Guava in the reference guide
Closes gh-17446
5 years ago
Johnny Lim 426ef749db Polish
See gh-17413
5 years ago
Andy Wilkinson 072453bf58 Polish "Add support for configuring a Batch-specific DataSource"
See gh-17375
5 years ago
Dmytro Nosan f449665e2a Add support for configuring a Batch-specific DataSource
See gh-17375
5 years ago
dreis2211 7c6fd31d06 Use Spring 5 module of Jersey
See gh-17412
5 years ago
Phillip Webb a66c4d3096 Unify method visibility of private classes
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.

Closes gh-7316
5 years ago
Andy Wilkinson 4ab4198168 Switch to Infinispan's Spring 5 integration
Closes gh-17333
5 years ago
Andy Wilkinson 7d27c6ff92 Remove note about special handling of off as it no longer applies
Closes gh-17385
5 years ago
Phillip Webb 27cce996fb Fix rsocket reference
See gh-12005
5 years ago
Phillip Webb 8d03214389 Import attributes from appendix files
See gh-12005
5 years ago
Phillip Webb 8fb181f31a Escape new '{reference}' elements in asciidoc
See gh-17387
5 years ago
Phillip Webb f20b100a25 Merge branch '2.1.x'
Closes gh-17387
5 years ago
Phillip Webb 88b6a3308c Escape additional '{reference}' elements in asciidoc
Escape lines that look like variable references but should actually be
included verbatim.

Closes gh-17386
5 years ago
Phillip Webb 61b771042d Restore version asciidoc variables
See gh-12005
5 years ago
Phillip Webb c2e3354be0 Drop asciidoc partintro formatting
Since to no longer use docbook, we can't use `partintro`.

See gh-12005
5 years ago
Andy Wilkinson cca005f756 Merge branch '2.1.x'
Closes gh-17383
5 years ago
Andy Wilkinson 34e0db2c25 Merge branch '2.0.x' into 2.1.x
Closes gh-17382
5 years ago
Andy Wilkinson 0c44584b44 Merge branch '1.5.x' into 2.0.x 5 years ago
Madhura Bhave 7e22901bb2 Fail build on unresolved documentation links
Closes gh-12005
5 years ago
rossdrew d6977ea89f Remove hyphenation of opaquetoken in OAuth2 property names
See gh-17290
5 years ago
Madhura Bhave d5c0009c6e Rename samples to smoke tests
Closes gh-17197
5 years ago
Johnny Lim f283aa18eb Use "JUnit" instead of "Junit"
See gh-17272
5 years ago
Stephane Nicoll c9b8d98bcf Upgrade to JUnit Jupiter 5.5.0-RC1
This commit also removes the workaround that required to exclude junit 4
explicitly now that a related issue in JUnit Jupiter has been fixed.

Closes gh-17266
5 years ago
Brian Clozel 809a3965c9 Add missing outcome tag for WebClient metrics
On error cases, the "outcome" tag would be missing from recorded metrics
for the `WebClient`.

This commit fixes this issue and improves the reference documentation by
mentioning the tag values used for error cases, when the client response
is not received (I/O errors, client error, etc).

Fixes gh-17219
5 years ago
Phillip Webb 1e0cf960f0 Reinstate single page HTML and PDF docs
Closes gh-16854
5 years ago
Andy Wilkinson 38fb639147 Merge branch '2.1.x'
Closes gh-17196
6 years ago
Andy Wilkinson 1b495f5a42 Merge branch '2.0.x' into 2.1.x
Closes gh-17195
6 years ago
Andy Wilkinson 4bae91d933 Merge branch '1.5.x' into 2.0.x 6 years ago
gaurav bhatnagar 1ec5fb9972 Drop deprecated 'spring.version' POM property
See gh-17043
6 years ago
Madhura Bhave b59dc5bce4 Update examples in documentation in accordance with JUnit 5
See gh-17096
6 years ago
Brian Clozel 7a9d1a1e34 Change default Freemarker template file extension
This commit changes the default file extension for Freemarker templates
from `*.ftl` to `*.ftlh`. This commit also enables by default the
Freemarker setting `"recognize_standard_file_extensions"` to ensure that
HTML escaping is performed by default in Spring Boot applications.

Applications should adapt to this change by changing the file extensions
of existing templates to `.ftlh`.

Closes gh-15131
6 years ago
Andy Wilkinson a084cc3f6c Merge branch '2.1.x'
Closes gh-17112
6 years ago
dreis2211 23b09ecca6 Make dependency available for javadoc generation
See gh-17111
6 years ago
Phillip Webb b3d5cd538d Add JUnit 5 checkstyle rules
Add a rule to enforce JUnit 5 usage and conventions.

Closes gh-17093
6 years ago
Madhura Bhave 2560b54f7c Add configuration support for Opaque Token authentication
Closes gh-15872
6 years ago
Phillip Webb 866e2b712e Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 2c8881a908 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson b18fffaf14 Move tests to JUnit 5 wherever possible 6 years ago
Andy Wilkinson aef92b9295 Merge branch '2.1.x'
Closes gh-17079
6 years ago
Andy Wilkinson 24925c3dae Merge branch '2.0.x' into 2.1.x
Closes gh-17078
6 years ago
Andy Wilkinson c6c139d980 Merge branch '1.5.x' into 2.0.x 6 years ago
Brian Clozel 16c521a9e6 Auto-configure reactive Elasticsearch components
As of Spring Data Moore, a new reactive template and the
corresponding repositories support have been added.

This commit auto-configures a `ReactiveElasticsearchTemplate`
with the configuration properties under the
`spring.data.elasticsearch.client.reactive` namespace.
To enable this feature, applications require both Spring Data
Elasticsearch dependencies (typically
`spring-boot-starter-data-elasticsearch`) and dependencies
for a `WebClient` (often `spring-boot-starter-webflux`).

The support for the reactive Elasticsearch repositories is
also provided.

Closes gh-16214
6 years ago
Phillip Webb d306b31ce9 Merge branch '2.1.x' 6 years ago
Phillip Webb ccfbd03482 Merge branch '2.0.x' into 2.1.x 6 years ago
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