test_class.declarator: mockMvc
test_class.modifier: private
test_class.original_string: private MockMvc mockMvc;
test_class.type: MockMvc
test_class.var_name: mockMvc
test_class.declarator: alarmService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AlarmService alarmService;
test_class.type: AlarmService
test_class.var_name: alarmService
test_class.declarator: subscriptionService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SubscriptionService subscriptionService;
test_class.type: SubscriptionService
test_class.var_name: subscriptionService
test_class.declarator: alertService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AlertService alertService;
test_class.type: AlertService
test_class.var_name: alertService
test_class.declarator: graphiteSources
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GraphiteSources graphiteSources;
test_class.type: GraphiteSources
test_class.var_name: graphiteSources
test_class.declarator: alarmMapper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AlarmMapper alarmMapper;
test_class.type: AlarmMapper
test_class.var_name: alarmMapper
test_class.declarator: subscriptionMapper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SubscriptionMapper subscriptionMapper;
test_class.type: SubscriptionMapper
test_class.var_name: subscriptionMapper
test_class.declarator: cerebroController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private CerebroController cerebroController;
test_class.type: CerebroController
test_class.var_name: cerebroController
test_class.file: services/src/test/java/com/vsct/supervision/notification/controller/CerebroControllerTest.java
test_class.identifier: CerebroControllerTest
test_class.superclass: extends AbstractControllerTest
test_case.body: @Test
      public void test_all_withoutSubTarget() throws Exception{
  
          Collection<Alarm> alarms = new ArrayList<>();
          for(int i=0; i < 2; i++){
              alarms.add(getAlarm("id",i));
          }
  
          when(alarmMapper.mapToPresentation(anyCollection())).thenReturn(alarms);
  
          mockMvc.perform(get("/alarms")).andExpect(status().isOk())
              .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
              .andExpect(jsonPath("$", hasSize(2)))
              .andExpect(jsonPath("$[0].id",is("id0")))
              .andExpect(jsonPath("$[0].name",is("name0")))
              .andExpect(jsonPath("$[0].target",is("target0")))
              .andExpect(jsonPath("$[1].id",is("id1")))
              .andExpect(jsonPath("$[1].name",is("name1")))
              .andExpect(jsonPath("$[1].target",is("target1")));
      }
