Commit Graph

1616 Commits

Author SHA1 Message Date
Andy Wilkinson
45d50e279e Disable build scans in custom layout sample's tests 2020-07-25 09:10:31 +01:00
Andy Wilkinson
179d2c79d6 Avoid trivialising what the reader's learning about
Closes gh-22408
2020-07-20 13:45:41 +01:00
Andy Wilkinson
fdc63d71fe Use HTTPS when linking to groovy-lang.org
Closes gh-21466
2020-05-15 16:18:23 +01:00
Phillip Webb
85befdf10e Polish 2020-04-20 17:53:55 -07:00
Stephane Nicoll
32c1dd45a9 Revert "Merge pull request #19926 from xak2000"
Closes gh-19926
2020-02-14 10:18:02 +01:00
Stephane Nicoll
2a90c3dea4 Fix broken smoke test
See gh-19926
2020-02-11 13:32:31 +01:00
Stephane Nicoll
cd085e0641 Polish contribution
See gh-19326
2019-12-12 16:46:28 +01:00
Jorge Cordoba
f22d0c7d8e Add missing assertion to SampleTestApplicationWebIntegrationTests.test()
See gh-19326
2019-12-12 16:45:03 +01:00
Andy Wilkinson
2be3057904 Polish test method name to reflect its expectation
Closes gh-19186
2019-11-29 09:11:44 +00:00
dreis2211
83cb6f3c7f Let Liquibase smoke test pass on non-english systems
See gh-18873
2019-11-22 10:18:22 +01:00
Madhura Bhave
ecf393461e Skip management context ResourceConfigCustomizers
Update `JerseyManagementContextConfiguration` so that customizer beans
are not longer applied. The endpoint resource endpoints are now added
with a registrar bean `@PostConstruct` method.

Prior to this commit, when running the management server on a different
port a `Resource` added by a customizer could be added two different
`ResourceConfig` instance. This breaks the singleton contract expected
by Jersey.

Fixes gh-17801

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-10-01 11:16:23 -07:00
Madhura Bhave
401a6b586e Remove war packaging from Jersey sample
This also removes the need for the tomcat starter to be in provided
scope.

Closes gh-18346
2019-09-25 09:28:26 -07:00
Madhura Bhave
342a0535d7 Explicitly configure SecurityWebFilterChain bean for reactive oauth2 client
This will ensure that ReactiveManagementWebSecurityAutoConfiguration backs
off and that the actuator endpoints are also secured via OAuth2.

Fixes gh-17949
2019-09-24 09:50:45 -07:00
Madhura Bhave
674f2f5a6c EndpointRequest should match @ServletEndpoint
This commit also changes the request matcher for MVC
endpoints to use an AntPathRequestMatcher instead of an
MvcRequestMatcher. The endpoint is always available
under the mapped endpoint path and this way the same matcher
can be used for both MVC and Jersey.

Fixes gh-17912

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-08-28 11:48:53 +05:30
Madhura Bhave
f13f96d705 Fix customizer for windows tests
JettyServerCustomizers beans do not get picked up automatically in 2.1.x

See gh-15553
2019-07-24 16:11:18 -07:00
Madhura Bhave
bb85612723 Add concourse pipeline for Windows
Closes gh-15553
2019-07-24 13:25:54 -07:00
Phillip Webb
fb1dd8fe93 Merge branch '2.0.x' into 2.1.x 2019-07-24 11:41:32 +01:00
Phillip Webb
913e831f4e Merge '1.5.x' into 2.0.x 2019-07-24 11:39:58 +01:00
Phillip Webb
ff36074401 Update copyright header for changed files
Effectively all files have been touched this year due to the nohttp
work.
2019-07-24 11:37:23 +01:00
Phillip Webb
fd67f7ba3f Merge branch '1.5.x' into 2.0.x 2019-07-17 21:47:04 +01:00
Phillip Webb
8843c11a28 Update copyright header of changed files 2019-07-17 21:44:01 +01:00
Madhura Bhave
aebb60d8b8 Fix tests
Setting the log file name to a random value in smoke tests
doesn't work because the logger context has already been initialized.
2019-07-10 18:14:58 -07:00
Madhura Bhave
773dda3d55 Log file location should be evaluated just once
Using a random value for the logfile name caused
the logfile endpoint to return a 404 as the name
was resolved from the environment on every request.
This commit registers a bean for LogFile which is then
used by the logfile endpoint.

