Commit Graph

720 Commits

Author SHA1 Message Date
Oliver Drotbohm
99f4ebe8a5 GH-955 - Enable CI build for 1.3.x branch. 2024-12-10 14:16:25 +01:00
Oliver Drotbohm
18d4e1f21a GH-966 - Fix Javadoc creation for APT module.
Exclude the temporary type from Javadoc creation.
2024-12-10 14:16:25 +01:00
Oliver Drotbohm
c4b1d9bf97 GH-970 - Prevent archiving JPA entity from being included in non-archiving setups. 2024-12-10 14:16:24 +01:00
Oliver Drotbohm
283e35062c GH-969 - Improve Application Module Canvas rendering. 2024-11-25 13:22:53 +01:00
Oliver Drotbohm
cadcb31e7b GH-967 - Polishing. 2024-11-25 12:22:30 +01:00
Oliver Drotbohm
d7efd19c25 GH-967 - Asciidoctor.toInlineCode(String) now renders local method references correctly.
Previously, the missing type caused the module lookup to fail with an exception.
2024-11-25 12:22:30 +01:00
Oliver Drotbohm
3a0389a94f GH-966 - Fix Javadoc extraction for methods referring to types nested in interfaces.
A bug [0] in APTK causes our Javadoc extraction to fail for methods whose parameters are classes nested in interfaces. We fix that by temporarily including a fixed copy of TypeElementWrapper, that looks up outer types on interfaces as well.

[0] https://github.com/toolisticon/aptk/issues/163
2024-11-25 12:20:45 +01:00
Oliver Drotbohm
71d80c6188 GH-955 - Prepare next development iteration. 2024-11-25 12:20:05 +01:00
Oliver Drotbohm
6f6597e163 GH-955 - Release version 1.3.0. 2024-11-21 20:13:55 +01:00
Oliver Drotbohm
19a01808ea GH-949 - Upgrade to Spring Boot 3.4. 2024-11-21 17:30:45 +01:00
Oliver Drotbohm
5dbea66d45 GH-955 - Skip examples deployment. 2024-11-21 17:28:39 +01:00
Oliver Drotbohm
ea50c6e6d0 GH-955 - Automatically close release repository. 2024-11-21 16:05:41 +01:00
Oliver Drotbohm
89a86b4213 GH-950 - Upgrade to jMolecules 2023.2.0.
Also set up integration builds to build against jMolecules 2025.0 RC1.
2024-11-21 14:25:54 +01:00
Oliver Drotbohm
b542c03b7d GH-870 - Fix Javadoc in PersistentApplicationEventMulticaster. 2024-11-21 12:59:41 +01:00
Oliver Drotbohm
5adfa4b935 GH-845 - Fix sample code in fundamentals section. 2024-11-21 12:55:48 +01:00
Cora Iberkleid
f1ae32b2bb GH-914 - Mention message header support in event externalization documentation. 2024-11-21 11:55:58 +01:00
Oliver Drotbohm
85c5206cd3 GH-936 - Make sure ModuleTracingBeanPostProcessor is executed early.
We now explicitly declare an order for the MTBPP so that it gets registered for execution before the ones that create infrastructure for message listeners so that those already see the potentially proxied instance and invocations actually invoke the advice creating the traces.
2024-11-19 23:50:45 +01:00
Oliver Drotbohm
4218dffc9d GH-936 - Detect methods (meta-)annotated with @MessageMapping as module entry points.
We now consider all methods that are (meta-)annotated with Spring Messaging's @MessageMapping which is consistently used in a lot of broker annotations such as @(Rabbit|Kafka)Listener etc.
2024-11-19 23:01:29 +01:00
Oliver Drotbohm
a199bfcd64 GH-942 - Add keyword to commit message to automatically close ticket in backport script. 2024-11-18 16:37:17 +01:00
Oliver Drotbohm
55e4249d18 GH-937 - Fix logger creation in EventExternalizationSupport. 2024-11-18 16:23:41 +01:00
Raja Kolli
94fc52330e GH-934 - Fix typo in reference documentation. 2024-11-18 15:18:23 +01:00
Oliver Drotbohm
d921c717c6 GH-927 - Introduce ObservedModule.isEventListenerInvocation(MethodInvocation).
Also introduce ObservedModule.getIdentifier() as a replacement for the now deprecated ObservedModule.getName().
2024-11-08 18:01:41 +01:00
Oliver Drotbohm
169cf67128 Generally ignore generated code (annotated with @….Generated). 2024-11-05 16:16:07 +01:00
Oliver Drotbohm
95438a997f GH-913 - Package Javadoc for newly introduced packages. 2024-10-29 22:15:16 +01:00
Oliver Drotbohm
34ce0add03 GH-919 - Add @CheckReturnValue and use it in Scenario API. 2024-10-29 22:15:12 +01:00
Oliver Drotbohm
7320b3bf4a GH-918 - Lazify archiving Cypher statement initialization.
Eagerly initializing the archiving Cypher statements required for the new archiving event completion mode breaks our compatibility with Spring Boot 3.2 as that depends on a Cypher library version not containing the exists(…) operator yet. We now lazily instantiate those statements.
2024-10-29 13:57:15 +01:00
Oliver Drotbohm
f64cc8f451 GH-912 - Fix Javadoc source folder after plugin update. 2024-10-26 17:12:35 +02:00
Oliver Drotbohm
3d35d48d18 GH-912 - Prepare next development iteration. 2024-10-26 15:58:59 +02:00
Oliver Drotbohm
05c5550312 GH-912 - Release version 1.3.0-RC1. 2024-10-26 15:58:59 +02:00
Oliver Drotbohm
49a3c6cc1a GH-907 - Upgrade to Spring Boot 3.4 RC1. 2024-10-26 14:45:54 +02:00
Oliver Drotbohm
a5348116b1 GH-806 - Reference documentation for archiving event publication completion mode. 2024-10-25 22:03:25 +02:00
Oliver Drotbohm
b189dbc725 GH-806 - Polish Neo4j archiving mode.
We now explicitly set the completion date property of newly created event publications to null. The copying data manipulation statements now properly copy all properties of the publication notes into the archive.
2024-10-25 22:03:25 +02:00
Cora Iberkleid
4132ad3a38 GH-806 - Add archive support for Neo4j.
Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:25 +02:00
Oliver Drotbohm
d302ad1937 GH-806 - Revamp JPA archive support.
We now use two separate entity types for archived and non-archived event publications to rpevent hibernate hickups when inserting an instance of a subtype with he same id.
2024-10-25 22:03:24 +02:00
Cora Iberkleid
6a85fb3350 GH-806 - Add archive support for JPA.
Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:24 +02:00
Oliver Drotbohm
dc1148624b GH-806 - MongoDB archive mode now uses aggregation to mark event publications completed. 2024-10-25 22:03:24 +02:00
Cora Iberkleid
a7e4a798f0 GH-806 - Add archive support for MongoDB.
Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:24 +02:00
Cora Iberkleid
2cb0db7f42 GH-806 - Add archive support for JDBC.
Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:24 +02:00
Cora Iberkleid
179e4acf86 GH-806 - Add archiving completion mode.
We now support an archiving completion mode that copies the entry to be completed into a dedicated archive to retain the completed event publications but also keep the main publication store small for more efficient data access.

Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:23 +02:00
Cora Iberkleid
80f6086034 GH-806 - Remove use of Lombok.
Co-authored-by: Oliver Drotbohm <oliver.drotbohm@broadcom.com>
2024-10-25 22:03:23 +02:00
Oliver Drotbohm
d3de9578f8 GH-909 - Fix icons and coloring in fundamentals section of reference docs. 2024-10-25 20:11:07 +02:00
Oliver Drotbohm
9d7bda9cd8 GH-908 - Upgrade to latest Antora dependencies. 2024-10-25 17:48:53 +02:00
Oliver Drotbohm
fe688cec1f GH-907 - Upgrade to Spring Boot 3.4 snapshots.
Tweak test containers setup for dynamic properties to adapt to Boot 3.4's new behavior [0].

