diff --git a/CHANGELOG.md b/CHANGELOG.md index 82952bf4b7..be35c0b83d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Release (2026-MM-DD) +- `dremio`: + - [v0.8.0](services/dremio/CHANGELOG.md#v080) + - `v1betaapi`: + - **Breaking Change:** Switch from regional to global API server URL - `logs`: - [v0.13.0](services/logs/CHANGELOG.md#v0130) - `v1api`: diff --git a/examples/services/dremio/preview/dremio_preview.go b/examples/services/dremio/preview/dremio_preview.go index 7f022eff5a..e7b463948f 100644 --- a/examples/services/dremio/preview/dremio_preview.go +++ b/examples/services/dremio/preview/dremio_preview.go @@ -5,7 +5,6 @@ import ( "fmt" "os" - "github.com/stackitcloud/stackit-sdk-go/core/config" "github.com/stackitcloud/stackit-sdk-go/core/utils" dremio "github.com/stackitcloud/stackit-sdk-go/services/dremio/v1betaapi" "github.com/stackitcloud/stackit-sdk-go/services/dremio/v1betaapi/wait" @@ -17,9 +16,7 @@ func main() { ctx := context.Background() - dremioClient, err := dremio.NewAPIClient( - config.WithRegion(string(region)), - ) + dremioClient, err := dremio.NewAPIClient() if err != nil { fmt.Fprintf(os.Stderr, "[Dremio] Creating API client: %v\n", err) os.Exit(1) diff --git a/services/dremio/CHANGELOG.md b/services/dremio/CHANGELOG.md index e4d45344a2..c92930bf32 100644 --- a/services/dremio/CHANGELOG.md +++ b/services/dremio/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.8.0 +- `v1betaapi`: + - **Breaking Change:** Switch from regional to global API server URL + ## v0.7.0 - `v1betaapi`: - **Feature:** Add field `Acl` to models `CreateDremioInstancePayload`, `DremioResponse` and `UpdateDremioInstancePayload` diff --git a/services/dremio/VERSION b/services/dremio/VERSION index 8b20e48523..b19b521185 100644 --- a/services/dremio/VERSION +++ b/services/dremio/VERSION @@ -1 +1 @@ -v0.7.0 +v0.8.0 diff --git a/services/dremio/oas_commit b/services/dremio/oas_commit index 6a8ba08d49..49c5b451cd 100644 --- a/services/dremio/oas_commit +++ b/services/dremio/oas_commit @@ -1 +1 @@ -ef9232ba8d49c72fc3397a365b09ca1a8205b25e +d3f51a99ec81d4226be8c6d4826ed2547014edb0 diff --git a/services/dremio/v1betaapi/configuration.go b/services/dremio/v1betaapi/configuration.go index cf45a92280..e37c371ead 100644 --- a/services/dremio/v1betaapi/configuration.go +++ b/services/dremio/v1betaapi/configuration.go @@ -21,15 +21,12 @@ func NewConfiguration() *config.Configuration { Debug: false, Servers: config.ServerConfigurations{ { - URL: "https://dremio.api.{region}stackit.cloud", + URL: "https://dremio.api.stackit.cloud", Description: "No description provided", Variables: map[string]config.ServerVariable{ "region": { Description: "No description provided", - DefaultValue: "eu01.", - EnumValues: []string{ - "eu01.", - }, + DefaultValue: "global", }, }, },