Madhura Bhave
684a1c7a3c
Migrate tests to JUnit5 testcontainer extensions
...
Closes gh-15456
2019-05-08 16:05:44 +02:00
Madhura Bhave
1db1c8b03c
Validate our own tests work with JUnit5 and the vintage engine
...
Closes gh-14737
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-05-08 16:05:44 +02:00
Madhura Bhave
d9f339a1b6
Include Junit5 dependencies in Spring Boot Starter Test
...
Closes gh-14736
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-05-08 16:05:43 +02:00
Madhura Bhave
d15347d4e5
Add Junit5 OutputCapture Extension
...
Closes gh-14738
2019-05-08 16:05:43 +02:00
Andy Wilkinson
95003d79d7
Merge branch '2.1.x'
...
Closes gh-16746
2019-05-08 14:51:27 +01:00
Andy Wilkinson
66eec463fd
Merge pull request #16728 from Gary Russell
...
* gh-16728:
Add dependency management for remaining non-example Kafka modules
Add dependency management for kafka-streams-test-utils
Closes gh-16728
2019-05-08 14:50:39 +01:00
Andy Wilkinson
1297068528
Add dependency management for remaining non-example Kafka modules
...
See gh-16728
2019-05-08 14:50:16 +01:00
Gary Russell
a5e26bff92
Add dependency management for kafka-streams-test-utils
...
See gh-16728
2019-05-08 14:50:16 +01:00
Stephane Nicoll
c91578bbae
Define surefire test provider to use
...
The `spring-boot-test` module has a dependency to TestNG to validate
some part of the test infrastructure but no tests are actually written
using TestNG. The presence of TestNG is a trigger for the maven surefire
plugin and it attempts to run tests using it.
This commit defines the explicit provider to use (JUnit 4)
Closes gh-16735
2019-05-07 14:22:53 +02:00
Stephane Nicoll
71b2ab0f0f
Merge branch '2.1.x'
2019-05-07 14:04:01 +02:00
Stephane Nicoll
9fa5235164
Merge pull request #16731 from stdll
...
* pr/16731:
Polish indentation
2019-05-07 13:57:53 +02:00
Stefan Dellmuth
ecdcec2b5d
Polish indentation
...
Closes gh-16731
2019-05-07 13:46:58 +02:00
Stephane Nicoll
ff803a86a0
Merge branch '2.1.x'
...
Closes gh-16726
2019-05-06 15:00:07 +02:00
Stephane Nicoll
52c8bbaddf
Upgrade to Maven Surefire Plugin 2.22.2
...
Closes gh-16725
2019-05-06 14:59:28 +02:00
Stephane Nicoll
9ab930dd4f
Merge branch '2.1.x'
2019-05-06 14:25:47 +02:00
Stephane Nicoll
f0a9e0f616
Switch to Reactor snapshots
...
See gh-16723
2019-05-06 14:25:17 +02:00
Stephane Nicoll
9d72b74252
Merge branch '2.1.x'
2019-05-06 12:15:44 +02:00
Stephane Nicoll
7507d11334
Merge pull request #16719 from Tetsuya3850
...
* pr/16719:
Polish "Add link to Heroku article"
Add link to Heroku article
2019-05-06 12:15:30 +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
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