An experimental JBang catalog to quickly operate some KIE capabilities such as DMN and FEEL evaluation on the Command Line!
For more information on JBang, see:
Use this JBang script to evaluate a DMN model using the Drools DMN Engine.
In action:
(click on the above image to see a recorded demo over at asciinema
website)
The script takes as input a DMN mode file and a DMN Context expressed as JSON; it produces a JSON of the evaluated DMN result context.
Usage help:
jbang dmn@kiegroup --help
Use this JBang script to convert Excel (.xls/.xlsx) files containing DMN decision tables using the Drools DMN Engine experimental converter.
For the details about the Converter and the conventions to be used in the Excel file, please reference the Converter documentation.
In action:
(click on the above image to see a recorded demo over at asciinema
website)
The script takes as input the filename of the Excel (.xls/.xlsx) file to convert.
Usage help:
jbang xls2dmn@kiegroup --help
Use this JBang script to evaluate a FEEL expression using the Drools DMN Engine.
In action:
(click on the above image to see a recorded demo over at asciinema
website)
The script takes as input a FEEL expression (as a string) and it produces a FEEL representation of the result of evaluating the expression.
Usage help:
jbang feel@kiegroup --help