/** GET /projects -> get all the projects. */
 @RequestMapping(
     value = "/projects",
     method = RequestMethod.GET,
     produces = MediaType.APPLICATION_JSON_VALUE)
 @Timed
 @Transactional(readOnly = true)
 public List<ProjectDTO> getAllProjects() {
   log.debug("REST request to get all Projects");
   return projectService.findAll();
 }