-
Notifications
You must be signed in to change notification settings - Fork 4
INSPIRE validator service
INSPIRE validator service customization
- The QC tool uses a built-in (embedded) installation the INSPIRE validator service, which is also available online at https://sdi.eea.europa.eu/validator/v2/. The built-in validator service runs in the worker container. It relies on java, squid and apache running in the worker, and can consume high memory especially on kubernetes clusters.
Alternative validator setup
There are two options: Use a lightweight built-in commandline validator (experimental option) or running your own inspire-validator container.
Option 1 - lightweight validator
The lightweight validator is built using XSD and XSL validation rules for geospatial metadata from the open-source Geonetwork software project (see https://github.com/geonetwork/core-geonetwork/tree/main/schemas). It validates the XML file with the schema and reports any schema violations.
For this option, set the environment variables for the worker:
RUN_INSPIRE_VALIDATOR=no (this will turn off the java, squid and apache of the built in full-inspire-validator)
USE_LIGHTWEIGHT_VALIDATOR=yes (this will instruct the QC tool to use the lightweight commandline version instead)
Option 2 - custom INSPIRE validator container / service
- When the QC tool is installed locally (e.g. on service provider premises) it is also possible to setup connection to a different (custom) INSPIRE validator service instance.
- Steps to install the QC tool with a custom local INSPIRE validator are:
- Install and launch the INSPIRE validator docker container using command
docker run --name inspire-validator -d -p 8090:8090 -v ~/etf:/etf ghcr.io/inspire-mif/helpdesk-validator/inspire-validator:2026.1(for advanced installation instructions see https://github.com/INSPIRE-MIF/helpdesk-validator/releases/tag/v2026.1) - Check that the local instance of the INSPIRE validator service container is running at http://localhost:8080/validator/v2/status - it should show a message like
{"name":"INSPIRE Reference Validator","status":"GOOD","heartbeat":"1727789362372"... - Modify the INSPIRE_SERVICE_URL environment variable. See https://github.com/eea/copernicus_quality_tools/blob/master/docker/docker-compose.custom_inspire_validator.yml as an example setup.