Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOGITO-9145 Added information about kogito-addons-quarkus-microprofile-config-service-catalog #462

Merged
merged 4 commits into from
Aug 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -273,25 +273,45 @@ When using the Kubernetes service discovery feature, you need to balance if your

If the URI pattern is not found in the application properties, then discovery is not triggered. However, the scanning is performed anyway. Therefore, a short time is required to go through the startup scan.

=== Available service discovery implementations

Currently, there are two implementations available.

You can enable the Kubernetes service discovery by adding a service discovery implementation to the application's dependencies as shown in the following Maven dependencies:

==== `org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog`
hbelmiro marked this conversation as resolved.
Show resolved Hide resolved

When enabled, it uses the Kubernetes Java API to discover the services.
hbelmiro marked this conversation as resolved.
Show resolved Hide resolved

.Example Maven dependencies
[source,xml]
----
<dependency>
<!-- Service Discovery -->
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-fabric8-kubernetes-service-catalog</artifactId>
</dependency>
----

=== Available service discovery implementations
==== `org.kie.kogito:kogito-addons-quarkus-microprofile-config-service-catalog`
hbelmiro marked this conversation as resolved.
Show resolved Hide resolved

This implementation retrieves information from the application's configuration, making it valuable in scenarios where the platform hosting the application already have the information needed.

Currently, only `org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog` is available. When enabled, it uses the Kubernetes Java API to discover the services.
.Example Maven dependencies
[source,xml]
----
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-microprofile-config-service-catalog</artifactId>
</dependency>
----

== Additional resources

Expand Down