Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Reorganized labs AsciiDoc source files for easier stitching. (#17)
Browse files Browse the repository at this point in the history
* Reorganized labs AsciiDoc source files for easier stitching.

* Added generated PDF.

* Script for stitching lab guide together.
  • Loading branch information
nevenc authored and pacphi committed Oct 9, 2017
1 parent 0020491 commit c8d86cc
Show file tree
Hide file tree
Showing 25 changed files with 58 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Next we'll import some data.

== Importing Data

. Add this https://raw.githubusercontent.com/Pivotal-Field-Engineering/devops-workshop-boeing/master/labs/02/import.sql[import.sql] file found in *devops-workshop-boeing/labs/02* to +src/main/resources+. This is a rather large dataset containing all of the postal codes in the United States and its territories. This file will automatically be picked up by http://hibernate.org/orm/what-is-an-orm/[Hibernate] and imported into the in-memory database.
. Add this https://raw.githubusercontent.com/Pivotal-Field-Engineering/devops-workshop-boeing/master/labs/import.sql[import.sql] file found in *devops-workshop-boeing/labs/* to +src/main/resources+. This is a rather large dataset containing all of the postal codes in the United States and its territories. This file will automatically be picked up by http://hibernate.org/orm/what-is-an-orm/[Hibernate] and imported into the in-memory database.

. Restart the application.
+
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ cf start cloud-native-spring

. Refresh the UI app and you should once again see a table listing the first page of cities.
+
image::../lab05/images/ui.jpg[]
image::images/ui.jpg[]

. Refresh your UI application a few times to force some traffic though the circuit breaker call path. After doing this you should now see the dashboard populated with metrics about the health of your Hystrix circuit breaker:
+
Expand Down
52 changes: 52 additions & 0 deletions labs/devops-workshop-lab-guide.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
:title: DevOps Workshop Lab Guide
:author: Christopher Phillipson
:email: cphillipson@pivotal.io
:revnumber: 1.0
:revdate: {docdate}
:revyear: 2017
:subject: DevOps Workshop
:keywords: DevOps, Spring Boot, Spring Cloud

= DevOps Workshop Lab Guide

toc::[]

:leveloffset: +1

<<<

include::introduction.adoc[]

<<<

include::00-introduction_to_cli.adoc[]

<<<

include::01-building_a_spring_boot_application.adoc[]

<<<

include::02-adding_persistence_to_boot_application.adoc[]

<<<

include::03-enhancing_boot_application_with_metrics.adoc[]

<<<

include::04-adding_spring_cloud_config_to_boot_application.adoc[]

<<<

include::05-adding_service_registration_and_discovery_with_spring_cloud.adoc[]

<<<

include::06-employing_a_circuit_breaker.adoc[]

<<<

:leveloffset: -1


Binary file added labs/devops-workshop-lab-guide.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions labs/generate-lab-guide.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

asciidoctor-pdf -a toc -b pdf devops-workshop-lab-guide.adoc

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit c8d86cc

Please sign in to comment.