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

Python client to use the given Ranger endpoint, instead of its baseURL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • intg
    • None

    Description

      Ranger can be deployed behind a proxy which can result in Ranger endpoint to include a subpath, like https://hostname:6182/ranger (instead of https://hostname:6182).

      Python client for Ranger strips the last path of the such URL while constructing the URL for REST APIs - like https://hostname:6182/service/public/v2/api/policy. This results in REST API calls to fail since the URL doesn't include /ranger. Ranger Python client needs to be updated to address this issue.

      In addition, it will be desirable to be able to send few headers and query parameters in each API call, for example to send requestId header or tenantId as a parameter.

      Attachments

        1. RANGER-4079.patch
          2 kB
          Madhan Neethiraj

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: