class OpenLineageService {

    public Map<String, List> getEndToEndLineage(String userId,
                                                String guid,
                                                boolean includeProcesses) {
        try {
            LineageVerticesAndEdges response =  openLineageClient.lineage(userId, Scope.END_TO_END, guid, "", includeProcesses);
            return processResponse(response,guid);
        } catch (InvalidParameterException | PropertyServerException | OpenLineageException e) {
            LOG.error("Cannot get end to end lineage for guid {}", guid);
            throw new RuntimeException("end2end lineage error", e);
        }
    }

    @Autowired public  OpenLineageService(OpenLineageClient openLineageClient);

}