class CerebroController {

    @RequestMapping(value="/alarms/{id}", method = RequestMethod.GET)
    public CerebroAlarm getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id) {
        return new CerebroAlarm(alarmMapper.mapToPresentation(alarmService.getAlarm(id)));
    }

}