Category "quarkus"

blocking EntityManager operations

I don't want to perform a blocking operation. Caused by: java.lang.IllegalStateException: You have attempted to perform a blocking operation on a IO thread. Th

How to set up flyway default schema in Quarkus

I am checking the Quarkus guide for the flyway extension. The default schema configuration is not listed and is not supported. I added in my application.propert

What is the best practice for serve HTML files in Quarkus

I don't want the extension of my HTML files to show up in the address bar like index.html, login.html. Instead, I want these files to be accessed with patterns

Make iterations of a loop sequentially in Mutiny

I am new in the reactive programming world. I am currently working in a Java reactive application using the Mutiny library. I need to develop a loop that waits

spring data extension for quarkus datasource name

I want to use the spring data repositories in my quarkus application with jpa. As long as I use the default datasource and no named persistence unit, I'm able t

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