I have set up a repository https://github.com/evacchi/kogito-travel-agency-tutorial with yet-another fork of Maciej's demo. I have upgraded kogito and quarkus to the latest version.
You will try two versions of the tutorial; one will run completely on your local machine. The other can run locally, but it would be more interesting if you tried it on OpenShift.
try this demo.
mvn compile quarkus:dev
then browse to localhost:8080
- try filing the details for a user and play with the UI
- now, try hot reload:
-
cd into 01-kogito-travel-agency then open vscode, configured with the kogito extension
-
follow these instructions https://github.com/cristianonicolai/devconfcz-2020#4-install-the-kogito-extension-in-vscodeand you may also try:
$ curl -L http://bit.ly/kogito-ext | sh
-
try editing rules, processes and data classes.
-
The goal for this is to try and get the "more complicated" examples to run on crc or minishift https://github.com/code-ready/crc https://github.com/minishift/minishift/releases
(crc is preferred but minishift may work if you have less disk space -- not sure if the operator will work though)
Follow the instructions here https://github.com/kiegroup/kogito-cloud-operator to install the examples and all the required services
- build both 06-kogito-travel-agency and 06-kogito-visas
- Start both services (
mvn package
; thenjava -jar target/*runner.jar
) - Follow the instructions in the readme and try and install the data service.
For more details, see also the wiki https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service (As described in the wiki, you will also need Kafka and Infinispan) - for persistence services, you can also try using
docker-compose
orpodman-compose
https://github.com/evacchi/kogito-travel-agency-tutorial/tree/master/docker-compose - you will still need to configure and start the data-index service