Example Service Brokers
Page last updated:
The following example service broker applications have been developed - these are a great starting point if you are developing your own service broker.
- GitHub Repository service - this is designed to be an easy-to-read example of a service broker, with complete documentation, and comes with a demo app that uses the service. The broker can be deployed as an application to any Cloud Foundry instance or hosted elsewhere. The service broker uses GitHub as the service back end.
- MySQL database service - this broker and its accompanying MySQL server are designed to be deployed together as a BOSH release. BOSH is used to deploy or upgrade the release, monitors the health of running components, and restarts or recreates unhealthy VMs. The broker code alone can be found here.
- Spring Cloud - Cloud Foundry Service Broker - This implements the REST contract for service brokers and the artifacts are published to the Spring Maven repository. This greatly simplifies development: include a single dependency in Gradle, implement interfaces, and configure. A sample implementation has been provided for MongoDB.
- MySQL Java Broker - a Java port of the Ruby-based MySQL broker above.