Apress Media LLC, 2022. — 139 p. — ISBN13: 978-1-4842-8289-2.
The microservice architecture has been adopted by many developer teams around the world. To be successful, you must 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.
Building and Publishing a JAR.
Running Tests and Publishing Test Reports.
Deploying a Microservice to Oracle Cloud with GitHub Actions and the OCI CLI.
Deploying a Microservice to Oracle Cloud with GitHub Actions and the OCI Gradle Plugin.
Adding a Persistence Tier to the Microservice.
Testing the Persistence Tier with Test containers.
Deploying the Microservice with a Tested Persistence Tier in Place.
Deploying the Microservice as a Docker Container.
Deploying the Microservice Docker Container to Kubernetes.