Andy Wilkinson
c849cafc1b
Further improve independence of core auto-configuration tests
...
See gh-44513
2025-03-06 11:12:49 +00:00
Stéphane Nicoll
6cf81e2f1b
Deprecate setObservationRegistry
...
This commit deprecates setObservationRegistry on
DefaultJmsListenerContainerFactoryConfigurer as it should not have been
made public in the first place. We want to make sure users don't
accidentally use it, and move it back to a package private method once
the deprecation period has run its course.
Closes gh-44466
2025-03-06 08:56:12 +01:00
Andy Wilkinson
60624e8a56
Avoid problems with platform-specific line endings
...
See gh-44512
2025-03-05 20:07:43 +00:00
Andy Wilkinson
55c410abec
Improve autoconfigure's use of test resources
...
Closes gh-44512
2025-03-05 16:40:26 +00:00
Andy Wilkinson
8e49a4e49a
Increase independence of core auto-configuration tests
...
Remove some more references to Thymeleaf and FreeMarker
auto-configuration that were missed in 85ffbbc.
See gh-44513
2025-03-05 14:49:58 +00:00
Andy Wilkinson
85ffbbc384
Make core auto-configuration tests more independent
...
Closes gh-44513
2025-03-05 14:33:57 +00:00
Andy Wilkinson
27779bec0a
Remove AutoConfigurationReproTests
...
Removed in favor of WebServerFactoryCustomizerBeanPostProcessorTests
which, through the expectations that it sets up on the mock bean
factory, already checks that early initialization will not be
triggered.
Closes gh-44511
2025-03-04 17:50:19 +00:00
Andy Wilkinson
c9f3688df9
Remove redundant tests
...
Closes gh-44520
2025-03-04 17:45:23 +00:00
Benjamin König
23fd79f425
Remove obsolete hints for Flyway Teams features
...
See gh-44460
Signed-off-by: Benjamin König <koenig87@googlemail.com>
2025-02-28 11:18:41 +01:00
Moritz Halbritter
c91c8e202a
Fix tests
2025-02-28 10:53:54 +01:00
Moritz Halbritter
19ba2ec0e9
Merge pull request #44467 from nosan
...
* pr/44467:
Close InputStream when loading Log4j2 Configuration from a Resource
Closes gh-44467
2025-02-28 10:30:57 +01:00
Moritz Halbritter
abf320d273
Register reflection hints for SslBundleSslEngineFactory
...
Closes gh-44435
2025-02-26 11:46:55 +01:00
Moritz Halbritter
453002b77b
Add class of SslBundleSslEngineFactory to Kafka config map
...
Closes gh-44414
2025-02-26 10:46:12 +01:00
Stéphane Nicoll
bf1dc09c86
Update copyright of changed files
...
See gh-44323
2025-02-24 07:52:35 +01:00
Johnny Lim
332ad7bb70
Polish
...
See gh-44323
Signed-off-by: Johnny Lim <izeye@naver.com>
2025-02-24 07:46:25 +01:00
Stéphane Nicoll
7fd19556b2
Polish contribution
...
See gh-44384
2025-02-22 18:33:05 +01:00
Dmytro Nosan
2f288bf614
Clarify which Mongo properties are ignored when URI property is set
...
See gh-44384
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-22 18:28:42 +01:00
Dmytro Nosan
35a77e2cf1
Fix build
...
See gh-44306
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 13:09:52 +01:00
Andy Wilkinson
045fbee395
Document need for $ separator when auto-config is nested
...
Closes gh-44298
2025-02-17 11:00:29 +00:00
Tran Ngoc Nhan
e982136f5e
Implement RuntimeHintsRegistrar
...
See gh-44266
2025-02-17 11:09:29 +01:00
Stéphane Nicoll
6aa0055e5e
Polish "Do not auto-configure ViewResolver if spring-webmvc is absent"
...
See gh-44259
2025-02-17 11:01:23 +01:00
Dmytro Nosan
ac73766f9b
Do not auto-configure ViewResolver if spring-webmvc is absent
...
See gh-44259
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-17 11:01:07 +01:00
Andy Wilkinson
3e5929a446
Remove duplicate dispatcher servlet auto-config tests
...
Closes gh-44207
2025-02-11 12:19:45 +00:00
Andy Wilkinson
ea76e46faa
Apply charset to Mustache's content type
...
Fixes gh-44053
2025-02-10 11:07:49 +00:00
Brian Clozel
817f466c12
Fix SSL file watcher for relative symlinks
...
Prior to this commit, a change in gh-43586 unlocked the support for
symlinks: instead of watching the link itself which might never change,
this would watch the target file which is likely to change.
This could break with an `IllegalStateException` in case the symlink is
using a path relative to the link itself.
This commit ensures that the target is resolved against the current
link path to avoid incorrect watch operations.
Fixes gh-43966
2025-01-28 16:35:09 +01:00
Andy Wilkinson
0f94530e15
Polish "Polish PropertiesRedisConnectionDetails"
...
See gh-43825
2025-01-15 12:00:18 +00:00
Yanming Zhou
a18c2f8f7e
Polish PropertiesRedisConnectionDetails
...
See gh-43825
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-15 11:55:48 +00:00
Phillip Webb
b9efd591e5
Polish "Prevent redis pool to initialize in unit test"
...
See gh-43774
2025-01-11 10:25:46 -08:00
Stéphane Nicoll
7b04cddf1d
Polish "Prevent redis pool to initialize in unit test"
...
See gh-43774
2025-01-11 12:51:21 +01:00
He Zean
911a9a14ea
Prevent redis pool to initialize in unit test
...
See gh-43774
Signed-off-by: He Zean <realhezean@gmail.com>
2025-01-11 12:50:46 +01:00
Stéphane Nicoll
916705538e
Polish "Add support for symlinks in FileWatcher"
...
See gh-43586
2024-12-24 10:22:52 +01:00
Tomasz Maciejewski
26ca3790b2
Add support for symlinks in FileWatcher
...
This commit allows using symlinks for SSL certificate hot reloading.
See gh-43586
2024-12-24 09:59:59 +01:00
Phillip Webb
ba916cb66e
Allow KafkaProperties to build properties with empty bundle name
...
Update `KafkaProperties` so that properties can still be built when
the bundle name has no text.
Fixes gh-43561
2024-12-18 10:44:18 -08:00
Phillip Webb
45da43c6b4
Update copyright year of changed files
2024-12-13 19:03:43 -08:00
Dmytro Nosan
1234409fbe
Multiple WebFlux ResourceHandlerRegistrationCustomizer should be invoked
...
Before this commit, only a single ResourceHandlerRegistrationCustomizer
was invoked. This commit adds functionality to have more
than one ResourceHandlerRegistrationCustomizers
See gh-43494
2024-12-13 14:00:47 +01:00
Yanming Zhou
a964bbd8cb
Polish variable name for consistency
...
See gh-43483
2024-12-11 14:25:19 +01:00
Phillip Webb
3338c22372
Restore build...
methods that don't need an SSL bundle
...
Restore `buildConsumerProperties()` and `buildProducerProperties()`
methods in `KafkaProperties` to make it more convenient to use them
without an SSL bundle.
Fixes gh-43300
2024-12-09 09:43:13 -08:00
Phillip Webb
9e7972a9b4
Polish code with code cleanup rules
2024-12-04 15:03:40 -08:00
Phillip Webb
b340c855c0
Prevent H2 console from causing early DataSource initialization
...
Update `H2ConsoleAutoConfiguration` so that DataSource connection
logging occurs outside of the `ServletRegistrationBean`.
Fixes gh-43337
2024-12-02 19:05:16 -08:00
Stefano Cordio
26b1d74470
Fix link to proxyBeanMethods in @AutoConfiguration javadoc
...
See gh-43323
2024-11-29 09:17:27 +00:00
Phillip Webb
dba395dc0c
Merge branch '3.2.x' into 3.3.x
...
Closes gh-43198
2024-11-15 13:27:17 -08:00
Phillip Webb
a20cc3d4e6
Clarify documentation for 'spring.datasource.type'
...
Closes gh-43193
2024-11-15 13:26:45 -08:00
Andy Wilkinson
1ae9b8ea1b
Merge branch '3.2.x' into 3.3.x
...
Closes gh-43071
2024-11-08 10:55:52 +00:00
Andy Wilkinson
5d63335a5c
Polish "Use constants for well-known scope names"
...
See gh-43065
2024-11-08 10:53:11 +00:00
Yanming Zhou
03841b1229
Use constants for well-known scope names
...
See gh-43065
2024-11-08 10:01:19 +00:00
Stéphane Nicoll
a224c8188c
Fix copyright year of updated file
...
See gh-42974
2024-11-02 20:21:19 +09:00
Tran Ngoc Nhan
9e92bfe906
Polish
...
See gh-42974
2024-11-02 20:20:06 +09:00
Andy Wilkinson
53186655f9
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42944
2024-10-30 10:44:04 +00:00
Andy Wilkinson
1ad5fb8638
Merge branch '3.2.x' into 3.3.x
...
Closes gh-42942
2024-10-30 10:26:04 +00:00
Andy Wilkinson
1c61e59099
Prohibit unnecessary values on @ConditionalOnMissingBean
...
Closes gh-42941
2024-10-30 10:24:00 +00:00