GH-232 - Improve configuration property metadata in Event Publication Registry.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.modulith.events.config.EventPublicationConfiguration
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"name": "spring.modulith.events.jdbc-schema-initialization.enabled",
|
||||
"name": "spring.modulith.events.jdbc.schema-initialization.enabled",
|
||||
"type": "java.lang.boolean",
|
||||
"description": "Whether to initialize the JDBC event publication schema.",
|
||||
"defaultValue": "false"
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.transaction.support.TransactionTemplate;
|
||||
*/
|
||||
@AutoConfiguration
|
||||
@AutoConfigureBefore(TransactionAutoConfiguration.class)
|
||||
@ConditionalOnProperty(//
|
||||
@ConditionalOnProperty(
|
||||
name = "spring.modulith.events.mongodb.transaction-management.enabled",
|
||||
havingValue = "true",
|
||||
matchIfMissing = true)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"name": "spring.modulith.events.mongodb.transaction-management.enabled",
|
||||
"type": "java.lang.boolean",
|
||||
"description": "Whether to automatically enable transactions for MongoDB. Requires the database to be run with a replica set.",
|
||||
"defaultValue": "true"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user