wfs3-experiments

Validation, Testing and Monitoring

This relates to aspects that deal with the Quality of Service (QoS) for WFS3 Endpoints and software tools to apply these.

Open Geospatial Consortium (OGC)

OGC organizes Testbeds and has a standards compliance test tool (CITE).

CHECK: also CITE tests for WFS3? Where?

Testing

Various clients where one can paste in a WFS3 endpoint URL.

Validation

OpenApi spec Validator

Found at https://github.com/p1c2u/openapi-spec-validator

$ pip install openapi-spec-validator
$ python
>>> from openapi_spec_validator import validate_spec_url
>>> validate_spec_url('https://demo.pygeoapi.io/master/api?f=json')

(interesting error related to Processes/WPS REST)

Monitoring

This is about continuously monitoring your endpoint, for example if a backend DB is not running or corrupt, some of the WFS3 endpoints may be responding ok (as response comes from configuration), but getting Items (Features) will give errors. Hence regular uptime checkers won’t often detect these.

GeoHealthCheck

GeoHealthCheck has added a WFS3Drilldown Probe: it will fetch and navigate/crawl down within a WFS3 endpoint, check for some required variables.

Two modes can be set: ‘basic` (only “Capabilities-type” check) and ‘full’: got through all Collections and do GetItem (limit=1) on each and check for some required attributes.

To test: