1112 Commits

Author SHA1 Message Date
Phillip Webb
d306b31ce9 Merge branch '2.1.x' 2019-06-04 02:08:00 -07:00
Phillip Webb
ccfbd03482 Merge branch '2.0.x' into 2.1.x 2019-06-04 02:07:14 -07:00
Phillip Webb
5fba43aa31 Merge branch '1.5.x' into 2.0.x 2019-06-04 00:05:57 -07:00
Phillip Webb
750d251ae8 Update JsonComponent documentation
See gh-16544
2019-06-03 13:08:07 -07:00
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
2019-06-03 21:20:06 +02:00
Stephane Nicoll
8beb6c1bcb Document how to specify arguments on the command line with Maven
Closes gh-10926
2019-06-03 11:37:36 +02:00
Andy Wilkinson
0644a79401 Repackage output capture and always use extension declaratively
Closes gh-17029
2019-05-31 18:33:10 +01:00
Phillip Webb
ad5e905bd7 Update copyright header of changed files 2019-05-30 11:30:43 -07:00
Phillip Webb
68aec8b6ee Polish 2019-05-30 11:30:27 -07:00
Phillip Webb
e86bb74074 Merge branch '2.1.x'
Closes gh-16993
2019-05-28 15:59:22 -07:00
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
2019-05-28 15:55:00 -07:00
Andy Wilkinson
b603cd5d4b Disable Tomcat's MBean Registry by default
Closes gh-16498
2019-05-28 15:21:31 +01:00
Stephane Nicoll
a5537bd2e1 Fork application process with Maven by default
Closes gh-16945
2019-05-23 14:40:51 +02:00
Andy Wilkinson
23f803c6b6 Upgrade to Hamcrest 2.1, switch to hamcrest artifact from -core and -library
Closes gh-15555
2019-05-22 14:50:15 +01:00
Stephane Nicoll
74208bb1a7 Polish "Auto-configure Kafka listener container with rebalance listener"
Closes gh-16755
2019-05-21 09:49:34 +02:00
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
2019-05-13 22:39:55 +02:00
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
2019-05-13 16:03:21 +02:00
Stephane Nicoll
81af0f2fa6 Explicitly include JUnit 4 in test starter
Closes gh-16807
2019-05-09 14:54:13 +02:00
Stephane Nicoll
1de6f68238 Document that JUnit 5 is the default
See gh-14736
2019-05-08 16:05:44 +02:00
Stephane Nicoll
71b2ab0f0f Merge branch '2.1.x' 2019-05-07 14:04:01 +02:00
Stefan Dellmuth
ecdcec2b5d Polish indentation
Closes gh-16731
2019-05-07 13:46:58 +02:00
Stephane Nicoll
9d72b74252 Merge branch '2.1.x' 2019-05-06 12:15:44 +02:00
Stephane Nicoll
d8f1bd351f Polish "Add link to Heroku article"
Closes gh-16719
2019-05-06 12:12:56 +02:00
Tetsuya Hasegawa
2655122466 Add link to Heroku article
See gh-16719
2019-05-06 12:12:43 +02:00
Stephane Nicoll
5aeb31700d Merge branch '2.1.x' 2019-05-04 09:14:04 +02:00
Stephane Nicoll
680ac85a2a Polish
See gh-16714
2019-05-04 09:13:46 +02:00
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
2019-05-03 13:48:29 -07:00
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
2019-05-03 12:00:37 -07:00
Stephane Nicoll
fc9cd86718 Merge branch '2.1.x' 2019-05-03 15:42:38 +02:00
Stephane Nicoll
51c0fdcab1 Polish "Document that JUnit 4 is the default"
Closes gh-16707
2019-05-03 15:41:44 +02:00
Tetsuya Hasegawa
e36ca923b9 Document that JUnit 4 is the default
See gh-16707
2019-05-03 14:41:54 +02:00
Andy Wilkinson
f35b91a172 Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
Closes gh-16681
2019-05-03 13:07:15 +01:00
Stephane Nicoll
8045bf1f50 Polish "Allow configuration of auto-timed metrics"
Closes gh-15988
2019-05-01 08:17:06 +02:00
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
2019-05-01 08:16:42 +02:00
Madhura Bhave
ffd979c2bb Document missing SpringApplication events
This commit also documents `ContextRefreshedEvent` and
`WebServerInitializedEvent`.

Closes gh-7382
2019-04-30 16:46:48 -07:00
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
2019-04-30 16:08:42 -07:00
Madhura Bhave
d4435e015c Polish "Document use of @Profile with @ConfigurationProperties scanning"
Closes gh-16622
2019-04-30 16:07:33 -07:00
Kedar Joshi
13b155eb2a Document use of @Profile with @ConfigurationProperties scanning
See gh-16612
2019-04-30 15:59:04 -07:00
Tetsuya Hasegawa
56c769f05c Remove redundant info
Closes gh-16668
2019-04-30 09:05:48 +02:00
Stephane Nicoll
05957689f4 Polish "Add jOOQ to SQL logging group"
Closes gh-16678
2019-04-30 08:57:32 +02:00
Stephane Nicoll
704da1750b Polish "Add support for Hazelcast YAML configuration"
Closes gh-16632
2019-04-29 15:16:43 +02:00
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
2019-04-29 09:04:36 +02:00
Stephane Nicoll
9cde736b59 Merge branch '2.1.x' 2019-04-26 12:01:11 +03:00
Stephane Nicoll
3c5ec8a04c Merge branch '2.0.x' into 2.1.x 2019-04-26 11:53:02 +03:00
Stephane Nicoll
ac9ee952c7 Properly merge fix
See gh-16666
2019-04-26 11:52:25 +03:00
Phillip Webb
17aaf26590 Use consistent javadoc style for annotation links
Closes gh-13920
2019-04-24 19:37:59 -07:00
Stephane Nicoll
2cfcd2690e Polish "Allow to configure the Elasticsearch rest client timeouts"
Closes gh-15965
2019-04-18 11:17:44 +02:00
Andy Wilkinson
dacbb65fd7 Merge branch '2.0.x' into 2.1.x
Closes gh-16579
2019-04-16 15:47:17 +01:00
Andy Wilkinson
7260c0f2c4 Merge branch '1.5.x' into 2.0.x 2019-04-16 15:46:49 +01:00
Andy Wilkinson
4941217323 Update docs to reflect rename of @ConfigurationPropertiesDefaultValue
See gh-8762
2019-04-16 10:25:48 +01:00