@RequestMapping(value = "/snapshot", method = RequestMethod.POST) @JsonView(AllViews.VulnSearchApplications.class) public @ResponseBody RestResponse<Map<String, Object>> processSnapShot( @ModelAttribute ReportParameters reportParameters, HttpServletRequest request) throws IOException { log.info("Generating snapshot report"); Map<String, Object> map = reportsService.generateSnapshotReport(reportParameters, request); map.put("tags", tagService.loadAllApplicationTags()); map.put("vulnTags", tagService.loadAllVulnTags()); return RestResponse.success(map); }