Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10760?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 ) GEOS-10760 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10760?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 ) GeoFence XML REST API broken: wrong element names ( 
https://osgeo-org.atlassian.net/browse/GEOS-10760?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.22.0 Assignee: Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 ) Components: GeoFence Created: 28/Nov/22 3:45 PM Priority: Medium Reporter: 
Gabriel Roldan ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
 )

GeoFence-server REST API outputs wrong element names.

Expected (as in 2.21.0):

curl -u admin:geoserver "http://localhost:8080/geoserver/rest/geofence/rules"; 
-H "Accept: application/xml"|xmllint --format -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Rules count="1">
 <Rule id="1">
   <access>DENY</access>
   <priority>100</priority>
   <roleName>ORG_205738</roleName>
   <workspace>topp</workspace>
 </Rule>
</Rules>

Actual (as in 2.22.0):

curl -u admin:geoserver "http://localhost:8080/geoserver/rest/geofence/rules"; 
-H "Accept: application/xml"|xmllint --format -
<?xml version="1.0"?>
<JaxbRuleList>
 <count>1</count>
 <rules>
   <rules>
     <id>1</id>
     <priority>100</priority>
     <userName/>
     <roleName>ORG_205738</roleName>
     <addressRange/>
     <workspace>topp</workspace>
     <layer/>
     <service/>
     <request/>
     <access>DENY</access>
     <limits/>
     <layerDetails/>
   </rules>
 </rules>
</JaxbRuleList>

( 
https://osgeo-org.atlassian.net/browse/GEOS-10760#add-comment?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10760#add-comment?atlOrigin=eyJpIjoiZTYyMzk2ZWM3YmUxNDZhNDlmMzI4ZjMyMGFmNWEzYmUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- 
sha1:4037f92 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to