53 Commits

Author SHA1 Message Date
Oliver Drotbohm
dc7668d229 GH-387 - Update runtime.adoc by completing intro paragraph.
Original pull request: GH-384.
2023-11-24 16:24:08 +01:00
Oliver Drotbohm
01d8699fff GH-328 - Add mission statement to reference documentation. 2023-10-16 08:40:39 +02:00
Oliver Drotbohm
5b13bce62d GH-293 - Polishing. 2023-09-04 09:56:19 +02:00
Karl Heinz Marbaise
44c904a670 GH-293 - Project version is not correctly inserted into the documentation.
Original pull request: GH-290.
2023-09-04 09:56:09 +02:00
Oliver Drotbohm
c4b123341a GH-292 - Clarify event republication behavior on restart. 2023-09-04 09:48:37 +02:00
Oliver Drotbohm
cec759af0c GH-268 - Rename actuator endpoint to modulith.
To align with the conventions established by Spring Boot.
2023-08-15 09:30:00 +02:00
Yossi Spektor
0b110f70c2 GH-220 - Documentation polish. 2023-08-10 08:37:44 +02:00
Oliver Drotbohm
290b1c899b GH-257 - Add appendix listing all configuration properties exposed. 2023-08-09 21:21:18 +02:00
Oliver Drotbohm
04187a1706 GH-243 - Add section on how to customize the Clock instance to be used to determine event publication dates. 2023-08-01 16:10:49 +02:00
Oliver Drotbohm
c23c26bd78 GH-228 - Be explicit about which jMolecules ArchUnit rules are executed as part of our verification. 2023-08-01 16:10:41 +02:00
Oliver Drotbohm
60dad66637 GH-224 - Improve documentation of our examples.
Added a readme to briefly describe what's contained in the examples. Added Maven Wrapper to all example projects.

