class PatchingController implements Constants {

    @RequestMapping(path = "/v1/patching/quarters", method = RequestMethod.POST)
    public ResponseEntity<Object> getQuartersWithPatchingData(String assetGroup) {
        Map<String, Object> response = new HashMap<>();

        try {
            List<Map<String, Object>> quarterList = patchingService.getQuartersWithPatchingData(assetGroup);
            response.put("response", quarterList);
        } catch (ServiceException e) {
            return complianceService.formatException(e);
        }
        return ResponseUtils.buildSucessResponse(response);
    }

}