Moritz Halbritter
032d92a9fb
Cleanup remote debug tunnel leftovers from devtools
...
Closes gh-36808
2 years ago
Stefano Cordio
d802ca017b
Small assertions improvements
...
See gh-34796
3 years ago
Marc Leroux
b61834c92d
Replace Mockito argument captors with assertArg
...
See gh-35015
3 years ago
Phillip Webb
6b646f6a8e
Update copyright year of changed files
3 years ago
Phillip Webb
4e6148f47b
Search for main methods from the bottom of the stack
...
Update `MainMethod` to search from the bottom of the stack rather than
the start. Prior to this commit, an incorrect `main` method would be
found if more than one `main` was in the stack.
Fixes gh-35214
3 years ago
Andy Wilkinson
6b9bc012a5
Check that BPP and BFPP bean methods won't cause eager initialization
...
Closes gh-35164
3 years ago
Andy Wilkinson
899ae9c37c
Upgrade to Mockito 5.3.0
...
Closes gh-34998
3 years ago
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Phillip Webb
f588793445
Update copyright year of changed files
3 years ago
Moritz Halbritter
f36e2ecb7b
Use AutoClosables with try-with-resources
...
Closes gh-33538
3 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
3 years ago
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
3 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
3 years ago
Andy Wilkinson
03b3a772c9
Adapt to PathMatchingResourcePatternResolver's behavior being reverted
...
See spring-projects/spring-framework#29163
3 years ago
Andy Wilkinson
7eb8abbda8
Adapt to PathMatchingResourcePatternResolver now matching root dir
...
See spring-projects/spring-framework#29163
3 years ago
Vedran Pavic
230f2cda84
Migrate to AuthorizationFilter in Spring Security auto-config
...
This commit updates Servlet based Spring Security auto-configuration
to use AuthorizationFilter, which is intended to supersede
FilterSecurityInterceptor.
See gh-31255
3 years ago
Stephane Nicoll
aac3ccf59c
Adapt to deprecations in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/27780
3 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
3 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
3 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
4 years ago
Phillip Webb
350d27fe50
Polish code to use method references when possible
4 years ago
Andy Wilkinson
798d61fcf0
Polish "Make event handling in ClassPathFileSystemWatcherTests thread-safe"
...
See gh-30844
4 years ago
dugenkui03
aeaad006cd
Make event handling in ClassPathFileSystemWatcherTests thread-safe
...
See gh-30844
4 years ago
Andy Wilkinson
cced7edd9c
Document Devtools' property defaults directly in reference docs
...
Closes gh-29406
4 years ago
Andy Wilkinson
34e436ef6e
Accommodate SocketException when reading from stopped TunnelClient
...
TunnelClientTests stopTriggersTunnelClose expects that stopping the
client will cause an attempt to read from a connected channel to
return -1. With Java 17 on Windows the connection has been reset and
a SocketException is thrown instead. This seems reasonable as
stopping the client closes the ServerSocketChannel to which the test
was connected.
This commit updates test to expect a SocketException or a return
value of -1.
Closes gh-30042
4 years ago
Phillip Webb
9f00c3acf5
Polish
4 years ago
Scott Frederick
42328771ad
Suppress deprecation warnings for WebSecurityConfigurerAdapter
...
Fixes gh-29897
4 years ago
Phillip Webb
ff4b92a3ba
Update copyright year of changed files
4 years ago
Phillip Webb
a282f912e6
Organize imports
...
Organize imports according to updated checkstyle rules.
4 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
4 years ago
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
4 years ago
Stephane Nicoll
0d78ff0657
Polish "Use a timeout when joining threads in HttpTunnelServerTests"
...
See gh-29522
4 years ago
Leo Li
940d969c7c
Use a timeout when joining threads in HttpTunnelServerTests
...
See gh-29522
4 years ago
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
4 years ago
Scott Frederick
12244a8edd
Remove use of Thymeleaf from smoke tests
...
Closes gh-28788
4 years ago
Leo Li
73e9c355f1
Polish
...
See gh-28501
4 years ago
Andy Wilkinson
7607587b6c
Stabilize liveReloadOnClassPathChanged()
...
Closes gh-28441
4 years ago
Phillip Webb
b93a629dbe
Shutdown in-memory R2DBC databases before devtools restart
...
Add `DevToolsR2dbcAutoConfiguration` to automatically shutdown in-memory
R2DBC databases before restarting. Prior to this commit, restarts that
involved SQL initialization scripts could fail due to dirty database
content.
The `DevToolsR2dbcAutoConfiguration` class is similar in design to
`DevToolsDataSourceAutoConfiguration`, but it applies to both pooled
and non-pooled connection factories. The `DataSource` variant does not
need to deal with non-pooled connections due to the fact that
`EmbeddedDataSourceConfiguration` calls `EmbeddedDatabase.shutdown`
as a `destroyMethod`. With R2DB we don't have an `EmbeddedDatabase`
equivalent so we can always trigger a shutdown for devtools.
Fixes gh-28345
4 years ago
Phillip Webb
55a1ec72cc
Update copyright year of changed files
4 years ago
Stephane Nicoll
c62a6819fe
Polish "Add startup time metrics"
...
See gh-27878
4 years ago
bono007
2e67963bfe
Add startup time metrics
...
See gh-27878
4 years ago
Andy Wilkinson
ade922baec
Stabilize LiveReloadServerTests
...
Closes gh-27503
4 years ago
Andy Wilkinson
cff1827e27
Stabilize socketChannelClosedTriggersTunnelClose
...
Closes gh-27483
5 years ago
Andy Wilkinson
8e7a6ceb44
Polish "Make dev tools' home directory configurable"
...
See gh-17924
5 years ago
sfeldstein
b9dbfad473
Make dev tools' home directory configurable
...
This allows separate projects to keep their own settings where common
settings such as spring.* or server.* don't conflict.
See gh-17924
5 years ago
Stephane Nicoll
dc5acb0019
Remove deprecated code flagged for removal
...
Closes gh-27303
5 years ago
Phillip Webb
a76e5c043e
Update copyright year of changed files
5 years ago