Search in sources :

Example 1 with ClusterResolver

use of org.apache.nifi.atlas.resolver.ClusterResolver in project nifi by apache.

the class ReportLineageToAtlas method initClusterResolvers.

private void initClusterResolvers(ConfigurationContext context) {
    final Set<ClusterResolver> loadedClusterResolvers = new LinkedHashSet<>();
    clusterResolverLoader.forEach(resolver -> {
        resolver.configure(context);
        loadedClusterResolvers.add(resolver);
    });
    clusterResolvers = new ClusterResolvers(Collections.unmodifiableSet(loadedClusterResolvers), defaultClusterName);
}
Also used : LinkedHashSet(java.util.LinkedHashSet) ClusterResolver(org.apache.nifi.atlas.resolver.ClusterResolver) RegexClusterResolver(org.apache.nifi.atlas.resolver.RegexClusterResolver) ClusterResolvers(org.apache.nifi.atlas.resolver.ClusterResolvers)

Aggregations

LinkedHashSet (java.util.LinkedHashSet)1 ClusterResolver (org.apache.nifi.atlas.resolver.ClusterResolver)1 ClusterResolvers (org.apache.nifi.atlas.resolver.ClusterResolvers)1 RegexClusterResolver (org.apache.nifi.atlas.resolver.RegexClusterResolver)1