class NotificationsApiController {

    @GetMapping(value = "/alerts", produces = { "application/json" })
    public ResponseEntity<AlertData> checkAlerts() {
        AlertStatus alertStatus = notificationService.getAlerts();
        return new ResponseEntity<>(alertDataConverter.convert(alertStatus), HttpStatus.OK);
    }

    @Autowired public  NotificationsApiController(
            NotificationService notificationService, AlertDataConverter alertDataConverter);

}