class OpenLineageService {

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

    }

    @Autowired public  OpenLineageService(OpenLineageClient openLineageClient);

}