Questions tagged [smallrye]

SmallRye is community providing APIs and implementations tailored for Cloud development mostly, but not limited, to the specifications. The implemented APIs are tailored for Cloud Native development and container deployment.

Here you can find the main, Eclipse Microprofile, implemented specifications and their current status / version.

SmallRye provides many other community APIs such as [mutiny], which is another (yes) reactive API for the Java language.

160 questions
0
votes
1 answer

How to add wrapper JSON to Mutiny Multi?

I have a Java method which creates the customer information in JSON format using the streams approach and returns as and when it is created in an asynchronous approach using the Multi from SmallRye Mutiny. I would like to add the wrapper to this…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
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

Nested queries in SmallRye GraphQL

1. I want to create a GraphQL query that can filter by multiple records. It is about filtering details of statistics. For example, the statistic contains the fields "Number of deaths", "Number of cases", "Number of recovered". I have already written…
0
votes
1 answer

Access request headers from JWTCallerPrincipalFactory

I am using Quarkus with quarkus-smallrye-jwt and I want to access the request headers from a custom subclass of JWTCallerPrincipalFactory as explained by https://quarkus.io/guides/security-jwt#custom-factories. Is there a way to do that?
680ca2
  • 1
  • 1
0
votes
1 answer

Readiness and liveness failed with smallrye metrics in kubernetes

I'm deploying a pod written in quarkus in kubernetes and the startup seems to go fine. But there's a problem with readiness and liveness that result unhealthy. For metrics I'm using smallrye metrics configured on port 8080 and on…
Giamma
  • 808
  • 2
  • 10
  • 21
0
votes
1 answer

How to set the path of smallrye jwt key location?

Im my quarkus project, I want to set this propertie. smallrye.jwt.sign.key.location My application.propertie file looks like this. smallrye.jwt.sign.key.location=privateKey.pem My key privateKey.pem located inside the root folder of my project.…
Tristate
  • 1,498
  • 2
  • 18
  • 38
0
votes
0 answers

Quarkus: Is there a way to see general VM information with SmallRye Metrics?

I'm starting with SmallRye Metrics within Quarkus. It would be nice if I could see some general metrics about the running VM, like heap space etc. I haven't found anything so far. Did I not search hard enough or is this really missing?
eerriicc
  • 1,124
  • 4
  • 17
  • 29
0
votes
0 answers

Quarkus: Smallrye Metrics are enabled, why aren't they shown on Dev UI? Or on Swagger?

I'm trying my first steps with Quarkus metrics, using SmallRye. I enabled it and it works when I call http://localhost:8080/api/metrics/application (my quarkus.http.non-application-root-path is api). But although I see other SmallRye parts in the…
eerriicc
  • 1,124
  • 4
  • 17
  • 29
0
votes
1 answer

Quarkus converter for microprofile configMapping not giving full object

I have the following configuration: my: filter: number-range: - range: from: +994700110000 to: +994700110002 The ConfigMapping is: @ConfigMapping(prefix = "my.filter") public interface…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
0
votes
1 answer

Quarkus returning empty body response for UNAUTHORIZE

Currently I'm developing a REST API in quarkus that makes use of this two dependencies io.quarkus quarkus-security
Zifryn
  • 1
  • 1
0
votes
1 answer

Quarkus Rest Reactive Endpoints and Fault Tolerance for Multi Type

I have an endpoint which connects to postgres db and returns the data back to the client. And the endpoint is looks like below public Multi getData(RequestBody body) { // application code } Q) How to implement circuit breaker for Mutiny ,…
Jaiprasad
  • 149
  • 11
0
votes
0 answers

SmallRye multi throws error when running JAR from command line: Exception in thread "main" java.lang.NoClassDefFoundError: io/smallrye/mutiny/Multi

I am trying to run a simple Smallrye Mutiny application using JAR via command line but I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: io/smallrye/mutiny/Multi at…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
0
votes
1 answer

Can I use a graphQL client to communicate to a graphql server class in the same application?

I am currently creating a POC. We have a proxy lambda linked up to an API gateway. This Lambda access some data and returns films. These items are very large, so we would like to give customers the ability to filter which attributes they get from…
0
votes
1 answer

How to convert a simple method that returns the List into Multi based on Smallrye Mutiny?

I am developing an application that reads the XML file and creates the Hash ID based on the details present in XML. As of now, everything is working perfectly, and able to get the List. I would like to convert this application into Reactive…
BATMAN_2008
  • 2,788
  • 3
  • 31
  • 98
0
votes
1 answer

How to convert a method returning List into Reactive Stream smallrye mutiny?

I am quite new to Reactive programming and would like to convert a method that returns List into a reactive stream approach using Smallrye Mutiny. I tried creating Publisher etc but could not find the right example to proceed further. Can…