Skip to content

Commit

Permalink
Q3 Release 2024 (#459)
Browse files Browse the repository at this point in the history
* 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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](stretchr/testify@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](IBM/platform-services-go-sdk@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 d32d156.

* 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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](IBM/go-sdk-core@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](golang/net@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](golangci/golangci-lint-action@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 2c275e7)

* 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](golangci/golangci-lint-action@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 2c275e7)

* 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 4710183.

* 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](IBM/platform-services-go-sdk@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](IBM/platform-services-go-sdk@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](IBM/platform-services-go-sdk@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](IBM/platform-services-go-sdk@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](IBM/go-sdk-core@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](stretchr/testify@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](IBM/platform-services-go-sdk@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]>
  • Loading branch information
8 people authored Sep 11, 2024
1 parent bd839aa commit 4bae719
Show file tree
Hide file tree
Showing 59 changed files with 5,130 additions and 36 deletions.
58 changes: 58 additions & 0 deletions clients/instance/ibm-pi-snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"github.com/IBM-Cloud/power-go-client/ibmpisession"
"github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances"
"github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots"
"github.com/IBM-Cloud/power-go-client/power/client/snapshots"

"github.com/IBM-Cloud/power-go-client/power/models"
)

Expand Down Expand Up @@ -96,3 +98,59 @@ func (f *IBMPISnapshotClient) Create(instanceID, snapshotID, restoreFailAction s
}
return resp.Payload, nil
}

// Get a Volume SnapshotV1
func (f *IBMPISnapshotClient) V1VolumeSnapshotsGet(id string) (*models.SnapshotV1, error) {
params := snapshots.NewV1VolumeSnapshotsGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithVolumeSnapshotUUID(id)
resp, err := f.session.Power.Snapshots.V1VolumeSnapshotsGet(params, f.session.AuthInfo(f.cloudInstanceID))

if err != nil {
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get volume snapshot %s: %w", id, err))
}
if resp == nil || resp.Payload == nil {
return nil, fmt.Errorf("failed to Get PI Snapshot %s", id)
}
return resp.Payload, nil
}

// Get Volume All SnapshotsV1
func (f *IBMPISnapshotClient) V1VolumeSnapshotsGetall() (*models.VolumeSnapshotList, error) {
params := snapshots.NewV1VolumeSnapshotsGetallParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut)
resp, err := f.session.Power.Snapshots.V1VolumeSnapshotsGetall(params, f.session.AuthInfo(f.cloudInstanceID))

if err != nil {
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get all volume snapshots: %w", err))
}
if resp == nil || resp.Payload == nil {
return nil, fmt.Errorf("failed to Get all volume Snapshots")
}
return resp.Payload, nil
}

// Deprecated Get a SnapshotV1
func (f *IBMPISnapshotClient) V1SnapshotsGet(id string) (*models.SnapshotV1, error) {
params := snapshots.NewV1SnapshotsGetParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut).WithSnapshotID(id)
resp, err := f.session.Power.Snapshots.V1SnapshotsGet(params, f.session.AuthInfo(f.cloudInstanceID))

if err != nil {
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get PI Snapshot %s: %w", id, err))
}
if resp == nil || resp.Payload == nil {
return nil, fmt.Errorf("failed to Get PI Snapshot %s", id)
}
return resp.Payload, nil
}

// Deprecated Get All SnapshotsV1
func (f *IBMPISnapshotClient) V1SnapshotsGetall() (*models.SnapshotList, error) {
params := snapshots.NewV1SnapshotsGetallParams().WithContext(f.ctx).WithTimeout(helpers.PIGetTimeOut)
resp, err := f.session.Power.Snapshots.V1SnapshotsGetall(params, f.session.AuthInfo(f.cloudInstanceID))

if err != nil {
return nil, ibmpisession.SDKFailWithAPIError(err, fmt.Errorf("failed to Get all PI Snapshots: %w", err))
}
if resp == nil || resp.Payload == nil {
return nil, fmt.Errorf("failed to Get all PI Snapshots")
}
return resp.Payload, nil
}
13 changes: 13 additions & 0 deletions examples/snapshot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func main() {
instance_id := " < INSTANCE ID > "
snap_name := " < SNAPSHOT NAME > "
description := " < DESCRIPTION > "
snapshot_id := " < SNAPSHOT ID > "

authenticator := &core.BearerTokenAuthenticator{
BearerToken: token,
Expand Down Expand Up @@ -81,4 +82,16 @@ func main() {
}
log.Printf("***************[4]****************** %+v \n", err)

// ***************[] SnapshotsV1 []******************
getAllSnapV1Resp, err := powerSnapClient.V1SnapshotsGetall()
if err != nil {
log.Fatal(err)
}
log.Printf("***************[5]****************** %+v \n", getAllSnapV1Resp)

getSnapV1Resp, err := powerSnapClient.V1SnapshotsGet(snapshot_id)
if err != nil {
log.Fatal(err)
}
log.Printf("***************[6]****************** %+v \n", getSnapV1Resp)
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions power/client/p_cloud_volumes/p_cloud_volumes_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4bae719

Please sign in to comment.