class AssuranceController {

    @CrossOrigin(origins = "*")
    @GetMapping(path = "/assurances/assuranceid/{assuranceId}")
    public HttpEntity getAssuranceById(@PathVariable String assuranceId, @RequestHeader HttpHeaders headers) {
        return ok(assuranceService.findAssuranceById(UUID.fromString(assuranceId), headers));
    }

}