Skip to content

This repo contains a few sample microservices for experimenting with Apigee.

License

Notifications You must be signed in to change notification settings

srinandan/sample-apps

Repository files navigation

Sample applications

This repo contains a few sample microservices for experimenting with Apigee.

  • Inventory - A REST service that implements CRUD on items
  • Orders - A REST service that implements CRUD on orders
  • Tracking - A gRPC service that implements CRUD on shipment tracking
  • Tracking Client - A REST service that exposes the tracking gRPC service as a REST API
  • Client - A busybox based kubernetes pod for debugging/troubleshooting in kubernetes
  • Orders GraphQL - A graphQL implementation of the orders and inventory service.
  • Customers - To demonstrate the use of Cloud DLP (https://cloud.google.com/dlp/)
  • Websockets - To demostrate websockets via Apigee runtime
  • Google Auth Service - Obtain a Google OAuth token to call Google APIs
  • Load Test - A fortio based load test application. For deployment in kubernetes

Installation

Prerequisites to build

  • kubectl 1.15 or higher
  • skaffold 1.12.0
  • docker 19.x or higher (optional)

Create a Kubernetes Secret with Google Service Account

./create-secret.sh

Install Sample Apps

  • Option 1 - Use Cloud Build

PREREQUISITES: Cloud Build service account must have role: "Kubernetes Engine Developer"

export GOOGLE_APPLICATION_CREDENTIALS=my-service-account.json
skaffold run -p gcb --default-repo=gcr.io/$PROJECT_ID
  • Option 2 - local docker
skaffold run --default-repo=gcr.io/$PROJECT_ID

NOTE: client and load-test are not installed.

Installing a single application

skaffold run -p gcb --default-repo=gcr.io/$PROJECT_ID -f skaffold-{appname}.yaml

where {appname} can be orders, inventory, tracking, customers or websockets

Install Apigee components

Prerequisites

Installation Script

./install-apigee.sh

Support

This is not an officially supported Google product

About

This repo contains a few sample microservices for experimenting with Apigee.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •