quarkus Questions
2
Solved
It seems that by default the native image generated by Quarkus does not include any classpath resources corresponding to stuff from src/main/resources/.
From the GraalVM docs, I sort of understand...
4
I am new to Quarkus and try to use it in a Maven multi module project. My project is structured as followed:
- quarkustest (pom)
- quarkustest-application (jar)
- quarkustest-backend (pom)
- qu...
2
Solved
I try to get all spans created in the following chain associated to the same trace context/traceId by context propagation:
service1 -> aws sqs queue -> service2
Auto. context propagation is n...
Megaspore asked 18/6, 2022 at 11:1
3
Solved
I am trying to debug a basic Quarkus app by running the command ./mvnw compile quarkus:dev on IntelliJ (as stated in the Quarkus docs) and it seems to run ok (gives me the following message: Listen...
Bauble asked 9/11, 2021 at 15:8
3
Solved
In my Quarkus-Application an Observer of StartupEvent inserts default data into my database if a specific config-property is true. For one particular UnitTest I want my database to be empty.
I wou...
Patriarchate asked 15/11, 2019 at 20:33
3
Solved
I'm facing an issue, I can't get my form in my resources, the variables are always null
My Resource :
@POST
@Path("/upload-logo")
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces(Me...
Kunzite asked 7/11, 2020 at 17:11
3
Solved
I started playing with quarkus and graalvm. I added files (txt and jpg) to resources in the project (src/main/resources/). To be sure that I have access to this file in controller I display size of...
Romaineromains asked 21/3, 2022 at 16:17
4
Quarkus newbie question: I have a class A that logs something using the default Quarkus logging framework (I believe it is jboss logging). Next I want to write a testclass for A that must be able t...
3
I am trying to write unit tests for Quarkus using Mockito, but I fail mocking things.
Here is a minimal (not) working example :
package com.my.package;
import io.quarkus.test.junit.QuarkusTest;
im...
Parfitt asked 23/9, 2020 at 15:59
1
Solved
Due to security concerns, my company doesn't allows to use containers on our laptops.
So we can't use the normal quarkus:dev to run our test that connects to Postgresql.
But they provides us a remo...
Rundle asked 2/4 at 8:34
4
Solved
I have launched my application using the Quarkus dev mode (mvn quarkus:dev) and I would like to be able to debug it.
How can do that?
Stambul asked 15/3, 2019 at 20:10
3
although I configured the property file I still get the error:
blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is ...
4
application.properties
#WEB
quarkus.tls.trust-all=true
quarkus.http.cors=true
Controller
@POST
@Path("/result")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_...
2
Solved
I would like to change the logging level of my Quarkus application.
How can I do that either from the configuration file or at runtime?
Gunfire asked 7/3, 2019 at 12:40
4
Solved
I would like my Quarkus application to run on a port other than the default. How can I accomplish that?
Astound asked 7/3, 2019 at 12:18
4
Solved
2
I am using quarkus "import.sql" to add initial data to my application.
This data is accessed by classes extending PanacheEntity.
When inserting new data via rest webservice (with id == nu...
Smacking asked 20/3, 2021 at 8:22
5
Solved
I have some configurations in my application.properties file
...
quarkus.datasource.url=jdbc:postgresql://...:5432/....
quarkus.datasource.driver=org.postgresql.Driver
quarkus.datasource.username=u...
Rundgren asked 25/6, 2019 at 3:18
5
Solved
I have a value configured in my quarkus application.properties
skipvaluecheck=true
Now whenever I want to execute my tests, I want to have this value to be set to false instead of true. But I do n...
Lorna asked 21/9, 2021 at 10:37
2
Solved
I want to use this extension: [Quarkus Smallrye Reactive Messaging Kafka]
But in my application the name of the topics is not known in advance, it is specified according to the message received fro...
Rhu asked 17/2, 2021 at 20:17
2
I'm trying to understand if this is a feature or a bug... :-)
For the below controller and exception mapper, for a rest client that will fail with a 401 response, I would expect the exception hand...
Amathiste asked 12/9, 2019 at 15:55
4
Currently I am developing an application using quarkus. I have an openapi yaml file that describes everything. I wanted to know if there are quarkus extensions or tool with which I can generate the...
Pisgah asked 21/5, 2021 at 7:21
2
Solved
i'm trying to send email with quarkus with this guide https://quarkus.io/guides/mailer#gmail-specific-configuration.
I use this code :
@Inject
Mailer mailer;
@GET
public Response sendMailTest() ...
1
Solved
I am running a test using Gradle and it says "Instantiating tests..." for about 20 seconds before actually running the test. How can I avoid this?
I am using Quarkus 2.2.3.Final, and gra...
Rarefied asked 10/11, 2022 at 4:17
5
Solved
I'm getting this error below when I try to call a DynamoDB AWS service:
Multiple HTTP implementations were found on the classpath. To avoid non-deterministic loading implementations, please explici...
Goggleeyed asked 26/7, 2022 at 19:57
1 Next >
© 2022 - 2024 — McMap. All rights reserved.