Skip to content

Commit 99b37cb

Browse files
michaelkadismirliapowervs-ibmAlexander-Kitadependabot[bot]
authored
Q4 2024 (#511)
* Remove stratos safeguards for GRS changes (#467) * Add deployment-type safeguard for stratos (#465) * Allow spp-plement-group commands on stratos (#469) * Generated Swagger client from service-broker commit 6ca735ef9b45f2e11a5966dca1fce308cfd5f4e1 (#466) * add private datacenter capabilities to datacenter get and getAll (#480) * Add Virtual Serial Number[A]: VSN, [M]: PVMInstance SB commit 51e56f446e36a9ceb2726258f5bb0d274ae064c9 (#474) * Update VSN:[A] client, create & delete model, SB commit 206f48ce915678642a646f2ac9e1a13c6a7f8442 (#481) Update VSN:[A] client, create & delete model * Update description for DeleteOnTermination, SB commit 49ddcb07a1b23208e430f2120e43219e7d3f3493 (#483) Update description for DeleteOnTermination * [A]network_peers, [Dep]AccessConfig, [U] Network, SB commit 79105bbd0399d3eb3184157c700828586976d19d (#485) [A]network_peers, [Dep]AccessConfig, [U] Network * Virtual serial number (#484) * Gate ibmi 500 (#414) * Bump github.com/IBM/platform-services-go-sdk from 0.56.4 to 0.57.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.56.4 to 0.57.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.56.4...v0.57.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.57.0 to 0.58.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.57.0 to 0.58.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.57.0...v0.58.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.58.0 to 0.59.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.58.0 to 0.59.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.58.0...v0.59.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.0 to 0.59.1 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.0 to 0.59.1. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.0...v0.59.1) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.60.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.1 to 0.60.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.1...v0.60.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update to go 1.22 * Gate ibmi 500 update go sum --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.5 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/go-retryablehttp/compare/v0.7.5...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Get the supported storage tiers of a cloud instance (#446) Signed-off-by: Kishen V <[email protected]> * Fix go.mod version (#419) * Q3 Release 2024 (#459) * Add hostgroups (#326) * Add hostgroups * Fix build * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#336) * Generated Swagger client from service-broker commit 9786c4b2360ad846a1aa8f68f01fbb41979af3c9 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#347) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit b0bfdfb575c650fd620a92f064c1f7b05d1dd56d --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.60.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.1 to 0.60.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.1...v0.60.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Add Removal of Create VPN (#315) Adding back vpn create removal * Revert "Enable shared-processor-pool functionality on stratos" (#354) This reverts commit d32d15616555c890d73c99bbfcb564d1ef2b0ad9. * Remove duplicate go setup step (#348) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add hostgroups (#326) * Add hostgroups * Fix build * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#347) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit b0bfdfb575c650fd620a92f064c1f7b05d1dd56d --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Generated Swagger client from service-broker commit 0fecb85e68db0dcc5ddf2eb1072b39d45e2fef86 (#356) * Generated Swagger client from service-broker commit a74a353d92fbe6cfeb2421df47b52c5cc0e9d689 * Generated Swagger client from service-broker commit e98a290ebdfbe53e5fec9ff5100a299bc77a6014 * Generated Swagger client from service-broker commit a9e6e612e2556e1c67678aebe155d22089a75639 * Generated Swagger client from service-broker commit 70b0722398f5a64ea1e7bf1fbd07c6b3e7f8c9fc (#360) * Generated Swagger client from service-broker commit 8ea7617cec1e857b8597b60c4db288df066295f8 (#363) * Generated Swagger client from service-broker commit 384961399c43e0ea945615662e92396491168189 (#362) * Update Hostgroup client and add stratos validation (#361) * Update Hostgroup client and add stratos validation * Update name to hostGroup pattern * Rename file * Generated Swagger client from service-broker commit 125c585619c1c406c466dfae897cc2bff5faf797 (#364) * Generated Swagger client from service-broker commit 6238c39937d5f7a63f07fba4fd83d5d18e18752b (#365) * Refactor host group name (#367) * Generated Swagger client from service-broker commit 4c221d25789a0cbf90427cfb5e22509532cf4265 (#366) * Generated Swagger client from service-broker commit 1efc6f47450f757d13cf5813a45212ed381b2b8d (#368) * Generated Swagger client from service-broker commit f627067b7cfb1a503a8fe46e15715957137676f5 (#370) * Generated Swagger client from service-broker commit e43ad9dd41dd11d0210c10b8ffa0104e1b74afd0 (#371) * [IBMPIHostGroupsClient]Fix typo (#369) * Refactor host group name * Fix typo * sync branch * Add checksum gates for powervs (#372) * Generated Swagger client from service-broker commit 0562d1c6f66295c4ee5c4df5179dd6b2b41c0097 (#373) * Generated Swagger client from service-broker commit c4cb98d889ffe37cd2324735bfc86efe4e1fdbb6 (#374) * Generated Swagger client from service-broker commit 8f5f60718bab6db63d05bacb4fb30550762b50eb (#375) * Generated Swagger client from service-broker commit b9bc7ab551a37f4cd3546c19757fe74b6eee179f (#380) * Fix error in host-group example (#376) There appeared to be a typo in the client definition preventing the example from compiling. * Add deploymentTarget safeguard for Stratos (#378) * Add deploymentTarget safeguard This option is only available off-prem where dedicated host commands are supported. * Remove IBMi safeguard for stratos * Update instance create safeguard * Update spp safeguards for stratos (#379) * Update spp safeguards for stratos SPP commands will be supported for Q2 for stratos, but not the dedicated host-id option. * Update host-id error message * Generated Swagger client from service-broker commit 2a7c3111d7d5c55678486f3cab44f3437796762c (#381) WorkspacePowerEdgeRouterDetails state addition * Bump golang.org/x/net from 0.20.0 to 0.23.0 (#384) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Generated Swagger client from service-broker commit a76fd7fb2c0026fa0c68c2a52417f395f801dd46 (#386) * Generated Swagger client from service-broker commit bfe8b85d361707cf82c025266813ecb7889a556c (#388) * Bump golangci/golangci-lint-action from 4 to 5 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit 2c275e78e830dc1584c26ee62271b3be8e71a3ee) * Bump golangci/golangci-lint-action from 4 to 5 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit 2c275e78e830dc1584c26ee62271b3be8e71a3ee) * Generated Swagger client from service-broker commit a433c612326d695146ca7953d6aef37ac709618f (#389) * Generated Swagger client from service-broker commit 6f9b593c228169c62a3b446bfc480cab28b91ed2 (#390) * Generated Swagger client from service-broker commit a08ee4720fe9268263f8c3bee59330454b619109 (#392) * Generated Swagger client from service-broker commit bd9c5c4d29bd093067dd82a8dce8e5b746a0284b (#394) * Generated Swagger client from service-broker commit 1a54ea3efa13779bf08f2c162677acdd026001c9 (#399) * Update to go 1.22 (#396) * Generated Swagger client from service-broker commit f43b28fb6f66ffdf7aa6499f4dc09619d22feeda (#401) * Generated Swagger client from service-broker commit 814f6cac25d7b8aef6e71aa89b6ba9ebecbfff9e (#402) * Generated Swagger client from service-broker commit d82c42a9b20ab1dcd2188c89e0b0a3c8ea8db1ff (#403) * Generated Swagger client from service-broker commit ad5b24d0dca3b490cb45eadc0284d9bbcfbcea4e (#404) * Generated Swagger client from service-broker commit 5fa65c3c11cd0c1479d3c3e135aa62c79cfd84bf (#405) * Generated Swagger client from service-broker commit c455f6094ce91e25678e3fe9575767c3122cf837 (#406) * Generated Swagger client from service-broker commit f19df27ca2e676ba6cb9f5e73036f4536d5c050c (#407) * Generated Swagger client from service-broker commit f856adaa7760209889781f329a122db016cc5587 (#408) * Generated Swagger client from service-broker commit b7a20105660b86a198fa90be0e47093ac3ff9a5d (#409) * Generated Swagger client from service-broker commit a12c633b384121ad968e29dc314911c618f594fb (#411) * Generated Swagger client from service-broker commit e5f06d783dd7b97fec439b1aab6b685acf4faaaf (#415) * Generated Swagger client from service-broker commit f6e02b8a86dff9db756936ce068fe9c691b65bf0 (#417) * Generated Swagger client from service-broker commit fd290cea4c8f21c4cdbcf02ab10d3d0b895d310e (#424) * Add Snaphots (#420) * Generated Swagger client from service-broker commit 35aa4910370044d82d24dad103292b5963600875 (#427) * Generated Swagger client from service-broker commit 01eebb83bef64e16e87162c9c7654c8a166e5086 (#431) * Generated Swagger client from service-broker commit 94340a77d5b13ff1055439c17c7a0202e88b1590 (#433) * Block gateway network update for stratos (#429) * Generated Swagger client from service-broker commit f82abb1277ab5b723c24869c6428d76919342fed (#438) * Add Network Address Group (#435) * Network Security Group (#434) * Network Security Group * Add nsg action * Add Network Interface (#437) * Add Network Interface * Update clients/instance/ibm-pi-network.go Co-authored-by: ismirlia <[email protected]> * Update clients/instance/ibm-pi-network.go Co-authored-by: ismirlia <[email protected]> * Update clients/instance/ibm-pi-network.go Co-authored-by: ismirlia <[email protected]> --------- Co-authored-by: ismirlia <[email protected]> * Generated Swagger client from service-broker commit 8ef4989190f08ba3544a8958ccbb5aeb3cab15dd (#439) * Fix typo in file name (#442) * Generated Swagger client from service-broker commit dcdebb6b0053044d882d02b44116455004075bf5 (#440) * Revert "Block gateway network update for stratos (#429)" (#441) This reverts commit 4710183925ba7616f1e058ba5af764ccab03da0d. * Generated Swagger client from service-broker commit 20f660a90900d9ca627b9178a00f5ebf1fdc0e51 (#443) * Update NSG[rm direction], NI[ch PvmInstance ->Instance, rm NetworkSecurityGroupID](#445) * V1VolumeSnapshots SB commit 993d71eee3199d4805cab774d50d7edad91f067c (#447) * Add Volume Snapshot/s V1 (#448) * Update [M]NAg,NSG: member, rules; SysPool: CoreIncrement SB commit c78e75aa6d199faa5196e1bac0488071a074b8c9 (#451) * Update [M] Volumes: bootvolume description SB commit 12b759fc126a30ce8537daef3f9bf56e2f3ddbaf (#453) * Update NSG and NAG types (#452) * Change NSG and NAG response types * Fix deletes * [M] NetworkSecurityGroupRuleProtocol: IcmpTypes float64-> int64 SB commit 8052ef5f496669f885519678a3e9fe6fe638cf5d (#454) * [M] NetworkSecurityGroupRulePort: min and max limit, NSG Rule: rm Direction and Name SB commit 4a6fb79d2076748aedcfcfa65b727fc413e8a7df (#455) * Update [M] NAG, NSG: UserTags add omitempty SB commit 6b88f9d59f3ce12ee6b320cfa7b7727243bc661a (#456) Update [M] NAG, NSG: UserTags add omitempty * Fix NAG Update (#457) * Fix NAG Member Create (#458) * Gate ibmi 500 (#414) * Bump github.com/IBM/platform-services-go-sdk from 0.56.4 to 0.57.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.56.4 to 0.57.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.56.4...v0.57.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.57.0 to 0.58.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.57.0 to 0.58.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.57.0...v0.58.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.58.0 to 0.59.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.58.0 to 0.59.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.58.0...v0.59.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.0 to 0.59.1 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.0 to 0.59.1. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.0...v0.59.1) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.60.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.1 to 0.60.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.1...v0.60.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update to go 1.22 * Gate ibmi 500 update go sum --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove Q4 features from SDK * Enable bulk-detach and bulk-delete for Q3 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> Co-authored-by: powervs-ibm <[email protected]> Co-authored-by: michael kad <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: powervs-ibm <[email protected]> Co-authored-by: Alexander-Kita <[email protected]> * Reenable bulk-detach and bulk-delete for Q3 (#460) * Add network-interfaces for Q3 (#464) * Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#355) Bumps [github.com/go-openapi/errors](https://github.com/go-openapi/errors) from 0.21.0 to 0.22.0. - [Commits](https://github.com/go-openapi/errors/compare/v0.21.0...v0.22.0) --- updated-dependencies: - dependency-name: github.com/go-openapi/errors dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Revert "Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#355)" (#475) This reverts commit 0ce30af5948875528431f6f35b016d9966b58d7a. * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.69.2 (#482) * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#478) * Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#477) * Add hostgroups (#326) * Add hostgroups * Fix build * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#336) * Generated Swagger client from service-broker commit 9786c4b2360ad846a1aa8f68f01fbb41979af3c9 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Generated Swagger client from service-broker commit 70b0722398f5a64ea1e7bf1fbd07c6b3e7f8c9fc (#360) * Generated Swagger client from service-broker commit 384961399c43e0ea945615662e92396491168189 (#362) * Update Hostgroup client and add stratos validation (#361) * Update Hostgroup client and add stratos validation * Update name to hostGroup pattern * Rename file * Generated Swagger client from service-broker commit e43ad9dd41dd11d0210c10b8ffa0104e1b74afd0 (#371) * Fix error in host-group example (#376) There appeared to be a typo in the client definition preventing the example from compiling. * Generated Swagger client from service-broker commit 5fa65c3c11cd0c1479d3c3e135aa62c79cfd84bf (#405) * Generated Swagger client from service-broker commit f856adaa7760209889781f329a122db016cc5587 (#408) * Generated Swagger client from service-broker commit b7a20105660b86a198fa90be0e47093ac3ff9a5d (#409) * Generated Swagger client from service-broker commit 35aa4910370044d82d24dad103292b5963600875 (#427) * Generated Swagger client from service-broker commit 01eebb83bef64e16e87162c9c7654c8a166e5086 (#431) * Block gateway network update for stratos (#429) * Generated Swagger client from service-broker commit f82abb1277ab5b723c24869c6428d76919342fed (#438) * Add Network Address Group (#435) * Network Security Group (#434) * Network Security Group * Add nsg action * Generated Swagger client from service-broker commit 8ef4989190f08ba3544a8958ccbb5aeb3cab15dd (#439) * Fix typo in file name (#442) * Generated Swagger client from service-broker commit dcdebb6b0053044d882d02b44116455004075bf5 (#440) * Revert "Block gateway network update for stratos (#429)" (#441) This reverts commit 4710183925ba7616f1e058ba5af764ccab03da0d. * Update NSG[rm direction], NI[ch PvmInstance ->Instance, rm NetworkSecurityGroupID](#445) * Update [M]NAg,NSG: member, rules; SysPool: CoreIncrement SB commit c78e75aa6d199faa5196e1bac0488071a074b8c9 (#451) * Update NSG and NAG types (#452) * Change NSG and NAG response types * Fix deletes * [M] NetworkSecurityGroupRuleProtocol: IcmpTypes float64-> int64 SB commit 8052ef5f496669f885519678a3e9fe6fe638cf5d (#454) * [M] NetworkSecurityGroupRulePort: min and max limit, NSG Rule: rm Direction and Name SB commit 4a6fb79d2076748aedcfcfa65b727fc413e8a7df (#455) * Update [M] NAG, NSG: UserTags add omitempty SB commit 6b88f9d59f3ce12ee6b320cfa7b7727243bc661a (#456) Update [M] NAG, NSG: UserTags add omitempty * Fix NAG Update (#457) * Fix NAG Member Create (#458) * Generated Swagger client from service-broker commit eb93d29b12a45ca1b2d1830a6c5fae08057733b0 (#463) * Remove stratos safeguards for GRS changes (#467) * Add deployment-type safeguard for stratos (#465) * Allow spp-plement-group commands on stratos (#469) * Generated Swagger client from service-broker commit 6ca735ef9b45f2e11a5966dca1fce308cfd5f4e1 (#466) * Add Virtual Serial Number[A]: VSN, [M]: PVMInstance SB commit 51e56f446e36a9ceb2726258f5bb0d274ae064c9 (#474) * add private datacenter capabilities to datacenter get and getAll (#480) * Update VSN:[A] client, create & delete model, SB commit 206f48ce915678642a646f2ac9e1a13c6a7f8442 (#481) Update VSN:[A] client, create & delete model * Add Virtual Serial Number * Gate ibmi 500 (#414) * Bump github.com/IBM/platform-services-go-sdk from 0.56.4 to 0.57.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.56.4 to 0.57.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.56.4...v0.57.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.57.0 to 0.58.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.57.0 to 0.58.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.57.0...v0.58.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.58.0 to 0.59.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.58.0 to 0.59.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.58.0...v0.59.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.0 to 0.59.1 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.0 to 0.59.1. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.0...v0.59.1) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.60.0 Bumps [github.com/IBM/platform-services-go-sdk](https://github.com/IBM/platform-services-go-sdk) from 0.59.1 to 0.60.0. - [Release notes](https://github.com/IBM/platform-services-go-sdk/releases) - [Changelog](https://github.com/IBM/platform-services-go-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/platform-services-go-sdk/compare/v0.59.1...v0.60.0) --- updated-dependencies: - dependency-name: github.com/IBM/platform-services-go-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update to go 1.22 * Gate ibmi 500 update go sum --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.5 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/go-retryablehttp/compare/v0.7.5...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Get the supported storage tiers of a cloud instance (#446) Signed-off-by: Kishen V <[email protected]> * Reenable bulk-detach and bulk-delete for Q3 (#460) * Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#355) Bumps [github.com/go-openapi/errors](https://github.com/go-openapi/errors) from 0.21.0 to 0.22.0. - [Commits](https://github.com/go-openapi/errors/compare/v0.21.0...v0.22.0) --- updated-dependencies: - dependency-name: github.com/go-openapi/errors dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Revert "Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#355)" (#475) This reverts commit 0ce30af5948875528431f6f35b016d9966b58d7a. * Bump github.com/IBM/platform-services-go-sdk from 0.59.1 to 0.69.2 (#482) * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#478) * Bump github.com/go-openapi/errors from 0.21.0 to 0.22.0 (#477) * Update swagger client and models to service-broker v1.140.0 (#337) * Generated Swagger client from service-broker commit f482db37dd0b38392de1f3aecdc2219212147830 * Fix build --------- Co-authored-by: michael kad <[email protected]> * Update swagger client and models to service-broker v1.140.0 (#346) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Update golangci-lint version and skip cache Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Generated Swagger client from service-broker commit 1db48bf5f665abf4e91c66d019aa231b913db3d9 --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Yussuf Shaikh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yussuf Shaikh <[email protected]> Co-authored-by: michaelkad <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Remove duplicate go setup step (#348) * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Fix golangci-lint action v4 requirement Signed-off-by: Yussuf Shaikh <[email protected]> * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) --- updated-dependencies: - dependency-name: github.com/IBM/go-sdk-core/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Add branch to dependabot (#338) * Add branch to dependabot * Fix build * Bump github.com/IBM/go-sdk-core/v5 from 5.15.1 to 5.15.3 Bumps [github.com/IBM/go-sdk-core/v5](https://github.com/IBM/go-sdk-core) from 5.15.1 to 5.15.3. - [Release notes](https://github.com/IBM/go-sdk-core/releases) - [Changelog](https://github.com/IBM/go-sdk-core/blob/main/CHANGELOG.md) - [Commits](https://github.com/IBM/go-sdk-core/compare/v5.15.1...v5.15.3) …
1 parent 4f3c5ca commit 99b37cb

File tree

68 files changed

+10649
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+10649
-58
lines changed

.github/workflows/go.yml

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
1817
- name: Set up Go
1918
uses: actions/setup-go@v5
2019
with:

clients/instance/ibm-pi-datacenters.go

+43-16
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,53 @@ func NewIBMPIDatacenterClient(ctx context.Context, sess *ibmpisession.IBMPISessi
2323
}
2424
}
2525
func (f *IBMPIDatacentersClient) Get(datacenterRegion string) (*models.Datacenter, error) {
26-
params := datacenters.NewV1DatacentersGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithDatacenterRegion(datacenterRegion)
27-
resp, err := f.session.Power.Datacenters.V1DatacentersGet(params)
28-
if err != nil {
29-
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf(errors.GetDatacenterOperationFailed, f.cloudInstanceID, err))
30-
}
31-
if resp == nil || resp.Payload == nil {
32-
return nil, fmt.Errorf("failed to Get Datacenter %s", datacenterRegion)
26+
if !f.session.IsOnPrem() {
27+
params := datacenters.NewV1DatacentersGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithDatacenterRegion(datacenterRegion)
28+
resp, err := f.session.Power.Datacenters.V1DatacentersGet(params)
29+
30+
if err != nil {
31+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf(errors.GetDatacenterOperationFailed, f.cloudInstanceID, err))
32+
}
33+
if resp == nil || resp.Payload == nil {
34+
return nil, fmt.Errorf("failed to Get Datacenter %s", datacenterRegion)
35+
}
36+
return resp.Payload, nil
37+
} else {
38+
params := datacenters.NewV1DatacentersPrivateGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithDatacenterRegion(datacenterRegion)
39+
resp, err := f.session.Power.Datacenters.V1DatacentersPrivateGet(params, f.session.AuthInfo(f.cloudInstanceID))
40+
41+
if err != nil {
42+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf(errors.GetDatacenterOperationFailed, f.cloudInstanceID, err))
43+
}
44+
if resp == nil || resp.Payload == nil {
45+
return nil, fmt.Errorf("failed to Get Private Datacenter %s", datacenterRegion)
46+
}
47+
return resp.Payload, nil
3348
}
34-
return resp.Payload, nil
3549
}
3650

