[Geoserver-devel] embedded Geofence REST API not using JAXB element names

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…

2

2
0

ROLE_EDITOR





ALLOW

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