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

Refactor metadata handling #853

Merged
merged 26 commits into from
Jun 3, 2022

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented May 17, 2022

This PR contains #851, merge that one first.

Description

The idea comes from this suggestion made by @vbauzysvmware in #851.

The outcome is a cleaner code, with several duplications for metadata handling being removed and reduced to a single common place.

The PR requires vmware/go-vcloud-director#473 as this one provides the new MergeMetadata function that is now used by the generic function.

Extra

Bumps SDK to v2.17.0 to avoid the mentioned bug when executing tests.

Testing

Tested on VCD 10.3.2, 10.3.0, 10.2.2

abarreiro added 13 commits May 12, 2022 09:42
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
abarreiro added 2 commits May 19, 2022 09:23
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
abarreiro added 3 commits May 19, 2022 12:54
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro marked this pull request as ready for review May 19, 2022 11:02
abarreiro added 2 commits May 25, 2022 15:59
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

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

I am good provided the tests continue to pass.

Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro
Copy link
Collaborator Author

Bumped again SDK to 2.1.7.0

Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro merged commit 962aa56 into vmware:main Jun 3, 2022
@adambarreiro adambarreiro deleted the refactor-metadata-func branch June 3, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants