Category "quarkus"

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

Quarkus extension filter doesn't work when registers via AdditionalBeanBuildItem

I want to implement my custom filter in my application. TemplateOverrideFilter public class TemplateOverrideFilter implements ContainerRequestFilter { priva

Quarkus custom test resources dir

We are using multiple source sets for tests in our project which defined in gradle like this: sourceSets { test { java { srcDir file('sr

Lombok doest not work in quarkus extension

It's the first time that I have to write a Quarkus extension and I'm having problems with Lombok, after that, i have added the dependency to the pom's dependenc

Dependency injection from Quarkus (java)

Colleagues, hello! Is is possible to inject beans inside of class which is created via 'new' operator? For example: public class TestClass implements Callback {

Quarkus profile-aware config isn't used in native compilation

I'm using quarkus profile-aware files to set different property values for different profiles: application.properties quarkus.http.port=9090 # quarkus.http.port

Quarkus Karate Test Error: Could not find option with name engine.WarnInterpreterOnly

I want to Test my Endpoints using Karate, but when starting the Test I get following Error: java.lang.IllegalArgumentException: Could not find option with name