From 561772ac8eddf65d13b02fd6380f498820a2e9a1 Mon Sep 17 00:00:00 2001 From: Rany Albeg Wein Date: Thu, 25 Apr 2024 13:19:01 +0300 Subject: [PATCH 1/2] Update README.adoc Update dependencies in Spring Initializr URL from 'cloud-gateway' to 'cloud-gateway-reactive' to support the RouteLocator demonstrated in the code. --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 8df5158..c014ef5 100644 --- a/README.adoc +++ b/README.adoc @@ -19,7 +19,7 @@ include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/ [[scratch]] == Starting with Spring Initializr -You can use this https://start.spring.io/#!type=maven-project&language=java&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=gateway&name=gateway&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.gateway&dependencies=cloud-gateway,cloud-resilience4j,cloud-contract-stub-runner[pre-initialized project] and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial. +You can use this https://start.spring.io/#!type=maven-project&language=java&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=gateway&name=gateway&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.gateway&dependencies=cloud-gateway-reactive,cloud-resilience4j,cloud-contract-stub-runner[pre-initialized project] and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial. To manually initialize the project: From c5d0ff606db156fec7a0f9edf4c888f1c64e747d Mon Sep 17 00:00:00 2001 From: Rany Albeg Wein Date: Tue, 7 May 2024 21:08:21 +0300 Subject: [PATCH 2/2] Update README.adoc Modified instructions to include Reactive Gateway as one of the dependencies instead of Gateway. Removed jvmVersion=11 to let Initializr auto-select JDK --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index c014ef5..bbf224a 100644 --- a/README.adoc +++ b/README.adoc @@ -19,14 +19,14 @@ include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/ [[scratch]] == Starting with Spring Initializr -You can use this https://start.spring.io/#!type=maven-project&language=java&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=gateway&name=gateway&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.gateway&dependencies=cloud-gateway-reactive,cloud-resilience4j,cloud-contract-stub-runner[pre-initialized project] and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial. +You can use this https://start.spring.io/#!type=maven-project&language=java&packaging=jar&groupId=com.example&artifactId=gateway&name=gateway&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.gateway&dependencies=cloud-gateway-reactive,cloud-resilience4j,cloud-contract-stub-runner[pre-initialized project] and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial. To manually initialize the project: . Navigate to https://start.spring.io. This service pulls in all the dependencies you need for an application and does most of the setup for you. . Choose either Gradle or Maven and the language you want to use. This guide assumes that you chose Java. -. Click *Dependencies* and select *Gateway*, *Resilience4J*, and *Contract Stub Runner*. +. Click *Dependencies* and select *Reactive Gateway*, *Resilience4J*, and *Contract Stub Runner*. . Click *Generate*. . Download the resulting ZIP file, which is an archive of a web application that is configured with your choices.