Commit Graph

375 Commits

Author SHA1 Message Date
Oliver Drotbohm
4c60cdc705 GH-408 - 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:23:53 +01:00
Oliver Drotbohm
5944f0e5ea GH-392 - Prepare next development iteration. 2023-11-24 17:58:10 +01:00
Oliver Drotbohm
7a4e9f9df5 GH-392 - Release version 1.0.3. 2023-11-24 17:58:10 +01:00
Oliver Drotbohm
5964251d66 GH-391 - Update to Spring Framework 6.0.14. 2023-11-24 17:37:21 +01:00
Oliver Drotbohm
d3b79596cd GH-390 - Upgrade to Spring Boot 3.1.6. 2023-11-24 17:34:37 +01:00
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
nkolosnjaji
019039e441 GH-386 - Prefer MongoTemplate.findAndModify(…) over ….updateFirst(…).
Original pull request: GH-380.
2023-11-24 16:24:08 +01:00
Oliver Drotbohm
2d22b24de4 GH-381 - Propagate original exception from CompletionRegisteringAdvisor.
We now propagate potentially occurring exceptions in CompletionRegisteringAdvisor to make sure the standard exception handling facilities kick in, both for synchronous and asynchronous listener invocations.
2023-11-19 22:12:02 +01:00
Oliver Drotbohm
1acd2fd2a6 GH-379 - Fix detection of jMolecules Layered Architecture presence. 2023-11-17 17:26:14 +01:00
Oliver Drotbohm
b67c657053 GH-378 - Polishing. 2023-11-17 16:44:25 +01:00
Oliver Drotbohm
4c67ba1e5f GH-378 - Avoid initializing ApplicationModules for actuators on native images.
We now register a BeanFactoryInitializationAotProcessor to generate the actuator endpoint content representing the application module structure at AOT processing time. That file is then preferred over bootstrapping an ApplicationModules instance when bootstrapping the endpoint.
2023-11-17 16:39:05 +01:00
Oliver Drotbohm
5435fd9beb GH-377 - Avoid initialization of ApplicationModulesRuntime if possible. 2023-11-17 16:37:08 +01:00
Oliver Drotbohm
a7b4f77495 GH-360 - Fix potential UnsupportedOperationException in test bootstrap.
See GH-345 and GH-356 for details.
2023-11-03 20:37:07 +01:00
Oliver Drotbohm
b501554d87 GH-340 - Prepare next development iteration. 2023-10-23 08:50:23 +02:00
Oliver Drotbohm
f875e67755 GH-340 - Release version 1.0.2. 2023-10-23 08:50:22 +02:00
Oliver Drotbohm
6a20c5171d GH-330 - Upgrade to Spring Framework 6.0.13 for Javadoc. 2023-10-23 08:47:44 +02:00
Oliver Drotbohm
a0090933a8 GH-331 - Polishing. 2023-10-23 08:26:32 +02:00
Oliver Drotbohm
6e7012621f GH-340 - Ignore files introduced in main. 2023-10-21 21:58:15 +02:00
Oliver Drotbohm
c57c840fd5 GH-330 - Upgrade integration builds to latest Spring Boot releases. 2023-10-21 21:54:08 +02:00
nbejamin
8fa2c7abb8 GH-330 - Upgrade to Spring Boot 3.1.5
Original pull request: GH-336.
2023-10-20 16:45:14 +02:00
Oliver Drotbohm
bdd17e834c GH-333 - Avoid proxying configuration classes for observability purposes.
We now skip configuration classes for observability-related proxying as it's hard to detect those during the ProxyFactory setup to configure target class proxying. Also, configuration classes are usually no targets of inter-module communication and thus don't need to be observed at all.
2023-10-16 21:16:18 +02:00
Oliver Drotbohm
d14ba59837 GH-331 - Avoid processing infrastructure beans in observability infrastructure.
We now skip infrastructure role beans during the processing of beans that could be subject to inter-module interaction observability. Previously, we could accidentally trigger a dependency cycle if the ModuleTracingBeanPostProcessor triggered the initial creation of AutoConfigurationPackages as that would then trigger the PostProcessor in turn which would try to lookup the ACP bean again to determine whether it should post process that to apply observability.
2023-10-16 13:41:00 +02:00
Oliver Drotbohm
0810d8025e GH-327 - Fix Javadoc. 2023-10-16 09:01:03 +02:00
Oliver Drotbohm
01d8699fff GH-328 - Add mission statement to reference documentation. 2023-10-16 08:40:39 +02:00
Oliver Drotbohm
f93bb39648 GH-327 - Move off of Google's Suppliers.memoize(…). 2023-10-16 08:38:43 +02:00
Oliver Drotbohm
403ed2cd0e GH-326 - Fix ApplicationModule by package name lookup.
Prior to this commit, the lookup for an ApplicationModule would find modules solely depending on the reference string starting with the base package. That means that a module with base package com.acme.foo, a request for com.acme.foobar would've resulted in a positive match, which of course is wrong.

We now match against either the module's base package or against the reference starting with the base package followed by a dot.
2023-10-16 08:36:56 +02:00
Oliver Drotbohm
f949b508a4 GH-304 - Prepare next development iteration. 2023-09-21 23:11:07 +02:00
Oliver Drotbohm
f3e9ce5fa2 GH-304 - Release version 1.0.1. 2023-09-21 23:11:06 +02:00
Oliver Drotbohm
e425eb5719 GH-309 - Upgrade to Spring Boot 3.1.4 and Spring Framework 6.0.12.
Also, examples to jMolecules BOM 2023.1.0.
2023-09-21 23:06:41 +02:00
Oliver Drotbohm
93e9d5489d GH-305 - Multicaster now honors listener condition.
We now reflectively invoke ApplicationListenerMethodAdapter.shouldHandle(…) when selecting event listeners to make sure that conditions defined in, for example, @TransactionalEventListener are considered before registering an event publication.
2023-09-21 09:03:31 +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
5e80df3fb5 GH-280 - Make MomentsProperties usable on AOT.
Introduce a default constructor to prevent the AOT engine from breaking as reported in [0].

[0] https://github.com/spring-projects/spring-framework/issues/31117
2023-08-26 16:38:48 +02:00
Oliver Drotbohm
06c5204266 GH-281 - Update integration builds after Boot releases. 2023-08-25 10:18:47 -07:00
Oliver Drotbohm
48b207ec97 GH-281 - Upgrade to Spring Boot 3.1.3. 2023-08-25 10:17:22 -07:00
Oliver Drotbohm
b61e247db4 GH-274 - Activate CI build for 1.0.x. 2023-08-24 14:38:45 -07:00
Oliver Drotbohm
0cc7c352f8 GH-274 - Prepare next development iteration. 2023-08-24 14:37:38 -07:00
Oliver Drotbohm
6197d35937 GH-274 - Release version 1.0.0. 2023-08-21 06:59:57 -07:00
Oliver Drotbohm
6872734d24 GH-274 - Switch to personal credentials for release deployment. 2023-08-21 06:58:04 -07:00
Oliver Drotbohm
374255672e GH-276 - Upgrade to jMolecules 2023.1.0. 2023-08-18 12:25:14 +02:00
Oliver Drotbohm
8e6d519554 GH-275 - Upgrade to Spring Asciidoctor Backends 0.0.7. 2023-08-18 12:24:32 +02:00
Oliver Drotbohm
941394f2d5 GH-273 - Remove experimental declaration from Scenario. 2023-08-17 17:35:09 +02:00
Oliver Drotbohm
9084ef71ac GH-271 - Remove Spring Modulith Events parent POM from BOM. 2023-08-16 21:49:21 +02:00
Oliver Drotbohm
39ce5346c6 GH-270 - Prepare next development iteration. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
2c5cedd1d1 GH-270 - Release version 1.0.0-RC2. 2023-08-16 08:05:46 +02:00
Oliver Drotbohm
9568f29613 GH-267 - Explicitly declared empty allowed dependencies now forbids any dependency.
The default for @ApplicationModule(allowedDependencies) is now a single element list with a dedicated token we recognize as "all dependencies allowed". This allows users to declare an empty array explicitly to disallow any outgoing dependencies for an application module. Previously, such a declaration would have allowed any dependency.
2023-08-15 19:52:02 +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
Oliver Drotbohm
0bfdb81d91 GH-265 - Use EVENT_PUBLICATION as table name for JPA to be consistent with JDBC. 2023-08-12 07:50:37 +02:00
Oliver Drotbohm
1e1ebb52ff GH-266 - Use event_publication collection for MongoDB event publications. 2023-08-12 07:50:37 +02:00