Accessing the source code
The source code for this book can be found in the GitHub repository: https://github.com/PacktPublishing/Microservices-with-Spring-Boot-and-Spring-Cloud-Third-Edition.
To be able to run the commands that are described in this book, download the source code to a folder and set up an environment variable, $BOOK_HOME
, that points to that folder.
Sample commands are as follows:
export BOOK_HOME=~/Documents/Microservices-with-Spring-Boot-and-Spring-Cloud-Third-Edition
git clone https://github.com/PacktPublishing/Microservices-with-Spring-Boot-and-Spring-Cloud-Third-Edition.git $BOOK_HOME
The Java source code is written for Java SE 8 and uses a Java SE 17 JRE when executed in Docker containers. The following versions of Spring are used:
- Spring Framework: 6.0.6
- Spring Boot: 3.0.4
- Spring Cloud: 2022.0.1
The code examples in each chapter all come from the source code in $BOOK_HOME/ChapterNN
, where NN
is the number...