Stéphane Nicoll
e5b03862d3
Polish "Add property to configure Spring MVC default content types"
...
See gh-44040
11 months ago
Dmytro Nosan
d27fd31a3d
Add property to configure Spring MVC default content types
...
This commit adds a configuration property to configure the default
content types with Spring MVC.
See gh-44040
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
11 months ago
Johnny Lim
c9320de559
Use consistent exception messages in Assert calls
...
See gh-44044
Signed-off-by: Johnny Lim <izeye@naver.com>
11 months ago
Johnny Lim
a39e1c4a09
Polish
...
Signed-off-by: Johnny Lim <izeye@naver.com>
See gh-44034
11 months ago
Stéphane Nicoll
dc9aa6d168
Polish
...
See gh-44034
11 months ago
Moritz Halbritter
8536520e5e
Ignore unbindable datasource datasource properties
...
Closes gh-43988
11 months ago
Phillip Webb
921c362b97
Add 'spring.r2dbc.pool.acquire-retry' property
...
Add a new property to configure the pool acquire retry value.
Closes gh-44017
11 months ago
Phillip Webb
a13fe0b565
Make `@ConditionalOn[Boolean]Property` `@Repeatable`
...
Update `ConditionalOnProperty`, `ConditionalOnBooleanProperty`
and `OnPropertyCondition` to support `@Repeatable`.
Closes gh-2541
11 months ago
Phillip Webb
3911ca7c8e
Polish @ConditionalOnBean and @ConditionalOnMissingBean tests
...
Combine generic and regular tests and apply some polish.
See gh-29500
11 months ago
Uladzislau Seuruk
aa7864ea38
Add ConditionalOnBean support for generic @Bean return types
...
Update `ConditionalOnBean` so support generics when resolving the
`@Bean` method.
See gh-29500
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
11 months ago
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
11 months ago
Phillip Webb
7545bed284
Polish
11 months ago
Moritz Halbritter
cce509c7df
Add configuration property to specify jOOQ settings file
...
The property is named 'spring.jooq.config' and is of type Resource,
so that it supports classpath: and all the other common prefixes.
The config is loaded through JAXB. If JAXB is not on the classpath,
an exception is thrown. Also adds a failure analyzer for this exception.
Closes gh-38778
11 months ago
Phillip Webb
c22dcedb59
Fix @ConfigurationProperties prefix violation
...
See gh-43917
11 months ago
Phillip Webb
8ec61b9870
Polish 'Refactor `@ConfigurationProperties` that only use `prefix`'
...
See gh-43917
11 months ago
Yanming Zhou
c1d97ffe16
Refactor `@ConfigurationProperties` that only use `prefix`
...
See gh-43917
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Phillip Webb
585030679a
Polish 'Use isXxx() instead of getXxx() for boolean properties'
...
See gh-43934
11 months ago
Yanming Zhou
964abef6b3
Use isXxx() instead of getXxx() for boolean properties
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
See gh-43934
11 months ago
Yanming Zhou
7391cd876e
Rename configuration class for consistency
...
See gh-43866
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
49597e0b55
Polish "Parse Redis database from url if present"
...
See gh-43813
11 months ago
Yanming Zhou
fcc6655c06
Parse Redis database from url if present
...
See gh-43813
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
c20f6cba8a
Polish "Add spring.validation.method.adapt-constraint-violations property"
...
See gh-43886
11 months ago
Yanming Zhou
0e7d480545
Add spring.validation.method.adapt-constraint-violations property
...
See gh-43886
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
7d34e6df07
Revert "Merge pull request #43813 from quaff"
...
This reverts commit 4478bd5209 , reversing
changes made to c032e1f872 .
11 months ago
Yanming Zhou
24d1b3ca94
Parse redis database from url if present
...
See gh-43813
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
766c17fcdd
Polish "Replace @ConditionalOnProperty with …BooleanProperty where feasible"
...
See gh-43868
11 months ago
Yanming Zhou
960c8825e0
Replace @ConditionalOnProperty with …BooleanProperty where feasible
...
See gh-43868
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
0f5eb465c9
Upgrade to Liquibase 4.31.0
...
Closes gh-43896
11 months ago
Andy Wilkinson
4296376930
Document that clean on validation error has been removed in Flyway 11
...
Closes gh-43890
11 months ago
Brian Clozel
2dabd11211
GraphQL should not back off when GrapQlSource is present
...
Prior to this commit, the GraphQL auto-configuration that defines the
infrastructure beans for base support would only be active when:
* GraphQL schema files are detected in the configured locations
* or if GraphQlSourceBuilderCustomizer beans are present
This would allow some "code first" approaches, but not situations where
developers contribute their own `GraphQlSource`. This commit ensures
that the auto-configuration is processed even if the application only
contributes a custom `GraphQlSource` bean.
Closes gh-33096
11 months ago
Johnny Lim
1e39af27d4
Fix Javadoc since for GsonProperties.Strictness
...
See gh-43877
Signed-off-by: Johnny Lim <izeye@naver.com>
11 months ago
Moritz Halbritter
3beec788f9
Adapt to Spring Security deprecations
11 months ago
Brian Clozel
6957557fd7
Configure additional GraphQL schema files
...
Prior to this commit, the GraphQL auto-configuration would provide
configuration properties for specifying the locations and file
extensions of schema files to be scanned during startup.
This commit adds a new "spring.graphql.schema.additional-files" that
applications can use to point at particular files, like
"classpath:mylocation/schema.graphqls". These files will be parsed and
considered for the schema in addition to the scanned ones.
Closes gh-42792
11 months ago
Stéphane Nicoll
7d6f81b527
Fix build failure
11 months ago
Vedran Pavic
2bf413c9a9
Add support for AWS Advanced JDBC Wrapper
...
This commit adds an entry for the AWS Advanced JDBC Wrapper to the
DatabaseDriver enum. This allows the driver class name to be
auto-detected from jdbc:aws-wrapper:… URLs.
See gh-43812
Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
11 months ago
Yanming Zhou
54c4716972
Improve ConditionalOnSingleCandidate's Javadoc
...
See gh-43826
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
0f94530e15
Polish "Polish PropertiesRedisConnectionDetails"
...
See gh-43825
11 months ago
Yanming Zhou
a18c2f8f7e
Polish PropertiesRedisConnectionDetails
...
See gh-43825
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
d4c7013c8d
Tolerate Gson 2.10 and earlier
...
Closes gh-43442
11 months ago
Andy Wilkinson
2f29a49a1d
Remove APIs deprecated for removal in 3.5
...
Closes gh-43788
11 months ago
Phillip Webb
f8a1a6e6a1
Polish "Deprecate ConditionOutcome.inverse()"
...
See gh-43739
11 months ago
Yanming Zhou
d85a93b60b
Deprecate ConditionOutcome.inverse()
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
See gh-43739
11 months ago
Phillip Webb
4812328be2
Polish OnPropertyCondition
...
See gh-43754
11 months ago
Dmytro Nosan
9c146c0a40
Polish OnPropertyCondition
...
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
See gh-43754
11 months ago
Phillip Webb
a49719d73e
Use consistent exception messages in Assert calls
...
Update `Assert` calls to consistently use messages of the form
"'item' must [not] ...".
Closes gh-43780
11 months ago
Phillip Webb
f08188d5cf
Change relevant Assert calls to throw IllegalStateException
...
Change certain Assert class from `assert...` to `assertState`
so that a more appropriate `IllegalStateException` is thrown.
Fixes gh-43779
11 months ago
Phillip Webb
b9efd591e5
Polish "Prevent redis pool to initialize in unit test"
...
See gh-43774
11 months ago
Stéphane Nicoll
46a499bf1f
Make RuntimeHints predicates more explicit
...
This commit narrows method invocation wherever applicable as the default
is 'introspect' only.
11 months ago
Stéphane Nicoll
7b04cddf1d
Polish "Prevent redis pool to initialize in unit test"
...
See gh-43774
11 months ago
He Zean
911a9a14ea
Prevent redis pool to initialize in unit test
...
See gh-43774
Signed-off-by: He Zean <realhezean@gmail.com>
11 months ago