-
Notifications
You must be signed in to change notification settings - Fork 70
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
Allow folder as refresh target #32
Conversation
cc22141
to
0292937
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
obj_type = event[:objType] | ||
|
||
method = "#{obj_type.downcase}_update_to_hash" | ||
send(method, event) if respond_to?(method) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this be public_send
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it can, done
0292937
to
265df40
Compare
265df40
to
4cf81e2
Compare
Checked commits agrare/manageiq-providers-vmware@4950d43~...4cf81e2 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Allow folder as refresh target (cherry picked from commit fe45b7c) https://bugzilla.redhat.com/show_bug.cgi?id=1445311
Fine backport details:
|
Euwe backport (to manageiq repo) details:
|
…ecs2 Automate - Updated failing ansible tests.
This allows an EmsFolder to be the target of a VMware refresh and will return all parents in
filter_vc_data
Also this will parse the
ObjUpdate
events from theVimBroker
and return a format suitable forsave_ems_inventory
.