How to run GitHub Actions locally

GitHub Actions, a powerful tool provided by GitHub, enables developers to automate their workflows directly within their repositories. Whether it’s continuous integration (CI), continuous deployment (CD), or any other custom automation task, GitHub Actions simplifies the process. In this article we will learn how to test your GitHub Actions locally with the act CLI tool.

Read more

Monitoring File System Events with Java.nio.file.WatchService

The java.nio.file package provides the WatchService API for monitoring changes to the file system. This tutorial will guide you through using WatchService to detect events like file creation, modification, and deletion.

Prerequisites:

  • Basic understanding of Java programming
  • Familiarity with working with files and directories

Read more

How to dump HTTP requests in Keycloak?

Understanding the HTTP requests flow through your Keycloak server can be helpful for debugging purposes and analyzing user interactions. This article will teach you how you can dump incoming HTTP requests in Keycloak distribution powered by Quarkus.

Read more

Using SAML with Keycloak

In this tutorial, we’ll explore how to integrate SAML (Security Assertion Markup Language) with Keycloak. SAML 2.0 is a widely-used authentication protocol that exchanges XML documents between authentication servers and applications. In this article we will create a Keycloak SAML Client and then we will provision a WildFly Application Server which will be able to … Read more

How to set the Max Log size in WildFly

This article will teach you which are the strategies to configure a maximum size of your logs in WildFly by using some of the available Log handlers. We will learn how to define the maximum log size both with the Command Line and the XML configuration.

Read more

How to use a Datasource in Quarkus

This article will teach you how to use a plain Datasource resource in a Quarkus application. We will create a simple REST Endpoint and inject a Datasource in it to extract the java.sql.Connection object. We will also learn how to configure the Datasource pool size.

Read more

Docker-compose: ports vs expose explained

Docker-compose allows you to access container ports in two different ways: using “ports” and “expose:”. In this tutorial we will learn what is the difference between “ports” and “expose:” providing clear examples.

Read more

How to skip the sudo password in Ansible Playbooks

Skipping the need to enter the sudo password when running Ansible playbooks that contain the become command can be convenient, especially in automated or repetitive tasks. However, it’s important to exercise caution when doing so, as it may compromise security if not handled properly. Here’s a step-by-step tutorial on how to achieve this.

Read more

WildFly Glow: Next-Gen Evolution in Provisioning

In the ever-evolving landscape of application provisioning, WildFly project introduces a groundbreaking provisioning tooling: WildFly Glow. An advanced successor to WildFly Galleon, WildFly Glow automatically combines the Galleon Feature-packs and Layers that your application needs! Let’s dive into the features and capabilities of WildFly Glow.