Commit Graph

596 Commits

Author SHA1 Message Date
Oliver Drotbohm
40ecf14383 GH-760 - Integration builds test against open source versions only. 2024-08-23 11:03:08 +02:00
Oliver Drotbohm
662adac088 GH-578 - Improve nesting code sample in reference documentation. 2024-08-16 17:14:40 +02:00
Oliver Drotbohm
7838204c25 GH-578 - Support for nested application modules.
The ApplicationModules bootstrap now triggers the module base package detection, followed by a new, additional pass of detecting nested application module packages. Those packages are now added to the ones we create ApplicationModule instances for and also handed into the module instance creation step as exclusions to make sure that parent modules do not include code residing in sub-modules.

The bootstrap of ApplicationModules now uses a dedicated ApplicationModuleSource to allow calculating a default module name relative to the application base package.

Each module now operates on the Classes instance obtained from the JavaPackage instance that constitutes the module's base package but filtered by the given exclusions.
2024-08-16 17:09:51 +02:00
Oliver Drotbohm
b927bf1211 GH-764 - Prevent ApplicationModuleInformation from picking up info from nested packages. 2024-08-13 22:01:01 +02:00
Oliver Drotbohm
68afaa8c83 GH-704 - Added simple script for backport ticket creation. 2024-08-13 16:54:23 +02:00
Oliver Drotbohm
ff6f09606b GH-761 - Open up ApplicationModules.of(…) to take a DescribedPredicate<? super JavaClass>. 2024-08-13 16:26:47 +02:00
Oliver Drotbohm
82af04b100 GH-760 - Forward passwords for commercial repo authentication. 2024-08-13 12:46:42 +02:00
Oliver Drotbohm
87b2fd72b8 GH-760 - Fix integration builds.
Update integration versions and reference to commercial repositories.
2024-08-13 12:43:18 +02:00
Oliver Drotbohm
0f84de8377 GH-725 - Fix test context cache key contributions.
Both ModuleContextCustomizer and ModuleTypeExcludeFilter contribute to the calculation of the context configuration which the Spring Test Context Framework uses to decide whether it's necessary to create new ApplicationContext instances.

Both of them previously used a Supplier<ModuleTestExecution> to calculate equals(…) and hashCode() which -- by definition -- does not result in the same result even when created with identical input. We now rather use the source class instance eventually backing the ModuleTestExecution, as that is the internal cache key in turn.
2024-08-10 23:56:01 +02:00
Oliver Drotbohm
9a908ee275 GH-754 - Rename EventPublication.isPublicationCompleted() to ….isCompleted(). 2024-08-07 21:25:58 +02:00
Oliver Drotbohm
9c7537f378 GH-753 - Avoid superfluous, repeated deserialization in JdbcEventPublication.getEvent(). 2024-08-07 21:22:55 +02:00
Oliver Drotbohm
4802089604 GH-749 - Optimize publication completion by event and target identifier.
We now additionally guard the completion query by event and target identifier to also only apply to publications that have not been completed yet. This will allow databases to optimize the query plan to apply simple comparisons (the date being null) over complex comparisons (the event payload) to reduce the intermediate results to process further and thus improve performance.
2024-08-06 21:24:12 +02:00
Oliver Drotbohm
06f4cc70b0 GH-258 - Optimize publication completion to issue by-id query.
DefaultEventPublicationRegistry now tracks the event publications currently in progress, so that the completion step can use the database identifier to issue an update statement solely based on that.
2024-08-06 21:24:09 +02:00
Oliver Drotbohm
849cc3e506 GH-745 - Polishing.
Reintroduce original method in deprecated form.
2024-07-29 23:58:29 +02:00
Igor Mukhin
cc571baf86 GH-745 - Fix typo in ApplicationModuleDetectionSTrategy.explicitlyAnnotated(). 2024-07-29 23:58:06 +02:00
Oliver Drotbohm
dad454aea5 GH-704 - Read SHAs to backport from source branch. 2024-07-29 23:52:26 +02:00
Oliver Drotbohm
02107e6a1c GH-744 - Fix observability interception for components declaring event listeners.
We now intercept all non-private methods on components, even if declared as event listeners.
2024-07-29 23:43:53 +02:00
Oliver Drotbohm
fbe1c5056f GH-742 - Re-enable linking to Spring Boot Javadoc. 2024-07-19 09:47:18 +02:00
Oliver Drotbohm
1e3a61838e GH-742 - Prepare next development iteration. 2024-07-19 01:58:03 +02:00
Oliver Drotbohm
9bf8a70c9f GH-742 - Release version 1.3.0-M1. 2024-07-19 01:58:03 +02:00
Oliver Drotbohm
6096bdb1dd GH-742 - Disable linking to Spring Boot Javadoc as it breaks the build. 2024-07-19 01:56:53 +02:00
Oliver Drotbohm
c6c58277e8 GH-737 - Work around double registry registration in AWS integration tests.
Looks like Boot 3.4 registers an addition DynamicPropertyRegistry bean.
2024-07-19 01:43:59 +02:00
Oliver Drotbohm
32a7b5dc74 GH-742 - Fix version of distribution module. 2024-07-19 01:31:26 +02:00
Oliver Drotbohm
b6a73c965f GH-737 - Upgrade to Spring Boot 3.4 M1. 2024-07-18 23:18:16 +02:00
Oliver Drotbohm
3b853507c1 GH-466 - Polishing.
Moved integration test to integration tests module.
2024-07-18 23:08:29 +02:00
Lukas Dohmen
bf120cf44b GH-466 - Allow using ApplicationModuleTest outside of module packages. 2024-07-17 00:14:41 +02:00
Oliver Drotbohm
69499b9258 GH-644 - Remove deprecated configuration method on Documenter. 2024-07-16 14:56:01 +02:00
Oliver Drotbohm
8e7225b9f7 GH-644 - Polishing.
Documenter now remembers whether it has cleared the output directory so that multiple attempts to clear on one Documenter instance will not wipe the content previously generated on the same instance. All methods ultimately creating files trigger the one-time target folder wipe now.

