class CerebroController {

    @RequestMapping(value="/alarms/{id}/alerts", method = RequestMethod.GET)
    @ApiResponses(value={@ApiResponse(code=200, message = "Returns all alerts for a given alarm")})
    public Collection<Alert> getAlarmAlerts(@ApiParam(name="id", value="an alarm Id") @PathVariable("id") final String id) {
        final Collection<Alert> alerts = alertService.getAlarmAlerts(id).getValues();
        return alerts;
    }

}