Commit 6b64ecc
committed
fix(spring): make dapr-spring-boot-observation non-optional in autoconfigure poms
The autoconfigure classes directly reference ObservationDaprClient and
ObservationDaprWorkflowClient in their bean factory methods. When the
observation module was marked <optional>, it was not propagated through
the starters, causing a potential NoClassDefFoundError at runtime for
users with a non-noop ObservationRegistry (e.g. actuator + tracing).
Removing <optional> restores the original behavior: the Observation
decorator classes are always on the classpath wherever the autoconfig
is loaded.
Signed-off-by: Javier Aliaga <javier@diagrid.io>1 parent 4bc734f commit 6b64ecc
2 files changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
0 commit comments