Skip to content

Commit

Permalink
Merge pull request #3270 from atlanhq/DG-1533
Browse files Browse the repository at this point in the history
DG-1533 Fix Restore domain/product issue
  • Loading branch information
nikhilbonte21 authored Jun 21, 2024
2 parents 640ea65 + c9b577a commit 910893d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public abstract class AbstractDomainPreProcessor implements PreProcessor {
private static final Logger LOG = LoggerFactory.getLogger(AbstractDomainPreProcessor.class);


protected final AtlasGraph graph;
protected final AtlasTypeRegistry typeRegistry;
protected final EntityGraphRetriever entityRetriever;
protected EntityGraphRetriever entityRetrieverNoRelations;
Expand All @@ -79,6 +80,7 @@ public abstract class AbstractDomainPreProcessor implements PreProcessor {
}

AbstractDomainPreProcessor(AtlasTypeRegistry typeRegistry, EntityGraphRetriever entityRetriever, AtlasGraph graph) {
this.graph = graph;
this.entityRetriever = entityRetriever;
this.typeRegistry = typeRegistry;
this.preProcessor = new AuthPolicyPreProcessor(graph, typeRegistry, entityRetriever);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.apache.atlas.authorize.AtlasPrivilege;
import org.apache.atlas.exception.AtlasBaseException;
import org.apache.atlas.model.instance.*;
import org.apache.atlas.repository.graph.GraphHelper;
import org.apache.atlas.repository.graphdb.AtlasEdge;
import org.apache.atlas.repository.graphdb.AtlasEdgeDirection;
import org.apache.atlas.repository.graphdb.AtlasGraph;
Expand Down

0 comments on commit 910893d

Please sign in to comment.