-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DG-1697: Adding endpoint for linking/unlink policy #3349
Conversation
webapp/src/main/java/org/apache/atlas/web/rest/AlternateREST.java
Outdated
Show resolved
Hide resolved
webapp/src/main/java/org/apache/atlas/web/rest/AlternateREST.java
Outdated
Show resolved
Hide resolved
webapp/src/main/java/org/apache/atlas/web/rest/AlternateREST.java
Outdated
Show resolved
Hide resolved
intg/src/main/java/org/apache/atlas/model/instance/LinkBusinessPolicyRequest.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
webapp/src/main/java/org/apache/atlas/notification/EntityNotificationSender.java
Outdated
Show resolved
Hide resolved
EntityMutationResponse entityMutationResponse = new EntityMutationResponse(); | ||
for (AtlasVertex vertex : vertices) { | ||
// Convert each vertex to an AtlasEntityHeader and add it to the response | ||
AtlasEntityHeader entityHeader = entityRetriever.toAtlasEntityHeader(vertex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to fetch entire entity and attched tags, meanings all the time , if not optimize the call to fetch only the entity header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean findByGuid can be avoided?
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added few comments
Change description
Created two new endpoints in the metastore:
2 Link Policies
These endpoints link or unlink policies from a set of asset IDs with minimal operations:
Type of change
Related issues
Checklists
Development
Security
Code review