-
Compile and Run
mvn clean package quarkus:dev
-
Native Image (requires JAVA_HOME to point to a valid GraalVM)
mvn clean package -Pnative
native executable (and runnable jar) generated in
target/
Generated application comes with sample test process that allows you to verify if the application is working as expected. Simply execute following command to try it out
curl -d '{}' -H "Content-Type: application/json" -X POST http://localhost:8080/tests
Once successfully invoked you should see "Hello World" in the console of the running application.
Add your business assets resources (process definition, rules, decisions) into src/main/resources.
Add your java classes (data model, utilities, services) into src/main/java.
Then just build the project and run.
Point to swagger docs to retrieve swagger definition of the exposed service
You can visualize that JSON file at swagger editor
In addition client application can be easily generated from the swagger definition to interact with this service.