-
Notifications
You must be signed in to change notification settings - Fork 60
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
Create resource group association for instances and managed images #72
Conversation
@miq-bot add_label wip |
Note that this PR will get type mismatch errors until the change in the core repo is made. |
This pull request is not mergeable. Please rebase and repush. |
Add resource group to images. Add specs for resource_group, remove old Vm#resource_group method. Use baked in subscription_id model method. Added a spec for get_rsource_group_ems_ref. Remove an outdated test.
Checked commit https://github.com/djberg96/manageiq-providers-azure/commit/0991914c6e08e60122ed49a8684b4b84772d229b with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
The core repo was updated: ManageIQ/manageiq#14000 |
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.
Looks good to me. 👍
At the moment we collect resource group information, but don't actually create the appropriate association between a resource and its resource group. This PR attempts to implement that, starting with VM instances and managed images.
Note that this will require some modifications to the core repo before it actually works properly. Without them this does nothing of note, though it doesn't cause any breakage.
Addresses #69
Working in conjunction with ManageIQ/manageiq#15187