atiaomar1978-hub opened a new pull request, #1918: URL: https://github.com/apache/camel-spring-boot/pull/1918
## Summary Adds first-class Spring Boot configuration for GenAI observability in `camel-spring-boot`, matching the Camel Main / JBang behavior introduced in Camel 4.23. Spring Boot applications can now toggle GenAI observability via: ```properties camel.aiobservability.enabled=false ``` Relaxed binding also accepts `camel.aiObservability.enabled` and `camel.ai-observability.enabled`. ## Changes - **`CamelAiObservabilityConfigurationProperties`** — `@ConfigurationProperties(prefix = "camel.aiobservability")` with `enabled` (default `true`) - **`CamelAiObservabilityAutoConfiguration`** — auto-configures the Camel `PropertiesComponent` override property `camel.aiObservability.enabled` so `GenAiObservability.isEnabled()` resolves correctly - **Tests** — unit tests for property resolution; integration tests for default, disabled, kebab-case, and camelCase relaxed binding - **Documentation** — `spring-boot.adoc` section and `spring-boot.json` metadata ## Testing ```bash ./mvnw test -pl core/camel-spring-boot -Dtest="CamelAiObservabilityAutoConfiguration*" ``` All 9 tests pass. ## JIRA https://issues.apache.org/jira/browse/CAMEL-24555 _AI-generated on behalf of atiaomar1978-hub_ -- 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]
