Questions tagged [microprofile]

The Eclipse MicroProfile project defines a programming model for developing microservice applications in an Enterprise Java environment.

The Eclipse MicroProfile project is a CDI-first approach to building microservice applications and supported by both community and Java application server vendors. There are a number of active projects within MicroProfile, which can be viewed at the official website.

296 questions
0
votes
2 answers

Documentation of Helidon MP configuration options

Is there a documentation that lists all configuration options of Helidon MP, what they control, their default and allowed values? The official Configuring the Server guide focuses for on in what way the configuration can come from, but not much on…
czerny
  • 15,090
  • 14
  • 68
  • 96
0
votes
1 answer

Not a REST client interface: interface MyClient. No @Path annotation found on the class or any methods of .... [Quarkus]

I have a project that consumes an api and am struggling to get the Rest Client injected into my service. (to note, i am mainly doing what i did in another instance that works however I can't pinpoint what's wrong here to make this one fail) My…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
0
votes
1 answer

MicroProfile LRA - How to define custom participant URI on a WildFly JEE application?

When MicroProfile LRA coordinator and participants run on different Docker containers, it is needed to define a custom URI for each participant. Otherwise the LRA coordinator tries to call participant compensate/complete APIs by referring them with…
0
votes
1 answer

How to make Microprofile Metrics available on multiple paths on Wildfly26?

I am attempting to migrate from wildfly-18 to wildfly-26. I changed the application to use Microprofile for Metrics and Health Checks. Those are working and I have redirected the /metrics and /health endpoints from the wildfly management port to the…
SteveS
  • 1,008
  • 3
  • 18
  • 32
0
votes
2 answers

how to get MicroProfile REST Client annotation in ClientRequestFilter

My RestClient is annotated by a custom annotation and I want to get the annotation value in a ClientRequestFilter. Here is my MicroProfile RestClient: @Path("/greetings") @RegisterRestClient @MyAnnotation("myValue") public interface MyRestClient{ …
godo57
  • 508
  • 2
  • 24
0
votes
1 answer

MicroProfile JWT with multiple public keys

I want to secure a REST API via JWTs provided as Authorization Header in the requests. I am have a quarkus application and would like to use their official guide - https://quarkus.io/guides/security-jwt The guide…
Yordan Boev
  • 301
  • 1
  • 9
0
votes
1 answer

How can I call @ConfigProperty as value of @ClientHeaderParam annotation in MicroProfile?

I would like to set @ClientHeaderParam's value with @ConfigProperty like below; @ClientHeaderParam(name = "Authorization", value = @ConfigProperty("auth.key")) However it says: Incompatible types. Found:…
Aksoy
  • 91
  • 1
  • 8
0
votes
1 answer

MicroProfile LRA on Wildfly - How to setup LRA coordinator host and port on client application runing on WildFly

I have introduced LRA on a MicroProfile application already running on WildFly AS. To get the LRA working I have added the following depedency on my application pom.xml org.jboss.narayana.rts
0
votes
1 answer

wildfly quickstart microprofile-health : NoClassDefFoundError

I use wildfly-25.0.1.Final. I can't test the microprofile-health quickstart : Failed to define class org.wildfly.quickstarts.microprofile.health.DatabaseConnectionHealthCheck in Module "deployment.microprofile-health.war" from Service Module Loader:…
grigouille
  • 511
  • 3
  • 14
0
votes
1 answer

Does WunderBar support Spring Boot?

I have both, a Spring Boot client and server application. Can I test these with WunderBar?
rü-
  • 2,129
  • 17
  • 37
0
votes
0 answers

Inject @ConfigProperty in a JerseyTest

Can someone help me please. I'm writing a test for a controller with java 11, Microprofile, JerseyTest, Mockito, Junit5 I'm getting an error (org.glassfish.hk2.api.UnsatisfiedDependencyException) on running the test, the problem is that they not…
0
votes
1 answer

Quarkus verify JWT signature from AWS Application Load Balancer

I'm using AWS Elastic Load Balancer to authenticate users, which signs the user claim so that applications can verify the signature and verify that the claims were sent by the load balancer, as described…
Sérgio
  • 13
  • 1
  • 3
0
votes
0 answers

Unable to authenticate Proxy using quarkus-microprofile restclient

Any ideas on why quarkus-microprofile rest-client (version 1.3) ignores System-env properties proxy username and proxy password. It definitely considers using the proxy host and port as I am getting an HTTP-407 from the proxy server. https.proxyHost…
0
votes
1 answer

Quarkus Dev Services: What port do they run on?

I'm running keycloak as a dev service and I'm aware that I could configure a fixed port using quarkus.keycloak.devservices.port. However for this question, let's assume I use a system-assigned port. Question: Now how do I (programmatically, with the…
Sebastian S
  • 4,420
  • 4
  • 34
  • 63
0
votes
0 answers

How to handle a validation error of an input enum field to a REST service?

I have a REST service that takes an object containing an enum field as input. When a value not present in the enum is passed to me in input, a BAD REQUEST is automatically launched. I tried to go into debug to see where to handle the error but I…
Prodox21
  • 107
  • 1
  • 2
  • 9