Commit Graph

654 Commits

Author SHA1 Message Date
Oliver Drotbohm
9464e83ea4 GH-854 - Polish rendering of events listened to in Application Module Canvases. 2024-10-08 20:18:52 +02:00
Oliver Drotbohm
5b2301584d GH-864 - Upgrade to Develocity conventions 0.0.22. 2024-10-08 17:29:32 +02:00
Oliver Drotbohm
6ac2b786eb GH-854 - Automatically include Spring Boot configuration processor in APT module. 2024-10-08 17:28:39 +02:00
Oliver Drotbohm
d7d2a2750f GH-860 - Switch to managed plugin dependencies in APT module. 2024-10-08 17:27:52 +02:00
Oliver Drotbohm
42a9c48e80 GH-863 - Add convenience method for creating a default EventExternalizationConfiguration. 2024-10-08 15:09:12 +02:00
Oliver Drotbohm
e3077a7abd GH-862 - Trigger jMolecules architecture verifications if present on the classpath. 2024-10-08 11:14:06 +02:00
Oliver Drotbohm
9b11606425 GH-861 - JUnit change detection now properly detects changes in current working directory.
Added a decorating FileModificationDetector implementation that filters changes to only return those that affect the current working directory, so that the detection works properly if executed from a nested folder in multi-module projects.
2024-10-08 11:10:21 +02:00
Oliver Drotbohm
963ac173e9 GH-860 - Use <pluginManagement /> section to manage build plugin versions. 2024-10-06 13:13:45 +02:00
Oliver Drotbohm
db40cd3da3 GH-854 - Polishing.
Fix invalid @see tag.
2024-10-06 12:59:12 +02:00
Oliver Drotbohm
9d249961c3 GH-859 - Avoid creating a transaction for event externalization.
We now use the ability to override transaction propagation introduce for GH-858 to tweak the application module listener declaration on DelegatingEventListener so that we do not create a transaction by default. This avoids a database connection being acquired as the listener is very likely to interact with a non-transactional resource anyway.
2024-10-06 12:54:17 +02:00
Oliver Drotbohm
f00e5dc0eb GH-858 - Polishing. 2024-10-06 12:44:10 +02:00
Oliver Drotbohm
d510697afa GH-858 - Allow customizing transaction propagation on @ApplicationModuleListener. 2024-10-06 12:44:01 +02:00
Roland Weisleder
d6feb70752 GH-853 - Update quickstart section in readme to current version. 2024-10-06 12:10:31 +02:00
Oliver Drotbohm
f1c318b1d3 GH-857 - Add Microsoft SQL Server schema to reference documentation. 2024-10-05 00:07:20 +02:00
Oliver Drotbohm
2d3a7026a9 GH-856 - Upgrade to jMolecules 2023.1.5. 2024-10-05 00:02:16 +02:00
Oliver Drotbohm
1708f5e181 GH-854 - Spring Modulith-native support for Javadoc usage in Application Module Canvases.
We now ship our own APT (included in the core starter) that automatically extracts the user code's Javadoc into a metadata file in generated-spring-modulith/javadoc.json. The documentation generation support picks up that file through SpringModulithDocumentationSource. Asciidoctor has been extended to make more use of the Javadoc where ever it renders a plain type.
2024-10-03 23:38:57 +02:00
Oliver Drotbohm
2a807cc213 GH-840 - Fix artifact listing in reference documentation. 2024-09-24 11:36:23 +02:00
Marcin Słowiak
0ea5f326db GH-671 - Deprecate AWS SNS and SQS integration modules.
In favor of the implementations now available in Spring Cloud AWS [0].

[0] https://github.com/awspring/spring-cloud-aws/releases/tag/v3.2.0
2024-09-24 11:31:14 +02:00
FezLight
e0b79e5fb1 GH-836 - Add support for MariaDB database. 2024-09-24 11:23:05 +02:00
Oliver Drotbohm
0c2f79a56d GH-803 - Prepare next development iteration. 2024-09-20 23:26:04 +02:00
Oliver Drotbohm
a3ed03cff3 GH-803 - Release version 1.3.0-M3. 2024-09-20 23:26:03 +02:00
Oliver Drotbohm
438f17b56d GH-813 - Introduce FormattableType.
As replacement for misspelled Formatable type.
2024-09-20 22:02:17 +02:00
Oliver Drotbohm
9d818b467c GH-824 - Upgrade to Spring Framework 6.2 RC1. 2024-09-19 18:10:04 +02:00
Oliver Drotbohm
797809d6d0 GH-824 - Upgrade to Spring Boot 3.4 M3. 2024-09-19 18:03:46 +02:00
Nils Breunese
4215b35d27 GH-820 - Update to Maven 3.9.9. 2024-09-17 09:19:19 +02:00
Oliver Drotbohm
3773c0d175 GH-31 - Fix build resource file detection for test execution optimizations. 2024-09-16 17:42:16 +02:00
Oliver Drotbohm
a391e86ee8 GH-823 - Update reference docs after republication property deprecation. 2024-09-16 15:36:22 +02:00
Oliver Drotbohm
1092184258 GH-31 - Reference documentation for test optimizations. 2024-09-16 15:36:22 +02:00
Oliver Drotbohm
d041c6d52e GH-31 - Polishing.
Added unit tests for the test execution conditions.