Fixes gh-17434
2019-07-10 14:46:09 -07:00
Phillip Webb
b0fffbe42e Upgrade to spring-javaformat 0.0.15
Closes gh-17359
2019-06-28 21:14:00 -07:00
Andy Wilkinson
1ee8c53b90 Upgrade to spring-javaformat 0.0.14
Closes gh-17331
2019-06-27 11:10:13 +01:00
Madhura Bhave
fa4c433c92 Polish 2019-06-11 17:21:13 -07:00
Andy Wilkinson
9d28238598 Update formatting of spring-boot-samples 2019-06-08 08:16:44 +01:00
Phillip Webb
2c8881a908 Merge branch '1.5.x' into 2.0.x 2019-06-07 12:34:13 -07:00
Andy Wilkinson
fb24b5a684 Separate nottp checkstyle configuration
See gh-16682
2019-06-07 11:39:32 -07:00
Andy Wilkinson
ede197fa55 Polish formatting
Fix formatting issues, primarily around header comments.
2019-06-07 11:33:42 -07:00
Andy Wilkinson
24925c3dae Merge branch '2.0.x' into 2.1.x
Closes gh-17078
2019-06-07 10:50:34 +01:00
Andy Wilkinson
8f1be4cded Upgrade to spring-javaformat 0.0.11 2019-06-07 09:44:58 +01:00
Phillip Webb
0ef331018e Merge branch '2.0.x' into 2.1.x 2019-06-04 14:30:52 -07:00
Phillip Webb
7fc01971ed Merge branch '1.5.x' into 2.0.x 2019-06-04 14:20:25 -07:00
Phillip Webb
d548c5ed31 Fix checkstyle violations 2019-06-04 12:45:23 -07:00
Phillip Webb
e161c6f826 Broaden files covered by checkstyle
Closes gh-16682
2019-06-04 12:45:23 -07:00
Phillip Webb
930d110178 Merge branch '2.0.x' into 2.1.x 2019-06-04 08:55:31 -07:00
Phillip Webb
90468c4d53 Fix checkstyle violation in OAuth sample 2019-06-04 08:53:06 -07:00
Phillip Webb
ccfbd03482 Merge branch '2.0.x' into 2.1.x 2019-06-04 02:07:14 -07:00
Phillip Webb
80d8a5cfa2 Add nohttp checkstyle rule
Closes gh-16682
2019-06-04 00:52:45 -07:00
Phillip Webb
cd537155a9 Use https for Thymeleaf xmlns:layout 2019-06-04 00:52:45 -07:00
Phillip Webb
a99131f727 Polish resource files to all end with a new line 2019-06-04 00:52:45 -07:00
Phillip Webb
5fba43aa31 Merge branch '1.5.x' into 2.0.x 2019-06-04 00:05:57 -07:00
Phillip Webb
e61f7a33a7 Add nohttp checkstyle rule
Closes gh-16682
2019-06-03 23:51:59 -07:00
Phillip Webb
0049f1985c Use https for Thymeleaf xmlns:layout 2019-06-03 23:50:06 -07:00
Phillip Webb
32068c21a3 Polish resource files to all end with a new line 2019-06-03 23:48:43 -07:00
Stephane Nicoll
6b3c15a858 Fixup version numbers following release 2019-05-14 15:43:47 +02:00
Spring Buildmaster
67fa63d0e3 Next Development Version 2019-05-14 08:21:02 +00:00
Phillip Webb
f12ab1ff90 Update copyright header of changed files 2019-04-03 16:13:00 -07:00
Stephane Nicoll
0d256da068 Fixup version numbers following release 2019-04-03 12:56:41 +02:00