Skip to content

Pivotal Cloud Foundry Elastic Runtime Service basic demo

Notifications You must be signed in to change notification settings

arul-cfkube/pcf-ers-demo

 
 

Repository files navigation

Build Status Download

Vmware Tanzu Applicatio Service Demo Application

Base application to demonstrate TAS

Credits and contributions

As you all know, we often transform other work into our own. This is all based from Andrew Ripka's cf-workshop-spring-boot github repo with some basic modifications.

Introduction

This base application is intended to demonstrate some of the basic functionality of tas ERS:

  • tas api, target, login, and push
  • tas environment variables
    • Spring Cloud Profiles
  • Scaling, self-healing, router and load balancing
  • RDBMS service and application auto-configuration
  • Blue green deployments

Getting Started

Prerequisites

Building

$ git clone [REPO]
$ cd [REPO]
$ ./mvnw clean install

To run the application locally

The application is set to use an embedded H2 database in non-PaaS environments, and to take advantage of Vmware CF's auto-configuration for services. To use a MySQL Dev service in tas, simply create and bind a service to the app and restart the app. No additional configuration is necessary when running locally or in Vmware CF.

In Vmware CF, it is assumed that a Vmware MySQL service will be used.

$ ./mvnw spring-boot:run

Then go to the http://localhost:8080 in your browser

Running on Tanzu Application Service

Take a look at the manifest file for the recommended setting. Adjust them as per your environment.

Labs/Demo Scripts summary

We have a Labs folder to help you learn tas. These labs can be used for workshops or self-training.

About

Pivotal Cloud Foundry Elastic Runtime Service basic demo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.0%
  • HTML 14.5%
  • CSS 11.7%
  • Haml 8.6%
  • SCSS 6.9%
  • Java 5.3%
  • Other 1.0%