update cloud gateway to latest milestone

This commit is contained in:
Loredana Crusoveanu 2018-05-31 22:26:30 +03:00
parent 6e94f0343c
commit 74803385cb
3 changed files with 26 additions and 14 deletions

View File

@ -14,21 +14,30 @@
<relativePath>..</relativePath>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-gateway</artifactId>
<version>${cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
<version>${version}</version>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-gateway-core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
@ -39,12 +48,10 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.0.Final</version>
</dependency>
<dependency>
<groupId>io.projectreactor.ipc</groupId>
<artifactId>reactor-netty</artifactId>
<version>0.7.0.M1</version>
</dependency>
</dependencies>
@ -70,8 +77,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
<spring-boot-maven-plugin.version>1.4.2.RELEASE</spring-boot-maven-plugin.version>
<version>2.0.0.M6</version>
<spring-boot-maven-plugin.version>2.0.0.RELEASE</spring-boot-maven-plugin.version>
<version>2.0.0.RELEASE</version>
<cloud.version>2.0.0.RC2</cloud.version>
</properties>
</project>

View File

@ -9,4 +9,5 @@ public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
}

View File

@ -8,6 +8,9 @@ spring:
uri: http://www.baeldung.com
predicates:
- Path=/baeldung
management:
security:
enabled: false
endpoints:
web:
exposure:
include: "*"