Small Spring Boot 4 + GeoTools test application for reproducing and investigating WFS entity resolver behavior and related integration issues.
The app exposes simple REST endpoints under /wfs that fetch one feature from external WFS services, apply an optional
CQL filter, and return feature attributes as JSON while omitting verbose geometry values.
GET|POST /wfs/provincie- fetches a singlebestuurlijkegebieden:Provinciegebiedfeature from PDOK, filtered tonaam='Gelderland'.GET|POST /wfs/bak- fetches a singlepostgis:bakfeature from the Tailormap snapshot WFS.
All tests should pass when running eg. mvn test or mvn install.
WFSGetFeatureUtilTest#testWFSGetFeatureProvinciegebied- tests theWFSGetFeatureUtil#getOneFeaturemethod with the PDOK WFS service.WFSGetFeatureUtilTest#testWFSGetFeatureBak- tests theWFSGetFeatureUtil#getOneFeaturemethod with the Tailormap snapshot WFS service.
Run separately using mvn test -Dtest=WFSGetFeatureUtilTest.
GET /wfs/test/provincie- is tested inWFSGetFeatureControllerTest#getProvincieFeature.GET /wfs/test/bak- is tested inWFSGetFeatureControllerTest#getBakFeature.
Run separately using mvn test -Dtest=WFSGetFeatureControllerTest.
./mvnw spring-boot:run