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

Persister: InventoryCollection building through add_collection() #252

Merged
merged 4 commits into from
Jun 14, 2018

Conversation

slemrmartin
Copy link
Contributor

@slemrmartin slemrmartin commented May 24, 2018

Issue: ManageIQ/manageiq#17396

New Interface for definition/creating InventoryCollection from persister.
Using add_collection() instead of add_inventory_collection() to build collections.

Builder classes are defined on core project, provider specific InventoryCollections specified in concerns

@miq-bot
Copy link
Member

miq-bot commented May 24, 2018

This pull request is not mergeable. Please rebase and repush.

@agrare agrare self-assigned this Jun 12, 2018
@slemrmartin
Copy link
Contributor Author

note: unmergeable by #244

Persister's add_collection() interface
Methods with class names unified across providers
To fit global definition in core
@slemrmartin slemrmartin force-pushed the inventory-collection-builder branch from 5e9fc5c to afb2190 Compare June 12, 2018 18:49
def initialize_infra_inventory_collections
@collection_group = nil

add_collection(infra, :ems_folders)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@agrare to which "group" it belongs? it is ported from your PR #244

from ManageIQ#244.
And rename IC folder Shared -> Definitions
@slemrmartin slemrmartin force-pushed the inventory-collection-builder branch from afb2190 to 2763e2b Compare June 12, 2018 19:00
@miq-bot
Copy link
Member

miq-bot commented Jun 12, 2018

Checked commits slemrmartin/manageiq-providers-ovirt@e517a36~...2763e2b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
13 files checked, 0 offenses detected
Everything looks fine. 🍪

@agrare agrare closed this Jun 14, 2018
@agrare agrare reopened this Jun 14, 2018
@slemrmartin slemrmartin changed the title [WIP] Persister: InventoryCollection building through add_collection() Persister: InventoryCollection building through add_collection() Jun 14, 2018
@miq-bot miq-bot removed the wip label Jun 14, 2018
@agrare agrare merged commit 5000fa7 into ManageIQ:master Jun 14, 2018
@agrare agrare added this to the Sprint 88 Ending Jun 18, 2018 milestone Jun 14, 2018
@slemrmartin slemrmartin deleted the inventory-collection-builder branch June 25, 2018 12:22
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.

3 participants