Helidon is an open-source set of Java libraries for writing micro-services provided by Oracle.
Questions tagged [helidon]
139 questions
1
vote
1 answer
Authorization in Helidon MP
Helidon uses annotations like
@RoleValidator.Roles({“my_admins”, “test”})
to do the authorization.
I am wondering if there is a way to do authorization differently using configuration settings for paths, for example.
Basically, the question is.
Is…

Sergey Linetskiy
- 33
- 3
1
vote
1 answer
Helidon MP: How to send slf4j log messages to Kafka broker?
I am trying to send slf4j log messages in my Helidon MP application to a Kafka server that runs on port 9092. I have the following class as an example:
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class Service {
private final ConfigProvider…

swing1234
- 233
- 1
- 3
- 13
1
vote
1 answer
Getting the request URL with hash #content in Helidon SE
I am writing a Helidon SE webserver and I am not to process the #content as part of URL.
I tried the following:
ServerRequest request;
request.uri()
request.absoluteUri()
None of them is giving me the hash content of the request URL.
For example:…
1
vote
1 answer
No handler found for path in Helidon
I have created a simple endpoint in Helidon:
@GET
@Path("/sampleString")
@Produces(MediaType.APPLICATION_JSON)
public Message getSampleString() {
return "{'Sample':'String'}";
}
The code complies and runs. But when I call:
curl -i…

Günter Brilowski
- 57
- 4
1
vote
2 answers
How to schedule job by helidon MP?
Im Try to create schedule job sample, buy task dont execute.
what's wrong?
@ApplicationScoped
public class CustomApplication extends Application {
@Override
public Set> getClasses() {
Set> classes = new…

Abner Bessi
- 51
- 4
1
vote
1 answer
Persistence.xml not processed by Helidon MP
For my Helidon MP application I want to use H2 database with Hibernate, so I made the following configuration:
org.hibernate.ejb.HibernatePersistence
…

Günter Brilowski
- 57
- 4
1
vote
2 answers
Websocket calls are not reaching to middleware via ingressRoute in k8s
I am trying to integrate traefik ingress route with middleware (forward-auth) for wss (secure websocket protocol).
For https requests ingressRoute works fine with forward-auth,
but for wss its not reaching to forward-auth, it's bypassing the…

atroy
- 11
- 2
1
vote
1 answer
How to return custom response on javax.json.bind.JsonbException (Helidon project)
I'm trying to return a custom http response(400 bad request) instead of http 500 server error when json payload is not valid.
The problem is that when I use javax.json.bind.JsonbException as exception type in ExceptionMapper it's not able to…

niragoy506
- 11
- 2
1
vote
2 answers
Helidon serve static content
I would like to server static content from my Helidon MP server. But I only get No handler found for path: /static/index.html.
I have configured the static resources in…

Itchy
- 2,263
- 28
- 41
1
vote
1 answer
How to setup Helidon MP Server with https and TLS 1.2 only
How to setup Helidon MP Server with https and TLS 1.2 only ?
I didn't find it in Helidon MP Server documentation https://helidon.io/docs/v2/#/mp/introduction/01_introduction

Franck
- 944
- 14
- 28
1
vote
1 answer
Got exception in Db health Ping clause in a Helidon application
I updated my sample application to Helidon SE 2.1 and there is a ping statement for DB health:
db:
statement:
ping: "select 1"
And I am using Postgres for test purpose.
But it did not work now. I got the exception when I accessing the /health…

Hantsy
- 8,006
- 7
- 64
- 109
1
vote
2 answers
How to pass env variable into application.yaml file in Helidon
I want to pass something like this
tracing:
service: "test-service"
host: ${TRACING_AGENT_HOST}
port: ${PORT}

sono
- 11
- 4
1
vote
1 answer
Using ConfigProperty in manually instantiated classes in JakartaEE / Helidon / Microprofile
I have a small application in Helidon start. It is mostly a REST interface, but I also want to start some background monitoring / logging on startup.
I would like that monitoring to be activated / deactivated by config.
The issue I am facing is that…

jlengrand
- 12,152
- 14
- 57
- 87
1
vote
1 answer
How to configure Helidon MP security
I've been learning Helidon MP features from github as it is one of the most reliable sources due to the weak community of framework. However, the configurations and instructions represented for security is a bit difficult to get. The examples work…

sahand_77.s
- 21
- 2
1
vote
1 answer
ERROR The specified file 'helidon-quickstart-se.jar' not exists in helidon se project
I am very new to Helidon and have been trying to generate a Helidon project using the quickstart archetype, but it seems to be not working at all for me. can you please help me out.
Thanks in advance.
what I have tried is as follows:
mvn -U…

Sonali
- 73
- 1
- 6