
TestContainers is a great project for integration tests, mocking, and even for Chaos Engineering. Scala TestContainers is the library in the form of idiomatic-scala with some sugar to make it even easier to use it. I want to show you guys how we can use Scala Test Containers in an SBT 1.5.0 Project using Scala Spec in order to test as MySQL docker container. So let’s get started!
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on October 29, 2021.

Go lang is a cool language to build services. Several DevOps and Infrastructure solutions are built-in go such as Vault, Terraform, Kubernetes, ToxiProxy, Chaos Monkey(CHAP), and many others. Go-Zero is a framework built-in Go that helps us to code microservices in Go. Go-Zero is endorsed by the CNCF foundation. Today I want to share with you a video and POC demonstrating how easy to get started with Go-Zero-based microservices written in Go.
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on October 29, 2021.

Sometimes applications need to interact with the underlying OS, even with Bash and Process. JVM has a native implementation for Process, in Linux, there are system calls that are invoked. Today I want to show how easy to make Java and bash to talk to each other. This kind of technique can be used for all sorts of DevOps Engineering solutions or automation. So Let’s get started!
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on October 29, 2021.

The lazy Loading pattern is very interesting because allows us to make the code starter and also delays expensive computations to an appropriate moment. There is a way to combine this pattern with Java 8 Functional Interfaces and make it even more interesting and java idiomatic. This pattern is used by Spring and Hibernate. You can use it too. So today I have a video and some POC code. Let’s get started!
The Video
The Code
Cheers,
Diego Pacheco
Originally published at http://diego-pacheco.blogspot.com on October 29, 2021.