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 an inventory_collection for the EMS #18484

Merged
merged 1 commit into from
Feb 28, 2019

Conversation

agrare
Copy link
Member

@agrare agrare commented Feb 25, 2019

There are some attributes that need to be updated on the EMS record by
the parser. For graph refresh this is currently done by directly doing
an ems.update_attributes! in the parser which breaks our "parser
shouldn't connect to the DB" rule.

This adds an inventory collection which allows the parser to set
properties to be saved on the ext_management_system record.

Example: ManageIQ/manageiq-providers-vmware#376

There are some attributes that need to be updated on the EMS record by
the parser.  For graph refresh this is currently done by directly doing
an ems.update_attributes! in the parser which breaks our "parser
shouldn't connect to the DB" rule.

This adds an inventory collection which allows the parser to set
properties to be saved on the ext_management_system record.
@miq-bot
Copy link
Member

miq-bot commented Feb 25, 2019

Checked commit agrare@27131db with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file 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.

👍 I think this could work :-)

@Fryguy Fryguy merged commit 1dca996 into ManageIQ:master Feb 28, 2019
@Fryguy Fryguy added this to the Sprint 106 Ending Mar 4, 2019 milestone Feb 28, 2019
@agrare agrare deleted the add_inventory_collection_for_ems branch March 1, 2019 00:13
@agrare agrare assigned Fryguy and unassigned gtanzillo Mar 1, 2019
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.

5 participants