class LocalAuthorityController {

    @GetMapping("/{siren}/dcId")
    public ResponseEntity<String> getDcId(@PathVariable String siren) {
        Optional<LocalAuthority> localAuthority =  localAuthorityService.findBySiren(siren);

        return localAuthority
                .map(localAuthority1 -> new ResponseEntity<>(localAuthority1.getOzwilloInstanceInfo().getDcId(), HttpStatus.OK))
                .orElseGet(() -> new ResponseEntity<>(HttpStatus.NOT_FOUND));
    }

    public  LocalAuthorityController(LocalAuthorityService localAuthorityService, ProfileService profileService,
            WorkGroupService workGroupService);

}