Skip to content

cristianonicolai/kogito-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kogito Examples

This module contains a number of examples that you can take a look at and try out yourself. Please take a look at the readme of each individual example for more details on how the example works and how to run it yourself (either locally or on Kubernetes).

Since Kogito aims at supporting both Quarkus and SpringBoot each example usually provides both type of projects.

Contribution

Everyone is encouraged to contribute to these examples by

  • trying it out and providing feedback and ideas for improvement
  • create new examples -- in this case, make sure your PR is against the master branch!
  • blogging about it
  • using it on conferences and workshops

Kogito hello world with scripts

shows most basic use of processes to build up a hello world example

Kogito with business rules

shows integration between processes and rules.

Kogito with Kafka

shows how message start and end events can be easily used to integrate with Apache Kafka to consume where message name is the Kafka topic and the payload is mapped to process variable. Uses custom types that are serialized into JSON.

Kogito with Infinispan persistence

shows long running processes with Infinispan persistence so the state of process instances can be preserved across service restarts.

Kogito with service invocation

shows how easy it is to use local services to be invoked from within process. Allows easy and readable service invocation use cases to be covered.

Kogito with REST call

shows REST service invocation and parsing data back to an object instance used as process variable.

Kogito with user tasks

shows user task interactions with four eye principle applied

Kogito with user tasks based on custom life cycle

shows user task interactions with four eye principle applied that supports custom life cycle that allows to add additional phases to user tasks to indicate other states.

Kogito with user tasks with security on REST api

shows user task interactions with four eye principle applied with security restrictions on REST api.

Kogito with timers

shows timers (intermediate and boundary) that allows to introduce delays in process execution

Other Misc Examples

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 82.6%
  • HTML 10.4%
  • JavaScript 6.7%
  • Other 0.3%