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

vcsim: RetrievePropertiesEx & ContinueRetrievePropertiesEx #2

Merged

Conversation

akutz
Copy link

@akutz akutz commented Apr 11, 2024

This patch adds support to vC Sim for RetrievePropertiesEx and ContinueRetrievePropertiesEx and their paged results semantics.

There is now coverage for the wrapped RetrievePropertiesEx call inside of the collector's RetrieveProperties method:
image

The use of paging may be validated by setting a conditional break point such that it breaks only when there are two attempts to continue paging:

image
image

The reason it hits on two attempts is because the first call to RetrievePropertiesEx returns a single object, and since there are three objects to return, it takes two more calls to ContinueRetrievePropertiesEx to obtain that data.

This patch adds support to vC Sim for RetrievePropertiesEx
and ContinueRetrievePropertiesEx and their paged results
semantics.
@akutz akutz force-pushed the feature/RetrievePropertiesEx branch from f295e8b to dd4d839 Compare April 11, 2024 14:14
@dougm dougm merged commit d3e2858 into dougm:RetrievePropertiesEx Apr 11, 2024
1 check passed
@dougm
Copy link
Owner

dougm commented Apr 11, 2024

Thank you @akutz !

@akutz akutz deleted the feature/RetrievePropertiesEx branch April 11, 2024 15:01
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