Limit the dependencies of the JDBC based example to sole Spring JDBC (dropping the Spring Data integration as it's not needed for the example. Remove unused, JPA-related property
2023-07-05 13:52:56 +02:00
Yossi Spektor
85ce443ce5 GH-213 - Specify proper transactional propagation type in docs.
The default propagation type of @Transactional is Propagation.REQUIRED. That, however would reuse the already running committed transaction which is not the correct behavior.

Related ticket: #80.
2023-06-23 12:49:06 +02:00
Oliver Drotbohm
596e8828a2 GH-197 - Promote project out of experimental status.
Set version number to 1.0.0-SNAPSHOT. New group id is org.springframework.modulith. Also adapt links to new project home.
2023-05-02 14:32:32 +02:00
Oliver Drotbohm
646722beaf GH-175 - Auto-configure transactions for MongoDB by default.
As the Event Publication registry only works in transactional environments, we should enable them for MongoDB by default. This will require a replica setup for the MongoDB instance the application interacts with.
2023-05-01 21:28:08 +02:00
Oliver Drotbohm
16bc4b3a60 GH-192 - Add default component groupings for jMolecules architecture abstractions.
We now register default groupings for the architectural abstractions [0] in case they are available on the classpath but still fall back to the standard Spring Framework ones if not. In other words, if you e.g. use the jmolecules-hexagonal-architecture ones, types and packages annotated with @Port will cause the affected types to appear under a "Ports" section in the "Spring components" row in the Application Module Canvas.

[0] https://github.com/xmolecules/jmolecules#available-libraries-1
2023-04-30 22:35:14 +02:00
Oliver Drotbohm
cd76c96250 GH-165 - Introduce ScenarioCustomizer extension.
We now provide a ScenarioCustomizer that can be used to prepare Scenario instances for test methods with a common customizer. This avoids the need to call ….customize(…) for all Scenarios declared in a test class with the same logic.
2023-04-20 14:15:10 +02:00
Oliver Drotbohm
c978435cfb GH-158 - Polishing.
Slightly more detailed docs on activating the schema initialization.
2023-03-07 16:37:52 +01:00
Michael Weirauch
23e4bc5698 GH-158 - Add configuration metadata for spring-modulith-events-jdbc 2023-03-07 16:37:48 +01:00
Oliver Drotbohm
ac52f51ad4 GH-148 - Overhaul of the reference documentation ob actuators and observability.
Renamed top-level section to "Production-ready features" to align with Spring Boot. Moved actuator support before observability one. Introduced introductory section to showcase the Insight starter.
2023-03-03 18:01:38 +01:00
Oliver Drotbohm
802ac39d69 GH-152 - Add Insight starter to starter overview in reference docs. 2023-03-03 18:00:15 +01:00
Oliver Drotbohm
ce264aaf96 GH-150 - Scenario now execute stimulus within new transaction.
To make sure that we trigger transactional event listeners from Scenario based integration tests, we trigger stimulus executions using transactions configured to require a new transaction. This makes sure that Scenarios work in integration tests using @Transactional, of course circumventing the default rollback behavior of those transactions. There's no other way to implement this as we *need* to commit a transaction to trigger the delivery of transaction-bound events.

Fixed a bug in the handling of Scenario.stimulus(Supplier<T>) as for this, the Supplier handed into the method had not been executed transactionally at all.
2023-02-26 20:26:53 +01:00
Oliver Drotbohm
a4ebd569ad GH-144 - Update starter reference table in documentation. 2023-02-24 12:26:38 +01:00
Oliver Drotbohm
926029ccbb GH-136 - Typos in reference documentation. 2023-02-20 20:03:10 +01:00
Oliver Drotbohm
a8abb7ba4b GH-136 - Fix issues in reference documentation. 2023-02-20 20:03:10 +01:00
Oliver Drotbohm
2f34d69d83 GH-136 - Update reference documentation about the newly introduced Scenario API. 2023-02-20 20:03:09 +01:00
Morten Lilbæk Pedersen
8b913bc536 GH-129 - Fix incorrect package name in reference documentation.
Use correct ApplicationModuleDetectionStrategy package name
2023-02-03 10:53:48 +01:00
Oliver Drotbohm
3fba520e9c GH-121 - Added new modules to reference documentation. 2023-01-19 15:18:34 +01:00
Oliver Drotbohm
c4321c5305 GH-111 - Link to Javadoc from project metadata in reference documentation. 2023-01-12 20:07:13 +01:00
Oliver Drotbohm
0d009f06c9 GH-111 - Package and publish Javadoc.
A lot of Javadoc polish. Not done yet.
2023-01-12 16:20:20 +01:00
Oliver Drotbohm
9a01404ce2 GH-113 - Use colored inline icons in reference documentation. 2023-01-12 01:26:14 +01:00
Oliver Drotbohm
20554c3af3 GH-103 - Reference documentation for ApplicationModuleInitializer. 2023-01-06 16:23:20 +01:00
Oliver Drotbohm
dde02ae257 GH-100 - Update reference documentation. 2023-01-03 13:23:17 +01:00
Oliver Drotbohm
25f789f298 GH-80 - Renamed ApplicationModuleIntegrationListener to ApplicationModuleListener. 2022-12-23 15:43:15 +01:00
Oliver Drotbohm
c1fc3032b7 GH-87 - Expose module structure as actuator endpoint.
Introduce Spring Modulith Actuator module to expose the application module structure as Spring Boot actuator. This required a Spring Modulith Runtime module to be extracted from the Spring Modulith Observability one. The former now contains the auto-configured ApplicationRuntime and ApplicationModulesRuntime bean instances to be able to bootstrap a ApplicationModules asynchronously on application startup. The actuator module then contains a Spring Boot @Endpoint implementation consuming the ApplicationModules to render JSON describing the application module structure.
2022-12-23 10:56:47 +01:00
Oliver Drotbohm
9463b598c3 GH-80 - Introduce ApplicationModuleIntegrationListener.
We now provide @ApplicationModuleIntegrationListener as shortcut for the combination of @Async @Transactional @TransactionalEventListener to provide a dedicated annotation for the recommended integration arrangement.
2022-12-02 18:23:16 +01:00
Daniel Bär
ec613d52c5 GH-75 - Fix typo in reference documentation. 2022-11-24 22:43:54 +01:00
Tobias Haindl
b4b7986525 GH-55 - Fix typo in reference documentation. 2022-10-28 15:12:47 +02:00
Karsten Silz
2f5549da75 GH-59 - Fixed typos in reference documentation.
"ApplicationEventPublisher" is the class in the sample code, not "ApplicationEventListener". Clarified default serialization.
2022-10-28 14:58:13 +02:00
Moaad
0a71507d99 GH-51 - Fixing a typo in fundamentals documentation. 2022-10-24 16:03:55 +02:00
Jochen Wierum
9ac874d8d3 GH-52 - Fix smaller typos in documentation. 2022-10-24 15:45:46 +02:00
jwalter
db4e6902fe GH-53 - Tiniest of typo fixes (even -> event). 2022-10-24 15:44:01 +02:00
Oliver Drotbohm
080195af19 GH-6 - More migration instructions in reference documentation. 2022-10-21 11:11:27 +02:00
Oliver Drotbohm
1b06b8b689 GH-6 - Documenting how to use ApplicationModuleDetectionStrategy. 2022-10-18 11:57:21 +02:00
Oliver Drotbohm
6594d7beb0 GH-6 - More reference documentation. 2022-10-18 09:50:51 +02:00
Oliver Drotbohm
615c72b1ab GH-6 - Add documentation section on observability. 2022-10-17 12:55:15 +02:00
Oliver Drotbohm
9593031c67 GH-6 - More reference documentation. 2022-10-17 12:53:36 +02:00
Oliver Drotbohm
d43f75a220 GH-6 - Upgrade to Spring Asciidoctor Backends 0.0.4 snapshots.
To benefit from support for inline FontAwesome icons.
2022-10-17 12:53:36 +02:00
Oliver Drotbohm
86cd30e182 GH-6 - More reference documentation. 2022-09-20 17:09:28 +02:00
Oliver Drotbohm
fb23c452cd GH-6 - Moar reference documentation. 2022-07-29 21:15:19 +02:00
Oliver Drotbohm
ab86417814 GH-6 - More reference documentation.
Application module fundamentals, verification.
2022-07-29 00:20:27 +02:00