Thomas Schuehly IT Consulting

Software Developer [email protected]

Creating a JPA style CrudRepository using Microstream

MicroStream is a Java native persistence layer that gives you blazingly fast access times. When migrating from JPA we want to have the ability to implment CrudRepository style
Read more →

Secure your Spring Boot Acturator Endpoints and configure Prometheus with Basic Authentication

After setting up your Prometheus it might not work, if you enable debug logs you see that prometheus cannot scrape the actuator logs. To fix this we need to configure your Spring App and Prometheus with Basic Authentication
Read more →

How to publish a Kotlin/Java Spring Boot library with Gradle to Maven Central - Complete Guide

This is an opinionated step-by-step guide on how to publish a Kotlin/Java library with Gradle to Maven Central repository. It assumes that: the project is built with Gradle (look at Maciej Guide if you want to do it with Maven) the project code is hosted on GitHub and GitHub Actions are used to trigger the release It uses JReleaser - I believe this is the simplest and the most straightforward way of signing and uploading artifacts.
Read more →

Toasts with Thymeleaf, HTMX and Spring Boot

In this example I will show you how to create toasts that you can define on your server and return as HTMX Response
Read more →

Local development with Testcontainers, Kotlin and Spring Boot

It is always the best to keep your development environment as close as you can to your production environment. Don’t use a h2 database as it can behave differently to a production database.
Read more →