altiscope / hello-spring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Microservice Demo

Prerequisites

Develop

  • Startup local Kubernetes cluster following docs in the Prerequisites
  • odo dev # Launch app with hot-reloading
    • odo logs --follow # See logs
    • odo -h # See other commands
  • Test
    • Request
      curl -s http://localhost:20001/greetings?name=foo
      
    • Response
      {"message":"Hello, foo!"}
      

Deploy

See ./stack -h

About

License:MIT License


Languages

Language:Shell 63.4%Language:Java 33.4%Language:Dockerfile 3.2%