Questions tagged [quarkus]

A Kubernetes native Java stack tailored for GraalVM & OpenJDK HotSpot, crafted from the best of breed Java libraries and standards

Quarkus makes creating cloud-native container-first Java applications a productive and efficient experience.

Combine both the familiar imperative code and the non-blocking reactive style when developing applications.

Quarkus tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot.

./my-native-java-rest-app

Quarkus started in 0.008s

A cohesive platform for optimized developer joy:

  • Unified configuration
  • Zero configuration, live reload in the blink of an eye
  • Streamlined code for the 80% common usages, flexible for the 20%
  • No hassle native executable generation

Quarkus brings a cohesive, fun to use full-stack framework by leveraging best of breed libraries you love and use wired on a standard backbone.

Useful links:

3982 questions
1
vote
3 answers

Unit Testing with quarkus-smallrye-graphql

In a quarkus project with quarkus-smallrye-graphql lib, is there a way to unit test a GraphQL resource object like this one : @GraphQLApi public class ProductResource { @Inject private ProductRepository productRepository; …
Fabien MIFSUD
  • 335
  • 5
  • 14
1
vote
1 answer

How run migrate in all schemas with Spring, Quarkus, Flyway, Hibernate, multitenancy?

Good morning, I'm trying to set up a QUARKUS project with flyway, hibernate, panache and multitenant. But the script only runs once on the first schema, would anyone know how to run on the other schemas? application.yml datasource: db-kind:…
1
vote
2 answers

How to set base url and common rest URL from property file in Quarkus?

I am working on Quarkus application and what I want to do is to set the global path from application.properties file for all rest rest, my application is working but while calling rest request it is giving not found 404. @ApplicationScoped public…
user3458271
  • 638
  • 12
  • 31
1
vote
1 answer

Maven modules and quarkus compilation/live reload

I have the project (called tesa) constitued with two modules: tesa-app and tesa-domain + tesa (pom.xml) +----tesa-modules (pom.xml) +-------tesa-app (pom.xml) +-------tesa-domain (pom.xml) The problem is that, whenever I make a change to the…
1
vote
0 answers

Compiler Issues Whn Building Native Quarkus Apllication

Im trying to build a native quarkus application but getting issues with the windows compiler. I have installed visual studio build tools. Initially the build couldnt find cl.exe so I had to add C:\Program Files (x86)\Microsoft Visual…
Gee2113
  • 258
  • 2
  • 11
1
vote
1 answer

Is it possible to mix DRL with stream ConstraintProvider in Optaplanner for Quarkus

I have extensive overtime rules implemented in DRL that I'd like to reuse in a rostering application developed with Optaplanner on Quarkus. The Quarkus guide shows an example using a streaming ConstraintProvider. I assume it is not a problem to…
David Bush
  • 11
  • 1
1
vote
2 answers

how to serialize String/null as json in quarkus?

quarkus serialize String as plain string, null as empty body(with http code 204) "foo" -> foo null -> (empty body) how to make it serialize String and null as json like: "foo" -> "foo" null -> null
Bill Billy
  • 137
  • 12
1
vote
1 answer

Quarkus server-side http-cache

I tried to find out how to config. a server-side rest client (i.e. microservice A calls other microservice B using rest) to used a http cache. The background is, that the binary entities transfered over the wire can be quite large. Overall…
Mik86
  • 161
  • 1
  • 6
1
vote
1 answer

Can Readiness, Liveness check made active/inactive by configuration

I am playing around with Quarkus and I am trying to create ingestion service, which sends data to kafka or another REST endpoint. I have added "quarkus-smallrye-reactive-messaging-kafka" and "quarkus-reactive-messaging-http" dependencies to the…
anaray
  • 309
  • 1
  • 8
1
vote
2 answers

How to use spring-jdbc in Quarkus?

Could you please let me know how to use spring-jdbc in Quarkus, as I am converting my application from spring to Quarkus, for now I required to use JdbcTemplate but I don't see how to use it. I am using below dependencies:
user3458271
  • 638
  • 12
  • 31
1
vote
2 answers

Why is Quarkus JWT Returning Unauthorized on Every Endpoint

I'm trying to secure my Quarkus API with JWT. The JWT is provided (snippet: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUI[...] ). The following endpoints are the 2 endpoints I've tested: @Path("/quiz") @RequestScoped public class SomeResource { …
R. Polito
  • 544
  • 6
  • 21
1
vote
0 answers

Quarkus Swagger UI not working on Kubernetes

I'am getting Resource not found when I try to reach http://SOME_URL/q/swagger-ui when running app on Kubernetes I have set the property quarkus.swagger-ui.always-include=true http://SOME_URL/q/openapi is giving me API definition When app is…
Igor Vuković
  • 742
  • 12
  • 25
1
vote
0 answers

Quarkus: Rollback on which exceptions?

I thought that RuntimeExceptions in a @Transaction lead to a revert and checked exceptions not. For example I have two classes: A: @POST @Path( DO_SOMETHING ) @Consumes( MediaType.APPLICATION_JSON ) @Produces( { MediaType.APPLICATION_JSON }…
Paul
  • 1,344
  • 4
  • 19
  • 37
1
vote
2 answers

How to show Java Dependency (to add external jar) in vscode?

I am working on Quarkus application in vscode and we want to add external jars to that application, I have seen few demos but in my project "Java Dependencies" tab is not there, how to show it? Please Help me out as I am new to it. This "Java…
user3458271
  • 638
  • 12
  • 31
1
vote
1 answer

Quarkus for both a cloud and a standalone environment

I'm trying to migrate from a classic monolithic JavaEE application (Wildlfy, DB, JMS etc..) to a cloud one using Quarkus. I'm dividing the application into services, that are interacting with each other through REST APIs. So far so good. My problem…
Marco
  • 43
  • 5
1 2 3
99
100