class TaggingController implements Constants {

    @RequestMapping(path = "/v1/tagging/compliance", method = RequestMethod.GET)
    public ResponseEntity<Object> taggingSummary(@RequestParam("ag") String assetGroup) {
        if (Strings.isNullOrEmpty(assetGroup)) {
            return ResponseUtils.buildFailureResponse(new Exception(ASSET_MANDATORY));
        }
        ResponseDTO response = null;

        try {
            response = new ResponseDTO(taggingService.getTaggingSummary(assetGroup));

        } catch (ServiceException e) {
            return complianceService.formatException(e);
        }
        return ResponseUtils.buildSucessResponse(response);
    }

}