Questions tagged [helidon]

Helidon is an open-source set of Java libraries for writing micro-services provided by Oracle.

Useful links

139 questions
5
votes
2 answers

Change default logging implementation in Helidon

I would like to use log4j with Helidon. Is there any way to change default logging implementation?
thval
  • 53
  • 4
4
votes
1 answer

While injecting the ConfigProperty, getting the null value in constructor, with or without @Inject over the constructor?

For Helidon MP.. I am observing some problem, in field injection, when accessed in constructor. In below scenario, getting the null value in constructor, with or without @Inject over the constructor The GreetingProvider class is annotate with…
SidM
  • 43
  • 4
4
votes
1 answer

How can I send "PATCH" requests using Helidon WebClient?

I am trying to send a "PATCH" request using Helidon WebClient. How can this be achieved? Is it possible? I've made requests using other protocols with no problem since there are functions for GET, POST, PUT, and DELETE requests, but I can't find one…
Camden
  • 53
  • 4
4
votes
1 answer

How do I find out how Helidon MP decides on the number of concurrent threads to process

While stress testing our microservice build on Helidon MP, we found that the waiting time for the threads in handling requests increased linearly. We wanted to understand how Helidon MP decides on how many concurrent threads to create in its pool to…
3
votes
1 answer

How to mock webclient call to unit test in helidon mp project

Is there a way to mock a web client call from service to unit test it? Example call: Below fragment is for calling consul service from helidon application using webclient. It can be any kind of webclient call to external service. WebClientResponse…
3
votes
2 answers

Kakfa connector with helidon

I am using helidon-kafka connector to connect to OCI streams through Helidon based app. I have 2 topics and need different (de)serializers for both topics. I cannot add multiple connectors, adding 2 connectors by renaming them does not work. It…
Raman
  • 1,507
  • 3
  • 15
  • 25
3
votes
1 answer

Accessing kubernetes secret in helidon micro profile application

May I please know if we have any example accessing secrets in kubernetes(OKE) cluster. Eg some pwd stored as secret and that pwd needs to be assigned to some parameter in property file. Eg: oracle.ucp.jdbc.PoolDataSource.test_ds.password="" Looking…
3
votes
1 answer

Is there a way to configure mTLS in Helidon MP without saving the certificates to the disk?

is there a way to configure mTLS in Helidon MP without saving the following to disk? server.sockets.0.tls.trust.keystore-path server.sockets.0.tls.private-key.keystore-path client.tls.client.keystore-path If we have these certificates as a Java…
3
votes
2 answers

How to configure Helidon application to use in-memory database for integration tests?

We are setting up a Helidon MP application that connects to a SQL database and exposes some endpoints for CRUD operations. I am facing issues when implementing the integration tests. Our objective is to have the application use the SQL database, but…
Irimia Ionut
  • 33
  • 1
  • 3
3
votes
2 answers

What is the correct way to fetch large number of rows from DB through Helidon DBClient

What is the DBClients recommended way to work with a large number of rows? I am currently using the execute() API on DbStatement that returns Multi. Will this download the whole universe into JVM memory or does it internally stream in batches? If it…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
3
votes
1 answer

Helidon HttpServletRequest headers

I need to get HTTP Headers in my Helidon MP project. How can I get HttpServletRequest object to extract the headers from there? I have tried to look at the API but I have not found Servlet at all!
3
votes
1 answer

Error while trying to read files from Helidon MP

I am new to Helidon MP and i am getting an error while trying to write logic for file reading, below are the details for the same : Compilation Error : The type io.helidon.media.common.MessageBodyReadableContent cannot be resolved. It is indirectly…
Gaurav
  • 53
  • 3
3
votes
1 answer

Helidon background task

I have a @ApplicationScoped bean in my Helidon MP microservice, is there a way to force the creation of the bean at server startup instead at first method call? I need this bean ready and running just after server startup but every attempt I made…
TheOni
  • 810
  • 9
  • 26
3
votes
2 answers

Helidon custom interceptor

I use helidon SE 1.4.4, how can add intercepor for all response. My route is: return Routing.builder() .register(JsonSupport.create()) .register("/api/files", health) // Health at "/health" …
3
votes
3 answers

How to deploy a Helidon application to Google Cloud App Engine?

I am trying to deploy an Helidon MP project to Google Cloud App Engine using java11 runtime but having trouble to define the app.yaml properly. Tried to deploy the jar file directly using the below app.yaml using the command $ gcloud app deploy…
Suren Konathala
  • 3,497
  • 5
  • 43
  • 73
1
2 3
9 10