Home

Awesome

Bootiful Microservices HOL

Prerequisites

Develop

Deploy and Manage

Running the Examples

To follow the simple Spring Boot CLI example:

@RestController
class GreetingsRestController {

  @RequestMapping("/hi/{name}")
  def hi(@PathVariable String name){
    [ greeting : "Hello, "+name+"!" ]
  }
}

Pushing to Cloud Foundry

> cf login

API endpoint> api.run.pivotal.io

Email> MY_EMAIL@HOST.com

Password>
Authenticating...
OK

Select an org (or press enter to skip):
1. platform-eng
2. codecafe

Org> 1
Targeted org platform-eng

Targeted space joshlong


API endpoint:   https://api.run.pivotal.io (API version: 2.44.0)
User:           MY_EMAIL@HOST.com
Org:            platform-eng
Space:          joshlong