oscerd opened a new pull request, #2038: URL: https://github.com/apache/camel-spring-boot/pull/2038
## Description [CAMEL-25590](https://issues.apache.org/jira/browse/CAMEL-25590) The LRA saga service in camel-lra has two new options: - `callbackSecret` ([CAMEL-25578](https://issues.apache.org/jira/browse/CAMEL-25578), apache/camel#27719) signs the participant callback URLs that are enlisted with the LRA coordinator, and verifies them when the coordinator calls back. - `allowedCoordinatorUrls` ([CAMEL-25584](https://issues.apache.org/jira/browse/CAMEL-25584), apache/camel#27725) lists further coordinator URLs whose LRAs may be joined, completed or compensated, besides the configured coordinator. camel-main exposes them as `camel.lra.callback-secret` and `camel.lra.allowed-coordinator-urls`. The Spring Boot starter creates the `LRASagaService` from its own `LraServiceConfiguration`, so neither option could be set through Spring Boot properties. This PR: - adds `camel.lra.callback-secret` and `camel.lra.allowed-coordinator-urls` to `LraServiceConfiguration`, with the same javadoc as `LraConfigurationProperties` in camel-main, and passes them to the service in `LraServiceAutoConfiguration`; - adds `LraServiceAutoConfigurationTest`, the first test in the module. It checks that the properties reach the `LRASagaService` and that the service is added to the Camel context; - adds `spring-boot-starter-web` with test scope. The starter depends on `camel-servlet-starter`, and starting the Camel context needs the servlet API on the classpath. camel-servlet-starter declares the same test dependency; - regenerates `lra.json` and the starter doc page (`starters/lra.adoc`, 5 → 7 options). When the properties are not set, the service receives `null` for both, the same as before this change. A blank `camel.lra.callback-secret` fails at startup, as it does with camel-main. ## Notes - The new setters come from camel-lra 4.23.0-SNAPSHOT. The snapshot published on 2026-10-14 contains both camel changes. - Both camel changes were also backported to camel 4.22.x and 4.18.x. This starter change can follow on `camel-spring-boot-4.22.x` and `camel-spring-boot-4.18.x`. ## Testing `mvn install` in `components-starter/camel-lra-starter`: `LraServiceAutoConfigurationTest` passes, and the regenerated files are committed. --- _Claude Code on behalf of oscerd_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
