@Operation(summary = "Handle and produce a list of services from registry")
    @GetMapping(produces = {
        MediaType.APPLICATION_JSON_VALUE,
        MEDIA_TYPE_SPRING_BOOT_V2_JSON,
        MEDIA_TYPE_SPRING_BOOT_V3_JSON,
        MediaType.APPLICATION_FORM_URLENCODED_VALUE,
        MEDIA_TYPE_CAS_YAML
    })
    public ResponseEntity<String> handle() throws Exception {
        return ResponseEntity.ok(MAPPER.writeValueAsString(
            servicesManager.getObject()
                .load()
                .stream()
                .filter(RegisteredServiceProperty.RegisteredServiceProperties.INTERNAL_SERVICE_DEFINITION::isNotAssignedTo)
                .collect(Collectors.toList())
        ));
    }
Handle and produce a list of services from registry.

@return collection of services
@throws Exception the exception
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/RegisteredServicesEndpoint.java