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

Subclass ResourcePools #435

Merged
merged 2 commits into from
Nov 18, 2019
Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Nov 18, 2019

There are some provider specifics to ResourcePools which should not live in core

Core issue: ManageIQ/manageiq#19529

@agrare agrare requested review from Fryguy, carbonin and bdunne November 18, 2019 17:06
@agrare agrare force-pushed the subclass_resource_pools branch 3 times, most recently from f57c3cb to 8c92acb Compare November 18, 2019 19:18
let(:resource_pool_stub) { migration_stub(:ResourcePool) }

migration_context :up do
it "migrates resource pools from all supported providers" do
Copy link
Member

Choose a reason for hiding this comment

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

It would probably also be good to have a test for a record that isn't changed by the migration.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 done

@agrare agrare force-pushed the subclass_resource_pools branch from 8c92acb to 5ec9b3d Compare November 18, 2019 19:47
@miq-bot
Copy link
Member

miq-bot commented Nov 18, 2019

Checked commits agrare/manageiq-schema@1dcf0e4~...5ec9b3d with ruby 2.5.5, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 2 offenses detected

db/migrate/20191118161319_subclass_resource_pools.rb

@bdunne bdunne merged commit 1027ee1 into ManageIQ:master Nov 18, 2019
@bdunne bdunne self-assigned this Nov 18, 2019
@bdunne bdunne added the schema label Nov 18, 2019
@bdunne bdunne added this to the Sprint 125 Ending Nov 25, 2019 milestone Nov 18, 2019
@agrare agrare deleted the subclass_resource_pools branch November 18, 2019 20:00
@skateman
Copy link
Member

This broke the UI 😢, see ManageIQ/manageiq-ui-classic#6425

@agrare
Copy link
Member Author

agrare commented Nov 19, 2019

@skateman we tested this with the other PRs linked to make sure the UI was still working with all of the PRs applied. Just got caught in the middle of a set of PRs

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