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

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

        assertTrue(response.isSuccess());
        assertEquals(components, response.getData());
    }