This project uses Quarkus, the Supersonic Subatomic Java Framework and ReactJS.
This project requires at least:
Use the Brewfile for all necessary dependencies:
brew bundle && make bootstrap
Ensure you have the following tools installed:
There is a Makefile to ease the initial setup.
make dev
make backend
NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/. The actual UI of Tapir is accessible via http://localhost:8080. Source can be found under
src/main/webui
example
. You need to upload a module and a provider
with the identifiers that are specified within the code.
make terraform
This will ensure a clean state, where you need to run bootstrap
again.
make clean
The application can be packaged using:
shell script
./mvnw package
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
.
Apart from the application.yml
file, you should add the new configuration parameters to the official Helm chart of Tapir. The configuration documentation should be updated in the respective README template and in the values.yaml.
Tapir needs to make use of a workaround to overcome routing issues with Quarkus since 3.9 and Quinoa. The workaround is to add the new route to PATH_PREFIXES
list in the Router class. For more details see comments in the class.