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

Switch Rest implementation to use the proper Rest client to allow govcsim testing #353

Open
laidbackware opened this issue Dec 21, 2022 · 0 comments

Comments

@laidbackware
Copy link

laidbackware commented Dec 21, 2022

Is your feature request related to a problem? Please describe.

As per the issue in #352, I would like to be able to use the govcsim to perform integration tests of vSphere with Tanzu Ansible modules written using this SDK, but am blocked because the SDK uses an internal vAPI JSON-RPC-like protocol, which is not implemented but the govcsim.

Switching this SDK over to the full publicly documented Rest API would increase it's use by allowing all code to be tested against the govcsim, not just the pyvmomi, which works today.

Describe the solution you'd like

I would like the SDK to switch all communications over to the Rest API so that it is fully compliant with the public API spec and therefor the govc tools.

Describe alternatives you've considered

For me to add integration testing to my code I would need to build a significant amount of infrastructure automation, which would have significant cost. Given my that the modules will be released via vmware-tanzu-labs, they will not be product backed, meaning we do not have budget for a proper testing setup.

Additional context

I have permission to release the modules via the VMware Github process and have a minimally working version ready, but am essentially blocked, as I can't expect folks to develop them without integration testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant