Category "quarkus"

How do you achieve Integration tests in Quarkus without @DirtiesContext?

With Spring Boot, I use @DirtiesContext to ensure the database is cleared before each test case. There is no @DirtiesContext annotation with Quarkus AFAIK. Inst

Quarkus upgrade complaining regarding vertx thread in tests

I have recently upgraded quarkus to 2.9.0.CR1 and am now having issues in some of my tests I am using reactive panache in this, through the repository pattern.

Quarkus prometheus percentiles still zeroed after long metrics update time

I have a service bean MonitoringRegistryServiceImpl implementation in the Quarkus which I used to register timers and update them (code bellow). They were regis

How can I debug my Quarkus application that is running in dev mode?

I have launched my application using the Quarkus dev mode (mvn quarkus:dev) and I would like to be able to debug it. How can do that?

Quarkus Reactive Routes: different behaviour in uber jar

Following this guide, I have configured my Quarkus application to return a custom error page when a file is not found in META-INF/resources/. @ApplicationScoped

quarkus + oauth2 + auth0

I'm trying to get auth0 to work with quarkus: resources i've used are: https://github.com/quarkusio/quarkus-quickstarts/tree/main/security-oauth2-quickstart htt

Use of spnego and kerberos with gss in graal

I'm attempting to reuse some existing code which enables spnego authentication in a new Quarkus app. The Quarkus app when compiled as a standard JAR and run wit

Configure Infinispan for Keycloak 17

I want to run Keycloak 17 (Quarkus Edition) in HA mode with the provided infinispan. Because we are running Keycloak on serveral stages, I want to specify a inf

MongoDb Java- deeper polymorph tree

I have the following polymorphic structure for objects I want to store in MongoDb: InventoryItem (abstract) / \

quarkus with @NoScope like @Stateless?

What is the quarkus counterpart of a @Stateless EJB? Actually, I can only make use of cdi within typical cdi beans, but there is no bean with no scope like @St

No http client metrics for non 200 response codes in Quarkus Micrometer

I have the following Quarkus Rest client code (based on this doc https://quarkus.io/guides/rest-client) @RegisterRestClient(baseUri = "https://pesho3.free.beece

Why am i getting timeout exception after 4 requests to database?

I am building quarkus websocket test application with reactive panache connection to postgres. Code: @Slf4j @RequiredArgsConstructor @ServerEndpoint(value = "/a

How to use keycloak-admin-client with custom Keycloak provider

I am building a docker image based on Keycloak 18 with my custom provider which uses Keycloak Admin REST Client. I figured that I need to bundle some dependenci

KeyCloak and Quarkus can't start in dev mode

Hello I am currently trying to do this tutorial : https://quarkus.io/guides/security-keycloak-authorization But when I run quarkus dev I get this error. ERROR [

H2 database compiled into a native-image is only functional as a client

After build the native image I've the following error I'm using a H2 database in file mode. Do I should understand that it's not possible to use H2 in native m

Inject HttpServerRequest in service via Quarkus

I'm trying to inject HttpServerRequest in service, but it always be null. @Slf4j @ApplicationScoped public class TokenService { @Context HttpServer

Quarkus docker container failed to run / connect to the DB

In my project, using Quarkus, Angular and PostgreSQL DB, when I run the backend & and the frontend in dev Mode, I can connect to the DB (which is postgreSQL

Quarkus upgrade vertx dns resolver ignoring kubernetes dns

I have upgraded the version of quarkus to 2.8.0.CR1 My quarkus apps are using a mix of camel, mutiny, resteasy, mongo, pubsub and it seems to have been reproduc

Quarkus No serializer found class io.smallrye.mutiny.operators.uni.builders.UniCreateFromPublisher no properties discovered to create BeanSerializer

I'm learning Quarkus Reactive with Mongo Panache and when i try to add a Metadata and Pagination object i get the error: "ERROR [io.qu.re.re.ja.ru.ma.NativeInva

What is the difference between TransactionManager.begin() and QuarkusTransaction.begin()?

Quarkus 2.8.0.Final introduced QuarkusTransaction. What is the difference between @ApplicationScoped public class MyClass { @Inject TransactionManager