# Java

Great. You found the right path to reliable applications.

Select the right framework and proceed with that section:

# Spring Boot

Reliability Platform client for Java Spring Boot connects your application with Reliability Platform and lets you inject faults.

You will need a favorite text editor or IDE, JDK 1.8 or later and Gradle 4+ or Maven 3.2+.

# Install

Add the spring-boot-starter-reliability-platform from Maven to your Gradle or Maven dependencies.

# Configure

Configure your application by following the following steps:

  1. Sign in to the Reliability Platform.
  2. Acquire a token in the Tokens view.
  3. Configure your Spring Boot application with the following externalized configuration:
    reliability.platform.application-name=web-api           # the application name
    reliability.platform.application-env=qa                 # the environment
    reliability.platform.proofdock-api-token=eyJ0eXAi...05  # obtain it from Reliability Platform
    

# Usage

Injecting faults is easy. Once you configured your application, follow these steps:

  1. Run your application.
  2. Select your application in the Applications view. This step might take up to 30 seconds until your application pops up.
  3. Activate the fault injection button.
  4. Start working on the resiliency.