Upcoming multi API version support in the STACKIT Java SDK #530
rubenhoenle
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of now every of the SDK modules in the STACKIT Java SDK only supports one API version, usually the latest GA version (e.g. for IaaS it's currently v2).
This means as a developer using the STACKIT Java SDK you didn't have any chance to take control of which API version you're using. Furthermore our SDK didn't include support for alpha API versions in the past.
Since we wanted to provide you with an SDK for all available API versions of the STACKIT services, our SDK structure will undergo some significant changes as you can see below.
From now on there will be seperate packages named after the API versions (e.g. v2api, v3alpha1api, ...) in each SDK module. This way you as a developer will have full control which API version you want to use within your application. Since also all alpha and beta API versions will be included in the SDK from now on, you'll gain access to new experimental API features within the STACKIT SDK.
Warning
Since the STACKIT Java SDK is still in beta the old SDK structure will be entirely removed. This means a breaking change for you.
Note the migration guide below which shows how you can migrate to the new SDK structure.
Old Java SDK structure
New Java SDK structure
Migration guide
The migration guide is based on our resource manager code example. As you can see you basically have to only adjust your import statements.
Beta Was this translation helpful? Give feedback.
All reactions