Extending, Securing, and Dockerizing Spring Boot Microservices

Extending, Securing, and Dockerizing Spring Boot Microservices

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 12m | 406 MB

Build on the foundational knowledge you have of the Spring framework. Learn how to extend, refine, harden, test, and “dockerize” your Spring Boot microservices, and turn them into production-ready applications. Instructor Mary Ellen Bowman teaches the intermediate skills you need to build professional-grade programs, emphasizing standards for quality, security, persistence, and deployment. She shows how to link to external databases, build secure APIs, use unit and integration testing to uncover application flaws during development, and configure scalable deployment options with Docker containers.

Topics include:

  • Enhancing a Spring Boot microservice
  • Hardening the microservice
  • Configuring security with JSON web tokens
  • Leveraging Docker for MySQL database access
  • Dockerizing your microservice
Table of Contents

Introduction
1 Elevate a microservice
2 What you should know

Enhancing a Spring Boot Microservice
3 Reviewing the original Spring Boot microservice
4 Running the microservice
5 Define the schema and default data
6 Identify transactional business services boundaries
7 Leveraging Spring HATEOAS
8 Decorate paging APIs with HATEOAS links

Hardening the Microservice
9 Adding a runtime logger
10 Unit testing with Mockito vs. integration testing
11 RESTful API testing with JUnit
12 Documenting APIs with Swagger

Spring Security with JSON Web Tokens JWT
13 Users and roles
14 Spring Security authentication
15 Password encryption
16 Understanding JWT
17 Configuring Spring Security for JWT for authorization
18 Securing APIs

Leveraging Docker for MySQL Database Access
19 What is Docker
20 Running the application with MySQL container
21 Database migration with Flyway
22 Selecting Spring profiles at runtime

Dockerizing Your Microservice
23 Create and run a Java application Docker image
24 Link the Java application and database Docker containers
25 Separate application image from database migration
26 Leverage a Docker Maven plugin
27 Sharing images with Docker hub

Conclusion
28 Next steps