class AssuranceController {

    @CrossOrigin(origins = "*")
    @GetMapping(path = "/assurance/orderid/{orderId}")
    public HttpEntity findAssuranceByOrderId(@PathVariable String orderId, @RequestHeader HttpHeaders headers) {
        return ok(assuranceService.findAssuranceByOrderId(UUID.fromString(orderId), headers));
    }

}