spring-boot-kubernetes-mysql icon indicating copy to clipboard operation
spring-boot-kubernetes-mysql copied to clipboard

Test the application

Open emiliyank opened this issue 1 year ago • 0 comments
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

emiliyank avatar May 13 '24 19:05 emiliyank