To install this project, copy the file kustomization.yaml and run:
kubectl apply -k . --prune -l app.kubernetes.io/part-of=biletado -n biletado
kubectl wait pods -n biletado -l app.kubernetes.io/part-of=biletado --for condition=Ready --timeout=120smvn io.github.chains-project:maven-lockfile:generatepodman run --rm -it -v $PWD:/app --security-opt="label=disable" --workdir=/app $(cat Containerfile | sed -nE 's~FROM (docker.io/library/maven:.*) as builder~\1~p') mvn io.github.chains-project:maven-lockfile:generateTo build and run this project from source, first make sure you have podman installed and a kind cluster created. Now you can clone this repository and make your changes to it and then run the following script.
./run.shThis project uses Spring boot as the framework, for a list of all properties supported by spring click here. To configure this project, you can either use env variables or provide a property file, for more info click here or here.
| Name | Description | Default |
|---|---|---|
| SPRING_SERVER_PORT | The port of the application | 9000 |
| JERSEY_APPLICATION_PATH | The base path of the application | api/v2/assets |
| POSTGRES_ASSETS_HOST | Database host name | - |
| POSTGRES_ASSETS_PORT | Database port | - |
| POSTGRES_ASSETS_DBNAME | Database name | - |
| POSTGRES_ASSETS_USER | Database user name | - |
| POSTGRES_ASSETS_PASSWORD | Database password | - |
| LOGGING_LEVEL_ROOT | Debug level of default logger | - |
| LOGGING_CONFIG | Log4j2 configuration file location | - |
| KEYCLOAK_HOST | Keycloak host name | keycloak |
| KEYCLOAK_REALM | Keycloak realm | biletado |
For a list of log level click here.
To see how to configure logging click here.
To log messages in ecs format set the env variable LOGGING_CONFIG to classpath:log4j2-ecs.xml.
This Project is licensed under MIT.