aspnetcore/test
Ryan Nowak c802d5ef5f
Redesign HealthStatus (again) (#520)
* Redesign HealthStatus (again)

This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.

It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.

I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.

We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
2018-10-31 12:51:14 -07:00
..
ClassLibraryWithPortablePdbs
…
Diagnostics.EFCore.FunctionalTests
…
Diagnostics.FunctionalTests automated: bulk infrastructure updates. Update bootstrapper scripts and remove unnecessary signing properties 2018-09-28 17:10:32 -07:00
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
…
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
Microsoft.AspNetCore.Diagnostics.Tests
…
Microsoft.AspNetCore.MiddlewareAnalysis.Tests
…
Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore.Tests Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
Microsoft.Extensions.Diagnostics.HealthChecks.Tests Redesign HealthStatus (again) (#520) 2018-10-31 12:51:14 -07:00
Directory.Build.props Upgrade to netcoreapp22 2018-05-07 16:07:07 -07:00