Questions tagged [quarkus-extension]

9 questions
2
votes
0 answers

custom Quarkus Extension can't create a REST client of a standard JAXRS interface

I have a custom Quarkus extension built with quarkus 2.16.4.Final, which uses quarkus-rest-client-reactive-jackson to create a rest client of a JAXRS interface: import javax.ws.rs.POST; import javax.ws.rs.PathParam; public interface MyContract { …
Rahul
  • 21
  • 2
1
vote
0 answers

Get coverage from class in other module tested with QuarkusUnitTest

In the jacoco coverage of my quarkus extension, I am missing certain classes. The project contains to submodules, which finally causing the issue. Example project: https://github.com/HerrDerb/quarkus-extension-coverage-issue As I cannot run…
Herr Derb
  • 4,977
  • 5
  • 34
  • 62
0
votes
0 answers

Quarkus AnnotationsTransformerBuildItem not working as expection

what i am trying to do is to build an Quarkus extention that will change some annotations at quarkus application so I used AnnotationTransformerBuildItem. package com.tawfeek.greeting.extension.deployment; import…
0
votes
1 answer

Quarkus Entity Persistence Issue: "Not an entity" Error for Custom Extension

I'm working on a Quarkus extension and facing an issue while trying to persist an entity. I have defined an entity class called ConfigurationEntity, but when I try to persist it in my main application, I receive the following error: Error adding…
0
votes
1 answer

Quarkus extension with resteasy reactive client

I am writing a Quarkus extension that servers some endpoints. ı am using quarkus-resteasy-reactive-jsonb for my endpoints. But registering endpoints like regular beans is not working, yes I can inject the endpoint class and call the methods but…
0
votes
0 answers

How to create quarkus custom extension for access resource

I tried the below code to access the "GreetingResource" using custom extension, but not able to access. sample code: @BuildStep void build(BuildProducer additionalBeans) { additionalBeans.produce( …
abel saju
  • 31
  • 4
0
votes
0 answers

Quarkus Extension execute method on startup

I'm using Quarkus 2.13 and I made a simple Quarkus Extension which defines a List through application.properties. I've added this extension into an application and now I need to check if this List is null or empty everytime the application…
0
votes
0 answers

How do I inject a runtime bean into a Jersey DynamicFeature in a Quarkus Extension?

I have a Quarkus extension targeting Quarkus 2.16.4.Final which has a DynamicFeature which needs runtime beans to run its configure method. I saw a related question here, where the answer says to use Arc.container().instance(...) to access the bean.…
Rahul
  • 21
  • 2
0
votes
1 answer

Disable beans with build time property in my quarkus extension

I am writing a quarkus extension. This extension includes a capability, which should be disableable by build property. I accordingly annotated the beans of this optional capability with @IfBuildProperty(name = "myProperty", stringValue = "true") In…
Herr Derb
  • 4,977
  • 5
  • 34
  • 62