mmambrose / pcf-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

BOSH Releases

  • bosh-simple
    • the bare minimum release
  • bosh-simple-with-link
    • bosh-simple + BOSH link for sharing address and credentials
  • bosh-route-registrar
    • bosh-simple + route registrar (claims routes in Cloud Foundry)
  • bosh-syslog
    • bosh-simple + syslog logging
  • bosh-metron - bosh-simple + metron (emits service metrics)
  • bosh-docker-bosh - spacebears packages as a BOSH deployed docker image
  • bosh-dashboard - bosh-simple + sso dashboard for db
  • bosh-odb - adapter for ODB release
  • bosh-links
  • bosh-tcp-routing
  • bosh-service-backups

Source code

  • ./src/spacebears
    • Golang key-value store with basic CRUD client API and admin API
  • ./src/broker
    • Python implementation of the Open Service Broker API for Spacebears
  • ./src/sample-app
    • Python app consumer of Spacebears service.

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

About

License:Apache License 2.0


Languages

Language:Go 59.5%Language:Shell 22.9%Language:Python 12.9%Language:Java 2.9%Language:HTML 1.4%Language:Smarty 0.4%Language:Dockerfile 0.1%