Skip to content

PDOK Docker image for OGC API - Features Compliance Test Suite

Notifications You must be signed in to change notification settings

PDOK/ets-ogcapi-features10-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

README

PDOK Docker image for OGC API - Features Compliance Test Suite for command-line use, with additional features:

  • pass service url as command-line argument
  • when passing -exitOnFail flag, return code 0 if test suite passes all tests, otherwise 1 (instead of always returning 0)

Usage examples

docker run -t -v "$(pwd):/mnt" pdok/ets-ogcapi-features10-docker:latest https://api.pdok.nl/geonovum/oaf/v1_0/ --generateHtmlReport true --outputDir /mnt/output --exitOnFail --prettyPrint
URL=https://api.pdok.nl/geonovum/oaf/v1_0/
cat > ./test-run-props.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties version="1.0">
  <comment>Test run arguments</comment>
  <entry key="iut">${URL}</entry>
</properties>
EOF
docker run -v "$(pwd):/mnt" pdok/ets-ogcapi-features10-docker:latest /mnt/test-run-props.xml --generateHtmlReport true --outputDir /mnt/output