@Operation(summary = "list", description = "List stacks components")
    @GetMapping("/{stackName}/{stackVersion}/components")
    public ResponseEntity<List<ServiceComponentVO>> components(
            @PathVariable String stackName, @PathVariable String stackVersion) {
        return ResponseEntity.success(stackService.components(stackName, stackVersion));
    }
@Test
    void componentsReturnsAllComponentsForValidStack() {
        String stackName = "bigtop";
        String stackVersion = "1.0.0";
        List<ServiceComponentVO> components = Arrays.asList(new ServiceComponentVO(), new ServiceComponentVO());
        when(stackService.components(stackName, stackVersion)).thenReturn(components);

        ResponseEntity<List<ServiceComponentVO>> response = stackController.components(stackName, stackVersion);

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