GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Switcher05/bootiful-microservices

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

110 Commits
110 Commits

Folders and files

NameName
Last commit message
Last commit date
.mvn
.mvn
 
 
bootiful-applications
bootiful-applications
 
 
bootiful-cloudfoundry
bootiful-cloudfoundry
 
 
bootiful-microservices-angel
bootiful-microservices-angel
 
 
bootiful-microservices-brixton
bootiful-microservices-brixton
 
 
bootiful-microservices-camden
bootiful-microservices-camden
 
 
bootiful-microservices-dalston
bootiful-microservices-dalston
 
 
bootiful-microservices-edgware
bootiful-microservices-edgware
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build-all.sh
build-all.sh
 
 
docker-compose.yml
docker-compose.yml
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Bootiful Microservices HOL

Prerequisites

Develop

  • Git
  • Java 8
  • Spring Boot CLI

Deploy and Manage

  • Create a free account on Pivotal Web Services
  • install the Cloud Foundry CLI

Running the Examples

To follow the simple Spring Boot CLI example:

  • in a new file called hi.groovy type:
@RestController
class GreetingsRestController {

  @RequestMapping("/hi/{name}")
  def hi(@PathVariable String name){
    [ greeting : "Hello, "+name+"!" ]
  }
}
  • from the terminal in the same directory as the newly created hi.groovy, run spring jar hi.jar hi.groovy
  • you'll be given a .jar that you can execute: java -jar hi.jar

Pushing to Cloud Foundry

  • cf login to ensure that you've authenticated against your Pivotal Web Services account. My session looked like this, yours will feature your own Cloud Foundry credentials.
> cf login

API endpoint> api.run.pivotal.io

Email> [email protected]

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:           [email protected]
Org:            platform-eng
Space:          joshlong

  • cf push -p hi.jar SOME_NAME_YOU_MAKEUP_HERE - the SOME_NAME_YOU_MAKEUP_HERE is arbitrary; it'll inform the URL that's used to mount the application and as such it shares a shared global (DNS) namespace

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.