[ 
https://issues.apache.org/jira/browse/ATLAS-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

VINAYAK MARRAIYA updated ATLAS-4916:
------------------------------------
    Summary: Improve Efficiency in Access Request Handling by Optimizing 
Classification Retrieval  (was: Improve APIs where AtlasAccessRequest is used)

> 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: 10m
>  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)

Reply via email to