Requirements and Setup

Requirements

General Requirements

In case you select Postman, then the provided Postman Collection might be helpful. Just import this Postman Collection (Version 2.1 format) into Postman.

Requirements for the MTLS lab

Requirements for the Kubernetes lab

Depending on your operating system you have different choices to install Docker and a local Kubernetes cluster for this lab.

  • Windows: On Windows you can install Docker Desktop for Windows together with included standalone Kubernetes server/client

  • Mac OS: On MAC you can install Docker Desktop for Mac together with included standalone Kubernetes server/client

  • Linux: On Linux you might already have installed native Docker support, otherwise install Docker for Linux.

    Regarding Kubernetes, you can either install Minikube + VirtualBox or an alternative one like Kind.

Note: Minikube + VirtualBox would also be an alternative for Windows or Mac as well.

IntelliJ specific requirements

IntelliJ does not require any specific additional plugins or configuration.

Eclipse IDE specific requirements

If you are an Eclipse user, then the usage of the Eclipse-based Spring Toolsuite is strongly recommended. This eclipse variant already has all the required gradle and spring boot support pre-installed.

In case you want to stick to your plain Eclipse installation then you have to add the following features via the eclipse marketplace:

  • Buildship Gradle Integration (Version 3.x). This might be already pre-installed depending

    on your eclipse variant (e.g., Eclipse JavaEE) installed

  • Spring Tools 4 for Spring Boot (Spring Tool Suite 4)

Visual Studio Code specific requirements

To be able to work properly in Visual Studio Code with this Spring Boot Java Gradle project you need at least these extensions:

  • Java Extension Pack

  • vscode-gradle-language

  • VS Code Spring Boot Application Development Extension Pack

Get the source code

Clone this GitHub repository (https://github.com/andifalk/cloud-native-microservices-security):

git clone https://github.com/andifalk/cloud-native-microservices-security.git security_workshop

After that you can import the whole workshop project directory into your IDE as a gradle project:

  • IntelliJ: "New project from existing sources..." and then select 'Gradle' when prompted

  • Eclipse or Spring ToolSuite: "Import/Gradle/Existing gradle project"

  • Visual Studio Code: Just open the root directory and wait until VS Code configured the project

Last updated