spring-modulith
spring-modulith copied to clipboard
Modular applications with Spring Boot
Current `ApplicationModules` class has `private` constructor, making it hard to be extended and customized. Why does `ApplicationModules` a class instead of interface? related issue: #613
When the spring-modulith-observability dependency is present, RestControllers that implement any interface are no longer serving their endpoints or apear in the OpenAPI documentation (Swagger). This is not limited to interfaces...
Hello, I was exploring the events of modulith in a standard Spring application without Spring boot. Unfortunately spring-modulith-events-jackson and spring-modulith-events-jpa have package protected implementation classes and configuration classes. This means...
I've created a simple application using ``` https://start.spring.io/#!type=maven-project&language=java&platformVersion=3.3.0&packaging=jar&jvmVersion=21&groupId=com.example&artifactId=demo-simple-obeservability&name=demo-simple-obeservability&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo-simple-obeservability&dependencies=actuator,web,modulith,native ``` I had to manually change ``` 1.2.0-RC1 ``` to ``` 1.2.0 ``` after executing ``` ./mvnw clean install -Pnative native:compile ./target/demo-simple-obeservability...
`@ApplicationModuleListener`s need dedicated control over the `Executor` running them, for example, to enable tracing context propagation in the observability module. To contain the impact of such a customization, it makes...
I want to use `spring-modulith` in a cross application (cross team) way, where modules may be shared by multiple applications (don't be confused with `@Modulithic.sharedModules`). Providing following project: ``` my-app...
As discussed on yesterdays JUG in Münster: Modulith applications may be scaled horizontally to handle load. Decoupling of [functional gravity](https://docs.spring.io/spring-modulith/reference/events.html) via events may then cause a new bottleneck when scheduled...
Oliver just asked me to open this ticket while presenting spring modulith at JUG Münster, so here it is: It may be of value if the already great documentation support...
log output ``` > Logical name: model > Base package: com.xenoterracide.security.model > Spring beans: o ….controller.RegistrationCtrlr o ….user.UserRepository at com.xenoterracide.test/com.xenoterracide.test.ApplicationTest.lambda$modulith$0(ApplicationTest.java:26) ``` my package definition ```java /** * Contains Domain Model...
https://docs.spring.io/spring-modulith/reference/fundamentals.html#customizing-modules-arrangement The class name is `MyApplicaton` but then run executes `DemoApplication` is that intentional? if so why would you do that (please answer in the documentation)? all other references in...