A boilerplate for Cloud Foundry Service Broker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
broker
cmd
config
db
docker
model
vendor
.gitignore
LICENSE.md
Makefile
README.md
deps.txt
main.go
manifest.example.yml
plans.yml
update-dep

README.md

cf-broker-boilerplate

A boilerplate for Cloud Foundry Service Broker.

How to run

go get github.com/Altoros/cf-broker-boilerplate
export DATABASE_URL=mysql://yser:passvord@localhost/dbname
cf-broker-boilerplate -c plans.yml

The app also can be deployed to Cloud Foundry (use manifest.example.yml as an example of CF deployment manifest).

TODO

[ ] add tests [ ] extract service manager and binding managers to a separate packages [ ] create a persister package that will encapsulate working with Mysql DB