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

update serialization to skip empty values

    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

        1. RANGER-3948.patch
          39 kB
          Madhan Neethiraj

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: