Securing Quarkus Backend App with IBM App ID

Introduction This tutorial provides a step-by-step guide on securing a Quarkus backend application using IBM App ID. Configure IBM App ID Login to IBM Cloud and create an App ID instance using the lite (free) plan. Then create an application as a regular web app. Next, create a test user using Cloud Directory -> Users menu. Configure Quarkus First, update Maven pom.xml : <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-oidc</artifactId> </dependency> Next, find the client ID/secret/login URL in IBM App id application details:...

December 30, 2023 · 3 min · Alex Popescu

From Source to Container: Building Efficient Quarkus Docker Images

In this article, we continue the trend from the previous article here and we will explore a few ways of creating a Docker image for a Quarkus app. Minimal install docker file Now with Quarkus, there are two ways of compiling a application: the normal java way and the native way. Quarkus native images and Java application packages have some significant differences. Java application packages contain a compiled bytecode that requires the JVM to run, while Quarkus native images are pre-compiled and optimized for a specific platform (in this example Linux), resulting in a smaller size and faster startup time....

May 5, 2023 · 5 min · Alex Popescu

How to deploy a quarkus rest service in IBM Cloud Code Engine

This is a guide about deploying a Quarkus REST service in IBM Cloud Code Engine Create a simple Quarkus REST service First we create a sample Quarkus maven project : mvn io.quarkus.platform:quarkus-maven-plugin:2.15.3.Final:create \ -DprojectGroupId=org.acme \ -DprojectArtifactId=rest-json-quickstart \ -Dextensions='resteasy-reactive-jackson' \ -DnoCode cd rest-json-quickstart First, let’s create a Fruit domain model : package org.acme.rest.json; public class Fruit { public String name; public String description; public Fruit() { } public Fruit(String name, String description) { this....

January 11, 2023 · 3 min · Alex Popescu