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> <relativePath>..</relativePath>
</parent> </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> <dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
<version>${version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId> <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>
<dependency> <dependency>
@ -39,12 +48,10 @@
<dependency> <dependency>
<groupId>javax.validation</groupId> <groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId> <artifactId>validation-api</artifactId>
<version>2.0.0.Final</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.projectreactor.ipc</groupId> <groupId>io.projectreactor.ipc</groupId>
<artifactId>reactor-netty</artifactId> <artifactId>reactor-netty</artifactId>
<version>0.7.0.M1</version>
</dependency> </dependency>
</dependencies> </dependencies>
@ -70,8 +77,9 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> <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> <spring-boot-maven-plugin.version>2.0.0.RELEASE</spring-boot-maven-plugin.version>
<version>2.0.0.M6</version> <version>2.0.0.RELEASE</version>
<cloud.version>2.0.0.RC2</cloud.version>
</properties> </properties>
</project> </project>

View File

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

View File

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