Sample spring boot project using the spring-boot-starter-cf-service-broker
This sample project uses the spring-boot-cf-service-broker to implement a MongoDB service. The Mongo service also uses spring-boot-data-mongodb to persist service instances & bindings.
- service broker API: 2.4
- cf-release: 192 or later
- Pivotal CF: Expected 1.4
To deploy this project, be sure you first have followed the instructions for the boot project here. These instructions are temporary until the starter project is published to a maven repo.
You need to install MongoDB somewhere and configure connectivity in MongoConfig.java.
Build it:
./gradlew build
That is it. You can push the broker to CF or deploy it some other way and then register it as you normally would: Services.