spring-boot/spring-boot-project
Stern, Ittay (is9613) 1c7d99890e Allow spring.data.cassandra.config file to override default values
Update `CassandraAutoConfiguration` so that properties in a
`spring.data.cassandra.config` file can override the default values
defined in `CassandraProperties`.

This commit changes two things:

1. Any primitive on `CassandraProperties` are replaced with object values.
   This allows distinguishing between defaults values and no-values. Then
   CassandraAutoConfiguration.mapConfig() can use whenNonNull() predicate
   to ignore those.

2. `CassandraProperties` no longer populate default values on any
   property. With that, the defaults can be applied on top of the file
   spring.data.cassandra.config; i.e. the config file have higher
   precedence than the defaults, but lower that any spring.data.cassandra.*
   property.

See gh-31238
2022-06-22 19:27:40 -07:00
..
spring-boot Handle malformed JSON more consistently 2022-06-22 18:31:16 +01:00
spring-boot-actuator Log a warning when a health indicator takes too long to run 2022-06-14 09:32:07 -07:00
spring-boot-actuator-autoconfigure Polish CompositeHandlerExceptionResolver 2022-06-22 16:23:38 -07:00
spring-boot-autoconfigure Allow spring.data.cassandra.config file to override default values 2022-06-22 19:27:40 -07:00
spring-boot-cli Remove redundant throws declarations from internal APIs 2022-05-26 15:47:35 +01:00
spring-boot-dependencies Revert "Start building against Spring Session 2021.1.4 snapshots" 2022-06-22 21:13:18 +01:00
spring-boot-devtools Remove redundant throws declarations from internal APIs 2022-05-26 15:47:35 +01:00
spring-boot-docs Add Apache HttpClient WebClient support to documentation 2022-06-21 14:00:55 +02:00
spring-boot-parent
spring-boot-properties-migrator
spring-boot-starters
spring-boot-test Polish 2022-05-26 17:30:39 +01:00
spring-boot-test-autoconfigure Remove redundant throws declarations from internal APIs 2022-05-26 15:47:35 +01:00
spring-boot-tools Polish 2022-06-22 08:15:04 +02:00