Chapter 17. Example applications with Kogito microservices
Kogito microservices include example applications in the rhdm-7.11.0-decision-services-quickstarts.zip
file. These example applications contain various types of services on Quarkus or Spring Boot to help you develop your own applications. The services use one or more Decision Model and Notation (DMN) decision models, Drools Rule Language (DRL) rule units, Predictive Model Markup Language (PMML) models, or Java classes to define the service logic.
For information about each example application and instructions for using them, see the README
file in the relevant application folder.
The following list describes some of the examples provided with Kogito microservices:
- Decision services
-
dmn-quarkus-example
anddmn-springboot-example
: A decision service (on Quarkus or Spring Boot) that uses DMN to determine driver penalty and suspension based on traffic violations. -
rules-quarkus-helloworld
: A Hello World decision service on Quarkus with a single DRL rule unit. -
ruleunit-quarkus-example
andruleunit-springboot-example
: A decision service (on Quarkus or Spring Boot) that uses DRL with rule units to validate a loan application and that exposes REST operations to view application status. -
dmn-pmml-quarkus-example
anddmn-pmml-springboot-example
: A decision service (on Quarkus or Spring Boot) that uses DMN and PMML to determine driver penalty and suspension based on traffic violations. -
dmn-drools-quarkus-metrics
anddmn-drools-springboot-metrics
: A decision service (on Quarkus or Spring Boot) that enables and consumes the runtime metrics monitoring feature in Kogito. -
pmml-quarkus-example
andpmml-springboot-example
: A decision service (on Quarkus or Spring Boot) that uses PMML.
-
For more information about using DMN, DRL, and PMML models in Red Hat Decision Manager, see Designing a decision service using DMN models, Designing a decision service using DRL rules, and Designing a decision service using PMML models.