Moved file system operations into the OutputFolder abstraction.

A couple of parameter renames for consistency.
2024-07-16 14:54:58 +02:00
Tobias Haindl
08430ad1af GH-644 - Add option to clean the output directory in documentation generation. 2024-07-15 19:27:21 +02:00
Oliver Drotbohm
b4dae619c1 GH-644 - Initial draft. 2024-07-15 17:51:04 +02:00
Oliver Drotbohm
6906aa0ea4 GH-726 - Only create event publication registry entries for after commit listeners. 2024-07-14 19:36:43 +02:00
Oliver Drotbohm
6636a78044 GH-704 - Improve back-port script to cherry pick all commits associated to the source ticket. 2024-07-14 19:36:43 +02:00
Oliver Drotbohm
780e4bcaaa GH-704 - Attempt cherry-pick before creating the ticket. 2024-07-14 19:26:21 +02:00
Oliver Drotbohm
8369eec305 GH-728 - Upgrade to jMolecules 2023.1.4. 2024-07-12 16:20:10 +02:00
Oliver Drotbohm
07ddeac700 GH-685 - Polishing.
Disable schema support for MySQL as it doesn't know about schemas per database.

General polishing.
2024-07-09 11:23:14 +02:00
Raed
75b3ff4cac GH-685 - Introduce spring.modulith.events.jdbc.schema to allow defining the database schema for the event_publication table. 2024-07-08 23:12:26 +02:00
Eric Haag
17c329dc4e GH-714 - Migrate to Maven Develocity conventions. 2024-07-08 22:20:04 +02:00
Raed
6def19ed4b GH-707 - Enable tests that were mistakenly disabled. 2024-07-08 22:14:07 +02:00
Oliver Drotbohm
d3e677a1e1 GH-704 - More verbose output about the issued gh command. 2024-07-08 22:13:09 +02:00
Raed
de4a5dd0e3 GH-709 - Fix typo in Javadoc. 2024-07-08 22:06:33 +02:00
Oliver Drotbohm
5dbf329cd9 GH-704 - Add script to back-port commits.
The script creates tickets for the back-ports, cherry-picks the latest commit of the current branch and adapts the commit messages of them to the ticket ids of the newly created tickets.
2024-07-08 22:05:28 +02:00
Oliver Drotbohm
e7515cc1dc GH-638 - Polishing. 2024-07-08 17:21:08 +02:00
Cora Iberkleid
d32ef518e0 GH-638 - Create aggregating Asciidoc document including all files generated. 2024-07-08 17:17:16 +02:00
Oliver Drotbohm
debe021d3d GH-699 - Extract common properties of JDBC EPR test setup. 2024-07-05 10:57:34 +02:00
adrien-lesur
a3d44689ba GH-687 - Fix broken link to Spring Data Domain Event publishing. 2024-07-05 10:52:24 +02:00
Oliver Drotbohm
cf0672439f GH-694 - Upgrade to latest Develocity setup. 2024-07-02 14:59:05 +02:00
Oliver Drotbohm
34ead797f6 GH-672 - Upgrade to Flapdoodle MongoDB 4.14. 2024-06-19 16:20:22 +02:00
Dimitrios Begnis
a821810783 GH-670 - Add documentation for Neo4j modules. 2024-06-19 16:18:11 +02:00
Oliver Drotbohm
5b2a0026be GH-664 - Link to Spring Boot's Javadoc. 2024-06-18 15:14:28 +02:00
Oliver Drotbohm
1b1028f059 GH-650 - Fix named interface detection in case of nested packages.
If named interfaces are declared in nested packages, the name detection might accidentally pick up the names declared in child packages. We now deliberately only inspect the base package.
2024-06-18 13:57:50 +02:00