Commit Graph

21382 Commits

Author SHA1 Message Date
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 e2b15c3f2a Fix tests
See gh-15039
2019-05-03 12:32:06 -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 d0ca0b2085 Merge pull request #16707 from Tetsuya3850
* pr/16707:
  Polish "Document that JUnit 4 is the default"
  Document that JUnit 4 is the default
2019-05-03 15:42:16 +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
Brian Clozel 1f897ad923 Fix DefaultErrorWebExceptionHandler test 2019-05-02 10:14:08 +02:00
Stephane Nicoll 4ad837f5dc Merge pull request #16700 from izeye
* pr/16700:
  Polish RSocketServerBootstrap bean name
2019-05-02 09:20:26 +02:00
Johnny Lim 21b05bbafc Polish RSocketServerBootstrap bean name
Closes gh-16700
2019-05-02 09:19:41 +02:00
Stephane Nicoll f056b952d9 Merge branch '2.1.x' 2019-05-02 09:18:21 +02:00
Stephane Nicoll 9c0c017d11 Merge pull request #16699 from izeye
* pr/16699:
  Polish CompressionConnectorCustomizerTests
2019-05-02 09:18:05 +02:00
Johnny Lim 1b9a4d5e45 Polish CompressionConnectorCustomizerTests
Closes gh-16699
2019-05-02 09:13:47 +02:00
Madhura Bhave cc99b13ecb Merge branch '2.1.x' 2019-05-01 10:26:31 -07:00
Madhura Bhave c9752f165f Fix javadoc 2019-05-01 10:23:52 -07:00
Andy Wilkinson 538030b57e Merge branch '2.1.x'
Closes gh-16693
2019-05-01 11:20:56 +01:00
Andy Wilkinson 881fbeff43 Test the Gradle Plugin against Gradle 5.4.1
Closes gh-16576
2019-05-01 10:47:35 +01:00
Stephane Nicoll 830457f71e Merge pull request #16688 from izeye
* pr/16688:
  Polish
2019-05-01 08:42:16 +02:00
Johnny Lim cb0e3c793b Polish
Closes gh-16688
2019-05-01 08:41:44 +02:00
Stephane Nicoll ed538a2e31 Merge branch '2.1.x' 2019-05-01 08:41:27 +02:00
Stephane Nicoll 19413c0c71 Polish
See gh-16688
2019-05-01 08:41:07 +02:00
Stephane Nicoll eb028fa77d Merge pull request #15988 from ttddyy
* pr/15988:
  Polish "Allow configuration of auto-timed metrics"
  Allow configuration of auto-timed metrics
2019-05-01 08:17:42 +02: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 3d814a5288 Move to Reactor Dysprosium snapshots
This should fix the NoClassDefFound errors after moving to Framework
snapshots
2019-04-30 17:09:40 -07: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 fd97066604 Use MergedAnnotation.getRoot() method
Closes gh-16661
2019-04-30 16:19:18 -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
Brian Clozel 0b27f7c70e Merge pull request #16480 from dreis2211
* appendix-properties-styling:
  Polish "Separate compound properties in appendices"
  Separate compound properties in appendices
2019-04-30 15:34:48 +02:00
Brian Clozel c4938055b4 Polish "Separate compound properties in appendices"
Closes gh-16480
2019-04-30 15:32:26 +02:00
dreis2211 5b63b807ad Separate compound properties in appendices 2019-04-30 15:25:39 +02:00
Stephane Nicoll c4b018705d Merge pull request #16604 from dlmu-lq
* pr/16604:
  Polish "Auto-configure ReactiveStringRedisTemplate if necessary"
  Auto-configure ReactiveStringRedisTemplate if necessary
2019-04-30 14:56:39 +02:00
Stephane Nicoll 922ceed63a Polish "Auto-configure ReactiveStringRedisTemplate if necessary"
Closes gh-16604
2019-04-30 14:51:47 +02:00
Qiang Lee 866233bd2f Auto-configure ReactiveStringRedisTemplate if necessary
See gh-16604
2019-04-30 14:43:35 +02:00
Stephane Nicoll 81543873d4 Merge branch '2.1.x' 2019-04-30 14:33:12 +02:00
Stephane Nicoll 02ec1911fc Merge pull request #16628 from ielatif
* pr/16628:
  Exclude HikariCP specific dependency from Quartz
2019-04-30 14:32:01 +02:00
ielatif 3ffbe256f1 Exclude HikariCP specific dependency from Quartz
Closes gh-16628
2019-04-30 14:31:17 +02:00
Stephane Nicoll 727f593408 Merge pull request #16668 from Tetsuya3850
* pr/16668:
  Remove redundant info
2019-04-30 09:06:10 +02:00
Tetsuya Hasegawa 56c769f05c Remove redundant info
Closes gh-16668
2019-04-30 09:05:48 +02:00
Stephane Nicoll da13eb5c68 Merge pull request #16678 from maciejwalkowiak
* pr/16678:
  Polish "Add jOOQ to SQL logging group"
  Add jOOQ to SQL logging group
2019-04-30 08:58:48 +02:00
Stephane Nicoll 05957689f4 Polish "Add jOOQ to SQL logging group"
Closes gh-16678
2019-04-30 08:57:32 +02:00
Maciej Walkowiak d7722e328a Add jOOQ to SQL logging group
See gh-16678
2019-04-30 08:55:07 +02:00
Stephane Nicoll 9d7be401fb Merge pull request #16684 from making
* pr/16684:
  Fix typo
2019-04-30 08:40:47 +02:00
Toshiaki Maki e203f6a5f5 Fix typo
Closes gh-16684
2019-04-30 08:40:35 +02:00
Stephane Nicoll 35b9ef9257 Merge pull request #16685 from izeye
* pr/16685:
  Polish
2019-04-30 08:26:38 +02:00
Johnny Lim e22c2e5687 Polish
Closes gh-16685
2019-04-30 08:24:18 +02:00
Madhura Bhave a0d425332d Use ImportBeanDefintionRegistrar directly instead of import selector
Closes gh-16679
2019-04-29 18:01:31 -07:00