Introduction

Background

The KIE Community is a home for leading Open Source projects that play a role in delivering solutions around Process Automation, Decision Management and Artificial Intelligence (KIE stands for Knowledge Is Everything).

Kogito

Kogito is a recent initiative under the KIE umbrella to leverage the battle-tested project Drools, jBPM, and OptaPlanner into a Cloud Native Environment.

It is designed from ground up to run at scale on cloud infrastructure. If you think about business automation think about the cloud as this is where your business logic lives these days. By taking advantage of the latest technologies (Quarkus, KNative, etc.), you get amazingly fast boot times and instant scaling on orchestration platforms like OpenShift.

Red Hat Process Automation Manager and Red Hat Decision Manager are the products built on top of KIE projects and offers the enterprise grade support.

In version 7.11, Red Hat introduced a first subset of Kogito capabilities to enable the decision services: DMN, Rules, Event Driven Decisions.

Practicing Kogito

This is a series of guided exercises that will allow you to experiment the authoring of decisions and business rules using Kogito. You will work with decision authoring with Kogito tooling, along with the packaging and consumption of the decisions in the Kogito engine that is supported in Red Hat Process Automation.

Here is an overview of the guided exercises:

  • Local development environment set-up: get your development environment ready to go with VSCode and GraalVM.

  • Local environment set-up for Kafka: use docker to quickly start a Kafka environment in your local environment. The Kafka broker will be used in the event-driven lab.

  • Getting start with decision services: Create a decision application based on Quarkus, try out the business modeling tools in VSCode, experience hot reload of business assets during development and test your application using JVM and native compilation. Understand all that is needed to have your decisions reacting to events and publishing the results back through events and using the CloudEvents specification.

  • Enhance your DMN skills: This section contains exercises to help those who seek to improve their knowledge on decision modeling - from beginners to advanced developers. The exercises are of two types: guided exercises: step by step detailed exercises; and challenges: the reader is given the goals and solution hints, but he/she is the one in charge of thinking about how to implement the solution.

  • Getting start with rules services (drl-based): learn how you can create business rules that are drl based using the new rule unit concept with Kogito and Quarkus.