[
https://issues.apache.org/jira/browse/RANGER-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-3948:
-------------------------------------
Attachment: RANGER-3948.patch
> update serialization to skip empty values
> -----------------------------------------
>
> Key: RANGER-3948
> URL: https://issues.apache.org/jira/browse/RANGER-3948
> Project: Ranger
> Issue Type: Improvement
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Attachments: RANGER-3948.patch
>
>
> Ranger plugins download policies and tags from Ranger admin via REST API
> calls. Ranger admin serializes policies and tags to Json format in response
> to requests from plugins. During serialization, attributes having null values
> are skipped to avoid unnecessary data in the response, thereby reducing the
> size of the response. In addition to skipping null values, it will help to
> skip empty values as well. This can reduce the response size further by about
> 20%.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)