Build on your foundational knowledge of Spring. Learn how to extend, secure, and "dockerize" Spring Boot microservices, and turn them into production-ready applications.
Overview
Syllabus
Introduction
- Elevate a microservice
- What you should know
- Reviewing the Original Spring Boot microservice
- Running the microservice
- Define the schema and default data
- Identify transactional business services boundaries
- Adding a runtime logger
- Unit testing with Mockito vs. integration testing
- Restful API testing with JUnit
- Documenting APIs with Swagger
- Users and roles
- Spring Security authentication
- Password encryption
- Understanding JWT
- Configuring Spring Security for JWT for authorization
- Securing APIs
- What is Docker?
- Running the application with MySQL container
- Database migration with Flyway
- Selecting Spring profiles at runtime
- Create and run a Java application Docker image
- Link the Java application and database Docker containers
- Separate application image from database migration
- Leverage a Docker Maven plugin
- Sharing images with Docker hub
- Next steps
Taught by
Mary Ellen Bowman