Skip to content

Tanzu-Solutions-Engineering/CN-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivotal Cloud Native Applications Workshop

Overview

This workshop provides developers with hands on experience building cloud native applications with micro service architectures using Spring Boot and Spring Cloud. Included are presentations, demos and hands on labs.

Sessions

Each new lab exercise builds upon the preceding lab, so please do not skip around the labs!

Lab Setup

To build the applications in this workshop, you’ll need a couple of things:

We’ll be pushing applications and creating services in Pivotal Cloud Foundry (PCF). This workshop uses Pivotal Web Services, an instance of PCF hosted by Pivotal.

  • Login or signup for a free Pivotal Web Services account

  • Click the Tools link and…​

    • download and install the CLI matching your operating system

    • login to the CF CLI (cf login -a api.run.pivotal.io)

Clone repo

To follow along with the lab exercises, please clone this git repo on your local machine

$ git clone https://github.com/Pivotal-Field-Engineering/CN-Workshop.git

IDE Setup and tips

💡
This section shares some optional tips for configuring your IDE for an optimal experience during the workshop!

Eclipse / Spring Tool Suite

Exclude java.awt.* from auto-complete suggestions

Preferences → Java → Appearance → Type Filters → Add…​ → java.awt.*

This way when you need to auto import something with List you don’t get the dialog box that asks if you want java.awt.List when you really want java.util.List

Configure Maven Auto Update

Preferences → Maven → [✔] Automatically update Maven projects configuration

Allows you to change a pom.xml and have the eclipse classpath automatically change without having to trigger the change manually.

Open pom.xml in XML view

Preferences → Maven → User Interface → [✔] Open XML Page in the POM editor by default

This will get you straight to the XML when you first open your pom.xml

Show line numbers

Preferences → General → Editors → Text Editors → Show Line Numbers

Very useful when collaborating and you need to explicitly state which line number you are referring to.

Automatically refresh resources changed outside of Eclipse

Preferences → General → Workspace → Refresh using native hooks or polling

This enables Eclipse to recognize changes to files that have been modified outside of Eclipse. Pretty handy.

Close all views you don’t need

Give yourself more space to view/write code by closing any views in the perspective that you don’t use, such as: Outline, Spring Explorer, and Servers

Boot Dashboard

Use it, it’s awesome :)

About

Cloud Native Workshop on Pivotal Web Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published