You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make sure io.micrometer.core.instrument and
io.micrometer.observation packages are marked as
optional in the OSGi manifest.
Fixes#1140
(cherry picked from commit 8641c9f)
Using amqp-client-5.20.0-20231024.100730-12.jar fixes the test failure and I have verified all the imports are optional. Thanks for the quick turnaround!
Describe the bug
amqp-client-5.18.0's Import-Package has only:
which is satisfied by an optional dependency in pom.xml
amqp-client-5.19.0's Import-Package has also:
This leads to failure to resolve the bundle if micrometer is not present
Observed transitively through metrics-graphite upgrade from 4.2.20 to 4.2.21, which transitively upgrades ampq-client from 5.18.0 to 5.19.0).
Reproduction steps
Expected behavior
Micrometer remains optional, or the pom.xml dependency on on micrometer-core is not optional=true.
Additional context
Logs from a Karaf validation run: https://s3-logs.opendaylight.org/logs/releng/vex-yul-odl-jenkins-1/controller-maven-verify-7.0.x-mvn38-openjdk17/33/features/odl-mdsal-clustering-commons/target/SFT/karaf.log.gz, the feature being tested is:
The text was updated successfully, but these errors were encountered: