Skip to content

Update sample template #25

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

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Update sample template #25

merged 1 commit into from
Jun 29, 2017

Conversation

tianhao64
Copy link
Contributor

Use service manager to connect to both vAPI and VIM services

Signed-off-by: Tianhao He [email protected]

Use service manager to connect to both vAPI and VIM services

Signed-off-by: Tianhao He <[email protected]>
Copy link

@jrgarcia jrgarcia left a comment

Choose a reason for hiding this comment

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

Why the use of the VIM and vAPI and printing the current time? Is this just to show authors how to handle the case where you may need both?

@tianhao64
Copy link
Contributor Author

@jrgarcia Yes, I should have added more comment. In some cases the sample code need make Vim api calls to do things that are not available via REST. We are showing how to use the existing helper method to login to both vAPI and VIM services and make two simple calls.

@tianhao64 tianhao64 merged commit a94fff4 into vmware:master Jun 29, 2017
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.

2 participants