code: @RequestMapping(value = GET_ALL_TARGETS_URL, method = RequestMethod.GET)
      public ResponseEntity<List<Target>> getAllTargets() throws DeployerException {
          List<Target> targets = targetService.getAllTargets();
  
          return new ResponseEntity<>(targets,
                                      RestServiceUtils.setLocationHeader(new HttpHeaders(), BASE_URL + GET_ALL_TARGETS_URL),
                                      HttpStatus.OK);
      }
docs: Returns all current {@link Target}s
  
  @return the response entity with all the properties of the targets and 200 OK status
  
  @throws DeployerException if an error ocurred