mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Feature]MM2管理-MM2健康巡检(#894)
This commit is contained in:
@@ -60,6 +60,14 @@ public class KafkaHealthController {
|
||||
@ResponseBody
|
||||
public Result<List<HealthScoreResultDetailVO>> getClusterHealthCheckResultDetail(@PathVariable Long clusterPhyId,
|
||||
@RequestBody List<Integer> dimensionCodeList) {
|
||||
if (dimensionCodeList.isEmpty()) {
|
||||
return Result.buildSuc(
|
||||
HealthScoreVOConverter.convert2HealthScoreResultDetailVOList(
|
||||
healthStateService.getAllDimensionHealthResult(clusterPhyId)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
return Result.buildSuc(HealthScoreVOConverter.convert2HealthScoreResultDetailVOList(
|
||||
healthStateService.getDimensionHealthResult(clusterPhyId, dimensionCodeList)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user