class ComplianceController implements Constants {

    @ApiOperation(httpMethod = "PUT", value = "Update Kernel Version by InstanceId")
    @RequestMapping(path = "/v1/update-kernel-version", method = RequestMethod.PUT)
    @ResponseBody
    
    public ResponseEntity<Object> updateKernelVersion(
            @ApiParam(value = "Provide valid Rule Details ", required = true) @RequestBody(required = true) KernelVersion kernelVersion) {
        Map<String, Object> response = complianceService.updateKernelVersion(kernelVersion);
        return new ResponseEntity<>(response, HttpStatus.OK);
    }

}