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

Core fixes for infra graph refresh #17870

Merged
merged 3 commits into from Aug 28, 2018

Conversation

agrare
Copy link
Member

@agrare agrare commented Aug 16, 2018

Some fixes to the infra inventory_collections for InfraManager graph refresh

Needed for:

@@ -132,6 +132,8 @@ def collect_inventory_for_targets(ems, targets)
# override this method and return an array of:
# [[target1, inventory_for_target1], [target2, inventory_for_target2]]

return [[ems, nil]] unless refresher_options.inventory_object_refresh
Copy link
Member Author

Choose a reason for hiding this comment

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

If there wasn't a collect_inventory_for_targets method this would always use graph refresh even if it was disabled in settings.

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.

👍

@agrare
Copy link
Member Author

agrare commented Aug 22, 2018

Hey @gtanzillo can you take a look?

@agrare agrare closed this Aug 23, 2018
@agrare agrare deleted the core_fixes_for_infra_graph_refresh branch August 23, 2018 20:05
@agrare agrare restored the core_fixes_for_infra_graph_refresh branch August 23, 2018 20:05
@agrare agrare reopened this Aug 23, 2018
@gtanzillo gtanzillo modified the milestone: Sprint 93 Ending Aug 27, 2018 Aug 28, 2018
@gtanzillo
Copy link
Member

@agrare I can merge once the conflicts are resolved

@agrare agrare force-pushed the core_fixes_for_infra_graph_refresh branch from d0da4c4 to babdd06 Compare August 28, 2018 12:56
@miq-bot
Copy link
Member

miq-bot commented Aug 28, 2018

Checked commits agrare/manageiq@4bc7387~...babdd06 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. 🍪

@agrare
Copy link
Member Author

agrare commented Aug 28, 2018

@gtanzillo thanks I didn't notice it was conflicting, rebased and green

@gtanzillo gtanzillo added this to the Sprint 94 Ending Sep 10, 2018 milestone Aug 28, 2018
@gtanzillo gtanzillo merged commit 68b9a4e into ManageIQ:master Aug 28, 2018
@agrare agrare deleted the core_fixes_for_infra_graph_refresh branch August 28, 2018 13:49
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.

None yet

4 participants