Skip to content

scottfrederick/acme-fitness-store

 
 

Repository files navigation

page_type languages products description urlFragment
sample
Java
Python
ASP.NET
Tanzu Application Platform
Tanzu Postgres for Kubernetes
Deploy Microservice Apps to Tanzu Application Platform
acme-fitness-store

Deploy Acme Fitness Store to Tanzu Application Platform

This application is composed of several services:

  • 3 Java Spring Boot applications

    • A catalog service for fetching available products
    • A payment service for processing and approving payments for users' orders
    • An identity service for referencing the authenticated user
  • 1 Python application

    • A cart service for managing a users' items that have been selected for purchase
  • 1 ASP.NET Core applications

    • An order service for placing orders to buy products that are in the users' carts
  • 1 HTML and Javascript application

    • A frontend shopping application

What you will need

Tanzu Application Platform

Before deploying Acme Fitness Store to TAP, the prerequisites listed in the TAP 1.2 Getting Started Guide must be met.

Additional Operators

The following Kubernetes operators must be installed in the target cluster:

Local tools

The following tools must be installed locally:

Additional Postgres configuration

The Tanzu Postgres for Kubernetes Operator requires some additional setup in each Kubernetes namespace where a Postgres database instance will be created, as described in the documentation. You will need a username and password for the image registry where the Tanzu Postgres images are stored. Once you have those credentials, run the following scripts to complete this setup:

TANZU_REGISTRY_USERNAME=username TANZU_REGISTRY_PASSWORD=secret ./scripts/create-tanzu-registry-secret.sh
./scripts/create-postgres-service-biding-rbac.sh

Deploying applications

Scripts in the deploy/tap directory can be used to deploy the Acme Fitness Store applications.

First, run deploy-servers.sh to deploy shared infrastructure services that are used by the applications.

Then, run deploy-workloads.sh to deploy the applications.

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.5%
  • HTML 27.6%
  • Java 4.7%
  • C# 2.9%
  • Python 2.1%
  • JavaScript 0.9%
  • Other 0.3%