Questions tagged [micronaut-client]
104 questions
0
votes
0 answers
Error instantiating bean of type [io.micronaut.data.mongodb.operations.MongoDatabaseNameProvider]
Error instantiating bean of type [io.micronaut.data.mongodb.operations.MongoDatabaseNameProvider]
Message: Could not resolve placeholder ${auto.test.resources.mongodb.uri}
Path Taken:…

Rakesh
- 1
- 1
0
votes
0 answers
Can you set S3 path in Micronaut Key Store Path?
I have a lambda application that uses Micronaut 3.9.x (Migrated from Micronaut 1) which uses HttpClient and has a SSL configuration that points to a certificate inside my resources folder. I have the variable micronaut.http.client.ssl.key.store.path…

Third Fon
- 25
- 5
0
votes
0 answers
Micronaut ApplicationContextBuilder NoSuchMethod error
I'm trying to migrate my service from Micronaut 1 to 3. It's working in Micronaut 1 but when upgrading the libraries to Micronaut 3, I encounter the issue below. I'm using AWS Lambda but Lambda is failing upon startup:
{
"errorMessage":…

Third Fon
- 25
- 5
0
votes
0 answers
Get the corresponding HttpClient in a HttpClientFilter (micronaut)
I am attempting to write a reusable HttpClientFilter that can be assigned to various HttpClients using an Annotation. The HttpClientFilter requires certain properties, such as an audience, that differ for each HttpClient.
My plan is to add these…

Max Bachhuber
- 5
- 3
0
votes
0 answers
Micronaut ConfigurationProperties not resolving environment variables
I have a micronaut app with application.yaml having this configuration:
confluent:
name: Consumer Events Registry
base_url: abcd-xyz.westus2.azure.confluent.cloud
secrets:
access_key: ${CONFLUENT_KEY}
secret:…

Chaitanya Chandurkar
- 2,142
- 3
- 24
- 43
0
votes
0 answers
ExceptionHandler not mapping the body message of the exception in micronaut
From the API gateway using the micronaut declarative HTTP client as below
@Client(id="fetebirdProductApi", path = "/tag")
public interface ITagClient extends ITagOperation {
}
In one of the micro-service, there is a validation error on the…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
0 answers
Micronaut - better logging of issues
So, I'm trying to diagnose a problem with a simple ID change for a Id such as:
@Client(id = "zooClient")
which is located in a library ("Jar"). This should be super simple, but so far, I've been unable to get it working. I turned on the trace…

Kurt
- 399
- 3
- 14
0
votes
1 answer
Micronaut Http Client Using a Map for Query Parameters
While defining a client interface is there a way to pass a map of Query parameters? I know I can do a single via:
@Client("MyApi)
interface Zoo {
fun fetchAnimals(@QueryValue color : String) : String
}
But, how would a add a variable map…

Kurt
- 399
- 3
- 14
0
votes
0 answers
How to extract json field from response in declarative client in micronaut?
Several days ago I decided to give the Micronaut a try and I am highly enthusiastic. Unfortunately Javadocs are rather poor (less than terse whether rudimentary descriptions and/or no examples provided) and I've just hit the wall with the…

Cromax
- 1,822
- 1
- 23
- 35
0
votes
1 answer
Initiate an InputStream streaming request from declarative client to server
I want to initiate a byte stream (from reading an InputStream) from one micronaut service to another, using declarative clients. I found this Github issue that deals with the client side of what I'm trying to solve.
The proposed solution, on the…

niebula
- 351
- 1
- 6
- 13
0
votes
1 answer
Is Micronaut a right choice for micro-services which call other HTTP microservices?
Hi Micronaut Development Community
We are trying to create Micronaut based microservices(in Java) which make calls to other HTTP services and Database(both Dynamo DB and RDS on AWS). What are the recommended Micronaut libraries/http client, to…
0
votes
0 answers
micronaut integration tests bean order
I'm using Micornaut 3.7.4 and java 11.The server engine is netty. I use RabbitListener annotaion to retrieve messages from RabbitMQ. My producer and consumer are in the same application. I also injected http client to RabbitListener…

ali
- 145
- 14
0
votes
0 answers
Micronaut equivalent for jax-rs ContainerRequestContext
I am trying to use features such as in micronaut compared to jaxrs.
containerRequestContext.abortWith(Response.status(403).build());

Subash Chaturanga
- 814
- 2
- 10
- 20
0
votes
0 answers
Hashicorp Vault dynamic database credentials support in Micronaut?
I plan to add HashiCorp support for dynamic database credentials for our micronaut applications. I noticed that micronaut-discovery-client may support this. In its configuration I found that key value backend is supported but there is no sign of…

Rafał Radecki
- 151
- 1
- 1
- 7
0
votes
2 answers
micronaut and using the @client to make external calls
So im trying to use the @client annotation when making external calls..
@Client("/api/external/call")
@Header(name = ACCEPT, value = "application/json")
public interface ExternalCall{
@Get
MyResponse Call();
…

user1555190
- 2,803
- 8
- 47
- 80