Practicing DMN with Kogito

This project includes dmn decisions and its respective unit tests.

Running the tests

To run the test scenarios:

./mvnw clean test

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw compile quarkus:dev

Packaging and running the application

The application can be packaged using:

./mvnw clean package

It produces the practicing-dmn-1.0.0-SNAPSHOT-runner.jar file in the /target directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/lib directory.

If you want to build an über-jar, execute the following command:

./mvnw package -Dquarkus.package.type=uber-jar

Run the application with:

java -jar target/practicing-dmn-1.0.0-SNAPSHOT-runner.jar

And check the automatically generated endpoints generated by Kogito for the decisions: http://localhost:8080/q/swagger-ui