forked from HuaweiTech/docs-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.html.md.erb
16 lines (10 loc) · 1.66 KB
/
examples.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: Example Service Brokers
---
The following example service broker applications have been developed - these are a great starting point if you are developing your own service broker.
## Ruby
* [GitHub repo service](https://github.com/cloudfoundry-samples/github-service-broker-ruby) - 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](https://github.com/cloudfoundry/cf-mysql-release) - this broker and its accompanying MySQL server are designed to be deployed together as a [BOSH](https://github.com/cloudfoundry/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](https://github.com/cloudfoundry/cf-mysql-broker).
## Java
* [Spring Boot Service Broker](https://github.com/cloudfoundry-community/spring-boot-cf-service-broker) - This implements the rest contract for service brokers and the artifacts are published to the spring maven repo. This greatly simplifies development: include a single dependency in gradle, implement interfaces, and configure. A sample implementation has been provided for [MongoDB](https://github.com/spgreenberg/spring-boot-cf-service-broker-mongo).
* [MySQL Java Broker](https://github.com/cloudfoundry-community/cf-mysql-java-broker) - a Java port of the Ruby-based [MySQL broker](https://github.com/cloudfoundry/cf-mysql-broker) above.