Skip to content

Instantly share code, notes, and snippets.

@evacchi
Last active February 12, 2020 09:04
Show Gist options
  • Save evacchi/50ab8d5a60c3f247ee6b20af49db1c9a to your computer and use it in GitHub Desktop.
Save evacchi/50ab8d5a60c3f247ee6b20af49db1c9a to your computer and use it in GitHub Desktop.
Kogito Milano Hackaton

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.

01-kogito-travel-agency

try this demo.

 mvn compile quarkus:dev

then browse to localhost:8080

06-kogito-travel-agency + 06-kogito-visas

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

Alternatively (local install)

@lucamolteni
Copy link

Here's what I found during the hackaton.

Validation

In the example there's no validation (nor client or server side).
Apparently there's no way to validate server side the input in the rest call, and invalid data are not printed to the logs in any way. We should probably study a way to do that.

Maven Wrapper

Maven wrapper is not working due to the lack of mvn wrapper jar. In my case the zsh mvn plugin triggered mvn wrapper automatically therefore making the example fail. I think we should provide a correct implementation of mvn wrapper or remove it.

Better instructions for installing vs code extensions

In the link provided, pointing to the github release page I didn't know what to do. @danielezonca told me to expand the artifacts
tab, download the .vsix file and install it manually. I think we should write these instructions somewhere.

BPMN editor

I found some quirks but they told the team already knows them:

  • Undo is not working
  • The tool is not autosaving not signaling whether the file is saved or no.

@evacchi
Copy link
Author

evacchi commented Feb 12, 2020

@lucamolteni

In the link provided, pointing to the github release page I didn't know what to do.

Do not disagree with anything, just wanted to point out that in this gist there is also a curl|sh way for installing -- I think this is a good way to make it easy to install while still keeping it out of the marketplace

@evacchi
Copy link
Author

evacchi commented Feb 12, 2020

( although I just realized that the URL was not pointing to the right version, this is http://bit.ly/kogito-ext )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment