Sign inSign up

chatterjeesunit/order-app

By chatterjeesunit

•Updated over 1 year ago

Spring boot demo app -- to deploy to Docker / Kubernete for testing / demo purposes

Image
Languages & frameworks
0

99

chatterjeesunit/order-app repository overview

⁠Demo Spring Boot Application

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.

⁠Actuator urls - exposed by this application

MethodUrlDescription
GEThttp://localhost:8080/actuator⁠provides list of all actuator urls
GEThttp://localhost:8080/actuator/info⁠provides build info (e.g build version, git commit version, etc)
GEThttp://localhost:8080/actuator/health⁠application health status
GEThttp://localhost:8080/actuator/health/livenessState⁠application liveness status
GEThttp://localhost:8080/actuator/health/readinessState⁠application readiness status
GEThttp://localhost:8080/actuator/health/db⁠application DB information

⁠Application Rest APIs

MethodUrlDescription
GEThttp://localhost:8080/api/v1/orders/⁠Get list of all orders

⁠Environment Variables

NameAvailable fromDescription
ACTUATOR_ADDRESS_INFOAll versionsIf this is set, the the Actuator Info URL also shows IP Address/Port of the application server that served this actuator/info

⁠Features

FeatureAvailable from
H2 Databaseall versions
Flyway migration with dummy dataall versions
JDK 21all versions
curl , jq in dockerall versions

⁠Running Locally via Docker

docker run --name customer -p 8080:8080 -d chatterjeesunit/order-app:8.0

And then you can access them from localhost like this

curl -s http://localhost:8080/api/v1/orders/ | jq .

Tag summary

Content type

Image

Digest

sha256:19a46fe5e…

Size

281.8 MB

Last updated

over 1 year ago

docker pull chatterjeesunit/order-app:8.0