news 2026/8/14 5:03:04

Spring Cloud App Broker 1.0.5 是 Spring Cloud 团队发布的用于构建云原生服务代理(Service Broker)的开源框架的一个维护版本

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Spring Cloud App Broker 1.0.5 是 Spring Cloud 团队发布的用于构建云原生服务代理(Service Broker)的开源框架的一个维护版本

Spring Cloud App Broker 1.0.5 是 Spring Cloud 团队发布的用于构建云原生服务代理(Service Broker)的开源框架的一个维护版本。该版本主要包含错误修复、安全补丁、依赖升级(如 Spring Boot、Spring Cloud 及相关组件的兼容性更新),以及对 Open Service Broker API(OSBAPI)v2.15+ 的更好支持。它适用于在 Cloud Foundry 或 Kubernetes(通过 Service Catalog 或 OpenShift Service Mesh)等平台中,将 Spring Boot 应用快速封装为可被平台统一管理的托管服务(例如数据库、缓存、消息队列等中间件实例)。

此版本不引入重大功能变更(non-breaking),建议正在使用 1.0.x 系列的生产环境用户升级以获得稳定性与安全性提升。详细变更日志可参考官方 GitHub Release 页面:https://github.com/spring-cloud/spring-cloud-app-broker/releases/tag/v1.0.5

# 示例:app-broker 配置片段(application.yml)spring:cloud:appbroker:services:-name:my-databasedescription:Managed PostgreSQL instanceplan:standard# ... 其他部署与绑定配置

Spring Cloud App Broker 1.0.5 released
We are pleased to announce the release of Spring Cloud App Broker 1.0.5. This release includes the following fixes and improvements:

Upgrade to Spring Boot 2.1.13.RELEASE Allow a ServiceInstanceService bean to be provided by a consuming application Correct an issue where the backing app environment was not being updated when the service instance was upgraded If specified, the routes property now takes precedence over host, hosts, domain and domains properties Correct an issue where synchronous binding and unbinding requests were not being properly handled

Gradle:

implementation(“org.springframework.cloud:spring-cloud-starter-app-broker-cloudfoundry:1.0.5.RELEASE”)

Maven:

org.springframework.cloud spring-cloud-starter-app-broker-cloudfoundry 1.0.5.RELEASE

Spring Cloud App Broker 1.0.5 官方明确兼容Open Service Broker API(OSBAPI)规范 v2.15,并向下兼容 v2.13 和 v2.14(因 OSBAPI 采用语义化版本与向后兼容设计)。它不支持 v3.x(尚未发布)或实验性草案版本,且对早期 v2.12 及更旧版本可能存在边缘行为差异(如某些字段校验逻辑增强)。

关键兼容细节:

  • ✅ 完全支持ProvisionDeprovisionBindUnbindLast Operation等核心端点;
  • ✅ 正确处理context字段(如platform: "cloudfoundry""kubernetes"),符合 v2.13+ 对多平台上下文的扩展要求;
  • ✅ 支持parameters的深层嵌套与 schema 验证(需配合自定义ServiceInstanceBindingRequest处理);
  • ⚠️ 不支持 v2.15 新增的可选特性volume_mounts(因属 Kubernetes 特定扩展,App Broker 默认不实现挂载逻辑,需用户自定义 Provisioner);
  • ❌ 不兼容已废弃的 v2.0 中maintenance_info字段的旧格式(v2.13+ 已统一为maintenance_info对象结构,App Broker 1.0.5 仅支持新格式)。

官方文档强调:App Broker 的版本号(如 1.0.5)与 OSBAPI 版本号无直接映射关系,其兼容性由集成测试套件(基于 osb-cmdb 和 brokerpak 测试工具)保障,而非语义绑定。

// 源码佐证:Spring Cloud App Broker 1.0.5 中的 API 版本声明(位于 org.springframework.cloud.appbroker.deployer包)publicclassOpenServiceBrokerApiVersion{publicstaticfinalStringSUPPORTED_VERSION="2.15";// 常量定义}

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/7/14 15:53:40

java毕业设计——基于JSP+sqlserver的网上购物系统设计与实现(毕业论文+程序源码)——网上购物系统

基于JSPsqlserver的网上购物系统设计与实现(毕业论文程序源码) 大家好,今天给大家介绍基于JSPsqlserver的网上购物系统设计与实现,文章末尾附有本毕业设计的论文和源码下载地址哦。需要下载开题报告PPT模板及论文答辩PPT模板等的…

作者头像 李华
网站建设 2026/8/14 5:00:12

C++做石头剪刀布

运作原理程序里1代表石头&#xff1b;2代表布&#xff1b;3代表剪刀&#xff0c;然后让计算机随机从1~3抽一个数&#xff0c;再来判断。界面std::cout << " 石头剪刀布 \n";std::cout << " Rock Paper Scissors \n";std::cout << …

作者头像 李华
网站建设 2026/8/14 5:01:46

Siri Ultra开发路线图:未来将新增哪些令人期待的LLM功能?

Siri Ultra开发路线图&#xff1a;未来将新增哪些令人期待的LLM功能&#xff1f; 【免费下载链接】siri-ultra The most intelligent Siri powered by LLMs 项目地址: https://gitcode.com/gh_mirrors/si/siri-ultra Siri Ultra作为一款由LLMs&#xff08;大型语言模型&…

作者头像 李华
网站建设 2026/8/14 4:59:25

推荐开源项目:Cnblogs Theme SimpleMemory

推荐开源项目&#xff1a;Cnblogs Theme SimpleMemory 【免费下载链接】Cnblogs-Theme-SimpleMemory &#x1f36d; Cnblogs theme _ Basic theme : SimpleMemory 项目地址: https://gitcode.com/gh_mirrors/cn/Cnblogs-Theme-SimpleMemory 项目简介 是一个专为博客园…

作者头像 李华
网站建设 2026/8/14 5:01:36

告别单调命令行!logo-ls让你的文件列表秒变可视化界面

告别单调命令行&#xff01;logo-ls让你的文件列表秒变可视化界面 【免费下载链接】logo-ls Modern ls command with vscode like File Icon and Git Integrations. Written in Golang 项目地址: https://gitcode.com/gh_mirrors/lo/logo-ls 你是否厌倦了命令行中单调乏…

作者头像 李华
网站建设 2026/7/14 15:53:43

Corosync配置文件详解:3个关键参数优化集群性能

Corosync配置文件详解&#xff1a;3个关键参数优化集群性能 【免费下载链接】corosync The Corosync Cluster Engine 项目地址: https://gitcode.com/gh_mirrors/co/corosync Corosync Cluster Engine 是一款高性能的集群通信引擎&#xff0c;广泛应用于构建高可用集群环…

作者头像 李华