Skip to content

Commit

Permalink
Bump Quarkus to 2.3.1.Final (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg committed Oct 20, 2021
1 parent 6d6a7ce commit a3e18ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import com.redhat.cloud.notifications.StuffHolder;
import io.smallrye.health.api.AsyncHealthCheck;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.MutinyHelper;
import io.vertx.core.Vertx;
import org.eclipse.microprofile.health.HealthCheckResponse;
import org.eclipse.microprofile.health.HealthCheckResponseBuilder;
import org.eclipse.microprofile.health.Liveness;
Expand All @@ -20,9 +18,6 @@ public class LivenessService implements AsyncHealthCheck {
@Inject
Mutiny.SessionFactory sessionFactory;

@Inject
Vertx vertx;

@Override
public Uni<HealthCheckResponse> call() {
boolean adminDown = StuffHolder.getInstance().isAdminDown();
Expand All @@ -44,13 +39,6 @@ private Uni<Boolean> postgresConnectionHealth() {
.getSingleResult()
.replaceWith(Boolean.TRUE)
.onFailure().recoverWithItem(Boolean.FALSE);
}).runSubscriptionOn(
/*
* AsyncHealthCheck does not work with Hibernate Reactive. The following line is a workaround for that issue.
* TODO Remove it ASAP.
* See https://github.com/quarkusio/quarkus/issues/20166 for more details.
*/
MutinyHelper.executor(vertx.getOrCreateContext())
);
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@QuarkusTestResource(TestLifecycleManager.class)
public class WebhookTest extends DbIsolatedTest {

private static final long MAX_RETRY_ATTEMPTS = 3L;
private static final long MAX_RETRY_ATTEMPTS = 4L;

@MockServerConfig
MockServerClientConfig mockServerConfig;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>2.3.0.Final</quarkus.platform.version>
<quarkus.platform.version>2.3.1.Final</quarkus.platform.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit a3e18ee

Please sign in to comment.