Spring Cloud Greenwich.SR2 发布

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Spring Cloud Greenwich.SR2 已发布,可在 Maven Central 中获取。更新情况如下: Spring Cloud Gateway Reactor 和 Reactor Netty 包含了许多更新和修复。当启用重试或使用 Read Body Predicate 时,Gateway 还可...

Spring Cloud Greenwich.SR2 已发布,可在 Maven Central 中获取。更新情况如下:

Spring Cloud Gateway

Reactor 和 Reactor Netty 包含了许多更新和修复。当启用重试或使用 Read Body Predicate 时,Gateway 还可以有效地缓存请求主体。

Spring Cloud Config

允许在嵌入模式下运行 Config Server 时使用 Vault。

Spring Cloud Openfeign

添加对 Spring HATEOAS 资源的支持。

Spring Cloud Contract

Gradle 插件现已发布。

以下模块作为 Greenwich.SR2 的一部分进行了更新:

MODULE VERSION ISSUES
Spring Cloud Task 2.1.2.RELEASE  
Spring Cloud Config 2.1.3.RELEASE (issues)
Spring Cloud Stream Fishtown.SR3 (issues)
Spring Cloud Sleuth 2.1.2.RELEASE (issues)
Spring Cloud Commons 2.1.2.RELEASE (issues)
Spring Cloud Openfeign 2.1.2.RELEASE (issues)
Spring Cloud Kubernetes 1.0.2.RELEASE (issues)
Spring Cloud Aws 2.1.2.RELEASE  
Spring Cloud Vault 2.1.2.RELEASE  
Spring Cloud Function 2.0.2.RELEASE (issues)
Spring Cloud Bus 2.1.2.RELEASE (issues)
Spring Cloud Build 2.1.6.RELEASE  
Spring Cloud Zookeeper 2.1.2.RELEASE  
Spring Cloud Gcp 1.1.2.RELEASE  
Spring Cloud Contract 2.1.2.RELEASE (issues)
Spring Cloud Consul 2.1.2.RELEASE (issues)
Spring Cloud Security 2.1.3.RELEASE  
Spring Cloud Gateway 2.1.2.RELEASE (issues)
Spring Cloud Cloudfoundry 2.1.2.RELEASE  
Spring Cloud Netflix 2.1.2.RELEASE (issues)

发布公告

使用

通过附带有 BOM 的 Maven 开始使用:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Greenwich.SR2</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </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-netflix-eureka-client</artifactId>
    </dependency>
    ...
</dependencies>

Gradle

buildscript {
    dependencies {
        classpath "io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE"
    }
}



apply plugin: "io.spring.dependency-management"

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.SR2'
    }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

读屏时代

读屏时代

(美)Naomi S. Baron(内奥米·S.巴伦) / 庞洋 / 电子工业出版社 / 2016-7 / 55.00

书中作者探讨了技术如何重塑人们对阅读的定义。数字阅读越来越受欢迎,更便利、节约成本、并把免费书籍提供给全世界的读者。但是,作者也指出其弊处在于读者很容易被设备上的其他诱惑分心、经常走马观花而非深入阅读。更重要的是,人们阅读方式的变化会影响了作者的写作方式。为了迎合人们阅读习惯的转变,许多作家和出版商的作品越来越短小和碎片化,或者更青睐无需思考和细读的作品。作者比较了纸质阅读和在线阅读的重要性,包括......一起来看看 《读屏时代》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

html转js在线工具
html转js在线工具

html转js在线工具