Skip to content

Latest commit

 

History

History

live-coding-scripts

Live Coding Scripts

This folder contains live coding scripts that can be used to demonstrate various aspects of Tanzu Application Service and Kubernetes. These scripts can also be used as instructions for developer workshops.

If you have any difficulties with Java on Windows, see this page for some tips: Java on Windows Tips

Cloud Foundry

Java/Spring Boot

Script Description
Java and JPA Simple JPA app. Uses H2 in-memory database locally, binds to an RDB in Cloud Foundry
Java and Redis Simple Redis app. Uses in-memory counter when run locally, binds to Redis in Cloud Foundry
Wavefront Wavefront Observability with Spring Boot

Kotlin/Spring Boot

Script Description
Kotlin and Redis Simple Redis app. Uses in-memory counter when run locally, binds to Redis in Cloud Foundry

C#/.NET / Steeltoe

Important note: - .NET Core 2.2 has reached end of life and the corresponding Cloud Foundry buildpack no longer supports version 2.2. Version 2.1 is supported for legacy workloads, but newer versions of Steeltoe do not support .NET Core version 2.1. The bottom line is...use .Net Core 3.1

Script Description
.NET Framework, C# and Redis .NET Framework Simple Redis app. Uses in-memory counter when run locally, binds to Redis in Cloud Foundry
.NET Core C# and Redis .NET Core 2.2.X Simple Redis app. Uses in-memory counter when run locally, binds to Redis in Cloud Foundry
.NET Core C# and Redis .NET Core 3.1.X Simple Redis app. Uses in-memory counter when run locally, binds to Redis in Cloud Foundry

Kubernetes

Script Description
Springboot/Docker/Kubernetes Springboot running in Docker and Kubernetes

Knative

Script Description
Raw Knative with Minikube Simple Knative install and serving with raw Knative / Kubectl commands
Knative and Knctl with Minikube Simple Knative install, serving, and build using Knctl
Knative and riff with Minikube Simple Knative install, serving, and build using riff