Skip to content

DennyHoang/pcf-examples

 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 59.6%
  • Shell 22.6%
  • Python 12.9%
  • Java 2.9%
  • HTML 1.5%
  • Smarty 0.4%
  • Dockerfile 0.1%