How to Create an AWS Continuous Deployment Pipeline Cont’d

In our previous post, we showed how to create an AWS Continuous Deployment Pipeline. This post will continue where we left off. We will enhance the pipeline with a Review stage, a more efficient use of the Maven cache and add notifications to the pipeline.

Continue reading “How to Create an AWS Continuous Deployment Pipeline Cont’d”

How to Create an AWS Continuous Deployment Pipeline

Creating a continuous deployment pipeline will bring us a step closer to an automated build, test, deploy strategy. In order to create such a pipeline, we need to have access to several tools. Instead of installing these on on-premise servers, we can make use of the AWS cloud offer. Let’s see how this can be accomplished!

Continue reading “How to Create an AWS Continuous Deployment Pipeline”

How to Deploy a Spring Cloud Function on AWS Lambda

In this post, we will create a Spring Cloud Function and create some unit tests for it. We will do so by creating a function with Bean definition and with the functional style. At the end, we will deploy the function on AWS Lambda.

Continue reading “How to Deploy a Spring Cloud Function on AWS Lambda”

How to Deploy a Spring Boot App to AWS Elastic Beanstalk

In this post, we are going to explore how we can deploy a simple Spring Boot application to AWS Elastic Beanstalk. We will explain how to setup an AWS account and provide a step-by-step guide how to deploy to AWS.

Continue reading “How to Deploy a Spring Boot App to AWS Elastic Beanstalk”

Easy Integration Testing With Testcontainers

In this post, we will take a look at how we can use Testcontainers for our integration tests. Testcontainers will allow us to write integration tests making use of containerized databases, message queues, web browsers, etc. without a dependency on a local installation.

Continue reading “Easy Integration Testing With Testcontainers”

Easy Database Migration With Liquibase

In this post, we take a look at how we can easily manage our database migration scripts by means of Liquibase. Liquibase will automatically execute necessary database migration scripts during application startup. We will explore some of the features of Liquibase by means of a simple Spring Boot application in combination with a PostgreSQL database.

Continue reading “Easy Database Migration With Liquibase”

What Is Your Test Quality?

You have consistently written unit tests and you have a line coverage of, let us say, 80% and all of your tests pass. Pretty good, isn’t it? But then you change your code and still all of your tests pass although you have changed code which is covered by your unit tests. In this post, we will take a look at mutation testing which will test the quality of your unit tests.

Continue reading “What Is Your Test Quality?”

Skaffold: k8s Development Made Easy

Skaffold is a command line tool developed by Google which aims to facilitate continuous development for Kubernetes applications. It will automate the task of building and deploying to a Kubernetes cluster whereas you, as a developer, can stay focused on writing code. Seems interesting enough to take a closer look at it!

Continue reading “Skaffold: k8s Development Made Easy”

Create Fast and Easy Docker Images With Jib

In this post we are going to take a look at Jib, a tool from Google in order to create Docker images in an easy and fast way. No need to create a Docker file, no need to install a Docker daemon, Jib just runs out-of-the-box.

Continue reading “Create Fast and Easy Docker Images With Jib”

Introduction to Spring Kafka

Some blog posts ago, we experimented with Kafka Messaging and Kafka Streams. Although we used Spring Boot applications in order to demonstrate some examples, we deliberately did not make use of Spring Kafka. Reason for doing so, was to get acquainted with Apache Kafka first without any abstraction layers in between. Now that we have done so, it is of course time to take a look at Spring Kafka!

Continue reading “Introduction to Spring Kafka”