- Download and install Java JDK https://www.oracle.com/br/java/technologies/downloads/
- Download and install Maven https://maven.apache.org/download.cgi
- Download and install PostgreSQL https://www.postgresql.org/download
- (optional) Download and install IntelliJ Community (free) https://www.jetbrains.com/pt-br/idea/download/other.html
mvn io.quarkus.platform:quarkus-maven-plugin:3.15.1:create -DprojectGroupId=io.github.felipedemacedo -DprojectArtifactId=sorveteria-quarkus-api
If using Powershell, wrap -D parameters in double quotes e.g. "-DprojectArtifactId=my-artifactId"
- hibernate-validator
- jdbc-h2
- hibernate-orm
- hibernate-orm-panache
- resteasy-jsonb
with the following command on CMD:
./mvnw quarkus:add-extension -Dextensions="hibernate-validator,jdbc-h2,hibernate-orm,hibernate-orm-panache,resteasy-jsonb"
Alternatively you can add these lines into pom.xml:
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jdbc-h2</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-orm</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-orm-panache</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-metrics</artifactId>
</dependency>
./mvnw compile quarkus:dev
The result should be something like this:
More info here: Using Quarkus with Maven https://quarkus.io/guides/maven-tooling
Test Case 1 | Test Case 2 | Test Case 3 |
---|---|---|
![]() |
![]() |
![]() |
6.1. You may download and install it from: https://prometheus.io/download/
scrape_configs:
- job_name: "prometheus"
metrics_path: '/q/metrics'
static_configs:
- targets: ["localhost:8080"]
![image](https://private-user-images.githubusercontent.com/7635127/373359645-2bdc8552-4a94-4967-9475-d57ba662fc36.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTIzODYsIm5iZiI6MTczOTE1MjA4NiwicGF0aCI6Ii83NjM1MTI3LzM3MzM1OTY0NS0yYmRjODU1Mi00YTk0LTQ5NjctOTQ3NS1kNTdiYTY2MmZjMzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDE0ODA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGIxYzlhMzc1ZWE4OGNhMDgxZmJlNGQzYmFhOWM5MGEwNTE5MzZhZDFhYjlhZWYzZGViZDIzM2Y0ZTIxNDUwMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.EG-E9B2ch2Zw1SGEoJwlMoZWkrBg6C5-whDibAm4DeU)
7.1. Download it from https://grafana.com/
https://kubernetes.io/releases/download/#binaries
https://minikube.sigs.k8s.io/docs/start/?arch=%2Fwindows%2Fx86-64%2Fstable%2F.exe+download
minikube start
In case of error, run:
minikube delete
minikube start
Verify status with:
minikube status