From 99fa8665ca88d22afbdf0880f7d264f4741c2b5f Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 28 Aug 2024 07:18:25 +0000 Subject: [PATCH 1/2] Generate opensearch --- .../opensearch/model_get_metrics_response.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/services/opensearch/model_get_metrics_response.go b/services/opensearch/model_get_metrics_response.go index 9ee621bcb..b10463ff3 100644 --- a/services/opensearch/model_get_metrics_response.go +++ b/services/opensearch/model_get_metrics_response.go @@ -14,9 +14,9 @@ package opensearch type GetMetricsResponse struct { CpuIdleTime *int64 `json:"cpuIdleTime,omitempty"` // REQUIRED - CpuLoadPercent *int64 `json:"cpuLoadPercent"` - CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` - CpuUserTime *int64 `json:"cpuUserTime,omitempty"` + CpuLoadPercent *float64 `json:"cpuLoadPercent"` + CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` + CpuUserTime *int64 `json:"cpuUserTime,omitempty"` // REQUIRED DiskEphemeralTotal *int64 `json:"diskEphemeralTotal"` // REQUIRED @@ -26,17 +26,17 @@ type GetMetricsResponse struct { // REQUIRED DiskPersistentUsed *int64 `json:"diskPersistentUsed"` // REQUIRED - Load1 *int64 `json:"load1"` + Load1 *float64 `json:"load1"` // REQUIRED - Load15 *int64 `json:"load15"` + Load15 *float64 `json:"load15"` // REQUIRED - Load5 *int64 `json:"load5"` + Load5 *float64 `json:"load5"` // REQUIRED MemoryTotal *int64 `json:"memoryTotal"` // REQUIRED MemoryUsed *int64 `json:"memoryUsed"` // REQUIRED - ParachuteDiskEphemeralActivated *int64 `json:"parachuteDiskEphemeralActivated"` + ParachuteDiskEphemeralActivated *bool `json:"parachuteDiskEphemeralActivated"` // REQUIRED ParachuteDiskEphemeralTotal *int64 `json:"parachuteDiskEphemeralTotal"` // REQUIRED @@ -46,7 +46,7 @@ type GetMetricsResponse struct { // REQUIRED ParachuteDiskEphemeralUsedThreshold *int64 `json:"parachuteDiskEphemeralUsedThreshold"` // REQUIRED - ParachuteDiskPersistentActivated *int64 `json:"parachuteDiskPersistentActivated"` + ParachuteDiskPersistentActivated *bool `json:"parachuteDiskPersistentActivated"` // REQUIRED ParachuteDiskPersistentTotal *int64 `json:"parachuteDiskPersistentTotal"` // REQUIRED From 7049430140b8f30ab6b3bfd183b4285a8465bda7 Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Mon, 2 Sep 2024 10:13:53 +0100 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 18 +++++++++++++----- services/opensearch/CHANGELOG.md | 6 ++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94fb7f0bf..0ded7bd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,20 @@ +## Release (2024-XX-XX) + +- `opensearch`: [v0.18.0](services/opensearch/CHANGELOG.md#v0180-2024-09-02) + - **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` + ## Release (2024-08-26) > [!WARNING] -> -> **The STACKIT Argus service was renamed to STACKIT Observability.** -> +> +> **The STACKIT Argus service was renamed to STACKIT Observability.** +> > In the SDK, this means that there is a new `observability` service, which offers the same functionality as the deprecated `argus` service. -> +> > SDK updates from now on will be released on the new `observability` service, meaning `argus` will no longer get updates. -> +> > Please migrate to `github.com/stackitcloud/stackit-sdk-go/services/observability`. - `observability`: [v0.1.0](services/observability/CHANGELOG.md#v010-2024-08-21) @@ -43,6 +50,7 @@ - **Feature:** `Plan` has a new field `SkuName` ## Release (2024-07-24) + - `iaas`: [v0.5.0](services/iaas/CHANGELOG.md#v050-2024-07-24) - **Feature:** `CreateNetworkAddressFamily` and `UpdateNetworkAddressFamily` have a new field `Ipv6` - **Feature:** `Network` has new fields: `NameserversV6` and `PrefixesV6` diff --git a/services/opensearch/CHANGELOG.md b/services/opensearch/CHANGELOG.md index 7f7a0f506..f0e8a2009 100644 --- a/services/opensearch/CHANGELOG.md +++ b/services/opensearch/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.18.0 (2024-09-02) + +- **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` + ## v0.17.0 (2024-08-01) - **Feature:** `Plan` has a new field `SkuName`