Commit e44a3f6
fix(core): in health endpoint, filter enabled extension providers
The /health endpoint is throwing internal server errors e.g. when only
having the jikkou and kafka providers enabled:
```
Health indicator [iceberg] reported exception: io.jikkou.core.extension.exceptions.NoSuchExtensionException: No extension registered for type 'interface io.jikkou.core.health.HealthIndicator', and qualifier '@nAmed(iceberg) and @enabled(true)'
```
This is caused by the findAllDescriptorsByClass() call not filtering for
enabled extensions. This commit implemenents a trivial fix to do such
filtering.1 parent 9922a54 commit e44a3f6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
0 commit comments