@Operation(summary = "list", description = "List components")
    @GetMapping
    public ResponseEntity<List<ComponentVO>> list(@PathVariable Long clusterId) {
        return ResponseEntity.success(componentService.list(clusterId));
    }
@Test
    void listReturnsEmptyForNoComponents() {
        Long clusterId = 1L;
        when(componentService.list(clusterId)).thenReturn(List.of());

        ResponseEntity<List<ComponentVO>> response = componentController.list(clusterId);

        assertTrue(response.isSuccess());
        assertTrue(response.getData().isEmpty());
    }