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
1
vote
1 answer

Quarkus k8s uses wrong properties file

I have an odd one I think. I have a service that has three different config files for prod and staging and one as a base as well as dev: In the prod version I have this entry: xxxx.confluence.private.url = http://xxxx-prod while in the staging…
SirHawrk
  • 610
  • 1
  • 4
  • 17
1
vote
1 answer

How to pass InputStream datatype as a parameter for Quarkus Restful API resource service?

I am developing a REST web service using Java and Quarkus framework. I would like to pass the InputStream as a datatype to my Rest Resource method as the method executed by the application accepts only InputStream as a input. When I make the…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
1
vote
1 answer

Quarkus application is failing with message Failed to build quarkus application: io.quarkus.builder.BuildException:

I am trying to develop a simple Quarkus wrapper application to my Java based application Project-A. I am able to create the application but when I run the command mvn clean install then I am getting the error: [ERROR] Failed to execute goal…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
1
vote
2 answers

Enable to reach endpoint 404 error code - Deployed application

I'm deploying my application in the cloud, inside a cluster on 03 pods: one pod: backend - Quarkus one pod: frontend - Angular one pod: DB - Postgres The backend has 03 endpoints: One endpoint: GraphQL Two endpoints: Rest The pods are…
1
vote
2 answers

Quarkus Resteasy reactive missing builditem?

I am upgrading my extension to quarkus 2.9.0 and migrating to resteasy reactive. Some of existing builditems in resteasy classic do not exist anymore in reactive implementation. I was using ResteasyJaxrsProviderBuildItem to record an ExceptionMapper…
godo57
  • 508
  • 2
  • 24
1
vote
0 answers

send http rest request from keycloak X user storage spi to an external api

we just started using keycloak x quarkus distribution, and we have made a user storage and user federation spi. they problem we are facing now is that we are unable to configure our spi in keycloak.properties to set up rest client to send request to…
1
vote
0 answers

Stream http response using Microprofile rest client with Quarkus

Is it possible to read a response stream using the microprofile rest client? I'm attempting to call an api that returns a stream and then parse the stream and emit each item as a Mutiny Multi. The rest client import…
xem
  • 11
  • 2
1
vote
2 answers

Getting header value from a config property using @ClientHeaderParam is not working

I am trying to get a header value from the config into the Rest(easy) client using the @ClientHeaderParam annotation as described here https://quarkus.io/guides/rest-client-reactive#custom-headers-support, unfortunately it does not work out. The…
zakaria amine
  • 3,412
  • 2
  • 20
  • 35
1
vote
1 answer

Quarkus - could not find writer for content-type application/x-www-form-urlencoded type

This is my code for doing a request with jax-rs Client: private Client client; private static final int TIMEOUT = 8000; @PostConstruct public void init() { client = ClientBuilder.newBuilder() .readTimeout(TIMEOUT,…
Fabrizio Stellato
  • 1,727
  • 21
  • 52
1
vote
0 answers

Quarkus RESTeasy Encoded QueryParam

I am trying to fit my microprofile RestClient to make GET calls to an external API which expects the format of a date query in the following format: https://some_uri/?query=date%3A%282022%5C-01%5C-01%29?&fmt=json The above corresponds to a…
jaivalis
  • 488
  • 4
  • 19
1
vote
1 answer

Setting properties to the request context

How to set a property to the current request context? I'm trying to persist an audit trail (that contains request specific information) for all requests/response. I was trying to do it in an implementation of ContainerResponseFilter (to avoid…
Yans
  • 177
  • 1
  • 1
  • 8
1
vote
1 answer

Quarkus reactive rest client @HeaderParam("Authorization") not working and how to debug

In my Quarkus app, I need to make ah http request to another server, in which the Authorization value needs to be passed. I am using the reactive rest client and tried to use the @HeaderParam("Authorization") to customize the…
GeauxEric
  • 2,814
  • 6
  • 26
  • 33
1
vote
0 answers

Why am I experiencing endless connection timeouts using quarkus microprofile reactive rest client

At some point of my quarkus app life (under kubernetes) it begins getting endless connection timeouts from multiple different hosts (timeout configured to be 1 second). As of this point the app never recovers until I restart the k8s pod. These…
israelst
  • 1,042
  • 9
  • 7
1
vote
1 answer

Does Quarkus have a notion of session variables/cookies?

Thinking to how Php operates, there are both client and server 'cookies', where the server cookies are session-dependent data that is only seen by the server. Does Quarkus have anything similar to this? I realize I could make something that would…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
1
vote
1 answer

Skip echo test in big blue button BBB

I wanted to unmute mic or skip echo test on create or join meeting. I have tried several way and made changes in the settings.yml file and passed parameter bbb_skip_check_audio = true in create meeting url but I didn't get expected output. Could…