You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2023/10/12 14:24:00 UTC

[jira] [Commented] (RANGER-4428) Need a new API to get list of zones mapped to a service

    [ https://issues.apache.org/jira/browse/RANGER-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774553#comment-17774553 ] 

Madhan Neethiraj commented on RANGER-4428:
------------------------------------------

[~prashant_satam]  - I would suggest to use the existing API at
{{{}/service/public/v2{}}}{{{}/api/zones/zone-headers/for-service/\{serviceId}{}}}, which returns list of zones for the given serviceId. If this doesn't work, please add details on why the new API is needed.

> Need a new API to get list of zones mapped to a service
> -------------------------------------------------------
>
>                 Key: RANGER-4428
>                 URL: https://issues.apache.org/jira/browse/RANGER-4428
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin
>            Reporter: Subhrat Chaudhary
>            Assignee: Prashant Satam
>            Priority: Major
>
> Need a new API to get list of zones mapped to a service for the Create Datashare >> Step 2 > Select Service >> Select Zone
> Request: serviceId will received in params
> Response: {color:#000000}Map<zoneId, zoneName>{color}



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