Skip to content

Commit ff44be9

Browse files
Andrés Contreras GuillénAndrés Contreras Guillén
authored andcommitted
fix(observability): tolerate missing health contributors in readiness group
Default readiness group includes 'db,diskSpace'. Apps without a JDBC/r2dbc autoconfig (e.g. callbacks-web tests, notification adapters) crash startup with 'Included health contributor db does not exist'. Set management.endpoint.health.validate-group-membership=false so missing contributors are silently dropped.
1 parent 18654e3 commit ff44be9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/resources/application-firefly-observability.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ management:
4848
show-components: always
4949
probes:
5050
enabled: true
51+
# Required so apps without a db (e.g. callbacks-web non-r2dbc tests) do not
52+
# crash startup when "db" is missing from the readiness group.
53+
validate-group-membership: false
5154
group:
5255
liveness:
5356
include: livenessState

0 commit comments

Comments
 (0)