class AssuranceController {

    @CrossOrigin(origins = "*")
    @DeleteMapping(path = "/assurances/orderid/{orderId}")
    public HttpEntity deleteAssuranceByOrderId(@PathVariable String orderId, @RequestHeader HttpHeaders headers) {
        AssuranceController.LOGGER.info("[Assurances Service][Delete Assurance by orderId]");
        return ok(assuranceService.deleteByOrderId(UUID.fromString(orderId), headers));
    }

}