1. Creating a Micronaut Application & Getting Started with GitHub Actions
2. Building & Publishing a JAR
3. Running Tests and Publishing Test Reports
4. Deploying a Microservice to the Oracle Cloud with GitHub Actions and the OCI CLI
5. Deploying a Microservice to the Oracle Cloud with GitHub Actions and the OCI Gradle Plugin
6. Adding a Persistence Tier to the Microservice
7. Testing the Persistence Tier with Testcontainers
8. Deploying the Microservice with a Tested Persistence Tier in Place
9. Deploying the Microservice as a Docker Container
10. Deploying the Microservice Docker Container to Kubernetes.
Todd Sharp is a software/web developer advocate for Oracle focusing on Oracle Cloud. He works with Micronaut and other Java frameworks to build, test and deploy microservices, web services and other web applications. He has worked with dynamic Java scripting languages, JVMs and various JavaScript frameworks for more than 14 years, originally with ColdFusion and more recently with Java/Groovy/Grails on the server side.
The microservice architecture has been adopted by many developer teams around the world. To be successful, it's crucial that you understand how to program a microservice and get it running in the cloud. This book will walk you through the process of how to build, test, and deploy a Java-based Micronaut microservice to the Oracle Cloud with GitHub Actions.
You'll learn how to create a Virtual Machine (with both the Oracle Cloud Infrastructure (OCI) CLI and the OCI Gradle Plugin), as well as create and deploy the microservice as a Docker container that can be stored in Oracle Container Infrastructure Registry (OCIR) and deployed to an Oracle Kubernetes Engine (OKE) cluster. The microservice will use Micronaut Data for persistence, Testcontainers for testing, and Liquibase to manage your Oracle DB production schema.
After reading or using this book, you'll be able to build, test and deploy your first microservices using the Micronaut framework, Oracle Cloud and more.
You will:
Build and deploy Java-based microservices using Micronaut and Oracle Cloud
Run tests and publishing reports
Deploy to Oracle Cloud using OCI CLI and the OCI Gradle plug-in