test_case.class_method_signature: CerebroControllerTest.test_all_withoutSubTarget()
test_case.full_signature: @Test public void test_all_withoutSubTarget()
test_case.identifier: test_all_withoutSubTarget
test_case.invocations: add getAlarm thenReturn when mapToPresentation anyCollection andExpect andExpect andExpect andExpect andExpect andExpect andExpect andExpect andExpect perform get isOk status contentType content jsonPath hasSize jsonPath is jsonPath is jsonPath is jsonPath is jsonPath is jsonPath is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_all_withoutSubTarget()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(CerebroController.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(CerebroController.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: alarmService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AlarmService alarmService;
focal_class.type: AlarmService
focal_class.var_name: alarmService
focal_class.declarator: subscriptionService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private SubscriptionService subscriptionService;
focal_class.type: SubscriptionService
focal_class.var_name: subscriptionService
focal_class.declarator: alertService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AlertService alertService;
focal_class.type: AlertService
focal_class.var_name: alertService
focal_class.declarator: graphiteSources
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private GraphiteSources graphiteSources;
focal_class.type: GraphiteSources
focal_class.var_name: graphiteSources
focal_class.declarator: alarmMapper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AlarmMapper alarmMapper;
focal_class.type: AlarmMapper
focal_class.var_name: alarmMapper
focal_class.declarator: subscriptionMapper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private SubscriptionMapper subscriptionMapper;
focal_class.type: SubscriptionMapper
focal_class.var_name: subscriptionMapper
focal_class.file: services/src/main/java/com/vsct/supervision/notification/controller/CerebroController.java
focal_class.identifier: CerebroController
focal_class.class_method_signature: CerebroController.sources()
focal_class.full_signature: @RequestMapping(value="/datasources/locations", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the datasource backend location(s)")}) public Collection<URI> sources()
focal_class.identifier: sources
focal_class.modifiers: @RequestMapping(value="/datasources/locations", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the datasource backend location(s)")}) public
focal_class.parameters: ()
focal_class.return: Collection<URI>
focal_class.signature: Collection<URI> sources()
focal_class.class_method_signature: CerebroController.all(@ApiParam(name="subscriptionTarget", value="a subscriber's email") @RequestParam(name = "subscriptionTarget", required = false) final String subTarget)
focal_class.full_signature: @RequestMapping(value="/alarms", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the subscriber's alarms, or all alarms if no email is provided")}) public Collection<Alarm> all(@ApiParam(name="subscriptionTarget", value="a subscriber's email") @RequestParam(name = "subscriptionTarget", required = false) final String subTarget)
focal_class.identifier: all
focal_class.modifiers: @RequestMapping(value="/alarms", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the subscriber's alarms, or all alarms if no email is provided")}) public
focal_class.parameters: (@ApiParam(name="subscriptionTarget", value="a subscriber's email") @RequestParam(name = "subscriptionTarget", required = false) final String subTarget)
focal_class.return: Collection<Alarm>
focal_class.signature: Collection<Alarm> all(@ApiParam(name="subscriptionTarget", value="a subscriber's email") @RequestParam(name = "subscriptionTarget", required = false) final String subTarget)
focal_class.class_method_signature: CerebroController.getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_class.full_signature: @RequestMapping(value="/alarms/{id}", method = RequestMethod.GET) public CerebroAlarm getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_class.identifier: getAlarm
focal_class.modifiers: @RequestMapping(value="/alarms/{id}", method = RequestMethod.GET) public
focal_class.parameters: (@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_class.return: CerebroAlarm
focal_class.signature: CerebroAlarm getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_class.class_method_signature: CerebroController.addAlarm(@ApiParam(name="alarm", value="an alarm to add", required = true) @RequestBody final Alarm alarm)
focal_class.full_signature: @RequestMapping(value = "/alarms", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Creates a new alarm and returns its Id")}) public String addAlarm(@ApiParam(name="alarm", value="an alarm to add", required = true) @RequestBody final Alarm alarm)
focal_class.identifier: addAlarm
focal_class.modifiers: @RequestMapping(value = "/alarms", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Creates a new alarm and returns its Id")}) public
focal_class.parameters: (@ApiParam(name="alarm", value="an alarm to add", required = true) @RequestBody final Alarm alarm)
focal_class.return: String
focal_class.signature: String addAlarm(@ApiParam(name="alarm", value="an alarm to add", required = true) @RequestBody final Alarm alarm)
focal_class.class_method_signature: CerebroController.getSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.full_signature: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the subscription with the given alarm and subscription Ids")}) public Subscription getSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.identifier: getSubscription
focal_class.modifiers: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the subscription with the given alarm and subscription Ids")}) public
focal_class.parameters: (@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.return: Subscription
focal_class.signature: Subscription getSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.class_method_signature: CerebroController.searchAlarm(@ApiParam(name="alarm", value="the alarm to search") @RequestBody final Alarm alarm)
focal_class.full_signature: @RequestMapping(value = "/alarms/search", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "search for an alarm")}) public Alarm searchAlarm(@ApiParam(name="alarm", value="the alarm to search") @RequestBody final Alarm alarm)
focal_class.identifier: searchAlarm
focal_class.modifiers: @RequestMapping(value = "/alarms/search", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "search for an alarm")}) public
focal_class.parameters: (@ApiParam(name="alarm", value="the alarm to search") @RequestBody final Alarm alarm)
focal_class.return: Alarm
focal_class.signature: Alarm searchAlarm(@ApiParam(name="alarm", value="the alarm to search") @RequestBody final Alarm alarm)
focal_class.class_method_signature: CerebroController.updateAlarm(@ApiParam(name="alarm", value="an updated alarm", required = true) @RequestBody final Alarm alarm)
focal_class.full_signature: @RequestMapping(value = "/alarms", method = RequestMethod.PUT) @ApiResponses(value={@ApiResponse(code=200, message = "Updates the alarm and returns its Id")}) public String updateAlarm(@ApiParam(name="alarm", value="an updated alarm", required = true) @RequestBody final Alarm alarm)
focal_class.identifier: updateAlarm
focal_class.modifiers: @RequestMapping(value = "/alarms", method = RequestMethod.PUT) @ApiResponses(value={@ApiResponse(code=200, message = "Updates the alarm and returns its Id")}) public
focal_class.parameters: (@ApiParam(name="alarm", value="an updated alarm", required = true) @RequestBody final Alarm alarm)
focal_class.return: String
focal_class.signature: String updateAlarm(@ApiParam(name="alarm", value="an updated alarm", required = true) @RequestBody final Alarm alarm)
focal_class.class_method_signature: CerebroController.addSubscription(@ApiParam(name="subscription", value="a subscription to add") @RequestBody final Subscription subscription,
                                  @ApiParam(name="alarmId", value="the Id of the alarm") @PathVariable final String alarmId)
focal_class.full_signature: @RequestMapping(value = "/alarms/{alarmId}/subscriptions", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Adds a subscription to an alarm")}) public void addSubscription(@ApiParam(name="subscription", value="a subscription to add") @RequestBody final Subscription subscription,
                                  @ApiParam(name="alarmId", value="the Id of the alarm") @PathVariable final String alarmId)
focal_class.identifier: addSubscription
focal_class.modifiers: @RequestMapping(value = "/alarms/{alarmId}/subscriptions", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Adds a subscription to an alarm")}) public
focal_class.parameters: (@ApiParam(name="subscription", value="a subscription to add") @RequestBody final Subscription subscription,
                                  @ApiParam(name="alarmId", value="the Id of the alarm") @PathVariable final String alarmId)
focal_class.return: void
focal_class.signature: void addSubscription(@ApiParam(name="subscription", value="a subscription to add") @RequestBody final Subscription subscription,
                                  @ApiParam(name="alarmId", value="the Id of the alarm") @PathVariable final String alarmId)
focal_class.class_method_signature: CerebroController.deleteSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.full_signature: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.DELETE) @ApiResponses(value={@ApiResponse(code=200, message = "Deletes the subscription with the given alarm and subscription Ids")}) public String deleteSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.identifier: deleteSubscription
focal_class.modifiers: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.DELETE) @ApiResponses(value={@ApiResponse(code=200, message = "Deletes the subscription with the given alarm and subscription Ids")}) public
focal_class.parameters: (@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.return: String
focal_class.signature: String deleteSubscription(@ApiParam(name="alarmId", value="an alarm Id") @PathVariable("alarmId") final String alarmId,
          @ApiParam(name = "subscriptionId", value = "a subscription Id") @PathVariable("subscriptionId") final String subscriptionId)
focal_class.class_method_signature: CerebroController.searchSubscription(@ApiParam(name="subscription", value="the subscription to search for") @RequestBody final Subscription subscription,
                                             @ApiParam(name="alarmId") @PathVariable final String alarmId)
focal_class.full_signature: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/search", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Search for a subscription")}) public Subscription searchSubscription(@ApiParam(name="subscription", value="the subscription to search for") @RequestBody final Subscription subscription,
                                             @ApiParam(name="alarmId") @PathVariable final String alarmId)
focal_class.identifier: searchSubscription
focal_class.modifiers: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/search", method = RequestMethod.POST) @ApiResponses(value={@ApiResponse(code=200, message = "Search for a subscription")}) public
focal_class.parameters: (@ApiParam(name="subscription", value="the subscription to search for") @RequestBody final Subscription subscription,
                                             @ApiParam(name="alarmId") @PathVariable final String alarmId)
focal_class.return: Subscription
focal_class.signature: Subscription searchSubscription(@ApiParam(name="subscription", value="the subscription to search for") @RequestBody final Subscription subscription,
                                             @ApiParam(name="alarmId") @PathVariable final String alarmId)
focal_class.class_method_signature: CerebroController.updateSubscription(@ApiParam(name="subscription", value="the updated subscription") @RequestBody final Subscription subscription,
                                     @ApiParam(name="alarmId", value="the Id of the alarm to which the subscription is linked") @PathVariable("alarmId") final String alarmId)
focal_class.full_signature: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.PUT) @ApiResponses(value={@ApiResponse(code=200, message = "Updates a subscription")}) public void updateSubscription(@ApiParam(name="subscription", value="the updated subscription") @RequestBody final Subscription subscription,
                                     @ApiParam(name="alarmId", value="the Id of the alarm to which the subscription is linked") @PathVariable("alarmId") final String alarmId)
focal_class.identifier: updateSubscription
focal_class.modifiers: @RequestMapping(value = "/alarms/{alarmId}/subscriptions/{subscriptionId}", method = RequestMethod.PUT) @ApiResponses(value={@ApiResponse(code=200, message = "Updates a subscription")}) public
focal_class.parameters: (@ApiParam(name="subscription", value="the updated subscription") @RequestBody final Subscription subscription,
                                     @ApiParam(name="alarmId", value="the Id of the alarm to which the subscription is linked") @PathVariable("alarmId") final String alarmId)
focal_class.return: void
focal_class.signature: void updateSubscription(@ApiParam(name="subscription", value="the updated subscription") @RequestBody final Subscription subscription,
                                     @ApiParam(name="alarmId", value="the Id of the alarm to which the subscription is linked") @PathVariable("alarmId") final String alarmId)
focal_class.class_method_signature: CerebroController.getAlerts(@ApiParam(name="nbItem", value="number of alerts to return") @RequestParam(value = "items", required = false, defaultValue = "20") final int nbItem,
          							   @ApiParam(name="start", value="starting date") @RequestParam(value = "start", required = false, defaultValue = "0") final int start,
          							   @ApiParam(name="from") @RequestParam(value = "from", required = false) final String from)
focal_class.full_signature: @RequestMapping(value="/alerts", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the latest alarm alerts")}) public Collection<Alert> getAlerts(@ApiParam(name="nbItem", value="number of alerts to return") @RequestParam(value = "items", required = false, defaultValue = "20") final int nbItem,
          							   @ApiParam(name="start", value="starting date") @RequestParam(value = "start", required = false, defaultValue = "0") final int start,
          							   @ApiParam(name="from") @RequestParam(value = "from", required = false) final String from)
focal_class.identifier: getAlerts
focal_class.modifiers: @RequestMapping(value="/alerts", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns the latest alarm alerts")}) public
focal_class.parameters: (@ApiParam(name="nbItem", value="number of alerts to return") @RequestParam(value = "items", required = false, defaultValue = "20") final int nbItem,
          							   @ApiParam(name="start", value="starting date") @RequestParam(value = "start", required = false, defaultValue = "0") final int start,
          							   @ApiParam(name="from") @RequestParam(value = "from", required = false) final String from)
focal_class.return: Collection<Alert>
focal_class.signature: Collection<Alert> getAlerts(@ApiParam(name="nbItem", value="number of alerts to return") @RequestParam(value = "items", required = false, defaultValue = "20") final int nbItem,
          							   @ApiParam(name="start", value="starting date") @RequestParam(value = "start", required = false, defaultValue = "0") final int start,
          							   @ApiParam(name="from") @RequestParam(value = "from", required = false) final String from)
focal_class.class_method_signature: CerebroController.getAlertStatNoTypeChange(@ApiParam(name="from", value="beginning date") @RequestParam("from") final String from)
focal_class.full_signature: @RequestMapping(value="/alerts/stats/nochanges", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns stats (number of occurrence,current status) about all alerts without status change from \"from\" to now")}) public List<Stat> getAlertStatNoTypeChange(@ApiParam(name="from", value="beginning date") @RequestParam("from") final String from)
focal_class.identifier: getAlertStatNoTypeChange
focal_class.modifiers: @RequestMapping(value="/alerts/stats/nochanges", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns stats (number of occurrence,current status) about all alerts without status change from \"from\" to now")}) public
focal_class.parameters: (@ApiParam(name="from", value="beginning date") @RequestParam("from") final String from)
focal_class.return: List<Stat>
focal_class.signature: List<Stat> getAlertStatNoTypeChange(@ApiParam(name="from", value="beginning date") @RequestParam("from") final String from)
focal_class.class_method_signature: CerebroController.getAlertStatTypeChange(@RequestParam("from") final String from)
focal_class.full_signature: @RequestMapping("/alerts/stats/changes") @ApiResponses(value={@ApiResponse(code=200, message = "Returns stats (number of occurrence, current status) about all alerts with status change from \"from\" to now")}) public List<Stat> getAlertStatTypeChange(@RequestParam("from") final String from)
focal_class.identifier: getAlertStatTypeChange
focal_class.modifiers: @RequestMapping("/alerts/stats/changes") @ApiResponses(value={@ApiResponse(code=200, message = "Returns stats (number of occurrence, current status) about all alerts with status change from \"from\" to now")}) public
focal_class.parameters: (@RequestParam("from") final String from)
focal_class.return: List<Stat>
focal_class.signature: List<Stat> getAlertStatTypeChange(@RequestParam("from") final String from)
focal_class.class_method_signature: CerebroController.getAlarmAlerts(@ApiParam(name="id", value="an alarm Id") @PathVariable("id") final String id)
focal_class.full_signature: @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)
focal_class.identifier: getAlarmAlerts
focal_class.modifiers: @RequestMapping(value="/alarms/{id}/alerts", method = RequestMethod.GET) @ApiResponses(value={@ApiResponse(code=200, message = "Returns all alerts for a given alarm")}) public
focal_class.parameters: (@ApiParam(name="id", value="an alarm Id") @PathVariable("id") final String id)
focal_class.return: Collection<Alert>
focal_class.signature: Collection<Alert> getAlarmAlerts(@ApiParam(name="id", value="an alarm Id") @PathVariable("id") final String id)
focal_class.class_method_signature: CerebroController.getErrorCode(final CerebroException exception)
focal_class.full_signature: @ExceptionHandler(CerebroException.class) @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) public String getErrorCode(final CerebroException exception)
focal_class.identifier: getErrorCode
focal_class.modifiers: @ExceptionHandler(CerebroException.class) @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) public
focal_class.parameters: (final CerebroException exception)
focal_class.return: String
focal_class.signature: String getErrorCode(final CerebroException exception)
focal_method.body: @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)));
      }
focal_method.class_method_signature: CerebroController.getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_method.full_signature: @RequestMapping(value="/alarms/{id}", method = RequestMethod.GET) public CerebroAlarm getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_method.identifier: getAlarm
focal_method.invocations: mapToPresentation getAlarm
focal_method.modifiers: @RequestMapping(value="/alarms/{id}", method = RequestMethod.GET) public
focal_method.parameters: (@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)
focal_method.return: CerebroAlarm
focal_method.signature: CerebroAlarm getAlarm(@ApiParam(name="id", value="an alarm Id", required = true) @PathVariable("id") final String id)