Questions tagged [quarkus-rest-client]

Quarkus MicroProfile REST Client used to interact with REST APIs with little effort.

Quarkus MicroProfile REST Client used to interact with REST APIs with little effort.

Use guide available at https://quarkus.io/guides/rest-client

181 questions
0
votes
1 answer

How to call Multiple REST Client from Quarkus Controller?

Does Quarkus controller allow to use multiple rest clients? I pretty much tried everything in my power to figure out what I might be doing wrong but No success. I am using below variables to point to open jdk 11 JAVA_HOME and JDK_HOME (…
0
votes
0 answers

How to tell resteasy-reactive client that a @PathParam is already encoded?

I am using quarkus resteasy-reactive and setting up clients declaratively. I need to put base64 (which works fine as URL path segments) data into the path but the / chars get encoded into %2F causing the receiving application to fail parsing the…
0
votes
0 answers

Is it possible to get Maven Dependance form smallrye-fault-tolerance Tests?

I found a project with tests for smallrye-fault-tolerance https://github.com/smallrye/smallrye-fault-tolerance/blob/main/testsuite/basic/pom.xml However, I need help finding a maven repo for this. I found a version for 2.0.5 only where is the…
Irina
  • 939
  • 1
  • 8
  • 26
0
votes
0 answers

Quarkus to support dynamic rest call

In quarkus how dynamic rest call can be achieved? I tried with register rest client, but it is not suggested for passing dynamic based urls
0
votes
1 answer

Dynamic API client with dynamic custom header (Microprofile, Quarkus)

I want to create a custom Client API (on a non-Java RS environment). The API needs to have a custom base URL and a custom Header. I achieve the custom base URL with the following and it works like a charm RestClientBuilder.newBuilder() …
0
votes
2 answers

Logging Microprofile fault tollerance events

I am working on a Quarkus app that uses the smallrye microprofile fault tolerance implementation. We have configured fault tolerance on the client definitions via the annotations API (@Retry, @Bulkhead, etc) and it seems to work but we don't get any…
0
votes
1 answer

java.lang.IllegalArgumentException: Unable to determine the proper baseUrl/baseUri

I'm facing the same issue as mentionned on this link : https://github.com/quarkusio/quarkus/issues/17807) I'm trying to send a POST request using Quarkus and the Rest Client. My configuration registered in my application.yml does not seem to be…
BigMouse
  • 43
  • 5
0
votes
2 answers

Quarkus Rest client JSON serialization: equivalent of @JsonIgnore to ignore some field in serialization

How to ignore a field in a Quarkus Rest Client request body? I see in the dependency tree, this is listed: io.quarkus:quarkus-resteasy-reactive-jsonb:jar:2.7.5.Final:compile And using @JsonIgnore or JsonProperty(access =…
WesternGun
  • 11,303
  • 6
  • 88
  • 157
0
votes
1 answer

Proper way to handle Default DNS warning when switching to reactive

After switching from quarkus-rest-client to quarkus-rest-client-reactive A warning started appearing. WARN [io.net.res.dns.DefaultDnsServerAddressStreamProvider] (Quarkus Main Thread) Default DNS servers: [/8.8.8.8:53, /8.8.4.4:53] (Google Public…
gian1200
  • 3,670
  • 2
  • 30
  • 59
0
votes
0 answers

Quarkus Stork Service Discovery using DNS

Does anyone have a working example of Stork DNS Service Discovery working in Quarkus.... I see lots of examples using consul but not using DNS and I cannot get the properties or Inject beans when using…
R Soph
  • 11
  • 2
0
votes
0 answers

Increasing quarkus SSL handshake timeout to avoid SslHandshakeTimeoutException

I'm currently encountering this exception on my quarkus microservice running in JVM mode over Google cloud run. The exception is being thrown when invoking a rest endpoint using Quarkus reactive rest-client (Quarkus service calling a rest endpoint),…
0
votes
1 answer

Quarkus rest-client multipart file upload

Following is the curl for a service Service curl curl --location --request POST 'https://someapi.com/api/v2/tickets' \ --header 'Authorization: Basic sdsdfsdfsdfsdf=' \ --header 'Cookie: _x_w=5_2' \ --form…
0
votes
2 answers

Quarkus Mockito Not Inject Mock with Rest Client

Following quakus guide for mocking: https://quarkus.io/blog/mocking. The client is working fine in my api, but when I try to mock my Rest Client, it returns a error. My test class: @InjectMock @RestClient CustomClient customClient; My Rest…
devs4wl
  • 3
  • 2
0
votes
0 answers

Quarkus Chain Event Bus call

I have the following classes: I want to know how to do a chain request<->response using eventbus in Quarkus since I can't make it work. The following code is an example. If I directlly call the DAO I can see that the data is being called. ( B<->D…
0
votes
0 answers

How quarkus.arc.dev-mode.monitoring-enabled works?

The application has classes that uses quarkus-reactive-client to request external information. Also this classes has a provider to map http errors to a custom exception. In prod mode all works fine but in dev mode, for default, instead of returned…
diaz
  • 1
  • 1
  • 3