Skip to content

adesr/Hands-On-Microservices-with-Spring-Boot-and-Spring-Cloud

 
 

Repository files navigation

$5 Tech Unlocked 2021!

If you have read this book, please leave a review on Amazon.com. Potential readers can then use your unbiased opinion to help them make purchase decisions. Thank you. The $5 campaign runs from December 15th 2020 to January 13th 2021.

Hands-On Microservices with Spring Boot and Spring Cloud

Hands-On Microservices with Spring Boot and Spring Cloud

This is the code repository for Hands-On Microservices with Spring Boot and Spring Cloud , published by Packt.

Build and deploy Java microservices using Spring Cloud, Istio, and Kubernetes

What is this book about?

Microservices architecture allows developers to build and maintain applications with ease, and enterprises are rapidly adopting it to build software using Spring Boot as their default framework. With this book, you’ll learn how to efficiently build and deploy microservices using Spring Boot.

This book covers the following exciting features:

  • Build reactive microservices using Spring Boot
  • Develop resilient and scalable microservices using Spring Cloud
  • Use OAuth 2.0/OIDC and Spring Security to protect public APIs
  • Implement Docker to bridge the gap between development, testing, and production
  • Deploy and manage microservices using Kubernetes
  • Apply Istio for improved security, observability, and traffic management

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

management.endpoint.health.show-details: "ALWAYS"
management.endpoints.web.exposure.include: "*"

logging.level.root: info

Following is what you need for this book: This book is for Java and Spring developers and architects who want to learn how to break up their existing monoliths into microservices and deploy them either on-premises or in the cloud using Kubernetes as a container orchestrator and Istio as a service Mesh. No familiarity with microservices architecture is required to get started with this book.

With the following software and hardware list you can run all code files present in the book (Chapter03-20).

Software and Hardware List

No. Software required OS required
1 Spring Windows, macOS, Linux
2 Docker CE Windows, macOS, Linux, see supported platforms

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 5 (Contributors): My college Erik Lupander should be My colleague Erik Lupander

  • Page 14 (Paragraph 1, line 2): that we were not exposed should be that we were not exposed to

  • Page 40 (Paragraph 3, line 1): When the Spring Framework was released in v1.0 back in 2004, it was released in order to fix the overly complex… should be The Spring Framework v1.0 was released back in 2004 to fix the overly complex…

  • Page 102 (Last paragraph, line 2): Once the CoreOS server has started running in its container you can, for example, ask what version of CoreOS that it runs with the cat /etc/redhat-release command. should be Once the CoreOS server has started running in its container, you can, for example, ask what version of CoreOS it is running using the cat /etc/redhat-release command.

  • Page 370 (Adding programmable delays and random errors section) faultPercentage: Causes the getProduct API on the product microservice... should be faultPercent: Causes the getProduct API on the product microservice to..

  • Page 370 (Changes in the API definitions section) The two query parameters that we introduced previously, delay and faultPercentage, have been defined in the api project in the following two Java interfaces... should be The two query parameters that we introduced previously, delay and faultPercent, have been defined in the api project in the following two Java interfaces...

Source code changes

Related products

Get to Know the Author

Magnus Larsson has been in the IT industry for more than 30 years, working as a consultant for large companies in Sweden such as Volvo, Ericsson, and AstraZeneca. He has seen a lot of different communication technologies come and go over the years, such as RPC, CORBA, SOAP, and REST. In the past, he struggled with the challenges associated with distributed systems as there was no substantial help from the software available at that time. This has, however, changed dramatically over the last few years with the introduction of open source projects such as Spring Cloud, Netflix OSS, Docker, and Kubernetes. Over the last five years, Magnus has been helping customers use these new software technologies and has also done several presentations and blog posts on the subject.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Hands-On Microservices with Spring Boot and Spring Cloud, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 90.0%
  • Shell 9.5%
  • Dockerfile 0.5%