领先一步
VMware 提供培训和认证,以加速您的进步。
了解更多我代表社区很高兴地宣布,Spring Cloud Finchley 发布列车的 Release Candidate 1 (RC1) 版本今天已发布。该版本可以在 Spring Milestone 存储库中找到。您可以查看 Finchley 的 发行说明以获取更多信息。
Finchley.RC1 基于 Spring Boot 2.0.1。
ServiceInstance
对象进行评估。例如,spring.cloud.gateway.discovery.locator.include-expression=metadata['edge'] == 'true'
将测试 metadata
映射是否包含一个键 edge
,其值为 true
。以下模块已在 Finchley.RC1 中更新
模块 | 版本 |
---|---|
Spring Cloud Task | 2.0.0.RC1 |
Spring Cloud Config | 2.0.0.RC1 |
Spring Cloud Bus | 2.0.0.RC1 |
Spring Cloud Netflix | 2.0.0.RC1 |
Spring Cloud Cloud Foundry | 2.0.0.RC1 |
Spring Cloud Security | 2.0.0.RC1 |
Spring Cloud Build | 2.0.0.RELEASE |
Spring Cloud Contract | 2.0.0.RC1 |
Spring Cloud Consul | 2.0.0.RC1 |
Spring Cloud Gateway | 2.0.0.RC1 |
Spring Cloud Zookeeper | 2.0.0.RC1 |
Spring Cloud Stream | Elmhurst.RELEASE |
Spring Cloud Sleuth | 2.0.0.RC1 |
Spring Cloud Aws | 2.0.0.RC1 |
Spring Boot | 2.0.1.RELEASE |
Spring Cloud OpenFeign | 2.0.0.RC1 |
Spring Cloud Vault | 2.0.0.RC1 |
Spring Cloud Commons | 2.0.0.RC1 |
与往常一样,我们欢迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要使用 Maven 和 BOM(仅依赖管理)开始
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.RC1</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.2.RELEASE"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.RC1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}