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

Madhan Neethiraj commented on RANGER-2928:
------------------------------------------

{quote}Do we need to keep the XML format support or we will remove the support 
for XML format.
{quote}
[~ramackri]  - as suggested earlier, we should deprecate/remove support for XML 
format.

> [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
>            Priority: Minor
>              Labels: ranger
>         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