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

Madhan Neethiraj resolved RANGER-2928.
--------------------------------------
    Fix Version/s: 3.0.0
                   2.4.0
       Resolution: Fixed

[~ramackri] - thank you for the patch. It is merged in following branches:

{noformat}
commit 31f7be80b6cb1c77ff3b7de2632c407cc35411fb (HEAD -> master, origin/master, 
origin/HEAD)
Author: Ramachandran Krishnan <[email protected]>
Date:   Mon Oct 17 13:11:34 2022 +0530

    RANGER-2928: removed support for application/xml in all Ranger REST APIs

    Signed-off-by: Madhan Neethiraj <[email protected]>
{noformat}

{noformat}
commit aebd036a9001b95978779cd3fa9aca96899baf78 (HEAD -> ranger-2.4, 
origin/ranger-2.4)
Author: Ramachandran Krishnan <[email protected]>
Date:   Mon Oct 17 13:11:34 2022 +0530

    RANGER-2928: removed support for application/xml in all Ranger REST APIs

    Signed-off-by: Madhan Neethiraj <[email protected]>
    (cherry picked from commit 31f7be80b6cb1c77ff3b7de2632c407cc35411fb)
{noformat}

> [Ranger Zone REST API] Resources data is missing in XML format
> --------------------------------------------------------------
>
>                 Key: RANGER-2928
>                 URL: https://issues.apache.org/jira/browse/RANGER-2928
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 2.1.0
>            Reporter: Abhishek Shukla
>            Assignee: Ramachandran
>            Priority: Minor
>              Labels: ranger
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: RangerSecurityZoneServiceJAXBDemo.zip
>
>
> Observed that the following Ranger Zone API is missing resources in response 
> section for XML format.
> https://<RANGER_HOST>:6182/service/public/v2/api/zones/
> {noformat}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <rangerSecurityZones>
>     <rangerSecurityZone>
>         <id>2</id>
>         <isEnabled>true</isEnabled>
>         <createdBy>Admin</createdBy>
>         <updatedBy>Admin</updatedBy>
>         <createTime>2020-07-28T10:15:44Z</createTime>
>         <updateTime>2020-07-28T10:17:52Z</updateTime>
>         <name>test_zone_1</name>
>         <services>
>             <entry>
>                 <key>cm_ozone</key>
>                 <value>
>                     <resources/>
>                 </value>
>             </entry>
>             <entry>
>                 <key>cm_hdfs</key>
>                 <value>
>                     <resources/>
>                 </value>
>             </entry>
>         </services>
>         <adminUsers>admin</adminUsers>
>         <auditUserGroups>public</auditUserGroups>
>         <description></description>
>     </rangerSecurityZone>
> </rangerSecurityZones>{noformat}
>  
> While the same is present for JSON response.



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

Reply via email to