Spring系列学习之Spring Cloud Open Service Broker微服务开放服务代理

英文原文:https://spring.io/projects/spring-cloud-open-service-broker

目录

概述

Spring Boot配置

快速开始

学习

文档

示例


概述

Spring Cloud Open Service Broker是一个用于构建实现Open Service Broker API的Spring Boot应用程序的框架。

Open Service Broker API项目允许开发人员为云本地平台(如Cloud Foundry,Kubernetes和OpenShift)中运行的应用程序提供服务。 Spring Cloud Open Service Broker提供了一个基于Spring Boot的框架,使您能够在支持Open Service Broker API的平台上为您自己的托管服务快速创建服务代理。


Spring Boot配置

在项目中开始使用Spring Cloud Open Service Broker的推荐方法是使用依赖关系管理系统。 下面的一个代码段可以复制并粘贴到您的构建中。

使用Maven:



<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-open-service-broker-webmvc</artifactId>
        <version>2.1.0.RELEASE</version>
    </dependency>
</dependencies>

使用Gradle:

扫描二维码关注公众号,回复: 4650965 查看本文章


dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-open-service-broker-webmvc:2.1.0.RELEASE'
}

快速开始

使用Spring Initializr引导您的应用程序。

学习

文档

每个Spring项目都有自己的; 它详细解释了如何使用项目功能以及使用它们可以实现的功能。

3.0.0 M3 PRE Reference Doc. API Doc.
3.0.0 SNAPSHOT Reference Doc. API Doc.
2.1.1 SNAPSHOT Reference Doc. API Doc.
2.1.0 GA Reference Doc. API Doc.

示例

尝试一些例子:

猜你喜欢

转载自blog.csdn.net/boonya/article/details/85248781