[0] https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.4.0-RC1-Release-Notes#dynamic-properties-with-testcontainers
2024-10-25 13:13:08 +02:00
Oliver Drotbohm
cdd86a4ba1 GH-855 - Enable Kafka JSON rendering with default ObjectMapper.
In case no ObjectMapper bean instance is present, we now fall back to creating a default one to render a JSON byte array. This is useful in case Jackson is on the class path but not necessarily the JacksonObjectMapperBuilder, which is located in spring-web.
2024-10-25 08:45:05 +02:00
Oliver Drotbohm
2c9fc4b761 GH-904 - Upgrade to jMolecules 2023.1.7. 2024-10-24 23:53:09 +02:00
Oliver Drotbohm
cefe84bc60 GH-902 - Upgrade to jGit 7. 2024-10-24 21:48:29 +02:00
Oliver Drotbohm
46b955e661 GH-901 - Upgrade to Spring Framework 6.3 RC1. 2024-10-24 21:46:03 +02:00
Oliver Drotbohm
29bc84cd0b GH-891 - DefaultEventPublicationRegistry now properly unregisters in-progress publication on failed resubmission.
DefaultEventPublicationRegistry.processIncompletePublications(…) now actively unregisters the publication from being considered in progress after completion (either successful or failed). While CompletionRegisteringAdvisor should take care of that on the target listeners we now leave the publications in progress in consistent state independent of the actual target being invoked. Decrease log level of the failed listener invocation as it's not unusual for the listener to fail.

Improved PublicationsInProgress by switching to a concurrent map internally to avoid ConcurrentModificationExceptions in case of multiple threads.
2024-10-21 13:49:29 +02:00
Oliver Drotbohm
d5477d1423 GH-881 - Support for SpEL expression in routing targets.
We now support SpEL expressions in routing targets for events to be externalized. Introduced a BrokerRouting.getTarget(Object) overload to allow access to the event object in the SpEL expression. To support those, event externalizers will have to call that method where they previously called ….getTarget().
2024-10-18 21:01:28 +02:00
Andreas Ahlenstorf
8d067e8107 GH-885 - Update docs to reflect renaming of property. 2024-10-18 16:59:35 +02:00