Spring Cloud Cloud Foundry Service Broker

Spring Cloud Cloud Foundry Service Broker is a framework for building Spring Boot applications that implement the Cloud Foundry Service Broker API and manage service offerings available in the Cloud Foundry Marketplace.

Quick Start
Fork me on GitHub

Cloud Foundry managed services are managed by service brokers, which advertise the service plans offered by their services and provision, destroy, bind, and unbind service instances. Spring Cloud Cloud Foundry Service Broker provides a framework based on Spring Boot that enables you to quickly create a broker for your own managed service on Cloud Foundry.

Features

  • Default configuration for catalog and service binding/unbinding endpoints
  • Support for asynchronous service operations (Cloud Foundry Service Broker API 2.7)
  • Support for arbitrary parameters supplied to cf Command Line Interface tool
  • Support for Cloud Foundry route services

Quick Start

Download

The recommended way to get started using spring-cloud-cloudfoundry-service-broker in your project is with a dependency management system – the snippet below can be copied and pasted into your build. Need help? See our getting started guides on building with Maven and Gradle.

To enable the Spring Cloud Cloud Foundry Service Broker framework's default configuration, your broker application needs only one of the @EnableAutoConfiguration or @SpringBootApplication annotations on its main application class:

@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

See the project documentation for more information on the interfaces included for implementing API functionality and on what default implementations are provided. For more information on developing Cloud Foundry managed services, see the Cloud Foundry documentation.

Sample Projects