Hi there,

this is on main with geofence-server.

I wonder what is the actually expected encoding for Geofence Jaxb objects.
For example, the output of /geoserver/rest/geofence/rules will give
something like the xml fragment below, which doesn't match the annotations
in JaxbRuleList etc such as:

@XmlRootElement(name = "Rules") public class JaxbRuleList ...
@XmlRootElement(name = "Rule") public class JaxbRule...

<JaxbRuleList>
<count>2</count>
<rules>
<rules>
<id>2</id>
<priority>0</priority>
<userName/>
<roleName>ROLE_EDITOR</roleName>
<addressRange/>
<workspace/>
<layer/>
<service/>
<request/>
<access>ALLOW</access>
<limits/>
<layerDetails/>
</rules>

As far as I can see the controller is tested directly but can't find a test
that checks on the output encoding.

-- 
Gabriel Roldán
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to