X Tutup
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 Network Load Balancer API

  • API version: 2.0.0

This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.

For each load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.

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>loadbalancer</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:loadbalancer:<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:loadbalancer:publishToMavenLocal

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>cloud.stackit.sdk</groupId>
  <artifactId>loadbalancer</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:loadbalancer:<SDK_VERSION>"
  }

Getting Started

See the loadbalancer examples.

Recommendation

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

X Tutup