spring-boot-kubernetes-mysql
spring-boot-kubernetes-mysql copied to clipboard
Test the application
trafficstars
Hi Ashutosh Sahoo! Great job with this demo repository! Btw I had to do 2 changes in order to properly test the application - you might consider adding this to the README:
- From the PetController I removed
consumes = MediaType.APPLICATION_JSON_VALUE,from the @RequestMapping at the top. Because in the GET request we don't need any input anyway. And it was giving me error 415 when I try to execute the GET request in the browser. - In order to run the application in the browser I had to do
minikube service spring-boot-kubernetes-mysql