New Backoffice: Health check controller refactor (#13763)
* Refactor AllHealthCheckGroupController to return just the names of the groups + changes in the HealthCheckFactory * Introduce a new "get by name without results" endpoint * Create a "check" endpoint * View models changes * Factory renaming changes * Remove Task.FromResult * Update OpenApi.json * Minor updates * Inject HealthCheckCollection directly into the factory
This commit is contained in:
committed by
GitHub
parent
fdf416550a
commit
20534b7a97
@@ -54,7 +54,7 @@ public class ExecuteActionHealthCheckController : HealthCheckControllerBase
|
||||
Type = "Error",
|
||||
};
|
||||
|
||||
return await Task.FromResult(BadRequest(invalidModelProblem));
|
||||
return BadRequest(invalidModelProblem);
|
||||
}
|
||||
|
||||
HealthCheckStatus result = healthCheck.ExecuteAction(_umbracoMapper.Map<HealthCheckAction>(action)!);
|
||||
|
||||
Reference in New Issue
Block a user