The version published at this time contains breaking and non-breaking changes.
🚀 New Features
Validation of IACS metadata:
- #327 Add 'nor' language to c.5 - #713
- #567 common-req C.5 and datasets-and-series 1.6 codelists updated - #714
- #625 ge-ia.b.2 and ge-ia.b.3 missing element and wrong multiplicity conditions removed - #715
- #659 Removed multiplicity check for so:soilDerivedObjectObservation - #712
- #686 New certificate added
- #688 C.18 otherConstraints Anchor condition updated - #716
- #704 lc-as.a.1 updated - #717
- #706 common req C.5 ice language code added - #718
- #712 bu-3d-as.a.3 and bu-3d-as.a.4 checks each buildingpart of bu-base:parts - #719
The section contains the deployment process using Docker image and troubleshooting section. You can also find these in the training material
docker login docker.pkg.github.com #Provide Github credentials docker run --name inspire-validator -d -p 8090:8090 -v ~/etf:/etf docker.pkg.github.com/inspire-mif/helpdesk-validator/inspire-validator:2022.1 #Launches a container with the image, exposing the UI in port 8090 through the same port in the host machine, and uses a volume in the local file system, on the directory ~/etf
Modifying the Docker image
In the inspire-validator ZIP file, you can find all the resources needed to generate the Docker image from this release. If you would like to tweak anything from it, you can modify any of its contents (Dockerfile, entrypoint file, configuration files... ), then execute the command
docker build -t [IMAGE_NAME]:[VERSION]
You can run this again using the run command
docker run --name inspire-validator -d -p 8090:8090 -v ~/etf:/etf [IMAGE_NAME]:[VERSION]
Deployment on the production host
The Docker image is set up to run at localhost to be deployed on any machine. However, users may need to access their validator on a dedicated host, usually with a domain name. For proper functioning of the validator, their UI and correct rendering of Test Reports, the validator needs to be configured to run on a domain.
If you want to run the webapp in another host, you can change the configuration file, inside the .war file inside the inspire-validator zip file accompanying this release, at
WEB-INF/classes/etf-config.properties, and modify the
etf.webapp.base.url property. Then you can proceed to the build process described in the previous point.
Exposing the validator through a proxy
Usually, host machines are connected to a private network that accesses the Internet through a proxy. The Docker client needs to be configured to make use of this proxy, in order to be able to build the image and set up running the container.
For the build process, you need to add the following arguments to the command
--build-arg http_proxy=[HTTP_PROXY_URL:PORT] --build-arg https_proxy=[HTTPS_PROXY_URL:PORT] --build-arg no_proxy=127.0.0.1,localhost,*.<my-domain>
For the run command, you need to add the environment variables to it
--env http_proxy=[HTTP_PROXY_URL:PORT] --env https_proxy=[HTTPS_PROXY_URL:PORT] --env no_proxy=127.0.0.1,localhost,*.<mydomain>
These can also be set up in the Dockerfile, using the keyword ENV
For more information please check out https://docs.docker.com/network/proxy
For further configuration, please download the file inspire-validator-2022.1.zip and follow the instructions in the README.md file inside the .zip file.
Find changelog details & deployment instructions:
Assets contained in this release:
- ets-repository-2022.1.zip 2.41 MB
- inspire-validator-2022.1.zip 245 MB
- Source code (zip)
- Source code (tar.gz)