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

vmware-archive/pcf-examples

pcf-examples

This repo builds out several bosh releases to a embedded key-value database service (spacebears, a toy example based on bolt). bosh-simple is the minimal BOSH release with no dependencies. Each additional release layers in some other integration or feature. For example, bosh-route-registrar adds broadcasting a route via Cloud Foundry's Router component.

The src directory holds the source code for the database, a service broker, and an example consumer app that uses service created by the broker.

The tile-* directories contain the Pivotal Cloud Foundry packaging for the bosh releases and broker.

Additional Resources

BOSH Releases

Tiles

Source code

  • src/broker

    • Python implementation of the Open Service Broker API for Spacebears
  • src/db-docker

    • packages spacebears as a docker image
  • src/db-helm

    • spacebears service and spacebears broker helm chart
  • src/sample-app

    • Python app consumer of Spacebears service.
  • src/spacebears

    • Golang key-value store with basic CRUD client API and admin API

See src/README.md for detailed instructions on how to build, test, or change source code.

(Spacebears is a nod to CockroachDB. Tardigrades are both more indestructible and cuter and so seemed like a good choice.)

References