Skip to content
Open
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530
- `sfs`: [v0.3.1](services/sfs/CHANGELOG.md#v031)
- Deprecate `getSchedule` and `listSchedules` methods in `SfsApi` class
- `serverupdate`: [v0.2.0](services/serverupdate/CHANGELOG.md#v020)
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530

## Release (2026-04-08)
- `alb`: [v0.5.0](services/alb/CHANGELOG.md#v050)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import cloud.stackit.sdk.core.KeyFlowAuthenticator;
import cloud.stackit.sdk.core.config.CoreConfiguration;
import cloud.stackit.sdk.core.exception.ApiException;
import cloud.stackit.sdk.serverupdate.api.ServerUpdateApi;
import cloud.stackit.sdk.serverupdate.model.*;
import cloud.stackit.sdk.serverupdate.v2api.api.ServerUpdateApi;
import cloud.stackit.sdk.serverupdate.v2api.model.*;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.time.Duration;
Expand Down
5 changes: 4 additions & 1 deletion services/serverupdate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.2.0
- **Feature (breaking change):** Introduction of multi API version support. See the GitHub discussion post for more details: https://github.com/stackitcloud/stackit-sdk-java/discussions/530

## v0.1.3
- Bump dependency `org.apache.commons:commons-lang3` to `3.18.0`
- Bump dependency `org.openapitools:jackson-databind-nullable` to `0.2.8`
Expand All @@ -9,4 +12,4 @@
- Bump dependency `cloud.stackit.sdk.core` to v0.4.1

## v0.1.0
- Initial onboarding of STACKIT Java SDK for Server Update service
- Initial onboarding of STACKIT Java SDK for Server Update service
5 changes: 0 additions & 5 deletions services/serverupdate/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# STACKIT Java SDK for STACKIT Server Update Management API

- API version: 2.0

API endpoints for Server Update Operations on STACKIT Servers.


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/serverupdate/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3
0.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* STACKIT Server Update Management API
* API endpoints for Server Update Operations on STACKIT Servers.
*
* The version of the OpenAPI document: 1.0
* Contact: support@stackit.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package cloud.stackit.sdk.serverupdate.v1api;

import cloud.stackit.sdk.core.exception.ApiException;
import java.util.List;
import java.util.Map;

/**
* Callback for asynchronous API call.
*
* @param <T> The return type
*/
public interface ApiCallback<T> {
/**
* This is called when the API call fails.
*
* @param e The exception causing the failure
* @param statusCode Status code of the response if available, otherwise it would be 0
* @param responseHeaders Headers of the response if available, otherwise it would be null
*/
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API call succeeded.
*
* @param result The result deserialized from response
* @param statusCode Status code of the response
* @param responseHeaders Headers of the response
*/
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);

/**
* This is called when the API upload processing.
*
* @param bytesWritten bytes Written
* @param contentLength content length of request body
* @param done write end
*/
void onUploadProgress(long bytesWritten, long contentLength, boolean done);

/**
* This is called when the API download processing.
*
* @param bytesRead bytes Read
* @param contentLength content length of the response
* @param done Read end
*/
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
}
Loading