How to use environment variables to make a containerized Quarkus application more flexible

When you run a containerized application on a container orchestration platform like Kubernetes, Open Shift or with a serverless framework like Knative or Code Engine or on other platforms, it is helpful to pass endpoints to other applications to the containerized application by using environment variables. When the container will be restarted, these variables can be provided to the container and no adjustment in the source code is necessary. You can use configmaps or in Code Engine simple the environment variable itself.

Getting started to secure a simple Java Microservice with Keycloak, MicroProfile and OpenLiberty

The objective of this blog post is to share with you an extract of a "simple" example project on GitHub I created to get started with: How to access a Java Microservice using the Open Source Identity and Access Management with Keycloak and JavaWebToken (JWT). ‌ In that project I want to ... ... secure … Continue reading Getting started to secure a simple Java Microservice with Keycloak, MicroProfile and OpenLiberty

How to setup the reactive Cloud Native Starter sample application on OpenShift in IBM Cloud

In this blog post I want to point out that I just created a 5 min YouTube video related to the great Hands-on workshop: Reactive Endpoints with Quarkus on OpenShift. In that short video I show the setup of the example application to show reactive programming. The image below shows the major architecture of the … Continue reading How to setup the reactive Cloud Native Starter sample application on OpenShift in IBM Cloud

Write and execute a JUnit test for a Java microservice based on MicroProfile and run both in the OpenLiberty development mode

This blog post has the focus on: how to develop a JUnit test for the Authors microservice from the Cloud Native Starter example and run both the Authors microservice and the JUnit test on OpenLiberty in the development mode. That blog post hasn't the objective to be a blueprint or a 'how to guide' for … Continue reading Write and execute a JUnit test for a Java microservice based on MicroProfile and run both in the OpenLiberty development mode

Run a MicroProfile Microservice on OpenLiberty in a Remote development container in Visual Studio Code

In this blog post I want to show, how to setup a local remote Java development container for Eclipse MicroProfile with OpenLiberty in Visual Studio Code. I did that for the Authors microservice from the Cloud Native Starter project with MicroProfile 3.2, OpenJDK Java 11, and the latest OpenLiberty version. That blog post is structured … Continue reading Run a MicroProfile Microservice on OpenLiberty in a Remote development container in Visual Studio Code