Today’s Agenda: SPAs, Microservices and Pipelines

Let’s make coders out of all of you DevOps professionals!

Today we’ll start with the Roshambo web application. Your assignment is here:

https://www.mcnz.com/2020/02/09/roshambo-code-scramble-game.html

For those who are super clever, you will figure out hot to integrate a RESTful microservice deployed to Amazon’s Elastic Container Service into this mix. Guidance is here:

https://www.mcnz.com/2020/02/09/roshambo-ajax-rest.html

RESTful APIs

The RESFtul URL is here:

http://3.222.19.178/score

Pipeline Examples

To really drive home how pipelines work, I’d like to review these two pipeline examples together (Time permitting)

https://github.com/cameronmcnz/rock-paper-scissors/blob/master/scripted-pipeline

https://github.com/cameronmcnz/spock-lizard-docker/blob/master/Jenkinsfile

Lecture

We are going to jump over the optional Jenkins sections and talk about microservices.

-Chapter 14: Microservices Development

As part of the discussion on Microservices, compare the code created in the Roshambo exercise with the same, Servlet and JSP implementation of the rock-paper-scissors app found on GitHub:

https://github.com/cameronmcnz/rock-paper-scissors/tree/master/src/main/java/com/mcnz/rps

Labs

On the docket today is:

  • Lab 6 and 7 if they have not been completed
  • Lab 10 - Monoliths vs Microservices

Homework

Review the flashcards: https://www.playfactile.com/bahcephase1