[ https://issues.apache.org/jira/browse/ATLAS-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012725#comment-18012725 ]
ASF subversion and git services commented on ATLAS-4916: -------------------------------------------------------- Commit 52a315449bdf99bf7b9fa0c0a3325decdcb6c5f1 in atlas's branch refs/heads/master from Vinayak Marraiya [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=52a315449 ] 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)