davsclaus opened a new pull request, #23708: URL: https://github.com/apache/camel/pull/23708
## Summary - Add `topology` and `topologyExternal` attributes to `@EnableRouteDiagramDump` (Spring Boot) and `@CamelMainTest` (Camel Main) annotations so topology diagrams are generated automatically during `mvn test` alongside route diagrams - Add `dumpTopologyToFolder()` to `RouteDiagramDumper` SPI and implement in `DefaultRouteDiagramDumper` - Add `topology`/`topologyExternal` properties to `DumpRoutesStrategy` interface and `DefaultDumpRoutesStrategy` - Update `route-diagram.adoc` documentation with a new Route Topology Diagrams section Both options default to `true`, so topology diagrams are generated by default when route diagrams are enabled. The topology diagram is saved as `<context-name>-topology.png` in the same output folder. ## Test plan - [ ] Build test modules: `mvn install -DskipTests -pl components/camel-test/camel-test-spring-junit6,components/camel-test/camel-test-main-junit6 -am` - [ ] Verify with a sample project that uses `@EnableRouteDiagramDump` or `@CamelMainTest` with `dumpRouteDiagramFolder` - [ ] Verify topology diagram PNG is generated in the output folder - [ ] Verify `topology = false` disables topology diagram generation 🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of Claus Ibsen -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
