Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api bump from v33.0 to v35.0 #434

Merged
merged 19 commits into from
Mar 2, 2022
Merged

Api bump from v33.0 to v35.0 #434

merged 19 commits into from
Mar 2, 2022

Conversation

mikeletux
Copy link
Contributor

@mikeletux mikeletux commented Feb 7, 2022

Description

Short description

Bump SDK API compatible version from v33.0 to v35.0

Detailed description

Updated the API version that the SDK is compatible with from v33.0 (min VCD versions 10.0) to v35.0 (min VCD version 10.2).
This bump needs to be done as we are not going to officially support VCD 10.1 anymore.

Also, added the function deployVappForTest that creates a sample vApp for testing, to replace the old one createVappForTest that was using the deprecated method vdc.ComposeVApp. This was done because issues were found while testing the API bumb to v34.0.

Replaced all createVappForTest calls done in test by deployVappForTest.

Removed function createVappForTest`.

Miguel Sama added 4 commits February 7, 2022 13:03
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Miguel Sama added 2 commits February 8, 2022 14:58
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux marked this pull request as ready for review February 8, 2022 15:47
samples/openapi/main.go Outdated Show resolved Hide resolved
samples/openapi/main.go Outdated Show resolved Hide resolved
samples/openapi/main.go Outdated Show resolved Hide resolved
govcd/common_test.go Show resolved Hide resolved
@mikeletux mikeletux changed the title Api bump from v33.0 to v34.0 Api bump from v33.0 to v35.0 Feb 15, 2022
@mikeletux
Copy link
Contributor Author

⚠⚠⚠ Do not merge this yet as I still need to make the changes to bump this from v34.0 to v35.0

govcd/api_vcd.go Outdated Show resolved Hide resolved
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux self-assigned this Feb 21, 2022
Miguel Sama added 8 commits February 22, 2022 16:35
Improve Vdc.UpdateOpenApiOrgVdcNetworkDhcp method to allow setting OpenApiOrgVdcNetworkDhcp.LeaseTime
  and OpenApiOrgVdcNetworkDhcp.Mode to default values in case the passed struct doesn't have them set

Signed-off-by: Miguel Sama <msama@vmware.com>
…cd.ComposeVApp.

Replace vcd.createTestVapp in favor of deployVappForTest when setting up the test suite.

Signed-off-by: Miguel Sama <msama@vmware.com>
…ed anymore

Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux requested a review from lvirbalas February 24, 2022 16:16
Copy link
Contributor

@dataclouder dataclouder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested the user-defined API version feature. It works as expected.

Miguel Sama added 2 commits March 1, 2022 11:34
…bump-v34

Signed-off-by: Miguel Sama <msama@vmware.com>
Signed-off-by: Miguel Sama <msama@vmware.com>
TESTING.md Outdated Show resolved Hide resolved
TESTING.md Outdated Show resolved Hide resolved
Signed-off-by: Miguel Sama <msama@vmware.com>
govcd/vdc.go Outdated Show resolved Hide resolved
Signed-off-by: Miguel Sama <msama@vmware.com>
@mikeletux mikeletux merged commit d7ca47c into vmware:main Mar 2, 2022
@mikeletux mikeletux deleted the api-bump-v34 branch March 2, 2022 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants