Migrating From Junit4 to Junit5

In 2019, I gave a talk at Netcentric Summit about Junit5 migration and its advantages. You can check the content here: Video: Netcentric | JUnit 5, mockito 2 and AEM Mocks, is it true for you? Blog post: JUnit 5: leveraging new features for testing After 3 years, I wanted to revisit the procedure to migrate from junit4 to junit5, so let’s do it! The result was this PR....

June 20, 2022 · 3 min · Tomás Dias Almeida

My summary about AWS queues

I was doubting about writing this post because AWS is evolving really fast and this post will be probably old very fast. So, I am adding the AWS documentation, so, please take your time to check the official documentation to confirm my findings (and if possible, write me a message so I can update it if needed). SQS AWS SQS is a simple 1:1 queue, so it delivers messages from A to B....

May 29, 2022 · 3 min · Tomás Dias Almeida

Creating an archetype from an existing project

If you are creating a cloud of microservices or are in an environment where you have to generate multiple maven projects or modules, it is very useful to create archetypes to handle these new modules/projects creation. What is an archetype? A Maven archetype is a templated project. Maven offers several archetypes that allow you to create new maven modules ready to run in few seconds. How to use a generic archetype?...

May 29, 2021 · 6 min · Tomás Dias Almeida

Introducing myself to Kubernetes

I am starting my journey with kubernetes (k8s) and I want to share the tutorials and blog posts that I read. In that way I can find them easily too 😬. Kubernetes basics: A Beginner’s Guide to Kubernetes: a very complete guide about the kubernetes basics and how they work internally. An introduction to Kubernetes.: defines kubernetes, pod, deployment, service, ingress, job, kubernetes control plane and when to NOT use k8s....

April 2, 2021 · 1 min · Tomás Dias Almeida

Debugging AEM: java code in IntelliJ

When you are working on Adobe AEM, you usually have to debug some sling or OSGi classes to understand what is happening “behind the scene”. IntelliJ allows you to download source code and attach it to IntelliJ, but sometimes you cannot do it (you do not have internet access, your vpn to your nexus is down, etc…). This trick allows you to import the jar bundles into IntelliJ and debug them without downloading the sources!...

January 31, 2021 · 2 min · Tomás Dias Almeida