[ https://issues.apache.org/jira/browse/ATLAS-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012726#comment-18012726 ]
ASF subversion and git services commented on ATLAS-4916: -------------------------------------------------------- Commit 7a5ac036eb90a5fda3bc2ab51d2ca27094079bd9 in atlas's branch refs/heads/atlas-2.5 from Vinayak Marraiya [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=7a5ac036e ] ATLAS-4916 : Improve Efficiency in Access Request Handling by Optimizing Classification Retrieval (#374) Co-authored-by: Vinayak Marraiya <vinayak.marra...@cloudera.com> > Improve Efficiency in Access Request Handling by Optimizing Classification > Retrieval > ------------------------------------------------------------------------------------ > > Key: ATLAS-4916 > URL: https://issues.apache.org/jira/browse/ATLAS-4916 > Project: Atlas > Issue Type: Improvement > Components: atlas-core > Affects Versions: 3.0.0, 2.3.0 > Reporter: VINAYAK MARRAIYA > Assignee: VINAYAK MARRAIYA > Priority: Major > Fix For: 3.0.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > *Usage:* > AtlasAccessRequest object is used by Authorizer (Ranger Authorizer) to verify > the access. > *Obeservation 1:* > AtlasEntityAccessRequest has entityClassification attribute which populates > its value from AtlasClassification object. > AtlasEntityAccessRequest has entity attribute which has classificationNames > populated > *Action 1:* > classificationNames can be populated from entity.getClassificationNames() > instead of entity.getClassification() > *Observation 2:* > To populate AtlasEntityAccessRequest.entityClassification, > entityRetriever.toAtlasEntityHeaderWithClassifications is used in most of the > cases, which used an extra call to get all classification object. > *Action 2:* > Instead of entityRetriever.toAtlasEntityHeaderWithClassifications, > entityRetriever.toAtlasEntityHeader can be used. > *Action 3:* > Readings of Improvement. -- This message was sent by Atlassian Jira (v8.20.10#820010)