Check status: the status for an individual health check for a service instance
Overall status: the aggregated status of a service instance, which is determined
by looking over the instance's check statuses and returning the "worst" status
Currently, HealthServiceQueryV1 is filtering by "check status == passing" by
default. We'd like it to filter by "overall status == passing" by default.
Changes
Unit test for expected behavior of filtering by overall status == passing. (Test
initially fails)
Update HealthServiceQueryV1 filtering
Additional nice-to-have changes I noticed in code vicinity
Context:
Currently, HealthServiceQueryV1 is filtering by "check status == passing" by default. We'd like it to filter by "overall status == passing" by default.
Changes