Skip to content
Sample application for Spring Cloud Open Service Broker
Java Dockerfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Remove webflux sample. Jun 5, 2018
src Merge branch 'polish-urls-remaining-master' of… Apr 4, 2019
.editorconfig Ensure security tests fail appropriately Mar 13, 2018
.gitignore Update gitignore Mar 9, 2018
CONTRIBUTING.adoc URL Cleanup Mar 20, 2019
LICENSE URL Cleanup Mar 22, 2019
README.adoc Merge branch 'polish-urls-remaining-master' of… Apr 4, 2019
build.gradle URL Cleanup Mar 12, 2019
gradlew.bat Remove webflux sample. Jun 5, 2018



This project implements a sample service broker that adheres to the Open Service Broker API using the Spring Cloud Open Service Broker framework. It can be deployed to either Cloud Foundry or Kubernetes, and can be registered as a service broker to either platform.


Getting Started

This service broker manages instances of a bookstore service.

When a service instance is provisioned, a new data structure is allocated in memory.

When a service binding is created, a URL and basic auth credentials are provided in the binding credentials. The bookstore URL and credentials can be used to add, retrieve, delete, and list books in the bookstore. Unique credentials are generated for each service binding.


This project requires Java 8 at a minimum.

The project is built with Gradle. The Gradle wrapper allows you to build the project on multiple platforms and even if you do not have Gradle installed; run it in place of the gradle command (as ./gradlew) from the root of the main project directory.

To compile the project and run tests

./gradlew build


Once the project is built, it can be deployed and registered to either Cloud Foundry or Kubernetes.

You can’t perform that action at this time.