Cloud Native Microservice with MicroProfile


To use these guides you need these pre-requisites:

Tools installed:

  1. A Java 8 or later JDK e.g. OpenJDK
  2. Apache Maven 3.5.4 or later. Older versions may not work.
  3. A Git client
  4. An editor with Java support (e.g. Eclipse, VS Code, IntelliJ)
  5. Docker & Kubernetes:
  6. Download latest stable Istio release not a Pre-release:

Tutorial Source:

Clone tutorial-microprofile project and build to prepopulate your local .m2 repo and Docker cache.

git clone https://github.com/OpenLiberty/tutorial-microprofile.git
cd tutorial-microprofile
mvn install
docker build -t prime:mym2 .

Openshift requirements:

  1. Sign up for a Red Hat OpenShift Online account. There are two options:
    • Starter free trial is perfect for individual experimentation, with limited resources.
    • The Pro plan includes more resources and has a monthly fee.
  2. OpenShift CLI: You need the OpenShift command-line tool oc to interact with your Kubernetes cluster. For installation instructions, refer to the official OpenShift Online documentation.

Keep in mind that the account creation time depends on resource availability, please register early and allow time for any delays.