This repository contains code of the customized Java Rules Engine for European Digital Covid Certificate.
It is based on the Java json-logic engine by jamsesso
- Instantiate
Rule Engine
from factoryDCCRuleEngineFactory
- Execute rules on data
JsonLogic ruleEngine = DCCRuleEngineFactory.getInstance();
Object result = ruleEngine.apply(rule, data);