3751
func (f *IBMPIDatacentersClient) GetAll() (*models.Datacenters, error) {
38-
params := datacenters.NewV1DatacentersGetallParams().WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut)
39-
resp, err := f.session.Power.Datacenters.V1DatacentersGetall(params)
52+
if !f.session.IsOnPrem() {
53+
params := datacenters.NewV1DatacentersGetallParams().WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut)
54+
resp, err := f.session.Power.Datacenters.V1DatacentersGetall(params)
4055

41-
if err != nil {
42-
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get all Datacenters: %w", err))
43-
}
44-
if resp == nil || resp.Payload == nil {
45-
return nil, fmt.Errorf("failed to Get all Datacenters")
56+
if err != nil {
57+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get all Datacenters: %w", err))
58+
}
59+
if resp == nil || resp.Payload == nil {
60+
return nil, fmt.Errorf("failed to Get all Datacenters")
61+
}
62+
return resp.Payload, nil
63+
} else {
64+
params := datacenters.NewV1DatacentersPrivateGetallParams().WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut)
65+
resp, err := f.session.Power.Datacenters.V1DatacentersPrivateGetall(params, f.session.AuthInfo(f.cloudInstanceID))
66+
67+
if err != nil {
68+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get all Datacenters: %w", err))
69+
}
70+
if resp == nil || resp.Payload == nil {
71+
return nil, fmt.Errorf("failed to Get all private Datacenters")
72+
}
73+
return resp.Payload, nil
4674
}
47-
return resp.Payload, nil
4875
}

