Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions services/alb/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 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](https://github.com/stackitcloud/stackit-sdk-java) of the SDK.

## Installation from Maven Central (recommended)
Expand Down
2 changes: 1 addition & 1 deletion services/alb/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
56ac63c4728605d440d17ed470e0229e36a1aad2
a896a71ffc1c1152f63b40a0194ac461ce179d6c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import cloud.stackit.sdk.core.exception.ApiException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import cloud.stackit.sdk.core.KeyFlowAuthenticator;
import cloud.stackit.sdk.core.config.CoreConfiguration;
Expand Down Expand Up @@ -357,7 +357,7 @@ public DateFormat getDateFormat() {
* Setter for the field <code>dateFormat</code>.
*
* @param dateFormat a {@link java.text.DateFormat} object
* @return a {@link cloud.stackit.sdk.alb.v2api.ApiClient} object
* @return a {@link cloud.stackit.sdk.alb.ApiClient} object
*/
public ApiClient setDateFormat(DateFormat dateFormat) {
JSON.setDateFormat(dateFormat);
Expand All @@ -368,7 +368,7 @@ public ApiClient setDateFormat(DateFormat dateFormat) {
* Set SqlDateFormat.
*
* @param dateFormat a {@link java.text.DateFormat} object
* @return a {@link cloud.stackit.sdk.alb.v2api.ApiClient} object
* @return a {@link cloud.stackit.sdk.alb.ApiClient} object
*/
public ApiClient setSqlDateFormat(DateFormat dateFormat) {
JSON.setSqlDateFormat(dateFormat);
Expand All @@ -379,7 +379,7 @@ public ApiClient setSqlDateFormat(DateFormat dateFormat) {
* Set OffsetDateTimeFormat.
*
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
* @return a {@link cloud.stackit.sdk.alb.v2api.ApiClient} object
* @return a {@link cloud.stackit.sdk.alb.ApiClient} object
*/
public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
JSON.setOffsetDateTimeFormat(dateFormat);
Expand All @@ -390,7 +390,7 @@ public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) {
* Set LocalDateFormat.
*
* @param dateFormat a {@link java.time.format.DateTimeFormatter} object
* @return a {@link cloud.stackit.sdk.alb.v2api.ApiClient} object
* @return a {@link cloud.stackit.sdk.alb.ApiClient} object
*/
public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
JSON.setLocalDateFormat(dateFormat);
Expand All @@ -401,7 +401,7 @@ public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) {
* Set LenientOnJson.
*
* @param lenientOnJson a boolean
* @return a {@link cloud.stackit.sdk.alb.v2api.ApiClient} object
* @return a {@link cloud.stackit.sdk.alb.ApiClient} object
*/
public ApiClient setLenientOnJson(boolean lenientOnJson) {
JSON.setLenientOnJson(lenientOnJson);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.io.IOException;
import okhttp3.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down Expand Up @@ -96,103 +96,95 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ActiveHealthCheck.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.ActiveHealthCheck.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CertificateConfig.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.CertificateConfig.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CookiePersistence.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.CookiePersistence.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CreateCredentialsPayload
new cloud.stackit.sdk.alb.model.CreateCredentialsPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CreateCredentialsResponse
new cloud.stackit.sdk.alb.model.CreateCredentialsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CreateLoadBalancerPayload
new cloud.stackit.sdk.alb.model.CreateLoadBalancerPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.CredentialsResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.CredentialsResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.GetCredentialsResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.GetCredentialsResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.GetQuotaResponse.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.GetQuotaResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.GoogleProtobufAny.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.GoogleProtobufAny.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.HostConfig.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.HostConfig.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.HttpHeader.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.HttpHeader.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.HttpHealthChecks.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.HttpHealthChecks.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ListCredentialsResponse
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.ListCredentialsResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ListLoadBalancersResponse
new cloud.stackit.sdk.alb.model.ListLoadBalancersResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ListPlansResponse.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.ListPlansResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Listener.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Listener.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadBalancer.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.LoadBalancer.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadBalancerError.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.LoadBalancerError.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadBalancerOptions
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.LoadBalancerOptions.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadbalancerOptionAccessControl
new cloud.stackit.sdk.alb.model.LoadbalancerOptionAccessControl
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadbalancerOptionLogs
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.LoadbalancerOptionLogs.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadbalancerOptionMetrics
new cloud.stackit.sdk.alb.model.LoadbalancerOptionMetrics
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.LoadbalancerOptionObservability
new cloud.stackit.sdk.alb.model.LoadbalancerOptionObservability
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Network.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Network.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Path.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Path.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.PlanDetails.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.PlanDetails.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ProtocolOptionsHTTP
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.ProtocolOptionsHTTP.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.ProtocolOptionsHTTPS
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.ProtocolOptionsHTTPS.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.QueryParameter.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.QueryParameter.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Rule.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Rule.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.SecurityGroup.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.SecurityGroup.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Status.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Status.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.Target.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.Target.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.TargetPool.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.TargetPool.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.TlsConfig.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.TlsConfig.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.UpdateCredentialsPayload
new cloud.stackit.sdk.alb.model.UpdateCredentialsPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.UpdateCredentialsResponse
new cloud.stackit.sdk.alb.model.UpdateCredentialsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.UpdateLoadBalancerPayload
new cloud.stackit.sdk.alb.model.UpdateLoadBalancerPayload
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new cloud.stackit.sdk.alb.v2api.model.UpdateTargetPoolPayload
.CustomTypeAdapterFactory());
new cloud.stackit.sdk.alb.model.UpdateTargetPoolPayload.CustomTypeAdapterFactory());
gson = gsonBuilder.create();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.io.IOException;
import okhttp3.MediaType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.io.IOException;
import okhttp3.MediaType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.util.HashSet;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api;
package cloud.stackit.sdk.alb;

import java.util.Collection;
import java.util.Iterator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api.api;
package cloud.stackit.sdk.alb.api;

import cloud.stackit.sdk.core.config.CoreConfiguration;
import java.io.IOException;
Expand All @@ -33,7 +33,7 @@ public AlbApi() throws IOException {
*
* <p>For production use consider using the constructor with the OkHttpClient parameter.
*
* @param configuration your STACKIT SDK CoreConfiguration
* @param config your STACKIT SDK CoreConfiguration
* @throws IOException
*/
public AlbApi(CoreConfiguration configuration) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api.api;

import cloud.stackit.sdk.alb.v2api.ApiCallback;
import cloud.stackit.sdk.alb.v2api.ApiClient;
import cloud.stackit.sdk.alb.v2api.ApiResponse;
import cloud.stackit.sdk.alb.v2api.Pair;
import cloud.stackit.sdk.alb.v2api.model.CreateCredentialsPayload;
import cloud.stackit.sdk.alb.v2api.model.CreateCredentialsResponse;
import cloud.stackit.sdk.alb.v2api.model.CreateLoadBalancerPayload;
import cloud.stackit.sdk.alb.v2api.model.GetCredentialsResponse;
import cloud.stackit.sdk.alb.v2api.model.GetQuotaResponse;
import cloud.stackit.sdk.alb.v2api.model.ListCredentialsResponse;
import cloud.stackit.sdk.alb.v2api.model.ListLoadBalancersResponse;
import cloud.stackit.sdk.alb.v2api.model.ListPlansResponse;
import cloud.stackit.sdk.alb.v2api.model.LoadBalancer;
import cloud.stackit.sdk.alb.v2api.model.TargetPool;
import cloud.stackit.sdk.alb.v2api.model.UpdateCredentialsPayload;
import cloud.stackit.sdk.alb.v2api.model.UpdateCredentialsResponse;
import cloud.stackit.sdk.alb.v2api.model.UpdateLoadBalancerPayload;
import cloud.stackit.sdk.alb.v2api.model.UpdateTargetPoolPayload;
package cloud.stackit.sdk.alb.api;

import cloud.stackit.sdk.alb.ApiCallback;
import cloud.stackit.sdk.alb.ApiClient;
import cloud.stackit.sdk.alb.ApiResponse;
import cloud.stackit.sdk.alb.Pair;
import cloud.stackit.sdk.alb.model.CreateCredentialsPayload;
import cloud.stackit.sdk.alb.model.CreateCredentialsResponse;
import cloud.stackit.sdk.alb.model.CreateLoadBalancerPayload;
import cloud.stackit.sdk.alb.model.GetCredentialsResponse;
import cloud.stackit.sdk.alb.model.GetQuotaResponse;
import cloud.stackit.sdk.alb.model.ListCredentialsResponse;
import cloud.stackit.sdk.alb.model.ListLoadBalancersResponse;
import cloud.stackit.sdk.alb.model.ListPlansResponse;
import cloud.stackit.sdk.alb.model.LoadBalancer;
import cloud.stackit.sdk.alb.model.TargetPool;
import cloud.stackit.sdk.alb.model.UpdateCredentialsPayload;
import cloud.stackit.sdk.alb.model.UpdateCredentialsResponse;
import cloud.stackit.sdk.alb.model.UpdateLoadBalancerPayload;
import cloud.stackit.sdk.alb.model.UpdateTargetPoolPayload;
import cloud.stackit.sdk.core.config.CoreConfiguration;
import cloud.stackit.sdk.core.exception.ApiException;
import com.google.gson.reflect.TypeToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api.model;
package cloud.stackit.sdk.alb.model;

import java.util.Map;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* Do not edit the class manually.
*/

package cloud.stackit.sdk.alb.v2api.model;
package cloud.stackit.sdk.alb.model;

import cloud.stackit.sdk.alb.v2api.JSON;
import cloud.stackit.sdk.alb.JSON;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
Expand Down
Loading
Loading