Skip to content

Commit

Permalink
KOGITO-9749: add addons deps to workflows to interact with external d… (
Browse files Browse the repository at this point in the history
#471)

* KOGITO-9749: add addons deps to workflows to interact with external data index

* removed source-files addon reference, regarding is only needed to run management console

* applied review suggestion
  • Loading branch information
nmirasch authored Aug 30, 2023
1 parent 2fe86e2 commit 459b469
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ There are several ways to deploy the {data_index_ref} service. But there are som
. Provide the database connection properties, to allow data index store the indexed data. {data_index_ref} service does not initialize its database schema automatically. To initialize the database schema, you need to enable Flyway migration by setting QUARKUS_FLYWAY_MIGRATE_AT_START=true.
. Define the `KOGITO_DATA_INDEX_QUARKUS_PROFILE` to set the way that the events will be connected (by default: `kafka-event-support`).

[NOTE]
====
You must prepare the {product_name} workflow to support the full communication with an external {data_index_ref} service.
For this purpose, it is important to make sure the following addons are included:
.{product_name} workflow addon dependencies to support the connection with external {data_index_ref}
[source,xml]
----
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-events-process</artifactId> <1>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-process-management</artifactId> <2>
</dependency>
----
<1> Allows the workflow to send the events that can be consumed by the {data_index_ref} service.
<2> Creates the endpoints that allow management operations on {workflow_instances}.
====

==== {data_index_ref} deployment resource example using Kafka eventing:

Here you can see in example, how the {data_index_ref} resource definition can be deployed as part of a docker-compose definition
Expand Down

0 comments on commit 459b469

Please sign in to comment.