Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3948

update serialization to skip empty values

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • plugins
    • None

    Description

      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%.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment