https://github.com/kmacedovarela/practicing-dmn
https://github.com/kmacedovarela/practicing-dmn
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kmacedovarela/practicing-dmn
- Owner: kmacedovarela
- Created: 2021-10-25T17:51:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T13:00:10.000Z (over 1 year ago)
- Last Synced: 2025-06-19T18:06:50.951Z (4 months ago)
- Language: Java
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Practicing DMN with Kogito
This project includes dmn decisions and its respective unit tests.
## Running the tests
To run the test scenarios:
```shell script
./mvnw clean test
```
## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./mvnw compile quarkus:dev
```
## Packaging and running the application
The application can be packaged using:
```shell script
./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:
```shell script
./mvnw package -Dquarkus.package.type=uber-jar
```
Run the application with:
```shell script
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