fix spring-cloud-gateway project setup, update boot version

This commit is contained in:
Loredana Crusoveanu
2018-02-16 21:35:11 +02:00
parent 4f6988b134
commit 53529f0c50
4 changed files with 55 additions and 85 deletions
@@ -0,0 +1,12 @@
package com.baeldung.spring.cloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
}
@@ -0,0 +1,13 @@
server:
port: 80
spring:
cloud:
gateway:
routes:
- id: baeldung_route
uri: http://www.baeldung.com
predicates:
- Path=/baeldung
management:
security:
enabled: false