From 3956100c24a5ff26f426fcbe2b50750276bfbe40 Mon Sep 17 00:00:00 2001 From: stackit-pipeline <142982727+stackit-pipeline@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:50:20 +0100 Subject: [PATCH] Generator: Update SDK /services/authorization (#1281) * Generate authorization * Add changelog Signed-off-by: Alexander Dahmen --------- Signed-off-by: Alexander Dahmen Co-authored-by: Alexander Dahmen --- CHANGELOG.md | 2 ++ services/authorization/CHANGELOG.md | 4 ++++ services/authorization/configuration.go | 8 ++------ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d6b4c95..c48180c88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Release (2025-XX-XX) +- `authorization`: [v0.5.1](services/authorization/CHANGELOG.md#v051-2025-01-17) + - **Bugfix:** Revert back to global URL configuration - `core`: [v0.15.1](core/CHANGELOG.md#v0151-2025-01-08) - **Bugfix:** `ConfigureRegion` does not return an error if a region is set by an environment variable. - `authorization`: [v0.5.0](services/authorization/CHANGELOG.md#v050-2025-01-09) diff --git a/services/authorization/CHANGELOG.md b/services/authorization/CHANGELOG.md index 31b4182ae..73c4d287b 100644 --- a/services/authorization/CHANGELOG.md +++ b/services/authorization/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.5.1 (2025-01-17) + +- **Bugfix:** Revert back to global URL configuration + ## v0.5.0 (2025-01-09) - Add support for regions in `APIClient` diff --git a/services/authorization/configuration.go b/services/authorization/configuration.go index 6dbacd3e4..0b01a4f8d 100644 --- a/services/authorization/configuration.go +++ b/services/authorization/configuration.go @@ -22,16 +22,12 @@ func NewConfiguration() *config.Configuration { Debug: false, Servers: config.ServerConfigurations{ { - URL: "https://authorization.api.{region}stackit.cloud", + URL: "https://authorization.api.stackit.cloud", Description: "No description provided", Variables: map[string]config.ServerVariable{ "region": { Description: "No description provided", - DefaultValue: "eu01.", - EnumValues: []string{ - "eu01.", - "eu02.", - }, + DefaultValue: "global", }, }, },