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

Pass collector to persister to make targeted refresh work #149

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Feb 23, 2017

A temporary solution to make Targeted refresh work. We need to figure out a right place to parse all references that relate to a Target and passing them to Colletor and Persister

Pass collector to persistor, before we figure out how to
pass references. It will be probably through target.
Use changed init schema and manager instead of ems
@Ladas Ladas force-pushed the pass_collector_to_persister_to_make_targeted_refresh_work branch from 8a220b2 to 700dfb6 Compare February 23, 2017 09:10
@miq-bot
Copy link
Member

miq-bot commented Feb 23, 2017

Checked commits Ladas/manageiq-providers-amazon@ede7755~...700dfb6 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks good. 🍪

@@ -1,5 +1,5 @@
class ManageIQ::Providers::Amazon::Inventory::Collector::TargetCollection < ManageIQ::Providers::Amazon::Inventory::Collector
def initialize(_ems, _options, _target)
def initialize(_manager, _target)
Copy link
Member

Choose a reason for hiding this comment

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

would be great to move the whole amazon refresh to use the stock initializers :)

@durandom
Copy link
Member

Isnt there a spec for this? Or how do you test it?

@Ladas
Copy link
Contributor Author

Ladas commented Feb 23, 2017

@durandom specs are on the way :-) I need to first figure out what the right target is :-)

@durandom durandom merged commit c5c422e into ManageIQ:master Feb 27, 2017
@blomquisg blomquisg added this to the Sprint 55 Ending Feb 27, 2017 milestone Feb 27, 2017
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.

4 participants