Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

STACKIT Java SDK for STACKIT Application Load Balancer API

  • API version: 2.0.0

This API offers an interface to provision and manage Application Load Balancers in your STACKIT project.This solution offers modern L7 load balancing. Current features include TLS, path and prefix based routing aswell as routing based on headers, query parameters and keeping connections persistent with cookies and web sockets.

For each Application Load Balancer provided, two VMs are deployed in your STACKIT project and are subject to fees.

This package is part of the STACKIT Java SDK. For additional information, please visit the GitHub repository of the SDK.

Installation from Maven Central (recommended)

The release artifacts for this SDK submodule are available on Maven Central.

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>cloud.stackit.sdk</groupId>
  <artifactId>alb</artifactId>
  <version><SDK_VERSION></version>
  <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

  repositories {
    mavenCentral()
  }

  dependencies {
     implementation "cloud.stackit.sdk:alb:<SDK_VERSION>"
  }

Installation from local build

Building the API client library requires:

  1. Java SDK (version 11 to 21 should be supported) installed on your system

To install the API client library to your local Maven repository, simply execute:

./gradlew services:alb:publishToMavenLocal

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>cloud.stackit.sdk</groupId>
  <artifactId>alb</artifactId>
  <version><SDK_VERSION></version>
  <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

  repositories {
    mavenLocal()
  }

  dependencies {
     implementation "cloud.stackit.sdk:alb:<SDK_VERSION>"
  }

Getting Started

See the alb examples.

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.