@RequestMapping(method = RequestMethod.POST, value = "/policy")
@ResponseBody
public ResponseEntity<Policy> save(final @RequestBody Policy policy) {
// Input Sanitization / Validations
ErrorCode code = ruleHelper.validatePolicy(policy);
if (code != null) {
throw new PolicyInvalidException(code);
}
logger.debug("Generating a Future Url ...");