Skip to content

debu999/kogito-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kogito-learn Project

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw compile quarkus:dev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Packaging and running the application

The application can be packaged using:

./mvnw package

It produces the quarkus-run.jar file in the target/quarkus-app/ directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/quarkus-app/lib/ directory.

The application is now runnable using java -jar target/quarkus-app/quarkus-run.jar.

If you want to build an über-jar, execute the following command:

./mvnw package -Dquarkus.package.type=uber-jar

The application, packaged as an über-jar, is now runnable using java -jar target/*-runner.jar.

Creating a native executable

You can create a native executable using:

./mvnw package -Pnative

Or, if you don't have GraalVM installed, you can run the native executable build in a container using:

./mvnw package -Pnative -Dquarkus.native.container-build=true

You can then execute your native executable with: ./target/kogito-learn-1.0.0-SNAPSHOT-runner

If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.

Related Guides

  • Kogito Add-On Events Decisions (guide): Kogito Add-On for processing events on Decisions (DMN) based projects
  • Kogito Add-On User Tasks e-mail (guide): Kogito Add-On for e-mail support on Human Tasks.
  • Kogito Add-On Events MongoDB (guide): Kogito Add-On for storing Kogito events log on MongoDB for later pushing via Debezium, allowing Outbox pattern implementation.
  • Kogito - Decisions (DMN) (guide): Add Kogito decision (DMN) capabilities - Include Drools DMN engine
  • Kogito Add-On Process Messaging (guide): Kogito Events handling for BPMN messages Add-On
  • Kogito Add-On Process Management (guide): Kogito Process Management REST API
  • MongoDB client (guide): Connect to MongoDB in either imperative or reactive style
  • Kogito (guide): Add business automation capabilities - processes and rules with Kogito (a toolkit that originates from projects Drools and jBPM)
  • Kogito Runtime Tools (guide): Runtime development tools for Kogito projects
  • Kogito - Rules (DRL) (guide): Add Kogito rules (DRL) capabilities - Include Drools engine
  • SmallRye Reactive Messaging - Kafka Connector (guide): Connect to Kafka with Reactive Messaging
  • Kogito Add-On Jobs Service (guide): Kogito Add-On to interact with Kogito Jobs Service
  • Kogito Add-On Task Management (guide): Kogito Add-On Task Management REST API
  • Mutiny (guide): Write reactive applications with the modern Reactive Programming library Mutiny
  • REST Client Reactive (guide): Call REST services reactively
  • Kogito Add-On Tracing Decision (guide): Kogito Add-On to enable tracing decisions projects
  • Kogito Add-On Events Rules (guide): Kogito Add-On for processing events on Rules (DRL) based projects
  • Kogito - Process (jBPM) (guide): Add Kogito Processes capabilities - Includes Process (jBPM) Engine
  • Kogito Add-On Events Process (guide): Kogito Add-On for Processes Events
  • RESTEasy Reactive (guide): A JAX-RS implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it.
  • Kogito Add-On Jobs Service Messaging (guide): Kogito Add-On to interact with the Kogito Jobs Service using events via the reactive messaging api
  • SmallRye Context Propagation (guide): Propagate contexts between managed threads in reactive applications
  • Kogito Add-On Process SVG (guide): Kogito Add-On for SVG process generation
  • Kogito Add-On Task Notification (guide): Kogito Add-On to handle tasks notifications
  • Eclipse Vert.x (guide): Write reactive applications with the Vert.x API
  • SmallRye Reactive Messaging (guide): Produce and consume messages and implement event driven and data streaming applications
  • Kogito Add-On Persistence MongoDB (guide): Kogito Add-On support for persistence on MongoDB

Provided Code

Kogito DMN codestart

This is an example Kogito DMN Quarkus codestart, it contains a sample DMN model for REST code generation based on the model definition.

Related guide section...

This Kogito DMN Quarkus codestart contains a sample DMN model as described in the Quarkus Kogito DMN guide. The goal is to showcase automatic REST endpoint codegen, based on the content of the model. The pricing.dmn DMN model calculates a base price quotation based on some criteria provided as input.

You can reference the full guide on the Quarkus website.

Reactive Messaging codestart

Use SmallRye Reactive Messaging

Related Apache Kafka guide section...

RESTEasy Reactive

Easily start your Reactive RESTful Web Services

Related guide section...

About

Generated by code.quarkus.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published