Spring Cloud Angel.SR3 发布

Tags: java spring

Spring Cloud 为开发者提供了在分布式系统(如配置管理、服务发现、断路器、智能路由、微代理、控制总线、一次性 Token、全局锁、决策竞选、分布式会话和集群状态)操作的开发工具。使用 Spring Cloud 开发者可以快速实现上述这些模式。

Spring Cloud 服务 Angel.SR3 发布,此版本大部分组件是 1.0.2.RELEASE,但是 spring-cloud-netflix 是 1.0.3.RELEASE。还有 starters 和 cli 是 1.0.3.RELEASE。

Angel.SR3 是 Angel.SR2 (常规来说是 1.0.2) 的 bug 修复版本,主要改进如下:

  • Support for slashes in git labels (via a special character sequence in the HTTP resource paths)

  • Optional git initialization on Config Server startup

  • Additional options for config clients to handle decryption themselves, including the ability to decrypt properties in        bootstrap.yml.

  • Additional cryptography configuration options for new RSA and AES algorithms

  • A strategy for key rotation with a        TextEncryptorLocatorstrategy that users can implement to look up keys dynamically.

Maven,使用父 POM:

<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-statrer-parent</artifactId>
<version>Angel.SR3</version></parent><dependencies>
<dependency>
  <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
...</dependencies>

 

BOM (仅仅是依赖管理):

<dependencyManagement>
<dependencies>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-parent</artifactId>
  <version>Angel.SR3</version>
  <type>pom</type>
  <scope>import</scope>
</dependencies></dependencyManagement><dependencies>
<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
...</dependencies>

 

gradle:

buildscript {
dependencies {
  classpath "io.spring.gradle:dependency-management-plugin:0.4.0.RELEASE"
}}apply plugin: "io.spring.dependency-management"dependencyManagement {
imports {
  mavenBom 'org.springframework.cloud:spring-cloud:Angel.SR3'
}}dependencies {
  compile 'org.springframework.cloud:spring-cloud-starter-config'
  compile 'org.springframework.cloud:spring-cloud-starter-eureka'
  ...}

 

更多内容请看    发行说明

本文链接:http://www.4byte.cn/learning/119876/spring-cloud-angel-sr3-fa-bu.html