f2par0 opened a new pull request, #769:
URL: https://github.com/apache/camel-karaf/pull/769

   Fixes #768
   
   ## Summary
   Adds a Pax Exam integration test for the `camel-opentelemetry2` feature 
(`tests/features/camel-opentelemetry2`).
   
   - Installs the `camel-opentelemetry2` feature in Karaf, which exercises the 
wrapped OpenTelemetry bundles.
   - The supplier builds an OpenTelemetry SDK with an in-memory span exporter, 
registers its tracer and propagators in the Camel registry, and starts 
`OpenTelemetryTracer`.
   - The producer route creates a custom span (`karaf-custom-span`, attribute 
`karaf.test.attribute=karaf-value`).
   - `testResultMock` checks that the tracer service is registered on the 
context.
   - `testCustomSpanIsExported` checks (with Awaitility) that the custom span 
and at least one Camel span are exported.
   - Only JDK types are exposed from the supplier to the test probe, which 
cannot see OpenTelemetry packages.
   
   No feature descriptor change was needed. Jira: DPE-764.
   
   ## Test
   `mvn clean install -f tests/features/camel-opentelemetry2/pom.xml`: 2 tests, 
0 failures, 0 errors. No Docker needed.
   
   _Claude Code on behalf of Francois de Parscau_
   
   🤖 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]

Reply via email to