In my project, we want to use Dockerfile to build project and deploy maven project with Jenkinsfile Now right here!
docker compose up -d
curl -X GET http://localhost:8080/api/product
curl -X GET http://localhost:8080/api/product/search/1
curl -X GET http://localhost:8080/api/product/search/name/e
curl -X POST -H "Content-Type: application/json" \
-d '{"id":99,"nameProduct":"Keo bong gon","price":12000.00,"description":"Keo bong gon"}' \
http://localhost:8080/api/product/create
curl -X PUT -H "Content-Type: application/json" \
-d '{"id":2,"nameProduct":"Keo bong gon","price":12000.00,"description":"Keo bong gon"}' \
http://localhost:8080/api/product/update/2
curl -X DELETE http://localhost:8080/api/product/delete/1