Add JUnit module to the BOM. Moved the jGit version into a managed property in the root pom.xml.
2024-09-16 15:36:22 +02:00
Lukas Dohmen
8cf3920af9 GH-31 - Support for optimized test execution.
Initital prototype to support optimized test execution based on the Spring Modulith application module model. The change introduces a new artifact spring-modulith-junit that extends JUnit's test execution lifecycle. It obtains the ApplicationModules model for the application and potentially skips test classes for execution in case the changes made to the application reside in modules the current test case's module does not depend on.

Co-authored-by: Lukas Dohmen <l.dohmen@yahoo.de>
Co-authored-by: David Bilge <david.bilge@gmail.com>
2024-09-16 15:36:21 +02:00
Oliver Drotbohm
db4ab8f55d GH-823 - Move spring.modulith.republish-outstanding-events-on-restart into spring.modulith.events namespace. 2024-09-13 17:51:22 +02:00
Oliver Drotbohm
bec0a35da2 GH-818 - Fix reference docs on event republication on startup defaults. 2024-09-13 17:38:41 +02:00
Oliver Drotbohm
dc74b414f3 GH-801 - Properly guard for presence of jMolecules' @Module type.
As @Module is absent from the Kotlin flavor of jMolecules, code that refers to that is now guarded with a more specific check for that type in particular.
2024-09-12 16:57:44 +02:00
Nils Breunese
1015570942 GH-809 - Fix and improve Kotlin code examples in reference documentation. 2024-09-12 16:40:00 +02:00
Oliver Drotbohm
7bdccedbb3 GH-803 - Force tag signing for releases. 2024-09-12 13:07:39 +02:00
Oliver Drotbohm
03a6700a52 GH-804 - Polishing.
Actively reject attempts to use a dedicated schema with SQL Server. Prevent schema reset being executed if no schema is used. Properly report exception during database name detection.

Original pull request: GH-808.
2024-09-11 18:31:09 +02:00
Øyvind Johannessen
a1f2eb0482 GH-804 - Support for schema initialization on Microsoft SQL Server.
Original pull request: GH-808.
2024-09-11 18:30:32 +02:00
Oliver Drotbohm
100c1ab198 GH-803 - Set build branches for CI builds properly. 2024-09-08 15:51:43 +02:00
Oliver Drotbohm
0bbda9a8bd GH-802 - Fix Javadoc. 2024-09-08 15:23:10 +02:00
Oliver Drotbohm
f09f3aa827 GH-802 - Allow transitive application module dependency resolution.
ApplicationModule now exposes both getDirectDependencies(…) and getAllDependencies(…), the former as alias for the now deprecated getDependencies(…) for symmetry reasons. The latter recursively resolves transitive dependencies.

We now optimize the dependency analysis by skipping types residing java and javax packages as they're not relevant to our dependency arrangement model. A few additional optimizations in ApplicationModuleDependencies to avoid iterating over each establishing dependency if all we need to look at is the general module dependency arrangement.

Improve performance of ApplicationModule.contains(…) checks by checking whether the given type can even live inside the package space of the module.
2024-09-06 21:41:35 +02:00
K. Siva Prasad Reddy
d5ab8b65cf GH-795 - Documentation polishing. 2024-09-04 14:38:51 +02:00
K. Siva Prasad Reddy
2b6a0bebf2 GH-795 - Using @MockitoBean and @MockitoSpyBean. 2024-09-04 14:37:46 +02:00
Oliver Drotbohm
5d57e2ce0f GH-613 - Fix SPI interface declaration in reference documentation example. 2024-09-04 12:06:25 +02:00
Oliver Drotbohm
d51dc86a56 GH-613 - Stable anchor for reference documentation section. 2024-09-04 12:04:35 +02:00
Oliver Drotbohm
636b5988cb GH-797 - Guard against multiple non-unique module base packages. 2024-09-04 10:34:10 +02:00
Oliver Drotbohm
1062f53bfa GH-613 - Add SPI to support external ApplicationModuleSource contributions.
We now expose ApplicationModuleSourceFactory as Spring Factories-based SPI interface to further contribute ApplicationModuleSource instances either from a provided root package subject for module detection through a (potentially customized) ApplicationModuleDetectionStrategy or by explicitly listing particular module base packages.
2024-09-04 08:51:19 +02:00
Oliver Drotbohm
b370d5a3f2 GH-787 - Allow references between sibling sub-modules.
Previously, we rejected references between sub-modules both contained in the same parent package.

Related ticket: GH-578.
2024-08-30 18:22:02 +02:00
Thiago Bomfim
803c69835d GH-768 - Fixing assertion message in HourHasPassed. 2024-08-30 17:32:49 +02:00
Martin Beentjes
efb3729079 GH-788 - Correct package declaration in JacksonEventSerializer. 2024-08-30 17:23:19 +02:00
Oliver Drotbohm
471065c113 GH-748 - Loosen Javadoc generation to allow custom tags. 2024-08-27 22:10:50 +02:00