You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Fateh Singh (Jira)" <ji...@apache.org> on 2022/07/22 16:17:00 UTC

[jira] [Updated] (RANGER-3836) Support getting the service version for a service, or allow rangerClient.getService() to return policyVersion for non-admins

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

Fateh Singh updated RANGER-3836:
--------------------------------
    Issue Type: Improvement  (was: Test)

> Support getting the service version for a service, or allow rangerClient.getService() to return policyVersion for non-admins
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-3836
>                 URL: https://issues.apache.org/jira/browse/RANGER-3836
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Fateh Singh
>            Assignee: Fateh Singh
>            Priority: Major
>
> The policy version for a service can be retrieved from the /service/plugins/services/<serviceID> Ranger REST endpoint. We make a GET call to this endpoint and read the {{policyVersion}} json field in the response. For Ozone multi-tenancy, we use this to detect whether changes have been made to Ranger that require us to check for divergence. It would be helpful for our use case if this operation were supported by the Ranger Client, so we did not need to set up security and manually make the REST call for this information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)