java-cfenv 1.0 GA 版本發布

發布 (Releases) | Mark Pollack | 2019 年 3 月 4 日 | ...

java-cfenv 函式庫是一個用於存取 Cloud Foundry 服務的新函式庫。 對於 Spring Boot 使用者,它可以從 VCAP_SERVICES 環境變數中提取服務憑證,並設定眾所周知的 Spring Boot 自動設定屬性。

您可以在1.0 M1 發布部落格以及README中找到更多相關資訊。

在此版本中,支援以下 Cloud Foundry 服務

  • 資料庫 (Databases) - DB2、MySQL、Oracle、Postgresql、SqlServer

  • RabbitMQ

  • Cassandra

  • MongoDB

  • Redis

  • Pivotal Single Sign On

值得注意的是,有一個新的介面 CfEnvProcessor,簡化了您需要編寫的內容,以便與其他 Cloud Foundry 服務提供整合。關於支援其他服務的文件中有詳細資訊。

1.0 版本可透過以下依賴在 Maven Central 中取得

<dependency>
  <groupId>io.pivotal.cfenv</groupId>
  <artifactId>java-cfenv-boot</artifactId>
  <version>1.0.0.RELEASE</version>
</dependency>

我們將很快發布 1.0.1.RELEASE 以修正使用 Pivotal Spring Cloud Services tile 時,在組態伺服器用戶端組態中的問題。

感謝 Scott FrederickDavid Turanski 的貢獻!

取得 Spring 電子報 (Get the Spring newsletter)

隨時關注 Spring 電子報 (Stay connected with the Spring newsletter)

訂閱 (Subscribe)

搶先一步 (Get ahead)

VMware 提供培訓和認證,以加速您的進展。(VMware offers training and certification to turbo-charge your progress.)

了解更多 (Learn more)

取得支援 (Get support)

Tanzu Spring 在一個簡單的訂閱中提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。(Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.)

了解更多 (Learn more)

即將到來的活動 (Upcoming events)

查看 Spring 社群中所有即將到來的活動。(Check out all the upcoming events in the Spring community.)

檢視全部 (View all)