class IntegrationResource extends AlpineResource {

    @GET
    @Path("/osv/ecosystem")
    @Produces(MediaType.APPLICATION_JSON)
    @ApiOperation(
            value = "Returns a list of all ecosystems in OSV",
            response = String.class,
            responseContainer = "List",
            notes = "<p>Requires permission <strong>SYSTEM_CONFIGURATION</strong></p>"
    )
    @ApiResponses(value = {
            @ApiResponse(code = 401, message = "Unauthorized")
    })
    @PermissionRequired(Permissions.Constants.SYSTEM_CONFIGURATION)
    public Response getAllEcosystems() {<FILL_FUNCTION_BODY>}

    @GET
    @Path("/osv/ecosystem/inactive")
    @Produces(MediaType.APPLICATION_JSON)
    @ApiOperation(
            value = "Returns a list of available inactive ecosystems in OSV to be selected by user",
            response = String.class,
            responseContainer = "List",
            notes = "<p>Requires permission <strong>SYSTEM_CONFIGURATION</strong></p>"
    )
    @ApiResponses(value = {
            @ApiResponse(code = 401, message = "Unauthorized")
    })
    @PermissionRequired(Permissions.Constants.SYSTEM_CONFIGURATION)
    public Response getInactiveEcosystems() {
        OsvDownloadTask osvDownloadTask = new OsvDownloadTask();
        var selectedEcosystems = osvDownloadTask.getEnabledEcosystems();
        final List<String> ecosystems = osvDownloadTask.getEcosystems().stream()
                .filter(element -> !selectedEcosystems.contains(element))
                .collect(Collectors.toList());
        return Response.ok(ecosystems).build();
    }
}

        OsvDownloadTask osvDownloadTask = new OsvDownloadTask();
        final List<String> ecosystems = osvDownloadTask.getEcosystems();
        return Response.ok(ecosystems).build();
    
<no_super_class>