This project includes dmn decisions and its respective unit tests.
To run the test scenarios:
./mvnw clean testYou can run your application in dev mode that enables live coding using:
./mvnw compile quarkus:devThe application can be packaged using:
./mvnw clean packageIt 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-jarRun the application with:
java -jar target/practicing-dmn-1.0.0-SNAPSHOT-runner.jarAnd check the automatically generated endpoints generated by Kogito for the decisions: http://localhost:8080/q/swagger-ui