|
3 | 3 | :jdbc-schema-base: ../../../spring-modulith-events/spring-modulith-events-jdbc/src/main/resources
|
4 | 4 |
|
5 | 5 | [appendix]
|
6 |
| -[[appendix.migrating-from-moduliths]] |
7 |
| -== Migrating from Moduliths |
| 6 | +[[appendix.configuration-properties]] |
| 7 | +== Spring Modulith Configuration Properties |
| 8 | +[cols="2,1,3", options="header, unbreakable"] |
| 9 | +|=== |
| 10 | +|Property|Default value|Description |
8 | 11 |
|
| 12 | +|`spring.modulith.default-async-termination` |
| 13 | +|`true` |
| 14 | +|Whether to configure defaults for the async processing termination, namely to wait for task completion for 2 seconds. See `TaskExecutionProperties` for details. |
9 | 15 |
|
10 |
| -* `o.m.model.Modules` has been renamed to `o.s.m.model.ApplicationModules` |
11 |
| -* `o.m.model.ModuleDetectionStrategy` has been renamed to `o.s.m.model.ApplicationModuleDetectionStrategy` |
| 16 | +|`spring.modulith.events.jdbc.schema-initialization.enabled` |
| 17 | +|`false` |
| 18 | +|Whether to initialize the JDBC event publication schema. |
12 | 19 |
|
13 |
| -* `@o.m.test.ModuleTest` has been renamed to `@o.s.m.test.ApplicationModuleTest` |
| 20 | +|`spring.modulith.events.mongodb.transaction-management.enabled` |
| 21 | +|`true` |
| 22 | +|Whether to automatically enable transactions for MongoDB. Requires the database to be run with a replica set. |
14 | 23 |
|
15 |
| -* `o.m.docs.Documenter.Options` has been renamed to `o.s.m.docs.Documenter.DiagramOptions` |
16 |
| -* The diagram style of component diagrams now defaults to `DiagramStyle.C4` (override by calling `DiagramOptions.withStyle(DiagramStyle.UML)`) |
17 |
| -* The module canvas hides non exposed types by default. |
18 |
| -To include application-module-internal types in the canvas, configure `CanvasOptions` to `….revealInternals()`. |
19 |
| -* The output folder for component diagrams and application module canvases has moved from `moduliths-docs` to `spring-modulith-docs` located in your build's target folder (such as `target` for Maven). |
| 24 | +|`spring.modulith.moments.enableTimeMachine` |
| 25 | +|`false` |
| 26 | +|Whether to enable the <<moments, `TimeMachine`>>. |
| 27 | + |
| 28 | +|`spring.modulith.moments.granularity` |
| 29 | +|`HOURS` |
| 30 | +|The granularity of events to publish. (`HOURS`, `DAYS`) |
| 31 | + |
| 32 | +|`spring.modulith.moments.locale` |
| 33 | +|`Locale.getDefault()` |
| 34 | +|The `Locale` to use when determining week boundaries. |
| 35 | + |
| 36 | +|`spring.modulith.moments.zoneId` |
| 37 | +|`ZoneOffset.UTC` |
| 38 | +|The timezone of the dates for the events being published. |
| 39 | + |
| 40 | +|`spring.modulith.republish-outstanding-events-on-restart` |
| 41 | +|`false` |
| 42 | +|Whether to republish outstanding event publications on restarts of the application. |
| 43 | +|=== |
20 | 44 |
|
21 | 45 | [appendix]
|
22 | 46 | [[appendix.artifacts]]
|
@@ -120,3 +144,19 @@ include::{jdbc-schema-base}/schema-mysql.sql[]
|
120 | 144 | ----
|
121 | 145 | include::{jdbc-schema-base}/schema-postgresql.sql[]
|
122 | 146 | ----
|
| 147 | + |
| 148 | +[appendix] |
| 149 | +[[appendix.migrating-from-moduliths]] |
| 150 | +== Migrating from Moduliths |
| 151 | + |
| 152 | + |
| 153 | +* `o.m.model.Modules` has been renamed to `o.s.m.model.ApplicationModules` |
| 154 | +* `o.m.model.ModuleDetectionStrategy` has been renamed to `o.s.m.model.ApplicationModuleDetectionStrategy` |
| 155 | + |
| 156 | +* `@o.m.test.ModuleTest` has been renamed to `@o.s.m.test.ApplicationModuleTest` |
| 157 | + |
| 158 | +* `o.m.docs.Documenter.Options` has been renamed to `o.s.m.docs.Documenter.DiagramOptions` |
| 159 | +* The diagram style of component diagrams now defaults to `DiagramStyle.C4` (override by calling `DiagramOptions.withStyle(DiagramStyle.UML)`) |
| 160 | +* The module canvas hides non exposed types by default. |
| 161 | +To include application-module-internal types in the canvas, configure `CanvasOptions` to `….revealInternals()`. |
| 162 | +* The output folder for component diagrams and application module canvases has moved from `moduliths-docs` to `spring-modulith-docs` located in your build's target folder (such as `target` for Maven). |
0 commit comments