Commit Graph

473 Commits

Author SHA1 Message Date
Oliver Drotbohm
b4a2c2ae43 GH-586 - Fix configuration property metadata for JSON support in Kafka and RabbitMQ. 2024-05-08 12:41:49 +02:00
Oliver Drotbohm
d5fcda7f45 GH-585 - java.lang.boolean -> java.lang.Boolean in configuration property metadata. 2024-05-08 12:06:39 +02:00
Oliver Drotbohm
c16751b98b GH-576 - Prepare next development iteration. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
2a9d3fda2a GH-576 - Release version 1.1.4. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
05521a0c4f GH-574 - Upgrade to Lombok 1.18.32.
Fixes GH-574.
2024-04-29 09:07:22 +02:00
Oliver Drotbohm
fdf5913c1c GH-570 - Upgrade to jMolecules 2023.1.3. 2024-04-29 08:49:57 +02:00
Oliver Drotbohm
c851614c44 GH-569 - Upgrade to Spring Boot 3.2.5. 2024-04-29 08:46:24 +02:00
Oliver Drotbohm
d7b6ae04f7 GH-568 - Upgrade to Spring Framework 6.1.6. 2024-04-29 08:44:06 +02:00
Oliver Drotbohm
ff5439617e GH-566 - Upgrade to ArchUnit 1.1.1. 2024-04-29 08:43:13 +02:00
Benjamin Knauer
faca51a0c2 GH-564 - Use error log in PersistentApplicationEventMulticaster if listener not found.
Related pull request: GH-548.
2024-04-29 08:37:01 +02:00
Oliver Drotbohm
77f9db1664 GH-546 - Avoid inclusion of starters in Spring Boor repackaged JARs. 2024-04-08 20:21:24 +02:00
Oliver Drotbohm
a22a3bd617 GH-513 - Prepare next development iteration. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
268b27b7c3 GH-513 - Release version 1.1.3. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
954ecc2993 GH-517 - Upgrade to Spring Boot 3.2.3 2024-02-23 16:30:40 +01:00
Lukas Dohmen
c23a3eeea5 GH-509 - Fix parameter name to match Javadoc. 2024-02-23 11:46:43 +01:00
Oliver Drotbohm
e84c27d01e GH-505 - Make Micrometer Tracing a mandatory dependency of the observability module.
ModuleObservabilityAutoConfiguration strongly depends on said module and there's no way to make it optionally depending on that.
2024-02-19 13:38:24 +01:00
Stefano Cordio
d36e5e867b GH-504 - Fixes and improvements for Fundamentals section. 2024-02-14 15:21:23 +01:00
Oliver Drotbohm
791910b0c1 GH-503 - Prevent configuration properties from being proxied for observability.
We now avoid proxying configuration properties in the BeanPostProcessor that creates tracing proxies.
2024-02-14 14:55:53 +01:00
Oliver Drotbohm
c4c0c2f5be GH-502 - Polishing. 2024-02-14 12:29:30 +01:00
lukasdooo
ac8f69935d GH-502 - Only delete completed events. 2024-02-14 12:29:00 +01:00
Oliver Drotbohm
7e6c1111a2 GH-484 - Let CompletionRegisteringAdvisor forward EventExternalized event. 2024-01-29 21:15:26 +01:00
Oliver Drotbohm
0eb31ced29 GH-481 - Upgrade GitHub actions checkout action to v4. 2024-01-29 18:34:49 +01:00
Oliver Drotbohm
6efcbea3ec GH-475 - Prepare next development iteration. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
534f1ba628 GH-475 - Release version 1.1.2. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
c9b42fad55 GH-453 - Polishing. 2024-01-19 21:41:52 +01:00
Oliver Drotbohm
6b41d29fbf GH-467 - Upgrade to Spring Boot 3.2.2.
Also Spring Framework 6.1.3.
2024-01-19 21:21:44 +01:00
Roger Jäggi
d7f648e990 GH-472 - Add missing events-aws-* modules to BOM.
Adds spring-modulith-events-aws-sns and spring-modulith-events-aws-sqs modules to the project BOM.
2024-01-19 12:47:13 +01:00
Oliver Drotbohm
e26d4027f6 GH-464 - Update copyright headers. 2024-01-17 19:47:56 +01:00
Oliver Drotbohm
b90557ba39 GH-459 - Move off deprecated DatabaseDriver.fromDataSource(…). 2024-01-17 16:34:43 +01:00
TAO
199f1711c3 GH-456 - Fix potentially broken debug log output in PersistentApplicationEventMulticaster.
Swapped the ternary operator conditions for the 'message' variable assignment.

