Serverless in action. Part 4: CI/CD

Part 0: Intro, Part 1: Auth and Part 2: CRUD and Part 3: Notification

Introduction

In this part, we will create a CI/CD process using AWS tools. There are a few AWS services for that:

Is Java enum underused?

Introduction

An enum type is a special data type that holds a list of constants. An enum type variable must be equal to one of those constants. Java Enum is a type of class that is defined with the enum keyword and was introduced in Java 5. As mentioned, it’s used to define a list of constants, but is not limited to that and can also contain methods and fields.

More specific information could be found in Java enum’s documentation.

Serverless in action. Part 3: Notification

Part 0: Intro, Part 1: Auth and Part 2: CRUD

Introduction

Here we will implement the last, but not least part of our application - notifying customers that they should come to the place they are waiting for: It has two lambda functions:

  • Producer - sends waitees that should be notified into SQS.
  • Consumer - processes SQS and sends notifications to the waitees.

Serverless in action. Part 2: CRUD

Part 0: Intro and Part 1: Auth

Introduction

This section is about the core of our application - CRUD lambda functions. To remind you of the architecture: On the design above we have:

  • CRUD Waitlist - lambda function to handle all the operations on the waitlist.
  • CRUD Waitee - lambda function to handle all the operations on waitees from a specific waitlist.

Serverless in action. Part 1: Auth

Part 0: Intro could be found here.

Introduction

We start our deep dive into the architecture from the Auth section. To remind you from the previous part, it has the following design: