diff --git a/02-build-a-simple-spring-boot-microservice/README.md b/02-build-a-simple-spring-boot-microservice/README.md index 4c039fa..fda3869 100644 --- a/02-build-a-simple-spring-boot-microservice/README.md +++ b/02-build-a-simple-spring-boot-microservice/README.md @@ -17,10 +17,10 @@ A typical way to create Spring Boot applications is to use the Spring Initializr In an __empty__ directory execute the curl command line below: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web -d baseDir=simple-microservice -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web -d baseDir=simple-microservice -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` -> We force the Spring Boot version to be 3.1.3, and keep default settings that use the `com.example.demo` package. +> We force the Spring Boot version to be 3.3.2, and keep default settings that use the `com.example.demo` package. ## Add a new Spring MVC Controller @@ -130,7 +130,7 @@ If you need to check your code, the final project is available in the ["simple-m Here is the final script to build and deploy everything that was done in this guide: ``` -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web -d baseDir=simple-microservice -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web -d baseDir=simple-microservice -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - cd simple-microservice cat > HelloController.java << EOF package com.example.demo; diff --git a/02-build-a-simple-spring-boot-microservice/simple-microservice/pom.xml b/02-build-a-simple-spring-boot-microservice/simple-microservice/pom.xml index fb2726b..eaed5a8 100644 --- a/02-build-a-simple-spring-boot-microservice/simple-microservice/pom.xml +++ b/02-build-a-simple-spring-boot-microservice/simple-microservice/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/05-build-a-spring-boot-microservice-using-spring-cloud-features/README.md b/05-build-a-spring-boot-microservice-using-spring-cloud-features/README.md index d63fecc..37e668f 100644 --- a/05-build-a-spring-boot-microservice-using-spring-cloud-features/README.md +++ b/05-build-a-spring-boot-microservice-using-spring-cloud-features/README.md @@ -23,7 +23,7 @@ The microservice that we create in this guide is [available here](spring-cloud-m To create our microservice, we will invoke the Spring Initalizer service from the command line: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web,cloud-eureka,cloud-config-client -d baseDir=spring-cloud-microservice -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web,cloud-eureka,cloud-config-client -d baseDir=spring-cloud-microservice -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` > This time, we add the `Eureka Discovery Client` and the `Config Client` Spring Boot starters, which will respectively automatically trigger the use of Spring Cloud Service Registry and the Spring Cloud Config Server. diff --git a/05-build-a-spring-boot-microservice-using-spring-cloud-features/spring-cloud-microservice/pom.xml b/05-build-a-spring-boot-microservice-using-spring-cloud-features/spring-cloud-microservice/pom.xml index b5edde0..4bd8a2d 100644 --- a/05-build-a-spring-boot-microservice-using-spring-cloud-features/spring-cloud-microservice/pom.xml +++ b/05-build-a-spring-boot-microservice-using-spring-cloud-features/spring-cloud-microservice/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/README.md b/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/README.md index b07ee29..21283fc 100644 --- a/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/README.md +++ b/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/README.md @@ -38,7 +38,7 @@ The microservice that we create in this guide is [available here](city-service/) To create our microservice, we will invoke the Spring Initalizr service from the command line: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=webflux,cloud-eureka,cloud-config-client -d baseDir=city-service -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=webflux,cloud-eureka,cloud-config-client -d baseDir=city-service -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` > We use the `Spring WebFlux`, `Eureka Discovery Client` and the `Config Client` Spring Boot starters. diff --git a/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/city-service/pom.xml b/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/city-service/pom.xml index 1c3b368..cd0fe28 100644 --- a/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/city-service/pom.xml +++ b/06-build-a-reactive-spring-boot-microservice-using-cosmosdb/city-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/07-build-a-spring-boot-microservice-using-mysql/README.md b/07-build-a-spring-boot-microservice-using-mysql/README.md index 5f31e91..deb04bc 100644 --- a/07-build-a-spring-boot-microservice-using-mysql/README.md +++ b/07-build-a-spring-boot-microservice-using-mysql/README.md @@ -107,7 +107,7 @@ Now that we've provisioned the Azure Spring Apps instance and configured the Ser To create our microservice, we will invoke the Spring Initalizr service from the command line: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web,data-jpa,mysql,cloud-eureka,cloud-config-client -d baseDir=weather-service -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=web,data-jpa,mysql,cloud-eureka,cloud-config-client -d baseDir=weather-service -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` > We use the `Spring Web`, `Spring Data JPA`, `MySQL Driver`, `Eureka Discovery Client` and the `Config Client` components. diff --git a/07-build-a-spring-boot-microservice-using-mysql/weather-service/pom.xml b/07-build-a-spring-boot-microservice-using-mysql/weather-service/pom.xml index 7076adb..c5d1e48 100644 --- a/07-build-a-spring-boot-microservice-using-mysql/weather-service/pom.xml +++ b/07-build-a-spring-boot-microservice-using-mysql/weather-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/08-build-a-spring-cloud-gateway/README.md b/08-build-a-spring-cloud-gateway/README.md index 47e98e9..e771f84 100644 --- a/08-build-a-spring-cloud-gateway/README.md +++ b/08-build-a-spring-cloud-gateway/README.md @@ -13,10 +13,10 @@ The application that we create in this guide is [available here](gateway/). To create our gateway, we will invoke the Spring Initalizr service from the command line: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=cloud-gateway,cloud-eureka,cloud-config-client -d baseDir=gateway -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=cloud-gateway-reactive,cloud-eureka,cloud-config-client -d baseDir=gateway -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` -> We use the `Cloud Gateway`, `Eureka Discovery Client` and the `Config Client` components. +> We use the `Cloud Gateway Reactive`, `Eureka Discovery Client` and the `Config Client` components. ## Configure the application diff --git a/08-build-a-spring-cloud-gateway/gateway/pom.xml b/08-build-a-spring-cloud-gateway/gateway/pom.xml index 3e7c19f..14bcf8a 100644 --- a/08-build-a-spring-cloud-gateway/gateway/pom.xml +++ b/08-build-a-spring-cloud-gateway/gateway/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/10-blue-green-deployment/weather-service/pom.xml b/10-blue-green-deployment/weather-service/pom.xml index 7076adb..c5d1e48 100644 --- a/10-blue-green-deployment/weather-service/pom.xml +++ b/10-blue-green-deployment/weather-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/12-making-microservices-talk-to-each-other/README.md b/12-making-microservices-talk-to-each-other/README.md index 899415a..6a5ec24 100644 --- a/12-making-microservices-talk-to-each-other/README.md +++ b/12-making-microservices-talk-to-each-other/README.md @@ -19,7 +19,7 @@ Note how the code we create in this section is endpoint-agnostic. All we specify To create our microservice, we will invoke the Spring Initializr service from the command line: ```bash -curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=cloud-feign,web,cloud-eureka,cloud-config-client -d baseDir=all-cities-weather-service -d bootVersion=3.1.3 -d javaVersion=17 | tar -xzvf - +curl https://start.spring.io/starter.tgz -d type=maven-project -d dependencies=cloud-feign,web,cloud-eureka,cloud-config-client -d baseDir=all-cities-weather-service -d bootVersion=3.3.2 -d javaVersion=17 | tar -xzvf - ``` ## Add Spring code to call other microservices diff --git a/12-making-microservices-talk-to-each-other/all-cities-weather-service/pom.xml b/12-making-microservices-talk-to-each-other/all-cities-weather-service/pom.xml index a40bf0a..68f4ab2 100644 --- a/12-making-microservices-talk-to-each-other/all-cities-weather-service/pom.xml +++ b/12-making-microservices-talk-to-each-other/all-cities-weather-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example diff --git a/13-build-a-spring-ai-microservice-with-azure-openai/ai-weather-service/pom.xml b/13-build-a-spring-ai-microservice-with-azure-openai/ai-weather-service/pom.xml index 3f1ad6a..54e80c6 100644 --- a/13-build-a-spring-ai-microservice-with-azure-openai/ai-weather-service/pom.xml +++ b/13-build-a-spring-ai-microservice-with-azure-openai/ai-weather-service/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.3 + 3.3.2 com.example