clients/instance/ibm-pi-dr-location.go

-6
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ func NewIBMPIDisasterRecoveryLocationClient(ctx context.Context, sess *ibmpisess
2525

2626
// Get the disaster recovery site details for the current location
2727
func (f *IBMPIDisasterRecoveryLocationClient) Get() (*models.DisasterRecoveryLocation, error) {
28-
if f.session.IsOnPrem() {
29-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
30-
}
3128
params := p_cloud_disaster_recovery.NewPcloudLocationsDisasterrecoveryGetParams().
3229
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).
3330
WithCloudInstanceID(f.cloudInstanceID)
@@ -43,9 +40,6 @@ func (f *IBMPIDisasterRecoveryLocationClient) Get() (*models.DisasterRecoveryLoc
4340

4441
// Get all disaster recovery locations supported by Power Virtual Server
4542
func (f *IBMPIDisasterRecoveryLocationClient) GetAll() (*models.DisasterRecoveryLocations, error) {
46-
if f.session.IsOnPrem() {
47-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
48-
}
4943
params := p_cloud_disaster_recovery.NewPcloudLocationsDisasterrecoveryGetallParams().
5044
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut)
5145
resp, err := f.session.Power.PCloudDisasterRecovery.PcloudLocationsDisasterrecoveryGetall(params, f.session.AuthInfo(f.cloudInstanceID))

clients/instance/ibm-pi-host-groups.go

+4
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ func (f *IBMPIHostGroupsClient) GetHosts() (models.HostList, error) {
112112
if f.session.IsOnPrem() {
113113
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
114114
}
115+
hostReference := true
115116
params := host_groups.NewV1HostsGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut)
117+
params.HostReference = &hostReference
116118
resp, err := f.session.Power.HostGroups.V1HostsGet(params, f.session.AuthInfo(f.cloudInstanceID))
117119
if err != nil {
118120
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to get hosts for %s: %w", f.cloudInstanceID, err))
@@ -146,7 +148,9 @@ func (f *IBMPIHostGroupsClient) GetHost(id string) (*models.Host, error) {
146148
if f.session.IsOnPrem() {
147149
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
148150
}
151+
hostReference := true
149152
params := host_groups.NewV1HostsIDGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithHostID(id)
153+
params.HostReference = &hostReference
150154
resp, err := f.session.Power.HostGroups.V1HostsIDGet(params, f.session.AuthInfo(f.cloudInstanceID))
151155
if err != nil {
152156
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to get host %s for %s: %w", id, f.cloudInstanceID, err))

clients/instance/ibm-pi-instance.go

+14-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ func (f *IBMPIInstanceClient) GetAll() (*models.PVMInstances, error) {
5555
// Create an Instance
5656
func (f *IBMPIInstanceClient) Create(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error) {
5757
// Check for satellite differences in this endpoint
58-
if f.session.IsOnPrem() && body.DeploymentTarget != nil {
59-
return nil, fmt.Errorf("deployment target parameter is not supported in satellite location, check documentation")
58+
if f.session.IsOnPrem() && (body.DeploymentTarget != nil || body.DeploymentType != "") {
59+
return nil, fmt.Errorf("deployment target and deployment type parameters are not supported in satellite location, check documentation")
6060
}
6161
params := p_cloud_p_vm_instances.NewPcloudPvminstancesPostParams().
6262
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
@@ -89,6 +89,18 @@ func (f *IBMPIInstanceClient) Delete(id string) error {
8989
return nil
9090
}
9191

92+
// Delete an Instance with body
93+
func (f *IBMPIInstanceClient) DeleteWithBody(id string, body *models.PVMInstanceDelete) error {
94+
params := p_cloud_p_vm_instances.NewPcloudPvminstancesDeleteParams().
95+
WithContext(f.ctx).WithTimeout(helpers.PIDeleteTimeOut).
96+
WithCloudInstanceID(f.cloudInstanceID).WithPvmInstanceID(id).WithBody(body)
97+
_, err := f.session.Power.PCloudpVMInstances.PcloudPvminstancesDelete(params, f.session.AuthInfo(f.cloudInstanceID))
98+
if err != nil {
99+
return fmt.Errorf("failed to Delete PVM Instance %s :%w", id, err)
100+
}
101+
return nil
102+
}
103+
92104
// Update an Instance
93105
func (f *IBMPIInstanceClient) Update(id string, body *models.PVMInstanceUpdate) (*models.PVMInstanceUpdateResponse, error) {
94106
// Check for satellite differences in this endpoint
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
package instance
2+
3+
import (
4+
"context"
5+
"fmt"
6+
7+
"github.com/IBM-Cloud/power-go-client/helpers"
8+
"github.com/IBM-Cloud/power-go-client/ibmpisession"
9+
"github.com/IBM-Cloud/power-go-client/power/client/network_peers"
10+
"github.com/IBM-Cloud/power-go-client/power/models"
11+
)
12+
13+
// IBMPINetworkPeerClient
14+
type IBMPINetworkPeerClient struct {
15+
IBMPIClient
16+
}
17+
18+
// NewIBMPINetworkPeerClient
19+
func NewIBMPINetworkPeerClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPINetworkPeerClient {
20+
return &IBMPINetworkPeerClient{
21+
*NewIBMPIClient(ctx, sess, cloudInstanceID),
22+
}
23+
}
24+
25+
// Get network peers
26+
func (f *IBMPINetworkPeerClient) GetNetworkPeers() (*models.NetworkPeers, error) {
27+
if !f.session.IsOnPrem() {
28+
return nil, fmt.Errorf("not supported in off-prem location")
29+
}
30+
params := network_peers.NewV1NetworkPeersListParams().WithContext(f.ctx).
31+
WithTimeout(helpers.PIGetTimeOut)
32+
resp, err := f.session.Power.NetworkPeers.V1NetworkPeersList(params, f.session.AuthInfo(f.cloudInstanceID))
33+
if err != nil {
34+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get Network Peers for cloud instance %s with error %w", f.cloudInstanceID, err))
35+
}
36+
if resp == nil || resp.Payload == nil {
37+
return nil, fmt.Errorf("failed to Get Network Peers for cloud instance %s", f.cloudInstanceID)
38+
}
39+
return resp.Payload, nil
40+
}

clients/instance/ibm-pi-spp-placement-groups.go

-18
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ func NewIBMPISPPPlacementGroupClient(ctx context.Context, sess *ibmpisession.IBM
2626

2727
// Get a PI SPP Placement Group
2828
func (f *IBMPISPPPlacementGroupClient) Get(id string) (*models.SPPPlacementGroup, error) {
29-
if f.session.IsOnPrem() {
30-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
31-
}
3229
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsGetParams().
3330
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).
3431
WithCloudInstanceID(f.cloudInstanceID).WithSppPlacementGroupID(id)
@@ -44,9 +41,6 @@ func (f *IBMPISPPPlacementGroupClient) Get(id string) (*models.SPPPlacementGroup
4441

4542
// Get All SPP Placement Groups
4643
func (f *IBMPISPPPlacementGroupClient) GetAll() (*models.SPPPlacementGroups, error) {
47-
if f.session.IsOnPrem() {
48-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
49-
}
5044
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsGetallParams().
5145
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).
5246
WithCloudInstanceID(f.cloudInstanceID)
@@ -62,9 +56,6 @@ func (f *IBMPISPPPlacementGroupClient) GetAll() (*models.SPPPlacementGroups, err
6256

6357
// Create a SPP Placement Group
6458
func (f *IBMPISPPPlacementGroupClient) Create(body *models.SPPPlacementGroupCreate) (*models.SPPPlacementGroup, error) {
65-
if f.session.IsOnPrem() {
66-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
67-
}
6859
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsPostParams().
6960
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
7061
WithCloudInstanceID(f.cloudInstanceID).WithBody(body)
@@ -80,9 +71,6 @@ func (f *IBMPISPPPlacementGroupClient) Create(body *models.SPPPlacementGroupCrea
8071

8172
// Delete a SPP Placement Group
8273
func (f *IBMPISPPPlacementGroupClient) Delete(id string) error {
83-
if f.session.IsOnPrem() {
84-
return fmt.Errorf("operation not supported in satellite location, check documentation")
85-
}
8674
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsDeleteParams().
8775
WithContext(f.ctx).WithTimeout(helpers.PIDeleteTimeOut).
8876
WithCloudInstanceID(f.cloudInstanceID).WithSppPlacementGroupID(id)
@@ -95,9 +83,6 @@ func (f *IBMPISPPPlacementGroupClient) Delete(id string) error {
9583

9684
// Add an Instance to a SPP Placement Group
9785
func (f *IBMPISPPPlacementGroupClient) AddMember(id string, sppID string) (*models.SPPPlacementGroup, error) {
98-
if f.session.IsOnPrem() {
99-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
100-
}
10186
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsMembersPostParams().
10287
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
10388
WithCloudInstanceID(f.cloudInstanceID).WithSppPlacementGroupID(id).
@@ -114,9 +99,6 @@ func (f *IBMPISPPPlacementGroupClient) AddMember(id string, sppID string) (*mode
11499

115100
// Remove an Instance to a SPP Placement Group
116101
func (f *IBMPISPPPlacementGroupClient) DeleteMember(id string, sppID string) (*models.SPPPlacementGroup, error) {
117-
if f.session.IsOnPrem() {
118-
return nil, fmt.Errorf("operation not supported in satellite location, check documentation")
119-
}
120102
params := p_cloud_s_p_p_placement_groups.NewPcloudSppplacementgroupsMembersDeleteParams().
121103
WithContext(f.ctx).WithTimeout(helpers.PIDeleteTimeOut).
122104
WithCloudInstanceID(f.cloudInstanceID).WithSppPlacementGroupID(id).
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
package instance
2+
3+
import (
4+
"context"
5+
"fmt"
6+
7+
"github.com/IBM-Cloud/power-go-client/helpers"
8+
"github.com/IBM-Cloud/power-go-client/ibmpisession"
9+
"github.com/IBM-Cloud/power-go-client/power/client/p_cloud_virtual_serial_number"
10+
"github.com/IBM-Cloud/power-go-client/power/models"
11+
)
12+
13+
// IBMPIVSNClient
14+
15+
type IBMPIVSNClient struct {
16+
IBMPIClient
17+
}
18+
19+
// NewIBMPIVSNClient
20+
func NewIBMPIVSNClient(ctx context.Context, sess *ibmpisession.IBMPISession, cloudInstanceID string) *IBMPIVSNClient {
21+
return &IBMPIVSNClient{
22+
*NewIBMPIClient(ctx, sess, cloudInstanceID),
23+
}
24+
}
25+
26+
// Get Virtual Serial Number
27+
func (f *IBMPIVSNClient) Get(id string) (*models.VirtualSerialNumber, error) {
28+
params := p_cloud_virtual_serial_number.NewPcloudVirtualserialnumberGetParams().
29+
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithVirtualSerialNumber(id)
30+
resp, err := f.session.Power.PCloudVirtualSerialNumber.PcloudVirtualserialnumberGet(params, f.session.AuthInfo(f.cloudInstanceID))
31+
if err != nil {
32+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to get virtual serial number %s :%w", id, err))
33+
}
34+
if resp == nil || resp.Payload == nil {
35+
return nil, fmt.Errorf("failed to get virtual serial number %s", id)
36+
}
37+
return resp.Payload, nil
38+
}
39+
40+
// Get All Virtual Serial Numbers
41+
func (f *IBMPIVSNClient) GetAll(pvmInstanceID *string) (models.VirtualSerialNumberList, error) {
42+
params := p_cloud_virtual_serial_number.NewPcloudVirtualserialnumberGetallParams().
43+
WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut)
44+
if pvmInstanceID != nil {
45+
params.SetPvmInstanceID(pvmInstanceID)
46+
}
47+
resp, err := f.session.Power.PCloudVirtualSerialNumber.PcloudVirtualserialnumberGetall(params, f.session.AuthInfo(f.cloudInstanceID))
48+
if err != nil {
49+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to get all virtual serial numbers in %s :%w", f.cloudInstanceID, err))
50+
}
51+
if resp == nil || resp.Payload == nil {
52+
return nil, fmt.Errorf("failed to get all virtual serial numbers in %s", f.cloudInstanceID)
53+
}
54+
return resp.Payload, nil
55+
}
56+
57+
// Update Virtual Serial Nunber
58+
func (f *IBMPIVSNClient) Update(id string, body *models.UpdateVirtualSerialNumber) (*models.GetServerVirtualSerialNumber, error) {
59+
params := p_cloud_virtual_serial_number.NewPcloudVirtualserialnumberPutParams().
60+
WithContext(f.ctx).WithTimeout(helpers.PIUpdateTimeOut).WithVirtualSerialNumber(id).
61+
WithBody(body)
62+
resp, err := f.session.Power.PCloudVirtualSerialNumber.PcloudVirtualserialnumberPut(params, f.session.AuthInfo(f.cloudInstanceID))
63+
if err != nil {
64+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to update virtual serial number %s :%w", id, err))
65+
}
66+
if resp == nil || resp.Payload == nil {
67+
return nil, fmt.Errorf("failed to Update virtual serial number %s", id)
68+
}
69+
return resp.Payload, nil
70+
}
71+
72+
// Delete Virtual Serial Number
73+
func (f *IBMPIVSNClient) Delete(id string) error {
74+
params := p_cloud_virtual_serial_number.NewPcloudVirtualserialnumberDeleteParams().
75+
WithContext(f.ctx).WithTimeout(helpers.PIDeleteTimeOut).
76+
WithVirtualSerialNumber(id)
77+
_, err := f.session.Power.PCloudVirtualSerialNumber.PcloudVirtualserialnumberDelete(params, f.session.AuthInfo(f.cloudInstanceID))
78+
if err != nil {
79+
return ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to delete virtual serial number %s :%w", id, err))
80+
}
81+
return nil
82+
}
83+
84+
// PVM Instance Delete VSN
85+
func (f *IBMPIVSNClient) PVMInstanceDeleteVSN(pvmInstanceID string, body *models.DeleteServerVirtualSerialNumber) error {
86+
params := p_cloud_virtual_serial_number.NewPcloudPvminstancesVirtualserialnumberDeleteParams().
87+
WithContext(f.ctx).WithTimeout(helpers.PIDeleteTimeOut).WithCloudInstanceID(f.cloudInstanceID).WithPvmInstanceID(pvmInstanceID).
88+
WithBody(body)
89+
_, err := f.session.Power.PCloudVirtualSerialNumber.PcloudPvminstancesVirtualserialnumberDelete(params, f.session.AuthInfo(f.cloudInstanceID))
90+
if err != nil {
91+
return ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to delete virtual serial number for pvm instance %s :%w", pvmInstanceID, err))
92+
}
93+
return nil
94+
}
95+
96+
// PVM Instance Update VSN
97+
func (f *IBMPIVSNClient) PVMInstanceUpdateVSN(pvmInstanceID string, body *models.UpdateServerVirtualSerialNumber) (*models.VirtualSerialNumber, error) {
98+
params := p_cloud_virtual_serial_number.NewPcloudPvminstancesVirtualserialnumberPutParams().
99+
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).WithCloudInstanceID(f.cloudInstanceID).
100+
WithPvmInstanceID(pvmInstanceID).WithBody(body)
101+
resp, err := f.session.Power.PCloudVirtualSerialNumber.PcloudPvminstancesVirtualserialnumberPut(params, f.session.AuthInfo(f.cloudInstanceID))
102+
if err != nil {
103+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to update virtual serial number for pvm instance %s :%w", pvmInstanceID, err))
104+
}
105+
if resp == nil || resp.Payload == nil {
106+
return nil, fmt.Errorf("failed to update virtual serial number for pvm instance %s", pvmInstanceID)
107+
}
108+
return resp.Payload, nil
109+
}
110+
111+
// PVM Attach VSN
112+
func (f *IBMPIVSNClient) PVMInstanceAttachVSN(pvmInstanceID string, body *models.AddServerVirtualSerialNumber) (*models.VirtualSerialNumber, error) {
113+
params := p_cloud_virtual_serial_number.NewPcloudPvminstancesVirtualserialnumberPostParams().
114+
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).WithCloudInstanceID(f.cloudInstanceID).
115+
WithPvmInstanceID(pvmInstanceID).WithBody(body)
116+
resp, err := f.session.Power.PCloudVirtualSerialNumber.PcloudPvminstancesVirtualserialnumberPost(params, f.session.AuthInfo(f.cloudInstanceID))
117+
if err != nil {
118+
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to attach virtual serial number for pvm instance %s :%w", pvmInstanceID, err))
119+
}
120+
if resp == nil || resp.Payload == nil {
121+
return nil, fmt.Errorf("failed to attach virtual serial number for pvm instance %s", pvmInstanceID)
122+
}
123+
return resp.Payload, nil
124+
}

0 commit comments

Comments
 (0)