Category "quarkus"

Quarkus : How to disable/mock Vault for unit testing

I'm currently facing an issue with Quarkus and Vault. When I launch JUnit tests, Vault trying to start and it failed because Vault configuration is not setup to

How to change log level in quarkus application deployed on kubernetes

I have a quarkus application with a standard configuration. The application works as expected, in my local develop environment i'm able to set the log level by

javax.enterprise.inject.UnsatisfiedResolutionException:Unsatisfied dependency for type com.test.model.TestService and qualifiers [@Default] in Quarkus

I have created Quarkus project and added a SpringBoot project dependency in build.gradle file, dependency downloaded successfully. Now when I am trying to injec

How to run @QuarkusIntegrationTest in a Gradle project?

I want to run a Quarkus integration test in order to verify OpenAPI yaml generated from the source code. According to the documentation, it should be possible t

Could not find guice-4.2.1-no_aop.jar

Could not find guice-4.2.1-no_aop.jar on a newly initialized quarkus project, not sure why we see this error. Source code is available here - https://pastebin.c

Resource handler in quarkus

I need a resource handler to serve static resources. I know that to serve static resources I should place them in META-INF/resources. I want to add resource han

Get request body in Quarkus Interceptor

I have written an interceptor in Quarkus based application. @AccessPolicy //custom annotation @Interceptor public class PolicyInterceptor { @AroundInvoke

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