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 ems_ref_obj to streaming refresh parser #275

Merged
merged 1 commit into from
May 24, 2018

Conversation

agrare
Copy link
Member

@agrare agrare commented May 23, 2018

We need the ems_ref_obj to perform actions using the VimBroker because it requires the object's class name for the references when building the XML spec.

Example: https://github.com/ManageIQ/vmware_web_service/blob/master/lib/VMwareWebService/VimService.rb#L175 using the vimType and https://github.com/ManageIQ/vmware_web_service/blob/master/lib/VMwareWebService/VimService.rb#L182 using the xsiType

@agrare
Copy link
Member Author

agrare commented May 23, 2018

Turns out this fixes provisioning as well, I thought we weren't getting hardware back because it wasn't cached but really it was because we were failing to get a miqVimVm object because the ems_ref_obj was nil.

@miq-bot
Copy link
Member

miq-bot commented May 23, 2018

Checked commit agrare@d2c7a6e with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

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

👍

@Ladas Ladas merged commit 0767415 into ManageIQ:master May 24, 2018
@Ladas Ladas added this to the Sprint 87 Ending Jun 4, 2018 milestone May 24, 2018
@agrare agrare deleted the parse_ems_ref_obj branch May 24, 2018 12:19
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.

3 participants