Fixes GH-456.
2024-01-16 20:08:13 +01:00
Oliver Drotbohm
bbae486935 GH-454 - Fix event externalization for RabbitMQ.
We now properly wrap the null value returned as a result from the RabbitMQ event externalization into a CompletableFuture. Tightened test case to prevent regressions going forward.
2024-01-16 19:54:31 +01:00
Oliver Drotbohm
f98162ae87 GH-453 - Guard against AutoConfiguration- and EntityScanPackages bean definitions not having any constructor argument defined. 2024-01-16 19:52:51 +01:00
Oliver Drotbohm
6afc00c554 GH-452 - Introduce EventPublicationRepository.findCompletedPublications().
The default EventPublicationRegistry previously erroneously called find*In*completePublications(), i.e. returned incomplete publications when it was supposed to look up the completed ones. To be able to do the latter we need to extend EventPublicationRepository and introduce a query execution for all completed publications.

As we'd normally only chance API in major versions, but the bugfix needing to go into a bugfix release, the new method is introduced as default method rejecting the execution in case a currently existing repository implementation does not implement it. This allows us to adapt the implementations we ship to support the bugfix, but will require other implementations to ship an adapted version. This means we can ship a release that's not breaking assuming one of the official store implementations is used.
2024-01-16 19:50:41 +01:00
Oliver Drotbohm
e3dbd029d0 GH-446 - Fix invalid reference in event externalization reference docs. 2024-01-10 15:30:12 +01:00
Oliver Drotbohm
0aa101d5ee GH-444 - Polishing. 2024-01-10 14:49:56 +01:00
Oliver Drotbohm
86a9775e47 GH-444 - Declare most concrete type for EventPublicationRegistry configuration. 2024-01-10 14:49:13 +01:00
Oliver Drotbohm
edaec89ef4 GH-434 - Prepare next development iteration. 2023-12-21 23:28:18 +01:00
Oliver Drotbohm
96cd72ee91 GH-434 - Release version 1.1.1. 2023-12-21 23:28:17 +01:00
Oliver Drotbohm
9ce5b33743 GH-431 - Include JSR 303 ConstraintValidator implementations in bootstrap dependency analysis.
Spring Boot configures Hibernate Validator in a way that the latter looks up the components it needs to instantiate via the Spring container. That in turn then creates prototype instances of the types requested. This means, implementations of e.g. ConstraintValidator do not need to be explicitly marked as Spring beans, but could still declare dependencies to other Spring beans. If such a dependency crosses a module boundary, we currently fail to detect that implicitly established module dependency.

This is now fixed by considering ConstraintValidator implementations Spring beans implicitly in out bootstrap dependency analysis.
2023-12-21 22:29:48 +01:00
Oliver Drotbohm
3b8b10497d GH-429 - Avoid duplicate inclusions of modules in test executions. 2023-12-21 22:22:44 +01:00
Oliver Drotbohm
85520fe4b2 GH-424 - Update compatibility builds. 2023-12-21 14:22:48 +01:00
Oliver Drotbohm
b53d463195 GH-425 - Upgrade to jMolecules 2023.1.1. 2023-12-21 14:21:10 +01:00
Oliver Drotbohm
7012e1c9cc GH-424 - Upgrade to Spring Boot 3.2.1. 2023-12-21 14:19:45 +01:00
Oliver Drotbohm
5794e06e33 GH-423 - Upgrade to Spring Cloud AWS 3.0.4. 2023-12-21 14:18:41 +01:00
Oliver Drotbohm
5d703a5eaf GH-407 - Ignore Spring AOT generated types in architecture model.
We now explicitly exclude classes generated by Spring AOT in the architectural model. For technical reasons, they might introduce dependencies to application components considered module internals otherwise. Also, proxies generated do not need to be considered either.
2023-12-06 14:20:57 +01:00
Oliver Drotbohm
69ec01ac01 GH-399 - Avoid event publication completion for failed CompletableFutures.
We now explicitly handle CompletableFuture instances returned from transactional event listeners by registering the completion handlers only on success, the debug logging on failure and immediately return the decorated instance.

Previously, a failed CompletableFuture instance would still have the publication marked completed as it doesn't cause any exception being thrown and thus ultimately ending up in the code path that issues the completion.
2023-11-28 17:13:03 +01:00
Oliver Drotbohm
768103fd32 GH-393 - Prepare next development iteration. 2023-11-28 17:09:00 +01:00
Oliver Drotbohm
c6c0c0f500 GH-393 - Release version 1.1.0. 2023-11-24 18:22:06 +01:00
Oliver Drotbohm
8195f2abb0 GH-389 - Upgrade to Spring Framework 6.1. 2023-11-24 17:28:45 +01:00
Oliver Drotbohm
2a826e87c7 GH-388 - Upgrade to Spring Boot 3.2. 2023-11-24 17:27:10 +01:00