This project uses Quarkus, to create a parser for Turnier.de.
"https://dbv.turnier.de/player-profile/bd337124-44d1-42c1-9c30-8bed91781a9b" "04-098314"
- Dev UI : http://localhost:8181/q/dev/
- HtmlUnit (Maven) : https://mvnrepository.com/artifact/org.htmlunit/htmlunit
- You can run your application in dev mode that enables live coding using
quarkus dev
./mvnw quarkus:dev
The application can be packaged using:
./mvnw package
./mvnw clean package -Dquarkus.profile=prod
It produces the quarkus-run.jar
file in the target/quarkus-app/
directory.
Be aware that it’s not an über-jar as the dependencies are copied into the target/quarkus-app/lib/
directory.
The application is now runnable using java -jar target/quarkus-app/quarkus-run.jar
.
If you want to build an über-jar, execute the following command:
The application, packaged as an über-jar, is now runnable using java -jar target/*-runner.jar
.
+ url: `http://localhost:8181/h2`
- url:
http://localhost:8181/q/health/live
- use port defined in application properties
You can create a native executable using:
./mvnw package -Dnative
Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
./mvnw package -Dnative -Dquarkus.native.container-build=true
You can then execute your native executable with: ./target/bad-stat-1.0-SNAPSHOT-runner
If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.
- YAML Configuration (guide): Use YAML to configure your Quarkus application
Configure your application with YAML
The Quarkus application configuration is located in src/main/resources/application.yml
.
Easily start your RESTful Web Services
-> GitHub Examples: https://github.com/quarkiverse/quarkus-fx/tree/main
- happens with start of a test
- could be fixed in pom with exclusion of Junit5 properties
- https://quarkus.io/guides/getting-started-testing#testing_different_profiles
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5-properties</artifactId>
</exclusion>
</exclusions>
</dependency>