Skip to content

Commit

Permalink
Putting back Infinispan Health Check
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zanini <[email protected]>
  • Loading branch information
ricardozanini committed Aug 27, 2021
1 parent 8bac838 commit e0950be
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 117 deletions.
12 changes: 6 additions & 6 deletions addons/deprecated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ Classes and namespaces remains the same, you won't need to make any change in yo
#### Quarkus Add-ons

| Add-On Description | Old Artifact ID | New Artifact ID |
|-------------------------|-----------------------------------------------------|----------------------------------------------|
| Persistence Infinispan | kogito-addons-quarkus-persistence-infinispan-health | kogito-addons-quarkus-persistence-infinispan |
| Persistence FileSystem | kogito-addons-persistence-filesystem | kogito-addons-quarkus-persistence-filesystem |
| Persistence JDBC | kogito-addons-persistence-jdbc | kogito-addons-quarkus-persistence-jdbc |
| Persistence MongoDB | kogito-addons-persistence-mongodb | kogito-addons-quarkus-persistence-mongodb |
| Persistence Postgresql | kogito-addons-persistence-postgresql | kogito-addons-quarkus-persistence-postgresql |
|-------------------------|--------------------------------------|----------------------------------------------|
| Persistence Infinispan | kogito-addons-persistence-infinispan | kogito-addons-quarkus-persistence-infinispan |
| Persistence FileSystem | kogito-addons-persistence-filesystem | kogito-addons-quarkus-persistence-filesystem |
| Persistence JDBC | kogito-addons-persistence-jdbc | kogito-addons-quarkus-persistence-jdbc |
| Persistence MongoDB | kogito-addons-persistence-mongodb | kogito-addons-quarkus-persistence-mongodb |
| Persistence Postgresql | kogito-addons-persistence-postgresql | kogito-addons-quarkus-persistence-postgresql |

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion addons/deprecated/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<module>monitoring-prometheus-common</module>
<module>monitoring-prometheus-quarkus-addon</module>
<module>monitoring-prometheus-springboot-addon</module>
<module>kogito-addons-quarkus-persistence-infinispan-health</module>
</modules>

<profiles>
Expand Down
88 changes: 88 additions & 0 deletions quarkus/addons/persistence/infinispan/health/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2020 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>kogito-addons-quarkus-persistence-infinispan-parent</artifactId>
<groupId>org.kie.kogito</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>kogito-addons-quarkus-persistence-infinispan-health</artifactId>
<name>Kogito Add-On Persistence Infinispan Health Check</name>

<description>Infinispan Health Check support for Quarkus</description>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-infinispan-client</artifactId>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-health</artifactId>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-test-utils</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables combine.children="append">
<container.image.infinispan>${container.image.infinispan}</container.image.infinispan>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions quarkus/addons/persistence/infinispan/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
<modules>
<module>runtime</module>
<module>deployment</module>
<module>health</module>
</modules>
</project>
46 changes: 1 addition & 45 deletions quarkus/addons/persistence/infinispan/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,59 +35,15 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-infinispan-client</artifactId>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-health</artifactId>
</dependency>
<!-- TODO: for now we have the common Infinispan Add-On added as a dependency, but ideally we should stick with Quarkus way. -->
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-persistence-infinispan</artifactId>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-test-utils</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables combine.children="append">
<container.image.infinispan>${container.image.infinispan}</container.image.infinispan>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand Down Expand Up @@ -118,4 +74,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

0 comments on commit e0950be

Please sign in to comment.