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

Add metadata for OpenAPI VDC networks #459

Merged
merged 5 commits into from
Apr 5, 2022

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented Apr 5, 2022

This PR contains a workaround for OpenAPI VDC networks metadata functions to work with XML endpoints while the final OpenAPI implementation remains unreleased.

The PR that contains the final implementation is #455

The other option that came in to my mind was not to do these functions that operate on a OpenApiOrgVdcNetwork object and just use the OrgVDCNetwork ones that we currently have, but the result was an spaghetti on Terraform Provider part that would be harder to clean afterwards.

This option just hides the details in the new provided functions, so refactoring later would be super easy (in fact is already done in #455, we just need to wait).

abarreiro added 2 commits April 5, 2022 09:26
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro self-assigned this Apr 5, 2022
@adambarreiro adambarreiro marked this pull request as ready for review April 5, 2022 07:41
@adambarreiro adambarreiro removed the request for review from dataclouder April 5, 2022 07:42
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro merged commit 2603ba8 into vmware:main Apr 5, 2022
@adambarreiro adambarreiro deleted the add-metadata-network-v2-xml branch April 5, 2022 12:49
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.

6 participants