Skip to content

INSPIRE validator service

Jiří Kadlec edited this page Oct 1, 2024 · 5 revisions

INSPIRE validator service customization

  • The QC tool accesses an online INSPIRE validator service at https://sdi.eea.europa.eu/validator/v2/ by default.
  • When the QC tool is installed locally (e.g. on service provider premises) we recommend connecting to a local INSPIRE validator service instance to reduce traffic to the default service.
  • Steps to install the QC tool with a custom local INSPIRE validator are:
  1. 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:2024.3
  2. Check that the local instance of the INSPIRE validator service container is running at http://localhost:8090/validator/v2/status - it should show a message like {"name":"INSPIRE Reference Validator","status":"GOOD","heartbeat":"1727789362372"...
  3. Modify the INSPIRE_SERVICE_URL environment variable in docker-compose.service_provider.yml. (NOTE: You will need to provide the IP address or hostname of the machine where it is running, NOT localhost, e.g. INSPIRE_SERVICE_URL=http://172.31.169.12:8090/validator/v2/). To find out the correct IP address or hostname, use the command hostname -I (on Linux) or hostname (in Windows cmd)
  4. Restart the QC tool (docker-compose -f docker-compose.service_provider.yml up) and it will use your local instance of the validator when running vector.inspire or raster.inspire checks.

Clone this wiki locally