Spring boot demo app -- to deploy to Docker / Kubernete for testing / demo purposes
101
Dummy Spring Boot Application that can be used as a sample application for testing or demo purposes.
e.g. as a sample app while testing or playing around with Kubernetes deployment.
| Method | Url | Description |
|---|---|---|
| GET | http://localhost:8080/actuator | provides list of all actuator urls |
| GET | http://localhost:8080/actuator/info | provides build info (e.g build version, git commit version, etc) |
| GET | http://localhost:8080/actuator/health | application health status |
| GET | http://localhost:8080/actuator/health/livenessState | application liveness status |
| GET | http://localhost:8080/actuator/health/readinessState | application readiness status |
| GET | http://localhost:8080/actuator/health/db | application DB information |
| Method | Url | Description |
|---|---|---|
| GET | http://localhost:8080/api/v1/products/ | Get list of all products |
| Name | Available from | Description |
|---|---|---|
| ACTUATOR_ADDRESS_INFO | All versions | If this is set, the the Actuator Info URL also shows IP Address/Port of the application server that served this actuator/info |
| Feature | Available from |
|---|---|
| H2 Database | all versions |
| Flyway migration with dummy data | all versions |
| JDK 21 | all versions |
curl , jq in docker | all versions |
docker run --name customer -p 8080:8080 -d chatterjeesunit/product-app:8.0
And then you can access them from localhost like this
curl -s http://localhost:8080/api/v1/products/ | jq .
Content type
Image
Digest
sha256:c4f208fbb…
Size
281.8 MB
Last updated
over 1 year ago
docker pull chatterjeesunit/product-app:8.0