diff --git a/spring-cloud/spring-cloud-gateway/pom.xml b/spring-cloud/spring-cloud-gateway/pom.xml
index 4cc45cc6b3..aa523ec604 100644
--- a/spring-cloud/spring-cloud-gateway/pom.xml
+++ b/spring-cloud/spring-cloud-gateway/pom.xml
@@ -14,21 +14,30 @@
..
+
+
+
+ org.springframework.cloud
+ spring-cloud-gateway
+ ${cloud.version}
+ pom
+ import
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-gateway
+
org.springframework.boot
- spring-boot-actuator
- ${version}
+ spring-boot-starter-actuator
org.springframework.boot
spring-boot-starter-webflux
- ${version}
-
-
- org.springframework.cloud
- spring-cloud-gateway-core
- ${version}
@@ -39,12 +48,10 @@
javax.validation
validation-api
- 2.0.0.Final
io.projectreactor.ipc
reactor-netty
- 0.7.0.M1
@@ -70,8 +77,9 @@
UTF-8
3.7.0
- 1.4.2.RELEASE
- 2.0.0.M6
+ 2.0.0.RELEASE
+ 2.0.0.RELEASE
+ 2.0.0.RC2
diff --git a/spring-cloud/spring-cloud-gateway/src/main/java/com/baeldung/spring/cloud/GatewayApplication.java b/spring-cloud/spring-cloud-gateway/src/main/java/com/baeldung/spring/cloud/GatewayApplication.java
index 4d5f61315f..ba384749df 100644
--- a/spring-cloud/spring-cloud-gateway/src/main/java/com/baeldung/spring/cloud/GatewayApplication.java
+++ b/spring-cloud/spring-cloud-gateway/src/main/java/com/baeldung/spring/cloud/GatewayApplication.java
@@ -9,4 +9,5 @@ public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
+
}
\ No newline at end of file
diff --git a/spring-cloud/spring-cloud-gateway/src/main/resources/application.yml b/spring-cloud/spring-cloud-gateway/src/main/resources/application.yml
index 8b981f8071..2450638e46 100644
--- a/spring-cloud/spring-cloud-gateway/src/main/resources/application.yml
+++ b/spring-cloud/spring-cloud-gateway/src/main/resources/application.yml
@@ -8,6 +8,9 @@ spring:
uri: http://www.baeldung.com
predicates:
- Path=/baeldung
+
management:
- security:
- enabled: false
\ No newline at end of file
+ endpoints:
+ web:
+ exposure:
+ include: "*"