About • Organisation • Testing & Status • Licensing
A rules runner is a component to run a rule set (for a specific member state) for validating DCCs.
This (part of the) repository contains (or will contain):
-
Implementations of rules runner components for various platforms/programming languages - currently:
- JavaScript (as NPM package)
- Kotlin (as Maven/Kotlin module)
-
Simplistic JSON Schema for rule sets - the actual JSON Schema for rules can be found here
-
The JSON data containing the value sets necessary for executing the validation rules. These are computed from the value sets in the eHN DCC schema-repository by running
$ ./prepare-valueSetsJson.sh
on the CLI inside
rules-runner/resources
.Prerequisites for running this command are:
-
The eHN DCC schema-repository should be cloned locally next to this
dgc-business-rules
repository. -
The
jq
tool should be installed. E.g., on Mac you can install it as follows using Homebrew:$ brew install jq
-
-
A build script to build
rules-runner-js
, andrules-runner-kotlin
.
- If you found any problems, please create an Issue.
- Current status: Work-In-Progress.
Copyright (c) 2021 Dutch Ministry of Health, Welfare and Sport, and all other contributors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.